Le 23/05/2018 à 12:33, jfbu a écrit :
Hi Keita
....
Can you please configure AUCTeX to issue this instead (I hope my mailer does
not add linebreaks)
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}"
"\input" {\\detokenize{prim\árias.tex}}
indeed LaTeX's \input checks if there is an opening brace, if not it uses TeX's
form of \input and the \detokenize is no good. Alternative
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}"
"\expandafter\input" \\detokenize{prim\árias.tex}
The alternative (as you mentioned earlier \detokenize doesn't play well with
\string# or with naked #, in the style of my previous post
jfbu <address@hidden> writes:
Perhaps you can use this mouthful
pdflatex -file-line-error -interaction=nonstopmode
"\begingroup\ifdefined\UseRawInputEncoding\UseRawInputEncoding\fi\edef\x{\noexpand\input{\string#éàè\string~\string#.tex}}\expandafter\endgroup\x"
would be
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}"
"\begingroup\ifdefined\UseRawInputEncoding\UseRawInputEncoding\fi\edef\x{\noexpand\input{primárias.tex}}\expandafter\endgroup\x"