bug#24951: 11.89.7; TeX-command-extra-options takes only last option into account.
Mosè Giordano writes: > Hi Ernst, > > do you have `TeX-auto-save' and `TeX-parse-self' variables set to > non-nil? If so, try this: delete the autogenerated file (the file in > the "auto/" subdirectoy and with the same basename of your master file > and ".el" extension), then restart Emacs and reparse the LaTeX file > with C-c C-n. Does this solve your issue? > > Bye, > Mosè > > 2016-11-30 2:12 GMT+01:00 Mosè Giordano : >> Hi Ernst, >> >> 2016-11-29 22:38 GMT+01:00 Ernst Reissner : >>> So the blank between -recorder and -shell-escape seems to be ignored. >>> How can this be? >>> And how to explain that the behavior changed??? >> >> No idea, really, above all the fact that you're experiencing a >> different problem now without having changed anything, I guess. Do >> you have customizations related to AUCTeX in your init file? (I'm going through old bug reports that unfortunately weren't resolved at the time.) No further comments, therefore I'm closing this report. Best, Arash ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#24951: 11.89.7; TeX-command-extra-options takes only last option into account.
Hi Ernst, do you have `TeX-auto-save' and `TeX-parse-self' variables set to non-nil? If so, try this: delete the autogenerated file (the file in the "auto/" subdirectoy and with the same basename of your master file and ".el" extension), then restart Emacs and reparse the LaTeX file with C-c C-n. Does this solve your issue? Bye, Mosè 2016-11-30 2:12 GMT+01:00 Mosè Giordano : > Hi Ernst, > > 2016-11-29 22:38 GMT+01:00 Ernst Reissner : >> So the blank between -recorder and -shell-escape seems to be ignored. >> How can this be? >> And how to explain that the behavior changed??? > > No idea, really, above all the fact that you're experiencing a > different problem now without having changed anything, I guess. Do > you have customizations related to AUCTeX in your init file? > > Bye, > Mosè ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#24951: 11.89.7; TeX-command-extra-options takes only last option into account.
Hi Ernst, 2016-11-29 22:38 GMT+01:00 Ernst Reissner : > So the blank between -recorder and -shell-escape seems to be ignored. > How can this be? > And how to explain that the behavior changed??? No idea, really, above all the fact that you're experiencing a different problem now without having changed anything, I guess. Do you have customizations related to AUCTeX in your init file? Bye, Mosè ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#24951: 11.89.7; TeX-command-extra-options takes only last option into account.
Ernst Reissner writes: >> No, because if guess correctly, I suspect you customized >> `LaTeX-command-style'. What's the value of this option? > I find: > > Hide Latex Command Style: > INS DEL Regexp: > Style: %(PDF)%(latex) %(file-line-error) %(extraopts) > %S%(PDFout) > INS > State : STANDARD. >List of style options and LaTeX commands. Hide... > > > UPDATE: > My main file ends with > > %%% Local Variables: > %%% mode: latex > %%% TeX-command-extra-options: "-src-specials -recorder -shell-escape" > %%% TeX-master: t > %%% End: Does it help if you pass the extra options as a list? I.e.: %%% TeX-command-extra-options: '("-src-specials -recorder -shell-escape") If yes, we only have to find out why ;-) Best, Arash ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#24951: 11.89.7; TeX-command-extra-options takes only last option into account.
Hi Mosè, I did what you asked for > Hi Ernst, > > please don't write privately to me but push the "Reply all" button in > order to send your message also to the bug tracker. Using the "Reply > all" button is a good habit in mailing lists ;-) > > 2016-11-18 20:24 GMT+01:00 Ernst Reissner : >> Hi Mosè, >>> 2016-11-16 5:44 GMT+01:00 Ernst Reissner : I set in my latex main file: %%% TeX-command-extra-options: "-src-specials -recorder -shell-escape" Nevertheless, when running the pdflatex compiler, the only option I receive is -shell-escape, the last one. >>> Does this happen only for one document or every documents? I mean, in >>> every documents do you always have "-shell-escape" in the command use >>> to compile the document, irrespective of the value of >>> `TeX-command-extra-options'? In addition, what's the value of >>> `LaTeX-command-style' option for you? >> The command has option - shell-escape only if I specify this in >> TeX-command-extra-options. >> This is completely ok. >> The problem is only, that if I specify more options, say in addition >> -recorder, >> then still *only* -shell-escape appears. >> >> I now removed the line TeX-command-extra-option. >> When I restart emacs and load the tex-file, then of course, it does not >> ask again on whether I accept -shell-escape, >> but still it run latex with shell escape: >> >> Running `LaTeX' on `manualLatexMavenPlugin' with ``pdflatex >> -file-line-error -shell-escape --synctex=1 -interaction=nonstopmode >> "\input" manualLatexMavenPlugin.tex'' >> This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) >> (preloaded format=pdflatex) >> \write18 enabled. >> entering extended mode > So, whatever the value of `TeX-command-extra-options' the command > executed is always the same? > >> This is crazy, right? > No, because if guess correctly, I suspect you customized > `LaTeX-command-style'. What's the value of this option? I find: Hide Latex Command Style: INS DEL Regexp: Style: %(PDF)%(latex) %(file-line-error) %(extraopts) %S%(PDFout) INS State : STANDARD. List of style options and LaTeX commands. Hide... UPDATE: My main file ends with %%% Local Variables: %%% mode: latex %%% TeX-command-extra-options: "-src-specials -recorder -shell-escape" %%% TeX-master: t %%% End: and now the log file shows: Running `LaTeX' on `manualLatexMavenPlugin' with ``pdflatex -file-line-error -src-specials -recorder-shell-escape --synctex=1 -interaction=nonstopmode "\input" manualLatexMavenPlugin.tex'' pdflatex: unrecognized option '-recorder-shell-escape' This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex) restricted \write18 enabled. Source specials enabled. entering extended mode So the blank between -recorder and -shell-escape seems to be ignored. How can this be? And how to explain that the behavior changed??? ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#24951: 11.89.7; TeX-command-extra-options takes only last option into account.
Hi Ernst, please don't write privately to me but push the "Reply all" button in order to send your message also to the bug tracker. Using the "Reply all" button is a good habit in mailing lists ;-) 2016-11-18 20:24 GMT+01:00 Ernst Reissner : > Hi Mosè, >> 2016-11-16 5:44 GMT+01:00 Ernst Reissner : >>> I set in my latex main file: >>> >>> %%% TeX-command-extra-options: "-src-specials -recorder -shell-escape" >>> >>> Nevertheless, when running the pdflatex compiler, >>> the only option I receive is -shell-escape, the last one. >> Does this happen only for one document or every documents? I mean, in >> every documents do you always have "-shell-escape" in the command use >> to compile the document, irrespective of the value of >> `TeX-command-extra-options'? In addition, what's the value of >> `LaTeX-command-style' option for you? > The command has option - shell-escape only if I specify this in > TeX-command-extra-options. > This is completely ok. > The problem is only, that if I specify more options, say in addition > -recorder, > then still *only* -shell-escape appears. > > I now removed the line TeX-command-extra-option. > When I restart emacs and load the tex-file, then of course, it does not > ask again on whether I accept -shell-escape, > but still it run latex with shell escape: > > Running `LaTeX' on `manualLatexMavenPlugin' with ``pdflatex > -file-line-error -shell-escape --synctex=1 -interaction=nonstopmode > "\input" manualLatexMavenPlugin.tex'' > This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) > (preloaded format=pdflatex) > \write18 enabled. > entering extended mode So, whatever the value of `TeX-command-extra-options' the command executed is always the same? > This is crazy, right? No, because if guess correctly, I suspect you customized `LaTeX-command-style'. What's the value of this option? Bye, Mosè ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#24951: 11.89.7; TeX-command-extra-options takes only last option into account.
Hi Ernst, 2016-11-16 5:44 GMT+01:00 Ernst Reissner : > I set in my latex main file: > > %%% TeX-command-extra-options: "-src-specials -recorder -shell-escape" > > Nevertheless, when running the pdflatex compiler, > the only option I receive is -shell-escape, the last one. Does this happen only for one document or every documents? I mean, in every documents do you always have "-shell-escape" in the command use to compile the document, irrespective of the value of `TeX-command-extra-options'? In addition, what's the value of `LaTeX-command-style' option for you? Bye, Mosè ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#24951: 11.89.7; TeX-command-extra-options takes only last option into account.
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. Be sure to consult the FAQ section in the manual before submitting a bug report. In addition check if the bug is reproducable with an up-to-date version of AUCTeX. So please upgrade to the version available from http://www.gnu.org/software/auctex/ if your installation is older than the one available from the web site. If the bug is triggered by a specific (La)TeX file, you should try to produce a minimal sample file showing the problem and include it in your report. Your report will be posted for the auctex package at the GNU bug tracker. Visit http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=auctex to browse existing AUCTeX bugs. I set in my latex main file: %%% TeX-command-extra-options: "-src-specials -recorder -shell-escape" Nevertheless, when running the pdflatex compiler, the only option I receive is -shell-escape, the last one. Emacs : GNU Emacs 24.3.1 (x86_64-suse-linux-gnu, GTK+ Version 3.16.7) of 2016-08-05 on lamb17 Package: 11.89.7 current state: == (setq AUCTeX-date "2016-11-12" window-system 'x LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "/home/ernst/.emacs.d/elpa/auctex-11.89.7/style" "/home/ernst/.emacs.d/auctex/auto" "/home/ernst/.emacs.d/auctex/style" "auto" "style") TeX-auto-save t TeX-parse-self t TeX-master t TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %(extraopts) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber") ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t :help "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :help "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help "Convert PostScript file to PDF") ("Index" "makeindex %s" TeX-run-index nil t :help "Run makeindex to create index file") ("Xindy" "texindy %s" TeX-run-command nil t :help "Run xindy to create index file") ("Makeglossaries" "makeglossaries %s" TeX-run-glossary nil t :help "Run makeglossaries to create glossary file") ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness") ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for common mistakes") ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an a