diff options
author | Akira Yokosawa <akiyks@gmail.com> | 2021-04-01 19:40:47 +0900 |
---|---|---|
committer | Akira Yokosawa <akiyks@gmail.com> | 2021-04-01 19:40:47 +0900 |
commit | d6a2a4961c3dce3b9cdb53b1d847f464cfea1d03 (patch) | |
tree | 6d2a2e72e3ef217e47b696b0a5181d00613346c1 | |
parent | 148a988a6291a80e99a8b92cee0dcedcfc58f76d (diff) | |
download | perfbook-akiyks.2021.04.01a.tar.gz |
FAQ-BUILD: Ubuntu Bionic needs up-to-date glossaries-extraakiyks.2021.04.01a
Update install_latex_package.sh as well.
Note that glossaries-extra consists of multiple .sty files.
Use wildcard to copy them.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
-rw-r--r-- | FAQ-BUILD.txt | 11 | ||||
-rw-r--r-- | perfbook-lt.tex | 2 | ||||
-rwxr-xr-x | utilities/install_latex_package.sh | 4 |
3 files changed, 10 insertions, 7 deletions
diff --git a/FAQ-BUILD.txt b/FAQ-BUILD.txt index 2e6a3cb8..16d43066 100644 --- a/FAQ-BUILD.txt +++ b/FAQ-BUILD.txt @@ -46,8 +46,9 @@ texlive-science texlive-fonts-extra xfig inkscape graphviz fig2ps - Ubuntu Bionic has a buggy version of LaTeX package - "cleveref". See #10 below to install the latest one. + Ubuntu Bionic has a buggy/incompatible version of LaTeX + packages "cleveref" and "glossaries-extra". + See #10 below to install the latest one. On Ubuntu Bionic, you also need to fetch a version of a2ping which is compatible with updated Ghostscript. @@ -180,13 +181,15 @@ version mismatch of epigraph. What can I do? - A. They are known issues on Ubuntu Bionic (cleveref), - and TeX Live releases prior to 2020 (epigraph). + A. They are known issues on Ubuntu Bionic (cleveref, + glossaries-extra), and TeX Live releases prior to 2020 + (epigraph). This answer assumes Ubuntu, but it should work on other distros. 1. Download whichever package from CTAN mirror: http://mirrors.ctan.org/macros/latex/contrib/cleveref.zip + http://mirrors.ctan.org/macros/latex/contrib/glossaries-extra.zip http://mirrors.ctan.org/macros/latex/contrib/epigraph.zip 2. Install it by following instructions at: diff --git a/perfbook-lt.tex b/perfbook-lt.tex index e52042eb..7732a146 100644 --- a/perfbook-lt.tex +++ b/perfbook-lt.tex @@ -78,7 +78,7 @@ \usepackage[bookmarks=true,bookmarksnumbered=true,pdfborder={0 0 0},linktoc=all]{hyperref} \usepackage{footnotebackref} % to enable cross-ref of footnote \usepackage[all]{hypcap} % for going to the top of figure and table -\usepackage[acronym]{glossaries-extra} +\usepackage[acronym]{glossaries-extra}[2020/02/13] \usepackage[longragged]{glossaries-extra-stylemods} \makeglossaries \usepackage{epigraph}[2020/01/02] % latest version prevents orphaned epigraph diff --git a/utilities/install_latex_package.sh b/utilities/install_latex_package.sh index 0a7f3d19..b160069d 100755 --- a/utilities/install_latex_package.sh +++ b/utilities/install_latex_package.sh @@ -8,7 +8,7 @@ fi package=$1 -packages="titlesec cleveref listings draftwatermark epigraph fvextra" +packages="titlesec cleveref listings draftwatermark epigraph fvextra glossaries-extra" supported="false" for p in $packages do @@ -37,7 +37,7 @@ fi install_dir=~/texmf/tex/latex/"$package" mkdir -p "$install_dir" -cp "$package.sty" "$install_dir/" +cp *.sty "$install_dir/" texhash ~/texmf cd .. || exit 1 |