lang/latex: add basic prerequisites section to readme

This commit is contained in:
Henrik Lissner 2020-04-07 15:00:38 -04:00
parent f8090fd09b
commit e579a64e6e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -8,6 +8,10 @@
- [[#module-flags][Module Flags]] - [[#module-flags][Module Flags]]
- [[#plugins][Plugins]] - [[#plugins][Plugins]]
- [[#prerequisites][Prerequisites]] - [[#prerequisites][Prerequisites]]
- [[#ubuntu][Ubuntu]]
- [[#arch-linux][Arch Linux]]
- [[#macos][macOS]]
- [[#nixos][NixOS]]
- [[#features][Features]] - [[#features][Features]]
- [[#customization][Customization]] - [[#customization][Customization]]
- [[#specifying-the-location-of-a-bibtex-file--corresponding-pdfs][Specifying the location of a bibtex file & corresponding PDFs]] - [[#specifying-the-location-of-a-bibtex-file--corresponding-pdfs][Specifying the location of a bibtex file & corresponding PDFs]]
@ -42,7 +46,41 @@ Provide a helping hand when working with LaTeX documents.
+ [[https://github.com/tmalsburg/helm-bibtex][ivy-bibtex]]* or [[https://github.com/tmalsburg/helm-bibtex][helm-bibtex]]* + [[https://github.com/tmalsburg/helm-bibtex][ivy-bibtex]]* or [[https://github.com/tmalsburg/helm-bibtex][helm-bibtex]]*
+ [[https://github.com/cdominik/cdlatex][cdlatex]] (=+cdlatex=) + [[https://github.com/cdominik/cdlatex][cdlatex]] (=+cdlatex=)
* TODO Prerequisites * Prerequisites
You will need ghostscript, dvipng and a latex compiler. All this is provided by
the =texlive= bundle, available through many OS package managers:
** 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
#+END_SRC
** TODO macOS
#+BEGIN_SRC sh
brew cask install basictex
# If the above doesn't work, then
brew cask install mactex # WARNING: large 4gb download!
#+END_SRC
#+begin_quote
This has not been verified.
#+end_quote
** NixOS
#+BEGIN_SRC nix
environment.systemPackages = [ pkgs.texlive.combined.scheme-medium ];
#+END_SRC
* TODO Features * TODO Features