2 Aug 2006 22:14
Re: Integrate latexmk into auctex
Leon <sdl.web <at> gmail.com>
2006-08-02 20:14:18 GMT
2006-08-02 20:14:18 GMT
Sebastian Schubert <sebastian-schubert <at> gmx.de> 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

RSS Feed