Re: [PATCH -perfbook] Load amsmath before fvextra (for lineno v5.0)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 11, 2022 at 09:34:20PM +0900, Akira Yokosawa wrote:
> LaTeX package lineno v5.0 incorporated patching of amsmath code
> for compatibility. (Pre-v5.0 lineno needs a separate package
> linenoamsmath --- now obsolete --- for such compatibility.)
> This introduced the ordering requirement that lineno needs to be
> loaded after amsmath [1].
> 
> In perfbook, lineno is required by fvextra and amsmath is required
> by glossaries which is again required by glossaries-extra.
> Hence lineno is loaded before amsmath and causes a fatal error with
> lineno v5.0.
> 
> As a workaround, explicitly load amsmath before fvextra.
> 
> Link: [1] https://github.com/latex-lineno/lineno/issues/5
> Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>

Queued and pushed, thank you!

							Thanx, Paul

> ---
> Hi,
> 
> Having seen no response from lineno's new maintainer for a couple
> of days, let's go forward and apply this otherwise harmless change
> in our preamble.
> 
>         Thanks, Akira
> -- 
>  perfbook-lt.tex | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/perfbook-lt.tex b/perfbook-lt.tex
> index 80e36084ed3b..d5383f07c5a6 100644
> --- a/perfbook-lt.tex
> +++ b/perfbook-lt.tex
> @@ -55,6 +55,7 @@
>  \usepackage{pifont} % symbols for qqz reference points and carriagereturn
>  \usepackage{gensymb} % symbols for both text and math modes such as \degree and \micro
>  \usepackage{verbatimbox}[2014/01/30] % for centering verbatim listing in figure environment
> +\usepackage{amsmath} % lineno v5.0 (loaded via fvextra) needs amsmath in front
>  \usepackage{fancyvrb}
>  \usepackage{fvextra}[2016/09/02]
>  \usepackage[bottom]{footmisc} % place footnotes under floating figures/tables
> 
> base-commit: 4b38d9da63b7a90bcd2046df249b406bb465f5bd
> -- 
> 2.25.1
> 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux