[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: Integrate latexmk into auctex
From: |
Leon |
Subject: |
[AUCTeX] Re: Integrate latexmk into auctex |
Date: |
Wed, 02 Aug 2006 21:14:18 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) |
Sebastian Schubert <address@hidden> writes:
> Ralf Angeli wrote:
>
>
> [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!
I'm also interested in using latexmk as default. I have the following
setting in ~/.emacs
,----
| (eval-after-load "tex"
| '(add-to-list 'TeX-expand-list
| '("%(-pdf)" (lambda ()
| (if (and (not TeX-Omega-mode)
| (or TeX-PDF-mode
| TeX-DVI-via-PDFTeX))
| "-pdf"
| "")))))
| (eval-after-load "tex"
| '(add-to-list 'TeX-command-list
| '("All" "latexmk \"%(-pdf)\input{%t}\"" TeX-run-TeX nil
| (latex-mode doctex-mode)
| :help "Run latexmk")))
`----
However this generates "All: problems after [0] pages". What am I
doing wrong? Thank you.
>
> 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
--
Leon
- [AUCTeX] Re: Integrate latexmk into auctex,
Leon <=