5
votes
1answer
157 views

Underscore should not force mathmode in macro

When trying to color words in arabic (transliteration), LaTeX wants me to be in mathmode (Missing $ inserted.), as there is an underscore in the transliteration. This is of course completely wrong as ...
2
votes
1answer
399 views

xelatex memory problem [closed]

I have problem while running xelatex: TeX capacity exceeded, sorry [main memory size=1500000]. I tried increasing memory limits in texmf.cnf (also ran fmtutil-sys), but I hit maximum allowed and it ...
4
votes
1answer
566 views

XeLaTeX logo with pdfLaTeX? [duplicate]

Possible Duplicate: How to write (La)TeX (with braces) [or any other TeX-related logo] I try to typeset the XeLaTeX logo in a document that has to be run through pdfLaTeX (for a journal). ...
9
votes
3answers
865 views

Numbers in Newcommand

I have some thousands of special text lines specifically numbered. 001001=aaaaaaaa 001002=bbbbbbbb 001003=cccccccc 002001=dddddddd 002002=mmmmmmmm 002003=jjjjjjjj 003001=uuuuuuuu 003002=iiiiiiii ...
1
vote
1answer
196 views

Unexpected scoping issue using \XeTeXinterchartoks

Minimal example (compile with xetex): \XeTeXinterchartokenstate = 1 \newXeTeXintercharclass \classa \XeTeXcharclass `\a \classa \XeTeXinterchartoks 255 \classa = {\begingroup} \XeTeXinterchartoks ...
15
votes
2answers
853 views

Using simple quotes “” instead of \text{}

Is there a way to use newcommand or some other nice technique to transform any occurence of "bla" in math mode into \text{bla} The reason I ask is because it is easy, and doesn't interrupt the ...