auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: latex-dev: how to use?


From: AW
Subject: Re: latex-dev: how to use?
Date: Mon, 26 Oct 2020 18:31:47 +0100

Am Montag, 12. Oktober 2020, 10:53:50 CET schrieb AW:
> Hi!
> 
> This is a »do-it-for-me-pleeaaase» kind of question.
> 
> I'd like to test the development version of pdflatex and lualatex, see here:
> https://tex.stackexchange.com/q/506646/4736
> 
> The article by Frank Mittelbach (here:
> https://tug.org/members/TUGboat/tb41-2/ tb128mitt-quovadis.pdf) was to
> interesting to resist, but after investigating about how to implement the
> necessary commands in AUCTeX, I got stuck in commands like
> 
>  Name: LaTeX
>             Command: %`%l%(mode)%' %T
> 
> Ahem, whut? This is from customization of TeX-command-list.
> 
> The trick seems to change the command from 'pdflatex ...' to pdflatex-dev
> ...', but it would take much time for me to figure it out.
> 
> Maybe for a reader of this list it is an easy exercise to provide the lisp
> code to make it possible to write on a per file basis
> 
> % Local Variables:
> % TeX-engine: luatex-dev
> % End:
> 
> or
> 
> % Local Variables:
> % TeX-engine: pdftex-dev
> % End:
> 
> and the file is compiled with lualatex-dev or pdflatex-dev?

I got a hint per PM (thanx!) and added this code to my .emacs:

(eval-after-load "tex"
  '(progn
     (add-to-list
      'TeX-engine-alist
        '(PDF-dev "PDF-dev"
        "pdftex-dev"
        "pdflatex-dev"
        ConTeXt-engine))))
(eval-after-load "tex"
    '(progn
     (add-to-list
      'TeX-engine-alist
      '(Lua-dev "Lua-dev"
        "luatex-dev"
        "lualatex-dev"
        ConTeXt-engine))))

Now I can write

% Local Variables:
% TeX-engine: PDF-dev
% End:

and get the dev version as engine. I never use ConTeXt. 

The menu Command / TeXing Options / lists:
- Use Lua-dev engine
- Use PDF-dev engine
- Use Default engine
- Use LuaTeX engine
- Use Omega engine
- Use XeTeX engine

I recommend trying the devs, to me they seem to be _fast_. 

Thank you by the way for AUCTeX 12.3!

Kind Regards,

Alexander







reply via email to

[Prev in Thread] Current Thread [Next in Thread]