Make PDF tools and LaTeX work better together.
Update the README file to reflect the available flags.
This commit is contained in:
parent
d7e054a8cc
commit
0a23c30e06
3 changed files with 58 additions and 39 deletions
|
@ -26,28 +26,54 @@ Set these variables in your private configuration with:
|
|||
#+END_SRC
|
||||
If the variables are not set, they are ignored.
|
||||
|
||||
** Choose View Program
|
||||
You have four options to choose from for the viewer of your PDF rendered files.
|
||||
*** Okular
|
||||
Use Okular as default PDF viewer.
|
||||
|
||||
Activate with the flag '+okular' of the latex module in your private init.el.
|
||||
#+BEGIN_SRC emacs_lisp
|
||||
(latex +okular)
|
||||
#+END_SRC
|
||||
|
||||
*** Skim
|
||||
For Mac users. Use Skim to preview your PDFs.
|
||||
|
||||
Activate with the flag '+skim' of the latex module in your private init.el.
|
||||
#+BEGIN_SRC emacs_lisp
|
||||
(latex +skim)
|
||||
#+END_SRC
|
||||
|
||||
*** PDF Tools
|
||||
Use the PDF Tools package to preview your PDFs. Requires the tools module ~pdf~ enabled in your configuration.
|
||||
#+BEGIN_SRC emacs_lisp
|
||||
(:tools pdf)
|
||||
#+END_SRC
|
||||
|
||||
Activate with the flag '+pdf-tools' of the latex module in your private init.el.
|
||||
#+BEGIN_SRC emacs_lisp
|
||||
(latex +pdf-tools=)
|
||||
#+END_SRC
|
||||
|
||||
*** Preview Pane
|
||||
You may wish to use the old school package ~latex-preview-pane~ instead of the
|
||||
other alternatives. ~latex-preview-pane~ uses a ~DocView~ instead.
|
||||
|
||||
Activate with the flag '+preview-pane' of the latex module in your private init.el.
|
||||
#+BEGIN_SRC emacs_lisp
|
||||
(latex +preview-pane)
|
||||
#+END_SRC
|
||||
|
||||
** LatexMk
|
||||
Use LatexMk instead of normal LaTeX to compile documents. LatexMk only needs to run once to get all references, bibliography and other things right.
|
||||
Use LatexMk instead of normal LaTeX to compile documents. LatexMk only needs to
|
||||
run once to get all references, bibliography and other things right.
|
||||
|
||||
Activate with the flag '+latexmk' of the latex module in init.el.
|
||||
#+BEGIN_SRC emacs_lisp
|
||||
(latex +latexmk)
|
||||
#+END_SRC
|
||||
|
||||
** Okular
|
||||
Use Okular as default PDF viewer.
|
||||
|
||||
Activate with the flag '+okular' of the latex module in init.el.
|
||||
You can enable both a custom view program and LatexMk with a call such as:
|
||||
#+BEGIN_SRC emacs_lisp
|
||||
(latex +okular)
|
||||
#+END_SRC
|
||||
|
||||
** Preivew-Pane
|
||||
Instead of using an external program to display rendered .tex files, use an emacs window to display the rendered file.
|
||||
|
||||
This flag is incompatible with the ~+okular~ flag.
|
||||
|
||||
Activate with the flag '+preview-pane' of the latex module in init.el.
|
||||
#+BEGIN_SRC emacs_lisp
|
||||
(latex +preview-pane)
|
||||
(latex +latexmk +okular)
|
||||
#+END_SRC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue