Clarify :lang latex prerequisites
This commit is contained in:
parent
24e35b95d5
commit
51a6028b65
1 changed files with 6 additions and 8 deletions
|
@ -47,20 +47,18 @@ Provide a helping hand when working with LaTeX documents.
|
||||||
+ [[https://github.com/cdominik/cdlatex][cdlatex]] (=+cdlatex=)
|
+ [[https://github.com/cdominik/cdlatex][cdlatex]] (=+cdlatex=)
|
||||||
|
|
||||||
* Prerequisites
|
* Prerequisites
|
||||||
You will need ghostscript, dvipng and a latex compiler. All this is provided by
|
You will need ghostscript and a latex compiler. All this is provided by
|
||||||
the =texlive= bundle, available through many OS package managers:
|
the =texlive= bundle, available through many OS package managers.
|
||||||
|
|
||||||
|
Ghostscript <= 9.27 is [[https://www.gnu.org/software/auctex/manual/preview-latex/No-images-are-displayed-with-gs-9_002e27-and-earlier.html][reported buggy]] and doesn't work with auctex's math
|
||||||
|
previews. (You can check you ghostscript version with ~gs --version~.) Most
|
||||||
|
package managers already have newer versions, but if not you might have to build
|
||||||
|
gs from source.
|
||||||
** Ubuntu
|
** Ubuntu
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
apt-get install texlive
|
apt-get install texlive
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+begin_quote
|
|
||||||
=ghostscript 9.26/9.27= is reportedly buggy on Ubuntu 19.04. You may have to
|
|
||||||
build a newer version yourself. Later versions of Ubuntu+texlive don't suffer
|
|
||||||
this issue.
|
|
||||||
#+end_quote
|
|
||||||
|
|
||||||
** Arch Linux
|
** Arch Linux
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
pacman -S texlive
|
pacman -S texlive
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue