You are not logged in.

#1 2014-01-08 01:43:57

piedro
Member
Registered: 2013-04-11
Posts: 218

texlive with Kile gives "missing $ inserted \[any symbol]" error

Hello!


I installed texlive with all necessary packages (according to the wiki) and I installed kile.
(though I think the wiki is outdated on some things)


After fixing the fmutil errors that are mentioned on the arch homepage. I can create simple documents but anytime I insert any symbol, math-symbol I get the error

'missing $ inserted \[here the name of the symbol]' 

I tried reinstallation of all components, I searched, I relogged in, even restarted - all doesn't help. I cannot get kile to compile any special letter or symbol.
I haven't found any texlive configuration files in my user directory ...

This is very annoying and I have no idea where even to start to fix it.

Any ideas anyone?

plz help, piedro

p.s.: Kile self system checks (under preferences) gives me all green marks, everything should be working ...

Last edited by piedro (2014-01-08 01:47:15)

Offline

#2 2014-01-08 03:30:22

Gradient
Member
Registered: 2013-05-19
Posts: 101

Re: texlive with Kile gives "missing $ inserted \[any symbol]" error

Can you provide a .tex file that is not compiling properly? Can you give the output of this command :

pdflatex <your-file>

To fix such problems, you should first stop worrying about Kile. Once you have this compilation issue fixed, Kile will likely behave as expected.

Last edited by Gradient (2014-01-08 03:33:32)

Offline

#3 2014-03-26 17:00:11

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: texlive with Kile gives "missing $ inserted \[any symbol]" error

sry to delay this thread that much, I couldn't focus on this here, my apologies!


\author{}
\date{}

\pdfinfo{%
  /Title    ()
  /Author   ()
  /Creator  ()
  /Producer ()
  /Subject  ()
  /Keywords ()
}

\begin{document}
\maketitle
Hello \bigtriangleup
\end{document}

the output of this  very simple file in which I used a tringle:

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Arch Linux)
restricted \write18 enabled.
entering extended mode
(./testpdf.tex
LaTeX2e <2011/06/27>
Babel <3.9h> and hyphenation patterns for 78 languages loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texmf-dist/tex/latex/base/utf8.def
(/usr/share/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-dist/tex/latex/base/omsenc.dfu)))
No file testpdf.aux.
! Missing $ inserted.
<inserted text>
                $
l.21 Hello \bigtriangleup
                         
! Missing $ inserted.
<inserted text>
                $
l.22 \end{document}
                   
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./testpdf.aux) )
(see the transcript file for additional information)</usr/share/texmf-dist/font
s/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texmf-dist/fonts/type1/public/
amsfonts/cm/cmsy10.pfb>
Output written on testpdf.pdf (1 page, 17638 bytes).


I have iinstalled all latex packages I could find to ensure I get the symbols also...

what am I missing?

thx again,
piedro

Offline

#4 2014-03-26 17:57:52

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: texlive with Kile gives "missing $ inserted \[any symbol]" error

You can only insert math symbols in math mode. The simplest way to get into math mode in TeX or LaTeX, is to use a single $, for example $\bigtriangleup$ or (this puts the equation on a new line) a $$, for example $$\bigtriangleup$$.

Last edited by \hbar (2014-03-26 18:00:12)

Offline

#5 2014-03-26 18:57:38

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: texlive with Kile gives "missing $ inserted \[any symbol]" error

Thx. So far I was under the impression that Kile should handle this when picking the symbols and insert them ...

Seems I am wrong... adding them in manually is a nuisance but works perfect, thx a lot!

I wonder if there is a way to ensure that the right mode is used automagically when picking signs and symbols (it's a drag and drop Gui after all!)

Anyway, I am very grateful, now I get the power of logical symbols right into my argumentative texts - feels like a booster :-)


cya,
p.

Offline

Board footer

Powered by FluxBB