0

I am trying to customize manually my init file so that, when running BibTeX, the option --min-crossrefs=1 is automatically added. Can this be done just by changing the BibTeX command without modifying all the commands on the TeX-command-list?

If this is not possible, perhaps some option can be added at the end of the master file?

3
  • Related: latex.org/forum/viewtopic.php?t=9993 (at about 1/3 of the quote block).
    – Marijn
    Oct 23, 2017 at 12:29
  • @Marijn yes, but no solution there for the manual init file modification.
    – Jabot
    Oct 23, 2017 at 12:32
  • I see, I misunderstood the question. But you can always make a system wide alias, e.g., alias bibtex='bibtex --min-crossrefs=1'.
    – Marijn
    Oct 23, 2017 at 12:45

1 Answer 1

0

OK, found the answer:

(eval-after-load "tex"
'(setcdr (assoc "BibTeX" TeX-command-list)
      '("bibtex --min-crossrefs=1 %s"
        TeX-run-BibTeX nil t :help "Run BibTeX with ...")))

Proposed here: http://auctex.gnu.narkive.com/Z8a4meHD/customize-tex-command-list-via-emacs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.