All Projects β†’ tom-tan β†’ auctex-latexmk

tom-tan / auctex-latexmk

Licence: other
This library adds LatexMk support to AUCTeX.

Programming Languages

emacs lisp
2029 projects

Projects that are alternatives of or similar to auctex-latexmk

eshell-up
Quickly go to a specific parent directory in eshell
Stars: ✭ 28 (-65.43%)
Mutual labels:  melpa
emacs-antiproxy
πŸ”“ anti proxy/firewall setup using git repo mirrors of package archives. (local melpa)
Stars: ✭ 24 (-70.37%)
Mutual labels:  melpa
svg-tag-mode
A minor mode for Emacs that replace keywords with nice SVG labels
Stars: ✭ 314 (+287.65%)
Mutual labels:  melpa
emacs-easy-jekyll
Emacs major mode for managing jekyll
Stars: ✭ 53 (-34.57%)
Mutual labels:  melpa
travis-ci-latex-pdf
Overview of different methods to build LaTeX with GitHub Actions or Travis-CI (idea by @jackolney but completely rewritten by @PHPirates and contributors).
Stars: ✭ 113 (+39.51%)
Mutual labels:  latexmk
ssh-config-mode-el
emacs mode for editing ssh config files.
Stars: ✭ 46 (-43.21%)
Mutual labels:  melpa
Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (+190.12%)
Mutual labels:  melpa
emacs-counsel-tramp
Tramp ivy interface for ssh and docker and β€Žvagrant
Stars: ✭ 49 (-39.51%)
Mutual labels:  melpa
emacs-company-dict
A port of ac-source-dictionary to company-mode, plus annotation and documentation support.
Stars: ✭ 31 (-61.73%)
Mutual labels:  melpa
ua-thesis-template
πŸ“– A thesis LaTeX template that complies with the University of Aveiro's guidelines and provides a simple CLI workflow around make and compatibility with Overleaf.
Stars: ✭ 80 (-1.23%)
Mutual labels:  latexmk
osx-trash
Make Emacs' delete-by-moving-to-trash do what you expect it to do on OS X.
Stars: ✭ 22 (-72.84%)
Mutual labels:  melpa
hover.el
Flutter tool to run hover on emacs
Stars: ✭ 38 (-53.09%)
Mutual labels:  melpa
company-flow
No description or website provided.
Stars: ✭ 32 (-60.49%)
Mutual labels:  melpa
texlive-ja
The minimal TeXLive Docker image for Japanese
Stars: ✭ 238 (+193.83%)
Mutual labels:  latexmk
lsp-metals
lsp-mode ❀️ metals
Stars: ✭ 49 (-39.51%)
Mutual labels:  melpa
elcord
Discord Rich Presence / Gamebridge support for Emacs!
Stars: ✭ 149 (+83.95%)
Mutual labels:  melpa
psysh.el
PsySH on Emacs, PHP interactive shell (REPL)
Stars: ✭ 27 (-66.67%)
Mutual labels:  melpa
helm-gitignore
Helm interface for generating .gitignore files
Stars: ✭ 20 (-75.31%)
Mutual labels:  melpa
clipetty
Manipulate the system (clip)board with (e)macs from a (tty)
Stars: ✭ 91 (+12.35%)
Mutual labels:  melpa
emacs2nix
Automatically generate Nix expressions for Emacs packages
Stars: ✭ 23 (-71.6%)
Mutual labels:  melpa

auctex-latexmk.el

MELPA Stable MELPA

This library adds LatexMk support to AUCTeX.

Requirements:

  • AUCTeX
  • LatexMk
  • TeXLive (2011 or later if you write TeX source in Japanese)

You can install it by using package-install via MELPA.

To use this package, add the following line to your .emacs file:

    (require 'auctex-latexmk)
    (auctex-latexmk-setup)

After that, by using M-x TeX-command-master (or C-c C-c), you can use LatexMk command to compile TeX source.

LatexMk will inherit many AUCTeX settings, including:

  • Run with -interaction-nonestopmode if TeX-interactive-mode minor mode is active
  • Run with -synctex if TeX-source-correlate-mode is active

If you would like LatexMk to pass the -pdf flag when TeX-PDF-mode is active add

    (setq auctex-latexmk-inherit-TeX-PDF-mode t)

to your .emacs file.

Additional configuration of latexmk is possible by creating a ~/.latexmkrc file. For example, to always compile to pdf add the following line to your .latexmkrc file:

    # .latexmkrc starts
    $pdf_mode = 1;
    # .latexmkrc ends

Additional documention describing all the available options is available on CTAN.

For MikTex users

Due to the bug in MikTex, you will see the following message if TeX-file-line-error is not nil.

Latexmk: Could not find file [%(file-line-error)].
-- Use the -f option to force complete processing.

As a workaround, add (setq TeX-file-line-error nil) to your .emacs file.

For Japanese users

LatexMk command automatically stores the encoding of a source file and passes it to latexmk via an environment variable named LATEXENC. Here is the example of .latexmkrc to use LATEXENC:

    # .latexmkrc starts
    $kanji    = "-kanji=$ENV{\"LATEXENC\"}" if defined $ENV{"LATEXENC"};
    $latex    = "platex $kanji";
    $bibtex   = "pbibtex $kanji";
    $dvipdf   = 'dvipdfmx -o %D %S';
    $pdf_mode = 3;
    # .latexmkrc ends
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].