Re: [Bug-AUCTeX] 2014-04-16; (extraopts) difficulties
Thanks, Mosè Tassilo - I'll try fixing the custom variables section. On Fri, 31 Dec 1999, Tassilo Horn t...@gnu.org wrote: Mosè Giordano giordano.m...@libero.it writes: The problem should be (add-to-list 'TeX-expand-list No, I think the problem is '(TeX-expand-list (quote ((%(dir) (lambda nil default-directory)) ...))) in his custom-variables-section. That's a modified old version of the variable which doesn't contain an expander for %(extraopts). I'd suggest you remove that there. If you need to modify some entries of it, it's better to add a new entry in front of it using `add-to-list' as you do above. Then you are not excluded when new entries are added by us. Bye, Tassilo -- ~ Dr Benjamin Slade pgp fingerprint: 21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19 ~ {sent by mu4e on Emacs running under GNU/Linux} (Choose Linux, Choose Freedom) ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
Re: [Bug-AUCTeX] 2014-04-16; (extraopts) difficulties
Hi Tassilo, 2014-04-25 7:47 GMT+02:00 Tassilo Horn t...@gnu.org: Mosè Giordano giordano.m...@libero.it writes: The problem should be (add-to-list 'TeX-expand-list No, I think the problem is '(TeX-expand-list (quote ((%(dir) (lambda nil default-directory)) ...))) in his custom-variables-section. That's a modified old version of the variable which doesn't contain an expander for %(extraopts). I'd suggest you remove that there. If you need to modify some entries of it, it's better to add a new entry in front of it using `add-to-list' as you do above. Then you are not excluded when new entries are added by us. After a more careful test I think you're right! Bye, Mosè ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
Re: [Bug-AUCTeX] 2014-04-16; (extraopts) difficulties
Hi Benjamin, 2014-04-24 21:05 GMT+02:00 Benjamin Slade sl...@jnanam.net: (possibly relevant things) from my .emacs: [...] The problem should be --8---cut here---start-8--- (add-to-list 'TeX-expand-list '(%(-PDF) (lambda () (cond ((string-match TeX-engine: pdftex (buffer-string)) -pdf) ((string-match TeX-engine: luatex (buffer-string)) -pdflatex=lualatex -pdf) ((string-match TeX-engine: xetex (buffer-string)) -pdflatex=xelatex -pdf) (t -dvi -pdfps) --8---cut here---end---8--- in the `eval-after-load'. I don't have enough time to understand why this triggers that bug, but if you think you actually don't need that snippet of code just remove, or comment, it. By the way, with git version of AUCTeX you don't need anymore special tricks to make Okular forward/inverse search work ;-) Bye, Mosè ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
Re: [Bug-AUCTeX] 2014-04-16; (extraopts) difficulties
2014-04-23 22:02 GMT+02:00 Benjamin Slade sl...@jnanam.net: (setq [...] TeX-command-list '((Latexmk latexmk %(-PDF) -synctex=1 %s TeX-run-TeX nil t :help Run Latexmk on file to build everything.) (Make Makefile TeX-run-command nil t) (TeX %(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t TeX-run-TeX nil (plain-tex-mode texinfo-mode ams-tex-mode) :help Run plain TeX) (LaTeX %`%l%(mode)%' %t TeX-run-TeX nil (latex-mode doctex-mode) :help Run LaTeX) (Makeinfo makeinfo %t TeX-run-compile nil (texinfo-mode) :help Run Makeinfo with Info output) (Makeinfo HTML makeinfo --html %t TeX-run-compile nil (texinfo-mode) :help Run Makeinfo with HTML output) (AmSTeX %(PDF)amstex %`%S%(PDFout)%(mode)%' %t TeX-run-TeX nil (ams-tex-mode) :help Run AMSTeX) (ConTeXt texexec --once --texutil %(execopts)%t TeX-run-TeX nil (context-mode) :help Run ConTeXt once) (ConTeXt Full texexec %(execopts)%t TeX-run-TeX nil (context-mode) :help Run ConTeXt until completion) (BibTeX bibtex %s TeX-run-BibTeX nil t :help Run BibTeX) (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-command t t :help Generate PostScript file) (Index makeindex %s TeX-run-command nil t :help Create index file) (Check lacheck %s TeX-run-compile nil (latex-mode) :help Check LaTeX file for correctness) (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 arbitrary command)) ) That's strange: the default TeX command string is %(PDF)%(tex) %(extraopts) %`%S%(PDFout)%(mode)%' %t instead you have %(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t How come the %(extraopts) appears in your command? Did Tassilo guess right saying you fiddled with `TeX-expand-list'? Bye, Mosè ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex