|
From: | jfbu |
Subject: | Re: [AUCTeX] files with non-ascii characters and LaTeX as in TeXLive 2018 |
Date: | Wed, 23 May 2018 12:58:05 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
You can replace \begingroup by { and \endgroup by } pdflatex -file-line-error "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "{\ifdefined\UseRawInputEncoding\UseRawInputEncoding\fi\edef\x{\noexpand\input{primárias.tex}}\expandafter}\x"
and to be compatible with non-etex as I see an \ifx\undefined test is used also before, so let's do same pdflatex -file-line-error "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "{\ifx\UseRawInputEncoding\undefined\else\UseRawInputEncoding\fi\edef\x{\noexpand\input{primárias.tex}}\expandafter}\x" If filename is containing # or ~ it must have them like \string# and \string~ in the above (I made a brief test with file primárias~.tex and the above with \input{primárias\string~.tex} worked on command line) Sorry for not having posted this initially Jean-François
[Prev in Thread] | Current Thread | [Next in Thread] |