Hi Jean, >>>>> jfbu <[email protected]> writes:
> It is not easy for me to try out any patch to official AUCTeX > (does it have a github repo?) It has savannah git repository: https://git.savannah.gnu.org/cgit/auctex.git Unfortunately, it doesn't on github. > I gave it a try with a creating a format like this > etex -ini -interaction=nonstopmode -jobname prv_prim\árias "&pdflatex" > "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}\dump" > (CAVEAT: for reasons explained above I do not look into AUCTeX ELisp files, > I just started from things in Keita's message and malaxed until I could > execute on commande line) > Then I executed manually this line (which I copied from the continuation of > your message) > pdflatex -interaction=nonstopmode \&prv_prim\árias "\input{" "\detokenize{" > prim\árias.tex "}" "}" > and it compiled seemingly successfully > $ pdflatex -interaction=nonstopmode \&prv_prim\árias "\input{" "\detokenize{" > prim\árias.tex "}" "}" > This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded > format=pdflatex) The literally same commands succeed here as well on xterm. However, after modifying seemingly to coordinate the actual preview-latex commands, the latter fails. (1) Add prv_primárias.ini argument to creat .fmt file. etex -ini -interaction=nonstopmode -jobname prv_prim\árias "&pdflatex" prv_primárias.ini "\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}" -> No error pdflatex -interaction=nonstopmode \&prv_prim\árias "\input{" "\detokenize{" prim\árias.tex "}" "}" -> error ---------------------------------------------------------------------- This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (/usr/local/texlive/2018/texmf-dist/tex/latex/tools/.tex LaTeX2e <2018-04-01> patch level 4 CUSTOMISED FORMAT. Preloaded files: . article.cls 2014/09/29 v1.4h Standard LaTeX document class size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) . ) Runaway argument? ! File ended while scanning use of ^^M. <inserted text> \par <*> &prv_primárias \ input{ \detokenize{ primárias.tex } } ! Emergency stop. <*> ...ias \input{ \detokenize{ primárias.tex } } ! ==> Fatal error occurred, no output PDF file produced! Transcript written on .log. ---------------------------------------------------------------------- (2) Add \dump furthermore. etex -ini -interaction=nonstopmode -jobname prv_prim\árias "&pdflatex" prv_primárias.ini "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}\dump" "\input" "\detokenize{primárias.tex}" -> No error pdflatex -interaction=nonstopmode \&prv_prim\árias "\input{" "\detokenize{" prim\árias.tex "}" "}" -> No error, but doesn't do its expected job ---------------------------------------------------------------------- This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode LaTeX2e <2018-04-01> patch level 4 (./primárias.tex (/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29v1.4h StandardLaTeXdocumentclass (/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo)) ) (\dump is performed only by INITEX) No pages of output. Transcript written on primárias.log. ---------------------------------------------------------------------- > I will be busy for today, I'm sorry to have bothered you many times. I deeply appreciate your kindness so far! Perhaps I should give up this particular case (non-ascii file name + preview-latex preamble cache) and commit the patch which fixes other issues. Best regards, Ikumi Keita _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
