|
From: | jfbu |
Subject: | Re: Command to open logfile |
Date: | Sat, 13 Feb 2021 13:55:08 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
Le 13/02/2021 à 13:28, Joost Kremers a écrit :
On Sat, Feb 13 2021, jfbu wrote:although TeX-command-list did not like a lot being customized at least some time ago in the distant past and foggy memoriesI do this in my init file, using `add-to-list`: ``` (with-eval-after-load 'tex ;; add a "Crop PDF" entry to TeX-command-list (add-to-list 'TeX-command-list '("Crop PDF" "pdfcrop %P" TeX-run-command nil t :help "Crop pdf file") 'append)) ``` That way when a newer version of AUCTeX adds new entries to `TeX-command-list` you'll get them, too, without losing your customisations.
Thanks for the tip! But this probably means "Crop PDF" will be last entry? On my laptop, the pop-up menu with my added entries (about a dozen) extends beyond bottom of screen. As they are the items I use most, I want them as high up as possible. My past experience is that I can't put them first, but I don't know if this holds true nowadays. I have had problems in particular when Index and/or BibTeX were missing or were too low in the list (I see this comment in my custom.el: ; le problème était un bug de tex-jp.el qui customise TeX-command-list d'une ; façon qui exige la présence des deux entrées "BibTeX" et "Index". Donc je ; les laisse mais je refais le nettoyage des autres qui ne me servent pas. which says roughly that tex-jp.el required BibTeX and Index to be present, hence I had to leave them there but I removed entries which are not useful to me. By the way I don't know the Japanese language but I have sometimes to check that things work with Japanese classes.
[Prev in Thread] | Current Thread | [Next in Thread] |