conflict between lineno and amsmath packages in TeXLive 2022? Some environments (like \gather) are already defined

Ulrike Fischer news3 at nililand.de
Fri Jan 6 12:10:57 CET 2023


Am Thu, 5 Jan 2023 13:16:26 -0500 schrieb Christopher W. Ryan via
texhax:

> Thanks for the link.  Unfortunately, even when I hack the publisher's
> .sty file to change the loading order, the problem still occurs with my
> manuscript.
> 
> The publisher provides a template.tex file. With my correction made to
> the publisher's .sty file, it seems to compile--as long as it sits in my
> C:\texlive\texmf-local\tex\latex\this_publisher directory.  If I move it
> to the directory where I store all my documents, on my E:\drive, the
> error again occurs.

Well look in the log-file to find out which files are used. Or
simply try in your document


\RequirePackage{amsmath}
\documentclass ....

Then amsmath is always loaded first.


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the texhax mailing list.