Compare commits
No commits in common. "45eae50c2412e2ba4e8467bad0fa495ba66d1f0d" and "7292e0625e9dec1a956a9228348710b48dad33b4" have entirely different histories.
45eae50c24
...
7292e0625e
@ -56,7 +56,7 @@ Then set that language, with:
|
|||||||
LANG=pl_PL.UTF-8
|
LANG=pl_PL.UTF-8
|
||||||
```
|
```
|
||||||
|
|
||||||
...then reboot.
|
... then reboot.
|
||||||
|
|
||||||
# Network Time Protocol
|
# Network Time Protocol
|
||||||
|
|
||||||
|
@ -1,78 +0,0 @@
|
|||||||
---
|
|
||||||
title: "LaTeX Setup the Hard Way"
|
|
||||||
tags: [ "writing" ]
|
|
||||||
---
|
|
||||||
|
|
||||||
# Warm Up
|
|
||||||
|
|
||||||
1. Deep breath.
|
|
||||||
1. Cup of tea.
|
|
||||||
1. Remove the old LaTeX junk you've installed. Search for 'texlive' or 'latex' in your package manager's installed files.
|
|
||||||
1. Find `tlmgr` in your package manager.
|
|
||||||
|
|
||||||
# `tlmgr`
|
|
||||||
|
|
||||||
The LaTeX Package manager is known as `tlmgr`, and often resides in `/opt/texlive/${YEAR}/bin/x86_64-linux/tlmgr`.
|
|
||||||
Double-check the location:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
ls -l /opt/texlive/${YEAR}/bin/x86_64-linux/tlmgr
|
|
||||||
ls /opt/texlive/${YEAR}/texmf-dist/scripts/texlive/tlmgr.pl
|
|
||||||
```
|
|
||||||
|
|
||||||
Double-check the year.
|
|
||||||
It should *not* match the real year, it should match the `texlive`.
|
|
||||||
|
|
||||||
## Problems along the Path
|
|
||||||
|
|
||||||
You can't use `tlmgr` unless it's in the `$PATH`.
|
|
||||||
|
|
||||||
Check if it *is* in the `$PATH` then if it *should* be in the path:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
echo $PATH
|
|
||||||
grep texlive -r /etc/profile*
|
|
||||||
```
|
|
||||||
|
|
||||||
If `tlmgr` is where it should be, but not in the path, you can add it temporarily:
|
|
||||||
|
|
||||||
|
|
||||||
```sh
|
|
||||||
export PATH=${PATH}:/opt/texlive/${YEAR}/bin/x86_64-linux
|
|
||||||
```
|
|
||||||
|
|
||||||
...or just reboot.
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
Search packages:
|
|
||||||
|
|
||||||
|
|
||||||
```sh
|
|
||||||
tlmgr search --global epstopdf
|
|
||||||
```
|
|
||||||
|
|
||||||
Can't find what you need?
|
|
||||||
Search for a specific file instead:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
tlmgr search --global --file epstopdf-base.sty
|
|
||||||
sudo tlmgr install epstopdf-pkg
|
|
||||||
```
|
|
||||||
|
|
||||||
## Recommended Packages
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
latexmk
|
|
||||||
luatex
|
|
||||||
titletoc
|
|
||||||
titlesec
|
|
||||||
multicol
|
|
||||||
microtype
|
|
||||||
graphicx
|
|
||||||
fontspec
|
|
||||||
makeindex
|
|
||||||
imakeidx
|
|
||||||
```
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user