From 51a6028b65f72ef33c9037b6249191db5e7bd104 Mon Sep 17 00:00:00 2001 From: yoavm448 Date: Fri, 10 Apr 2020 16:06:51 +0300 Subject: [PATCH] Clarify :lang latex prerequisites --- modules/lang/latex/README.org | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/modules/lang/latex/README.org b/modules/lang/latex/README.org index d0e8d5788..a70d76989 100644 --- a/modules/lang/latex/README.org +++ b/modules/lang/latex/README.org @@ -47,20 +47,18 @@ Provide a helping hand when working with LaTeX documents. + [[https://github.com/cdominik/cdlatex][cdlatex]] (=+cdlatex=) * Prerequisites -You will need ghostscript, dvipng and a latex compiler. All this is provided by -the =texlive= bundle, available through many OS package managers: +You will need ghostscript and a latex compiler. All this is provided by +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 #+BEGIN_SRC sh apt-get install texlive #+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 #+BEGIN_SRC sh pacman -S texlive