diff --git a/content/software/pandoc.md b/content/software/pandoc.md index 4e53876..1e6a0b0 100644 --- a/content/software/pandoc.md +++ b/content/software/pandoc.md @@ -20,7 +20,7 @@ pandoc notes.md -o notes.docx ## Why it's here - **Write once, publish anywhere.** Draft in Markdown and hand people a Word file, a web page or a PDF. -- **PDFs out of the box.** TeX Live is installed too, so `pandoc notes.md -o notes.pdf` works. +- **PDFs too.** For `pandoc notes.md -o notes.pdf`, install a LaTeX engine first: `sudo pacman -S texlive-latexextra texlive-fontsrecommended`. CoreDesktop leaves TeX Live out, as it takes a few gigabytes. ## On CoreDesktop diff --git a/content/software/texlive.md b/content/software/texlive.md deleted file mode 100644 index 31f1d28..0000000 --- a/content/software/texlive.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: "TeX Live" -category: "Office, notes and writing" -tagline: "The standard LaTeX distribution, for typesetting papers, books and math." -source: "pacman" -package: "texlive" -command: "pdflatex" -website: "https://tug.org/texlive/" -code: "https://tug.org/texlive/svn/" ---- - -## What it is - -TeX Live is a complete distribution of TeX and LaTeX, the typesetting system used for academic papers, theses, books and anything heavy on mathematics. You write a plain-text `.tex` file with markup for structure and formulas, and LaTeX lays it out as a typeset PDF. TeX Live bundles the engines (pdfLaTeX, XeLaTeX, LuaLaTeX), common packages and fonts. - -``` -pdflatex paper.tex -``` - -## Why it's here - -- **Typesetting that looks right.** Equations, references and page layout come out to publication standard. -- **Pandoc's PDF engine.** Pandoc uses LaTeX to turn Markdown and other formats into PDFs. - -## On CoreDesktop - -CoreDesktop installs the `texlive` package group from pacman, which brings in the main TeX Live packages. Run `pdflatex`, `xelatex` or `lualatex` in a terminal. `update` keeps it current with the rest of the pacman packages.