I'd like to insert some simple linux path inline with the text in my LaTeX document by using basic elements like:
\texttt{/usr/share/myspell/dicts/hyph_pl_PL.dic}
..but it failed and this error below appears:
! Missing $ inserted.
<inserted text>
$
l.221 ...{/usr/share/myspell/dicts/hyph_pl_PL.dic}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
I'm not sure why it appears, but for sure am not try to use math environment in this case, so what the compiler tried to explain to me.
Is there some simple workaround of this trivial problem? Some examples would be the perfect answer.
Details: using TeX Live 2013 with Texmaker 4.1.1 on Ubuntu 14.04.
\_rather than_. So, yes, there is a simple workaround! – cfr Apr 20 '14 at 19:20\detokenize:\texttt{\detokenize{/usr/share/myspell/dicts/hyph_pl_PL.dic}}. – jub0bs Apr 20 '14 at 19:38