# Tag Info

3

Per @phg's suggestion, I'll post this answer on his behalf: if running a posix compliant system, try rlwrap tex; that indeed keeps record of keys typed on TeX's command line without linking it to readline. Your (pdf)latex is very likely simply a symlink to the pdftex interpreter, which is actually what runs under the hood. Having that in mind, from @phg's ...

5

XeTeX is the engine. LaTeX is the format. When you compile with xetex, the LaTeX format is not loaded so things like \documentclass are not defined. You can compile this way if your document is not using LaTeX but plain TeX. The executable is the same, but the name you call it by matters. This is because the executable tests to find out what name it has ...

0


4

Edit to follow up on OP's modifications. Perhaps this will be ok with your yet to be precisely specified yet unknown constraints: \documentclass{article} \newcommand{\mymessage}[1]{\bgroup\escapechar-1 \typeout{\detokenize{#1}}\egroup} \begin{document} \mymessage{foo\#bar\!foo\%hello\&world} \end{document} produces: foo#bar!foo%hello&world ...

Top 50 recent answers are included