auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: Integrate latexmk into auctex


From: Sebastian Schubert
Subject: [AUCTeX] Re: Integrate latexmk into auctex
Date: Tue, 20 Jun 2006 15:41:32 +0200
User-agent: KNode/0.8.2

Ralf Angeli wrote:

> * Sebastian Schubert (2006-06-17) writes:
> 
>> I'd like to use latexmk with auctex. Therefore, I would like to put it
>> into Tex Command List (via customize).
>>
>> Name: all
>> Command: latexmk %t
>> How: Tex-run-Tex
>>
>> works but I would like to have some features. Setting pdflatex mode
>> should add a -pdf. I tried %(PDF) but where to get a "-"?
> 
> You could add your own entry to `TeX-expand-list' by looking at how
> "%(PDF)" is defined and use it with your latexmk call.

[code]

It works.

> Note that you could customize `TeX-expand-list', but using
> `add-to-list' has the advantage that it does not overwrite the default
> value of `TeX-expand-list' which could change over time.

I add the latexmk call to TeX-command-list in that way now. Thanks for
advice!

>> Is it possible (ok this is emacs, so
>> how is it possible) to set the Command C-c C-c all to eg F6?
> 
> (add-hook 'LaTeX-mode-hook
> (lambda ()
> (local-set-key (kbd "<f6>") 'TeX-command-master)))
> 
> Use `TeX-mode-hook' instead of `LaTeX-mode-hook' if you want to enable
> this for all AUCTeX modes, not just for LaTeX mode.
> 
> Regarding key bindings, see also (info "(emacs)Key Bindings") and
> (info "(elisp)Key Binding Commands").

Sorry, I was not clear enough. I would like to bind the execution of the new
latexmk command ("C-c C-c all" for me) to F6. Do I have to write another
function?

Thanks
Sebastian






reply via email to

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