Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and fixed.


computers / comp.text.tex / ! LaTeX Error: Command \gather already defined.

SubjectAuthor
* ! LaTeX Error: Command \gather already defined.Sharon Kimble
+* Re: ! LaTeX Error: Command \gather already defined.Ulrike Fischer
|`* Re: ! LaTeX Error: Command \gather already defined.Sharon Kimble
| `- Re: ! LaTeX Error: Command \gather already defined.Ulrike Fischer
+- Re:Nicola Talbot
`* Re: ! LaTeX Error: Command \gather already defined.Jonathan Fine
 +* Re: ! LaTeX Error: Command \gather already defined.Jaroslav Fait
 |+- Re: ! LaTeX Error: Command \gather already defined.Ulrike Fischer
 |+* Re: ! LaTeX Error: Command \gather already defined.Max M
 ||`* Re: ! LaTeX Error: Command \gather already defined.Max M
 || `* Re: ! LaTeX Error: Command \gather already defined.Ulrike Fischer
 ||  `* Re: ! LaTeX Error: Command \gather already defined.Max M
 ||   `* Re: ! LaTeX Error: Command \gather already defined.Ulrike Fischer
 ||    `* Re: ! LaTeX Error: Command \gather already defined.Max M
 ||     `* Re: ! LaTeX Error: Command \gather already defined.Ulrike Fischer
 ||      `- Re: ! LaTeX Error: Command \gather already defined.Max M
 |`- Re: ! LaTeX Error: Command \gather already defined.Sharon Kimble
 +- Re: ! LaTeX Error: Command \gather already defined.Ulrike Fischer
 `* Re: ! LaTeX Error: Command \gather already defined.Sharon Kimble
  `* Re:Eduardo M KALINOWSKI
   `- Re: ! LaTeX Error: Command \gather already defined.Christopher Ryan

1
! LaTeX Error: Command \gather already defined.

<877cywiqmq.fsf@skimble09.plus.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5764&group=comp.text.tex#5764

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: boudic...@skimble09.plus.com (Sharon Kimble)
Newsgroups: comp.text.tex
Subject: ! LaTeX Error: Command \gather already defined.
Date: Mon, 12 Dec 2022 15:33:01 +0000
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <877cywiqmq.fsf@skimble09.plus.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="7d93825d0d65008f44e271e4d9b58f2f";
logging-data="2375318"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18UdPgQusMgcUQFF+0pOZaV"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Cancel-Lock: sha1:fnOycjCmDsJnI/zKbYITk+Ip9IM=
sha1:HLNvwaIf56I2FM5im+qkHI3H2OY=
 by: Sharon Kimble - Mon, 12 Dec 2022 15:33 UTC

For several days now I've had this error report showing when I'm building my pdf file -

====
! LaTeX Error: Command \gather already defined.
Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.1560 }
====

I don't have a latex manual or companion, and I just ignore the error report and proceed.

I'm not aware of any 'gather' package, nor what package is generating the error, so could someone please enlighten me as to how to correct the initial problem?

Thanks
Sharon.
--
Debian 11.5, fluxbox 1.3.7, emacs 29.0.50, org 9.5.5

Re: ! LaTeX Error: Command \gather already defined.

<1dbb51erik7hz$.dlg@nililand.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5766&group=comp.text.tex#5766

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: new...@nililand.de (Ulrike Fischer)
Newsgroups: comp.text.tex
Subject: Re: ! LaTeX Error: Command \gather already defined.
Date: Mon, 12 Dec 2022 18:17:25 +0100
Lines: 15
Message-ID: <1dbb51erik7hz$.dlg@nililand.de>
References: <877cywiqmq.fsf@skimble09.plus.com>
Reply-To: news3@nililand.de
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net qtiZoQ74xPfUITptc8UeswTEEsYdmmO34k7Mk1XcJwtKsqQMCJ
Cancel-Lock: sha1:IOqfd6be5XjrSHp7KwWTX7jUYeA=
User-Agent: 40tude_Dialog/2.0.15.41de
 by: Ulrike Fischer - Mon, 12 Dec 2022 17:17 UTC

Am Mon, 12 Dec 2022 15:33:01 +0000 schrieb Sharon Kimble:

> For several days now I've had this error report showing when I'm building my pdf file -
>
> ====
> ! LaTeX Error: Command \gather already defined.
> Or name \end... illegal, see p.192 of the manual.

Load the lineno package earlier (before amsmath).

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

Re: ! LaTeX Error: Command \gather already defined.

<874jtz5knw.fsf@skimble09.plus.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5773&group=comp.text.tex#5773

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: boudic...@skimble09.plus.com (Sharon Kimble)
Newsgroups: comp.text.tex
Subject: Re: ! LaTeX Error: Command \gather already defined.
Date: Tue, 13 Dec 2022 16:32:35 +0000
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <874jtz5knw.fsf@skimble09.plus.com>
References: <877cywiqmq.fsf@skimble09.plus.com>
<1dbb51erik7hz$.dlg@nililand.de>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Injection-Info: reader01.eternal-september.org; posting-host="e13c332c027fb20bb7a58edc828fcbc0";
logging-data="2693886"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fCO/LfDCnf3QSIK6gftKd"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Cancel-Lock: sha1:EM2Zqszgw/QLR7R8b19AlFm9gCQ=
sha1:RSAR59BZVUu8F50Om1nnN1gvhN0=
 by: Sharon Kimble - Tue, 13 Dec 2022 16:32 UTC

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Ulrike Fischer <news3@nililand.de> writes:

Thanks for replying.

> Am Mon, 12 Dec 2022 15:33:01 +0000 schrieb Sharon Kimble:
>
>> For several days now I've had this error report showing when I'm building my pdf file -
>>
>> ===>> ! LaTeX Error: Command \gather already defined.
>> Or name \end... illegal, see p.192 of the manual.
>
>
> Load the lineno package earlier (before amsmath).

But I'm not loading lineno nor amsmath in any of my setup files. Although I do see lineno being used in the log file. So if I'm not loading it, what is? Any ideas please?

Thanks
Sharon.
- --
Debian 11.5, fluxbox 1.3.7, emacs 29.0.50, org 9.5.5
-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmOYqSQdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1snVw//YF60IFEnUURKtueA
4dUBeSiB0fnLIyvbkax0fb71fbqNMKv1vqvgYeJYcF3dbpVyx83y6WmfDwokHwIS
LG5xsxChFz9g44MDuOBVGPU4A5WdAHEpz9OzjookoSGv/6o6UFdftYxSvtw1K1Vs
zyX6l4nb0D4xiWwlCn6QtRjm1+dJUh/Ybu6BhLThvwc4QjGussLrCT8MejxtH5bX
yASmiiB1PfrtsoQ1bD4FV3jI0a8F6k1sAnZNMiIFsgYWBGxpqcuCHh42ghJAgagn
4907e+MqYGWTllxefypK9ICEOQnob5TfLZ57edwh7ayXZZl4K5o0CDjhn6bu1YHd
XfM476YHSYUZawHLuVFBGPOikOq0W3+b1nwcFemQI4K1vurCIohAeTn632LcAG/N
aF9cPRadVWAnNKIM3xyc9j31nifMt7C7CQ/fQORL6k8oHbPyAPqUOgllwKPhN6To
4uu8N++T/AuST38XqAG+1EQrj4U9pHJn2Bqx7ieoqfuJHH8NLHs0ALd5Vxqk8rzw
M7Eo0kInsAd9IE9lgStR5qVphc0sIZpS1Qmq3Y8a14LdonbuzyizU77yha6wrpN6
Nyl3GCC9rYwzifeL1FCtHLrgOJxY7cyMiD+cOacX4PXi4WDYcGi5xJUxJ2O+mneQ
Mxtkvf7yjXizsW3IfpIPvdwywCQ=e9c9
-----END PGP SIGNATURE-----

Re: ! LaTeX Error: Command \gather already defined.

<1tjnhx2umtvmw$.dlg@nililand.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5774&group=comp.text.tex#5774

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: new...@nililand.de (Ulrike Fischer)
Newsgroups: comp.text.tex
Subject: Re: ! LaTeX Error: Command \gather already defined.
Date: Tue, 13 Dec 2022 17:40:16 +0100
Lines: 19
Message-ID: <1tjnhx2umtvmw$.dlg@nililand.de>
References: <877cywiqmq.fsf@skimble09.plus.com> <1dbb51erik7hz$.dlg@nililand.de> <874jtz5knw.fsf@skimble09.plus.com>
Reply-To: news3@nililand.de
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net wSxTc/UvD4tH2n62GepRCwUIuut5styx/gIQpbtOtPyIB8kuNN
Cancel-Lock: sha1:gZnQiM2CajOQvxJEeqeFuC8Tk24=
User-Agent: 40tude_Dialog/2.0.15.41de
 by: Ulrike Fischer - Tue, 13 Dec 2022 16:40 UTC

Am Tue, 13 Dec 2022 16:32:35 +0000 schrieb Sharon Kimble:

>> Load the lineno package earlier (before amsmath).
>
> But I'm not loading lineno nor amsmath in any of my setup files. Although I do see lineno being used in the log file. So if I'm not loading it, what is? Any ideas please?

how should I know? You don't show any code and so I made a wild
guess that the lineno change (which triggers this error) is the
cause.

If not you will have to show a complete, small example.

(And I got it wrong: if lineno is the problem, then you should load
it *after* amsmath).

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

Re: ! LaTeX Error: Command \gather already defined.

<tndai6$hfd$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5782&group=comp.text.tex#5782

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!aioe.org!gBT2SailwYeOUK7MqCG4iw.user.46.165.242.75.POSTED!not-for-mail
From: lis...@dickimaw-books.com (Nicola Talbot)
Newsgroups: comp.text.tex
Subject: Re:
! LaTeX Error: Command \gather already defined.
Date: Wed, 14 Dec 2022 20:09:42 +0000
Organization: Aioe.org NNTP Server
Message-ID: <tndai6$hfd$1@gioia.aioe.org>
References: <877cywiqmq.fsf@skimble09.plus.com>
Reply-To: lists+tex@dickimaw-books.com
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="17901"; posting-host="gBT2SailwYeOUK7MqCG4iw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.5.1
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: Nicola Talbot - Wed, 14 Dec 2022 20:09 UTC

On 12/12/2022 15:33, Sharon Kimble wrote:
> For several days now I've had this error report showing when I'm building my pdf file -
>
> ====
> ! LaTeX Error: Command \gather already defined.
> Or name \end... illegal, see p.192 of the manual.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H <return> for immediate help.
> ...
>
> l.1560 }
> ====
>
> I don't have a latex manual or companion, and I just ignore the error report and proceed.
>
> I'm not aware of any 'gather' package, nor what package is generating the error, so could someone please enlighten me as to how to correct the initial problem?
>
> Thanks
> Sharon.

Here are some strategies for diagnosing the problem.

Add \show followed by the name of the problematic command after each
instance of \usepackage. This will interrupt the document build and show
the definition of the command. Also add \listfiles to get a summary of
all loaded packages (including those that are implicitly loaded by other
packages).

For example:

\listfiles
\documentclass{article}
\show\gather
\usepackage{graphicx}
\show\gather
\usepackage{amsmath}
\show\gather

\begin{document}
Test
\end{document}

This will have the following lines in the transcript (interspersed with
other messages):

> \gather=undefined

> \gather=undefined.

> \gather=\long macro:
->\start@gather \st@rredfalse .

This indicates that the command has been defined between the second and
third instances of \show\gather, which is when amsmath is input. Comment
out the \usepackage line and try again to find the other package that's
defining the command.

It may not actually be a command. It could be an environment. It may
also not be defined by the package that you've loaded, but may be
defined by a dependent package.

Since you're using Debian, you can also use a combination of find and
grep to search for packages that may be defining the command. For example:

find `kpsewhich --var-value=TEXMFDIST` `kpsewhich
--var-value=TEXMFLOCAL` `kpsewhich --var-value=TEXMFHOME` \( -name
"*.sty" -o -name "*.cls" \) -exec grep -l -e '[\\{]gather\b[^@]' {} \;

Search the summary list at the end of the transcript (which is produced
by \listfiles) for any of the files that are found by grep. Once you've
worked out which packages are causing a conflict, then you can try
swapping the load order round to see if that helps or decide if you can
drop one of them or replace it with another package. At the very least
it can provide you with a minimum example that just loads those two
packages which you can post here.

Regards
Nicola Talbot
--
Dickimaw Books
Home: https://www.dickimaw-books.com/
Creating a LaTeX Minimal Example:
https://www.dickimaw-books.com/latex/minexample/
LaTeX Resources: https://www.dickimaw-books.com/latexresources.html

Re: ! LaTeX Error: Command \gather already defined.

<22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5783&group=comp.text.tex#5783

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:a05:622a:1dc5:b0:3a7:e789:9cbc with SMTP id bn5-20020a05622a1dc500b003a7e7899cbcmr13330354qtb.651.1671119970147;
Thu, 15 Dec 2022 07:59:30 -0800 (PST)
X-Received: by 2002:a05:690c:b18:b0:3f4:6ecb:471d with SMTP id
cj24-20020a05690c0b1800b003f46ecb471dmr14881426ywb.231.1671119969994; Thu, 15
Dec 2022 07:59:29 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Thu, 15 Dec 2022 07:59:29 -0800 (PST)
In-Reply-To: <877cywiqmq.fsf@skimble09.plus.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.189.209.188; posting-account=1n5iOQoAAAAdoKmXR0eD8Li08uSD4aUd
NNTP-Posting-Host: 80.189.209.188
References: <877cywiqmq.fsf@skimble09.plus.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
Subject: Re: ! LaTeX Error: Command \gather already defined.
From: jfine2...@gmail.com (Jonathan Fine)
Injection-Date: Thu, 15 Dec 2022 15:59:30 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1693
 by: Jonathan Fine - Thu, 15 Dec 2022 15:59 UTC

Hi Sharon

It would be most helpful if you could upload the log file, up to the point at which the error occurs. From there I think the source of error could soon be found.

LaTeX wrote:
> ! LaTeX Error: Command \gather already defined.
> Or name \end... illegal, see p.192 of the manual.

In my opinion, it is unfortunate that LaTeX is not doing more to help you. In 1992 referring to page 192 of the manual is appropriate. In 2022 (nearly 2023) it is not.

By the way, is this a file that used to work, but since a few days ago does not?

with kind regards

Jonathan

Re: ! LaTeX Error: Command \gather already defined.

<2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5787&group=comp.text.tex#5787

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:a05:620a:9d5:b0:6ff:8c91:5609 with SMTP id y21-20020a05620a09d500b006ff8c915609mr631192qky.132.1671207608763;
Fri, 16 Dec 2022 08:20:08 -0800 (PST)
X-Received: by 2002:a25:3045:0:b0:703:481:a16b with SMTP id
w66-20020a253045000000b007030481a16bmr14106648ybw.301.1671207608526; Fri, 16
Dec 2022 08:20:08 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Fri, 16 Dec 2022 08:20:08 -0800 (PST)
In-Reply-To: <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=165.225.27.8; posting-account=QXs33goAAADNbIlwz_ZZG0EPQVQ-YSMU
NNTP-Posting-Host: 165.225.27.8
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com>
Subject: Re: ! LaTeX Error: Command \gather already defined.
From: jardak.f...@gmail.com (Jaroslav Fait)
Injection-Date: Fri, 16 Dec 2022 16:20:08 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2185
 by: Jaroslav Fait - Fri, 16 Dec 2022 16:20 UTC

Dne čtvrtek 15. prosince 2022 v 16:59:33 UTC+1 uživatel Jonathan Fine napsal:
> Hi Sharon
>
> It would be most helpful if you could upload the log file, up to the point at which the error occurs. From there I think the source of error could soon be found.
> LaTeX wrote:
> > ! LaTeX Error: Command \gather already defined.
> > Or name \end... illegal, see p.192 of the manual.
> In my opinion, it is unfortunate that LaTeX is not doing more to help you.. In 1992 referring to page 192 of the manual is appropriate. In 2022 (nearly 2023) it is not.
>
> By the way, is this a file that used to work, but since a few days ago does not?
>
> with kind regards
>
> Jonathan
I have same problem like Sheron describes. The problems occurred after a major update to my Miktex package. I think it's a deeper bug and that it's not due to the order of the libraries in the source file.

Re: ! LaTeX Error: Command \gather already defined.

<dc2hcuzjpe1d$.dlg@nililand.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5823&group=comp.text.tex#5823

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: new...@nililand.de (Ulrike Fischer)
Newsgroups: comp.text.tex
Subject: Re: ! LaTeX Error: Command \gather already defined.
Date: Sat, 17 Dec 2022 12:45:17 +0100
Lines: 16
Message-ID: <dc2hcuzjpe1d$.dlg@nililand.de>
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com> <2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com>
Reply-To: news3@nililand.de
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net ym8eAVsP5vPPLEvU78dzdAP2kTopQLModVIIrAShL0tX235RcP
Cancel-Lock: sha1:ffA4zME9mlsLwtYzJt0PZE7f/7A=
User-Agent: 40tude_Dialog/2.0.15.41de
 by: Ulrike Fischer - Sat, 17 Dec 2022 11:45 UTC

Am Fri, 16 Dec 2022 08:20:08 -0800 (PST) schrieb Jaroslav Fait:

> I have same problem like Sheron describes. The problems occurred
> after a major update to my Miktex package. I think it's a deeper
> bug and that it's not due to the order of the libraries in the
> source file.

Personally I'm quite willing to bet that is due to the order of
packages as I ran into the same error after the update but if you
think otherwise: provide a complete example and the log file so that
one debug your problem.

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

Re: ! LaTeX Error: Command \gather already defined.

<w7qh9yaqdl1l.dlg@nililand.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5824&group=comp.text.tex#5824

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: new...@nililand.de (Ulrike Fischer)
Newsgroups: comp.text.tex
Subject: Re: ! LaTeX Error: Command \gather already defined.
Date: Sat, 17 Dec 2022 12:49:47 +0100
Lines: 22
Message-ID: <w7qh9yaqdl1l.dlg@nililand.de>
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
Reply-To: news3@nililand.de
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 9Flh2S1JB8s3I9h7RV6+YAK1hrTuJdv2u/voT2/Scfk83plixG
Cancel-Lock: sha1:hIgFnWG15Wq+OuK+5+hqb1d3EFo=
User-Agent: 40tude_Dialog/2.0.15.41de
 by: Ulrike Fischer - Sat, 17 Dec 2022 11:49 UTC

Am Thu, 15 Dec 2022 07:59:29 -0800 (PST) schrieb Jonathan Fine:

>> ! LaTeX Error: Command \gather already defined.
>> Or name \end... illegal, see p.192 of the manual.
> In my opinion, it is unfortunate that LaTeX is not doing more to
> help you. In 1992 referring to page 192 of the manual is
> appropriate. In 2022 (nearly 2023) it is not.

p.192 is at least exact and fix. Any other link would not be stable,
and you can't add a label/ref into such a message. So the only way
to change this would be to drop the "see part", which doesn't
really help much more.

Beside this: Changing error messages affects lots of test files, and
also various scripts in external tools scanning the log for errors.
So we typically avoid to change much here.

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

Re: ! LaTeX Error: Command \gather already defined.

<ee18116d-f579-4455-95fb-c480d8c08028n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5825&group=comp.text.tex#5825

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:a05:6214:2e12:b0:4c6:d6b2:736a with SMTP id mx18-20020a0562142e1200b004c6d6b2736amr62088229qvb.57.1671280128959;
Sat, 17 Dec 2022 04:28:48 -0800 (PST)
X-Received: by 2002:a25:8743:0:b0:6f0:c9e7:68bf with SMTP id
e3-20020a258743000000b006f0c9e768bfmr69744503ybn.78.1671280128605; Sat, 17
Dec 2022 04:28:48 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Sat, 17 Dec 2022 04:28:48 -0800 (PST)
In-Reply-To: <2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=91.55.165.197; posting-account=9Z6oGgoAAAC7QKKEbOZzxwzmeR9xTiE4
NNTP-Posting-Host: 91.55.165.197
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
<2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ee18116d-f579-4455-95fb-c480d8c08028n@googlegroups.com>
Subject: Re: ! LaTeX Error: Command \gather already defined.
From: mariow.i...@gmail.com (Max M)
Injection-Date: Sat, 17 Dec 2022 12:28:48 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1742
 by: Max M - Sat, 17 Dec 2022 12:28 UTC

Jaroslav Fait schrieb am Freitag, 16. Dezember 2022 um 16:20:11 UTC:
> I have same problem like Sheron describes. The problems occurred after a major update to my Miktex package. I think it's a deeper bug and that it's not due to the order of the libraries in the source file.

I think so too. I have been working with my document for many months. Haven't changed anything significant, but now also get this error after I updated my LaTeX packages last (11/12/2022) or before last Sunday (04/12/2022).

Re: ! LaTeX Error: Command \gather already defined.

<be0399fe-5242-4ae9-a583-0e02b51020c0n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5826&group=comp.text.tex#5826

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:a05:620a:2230:b0:6ff:c9aa:e442 with SMTP id n16-20020a05620a223000b006ffc9aae442mr329895qkh.457.1671281334970;
Sat, 17 Dec 2022 04:48:54 -0800 (PST)
X-Received: by 2002:a05:690c:b18:b0:3f4:6ecb:471d with SMTP id
cj24-20020a05690c0b1800b003f46ecb471dmr15758660ywb.231.1671281334714; Sat, 17
Dec 2022 04:48:54 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Sat, 17 Dec 2022 04:48:54 -0800 (PST)
In-Reply-To: <ee18116d-f579-4455-95fb-c480d8c08028n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=91.55.165.197; posting-account=9Z6oGgoAAAC7QKKEbOZzxwzmeR9xTiE4
NNTP-Posting-Host: 91.55.165.197
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
<2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com> <ee18116d-f579-4455-95fb-c480d8c08028n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <be0399fe-5242-4ae9-a583-0e02b51020c0n@googlegroups.com>
Subject: Re: ! LaTeX Error: Command \gather already defined.
From: mariow.i...@gmail.com (Max M)
Injection-Date: Sat, 17 Dec 2022 12:48:54 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2083
 by: Max M - Sat, 17 Dec 2022 12:48 UTC

Max M schrieb am Samstag, 17. Dezember 2022 um 12:28:52 UTC:
> Jaroslav Fait schrieb am Freitag, 16. Dezember 2022 um 16:20:11 UTC:
> > I have same problem like Sheron describes. The problems occurred after a major update to my Miktex package. I think it's a deeper bug and that it's not due to the order of the libraries in the source file.
> I think so too. I have been working with my document for many months. Haven't changed anything significant, but now also get this error after I updated my LaTeX packages last (11/12/2022) or before last Sunday (04/12/2022).

I have restored an older version (4.41) of the lineno package and the error messages have disappeared. I have not included the lineno package myself, but I think it is used by e.g. minted (\setminted{linenos}).

Re: ! LaTeX Error: Command \gather already defined.

<5dvij8ps9rnh$.dlg@nililand.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5827&group=comp.text.tex#5827

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: new...@nililand.de (Ulrike Fischer)
Newsgroups: comp.text.tex
Subject: Re: ! LaTeX Error: Command \gather already defined.
Date: Sat, 17 Dec 2022 16:18:47 +0100
Lines: 14
Message-ID: <5dvij8ps9rnh$.dlg@nililand.de>
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com> <2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com> <ee18116d-f579-4455-95fb-c480d8c08028n@googlegroups.com> <be0399fe-5242-4ae9-a583-0e02b51020c0n@googlegroups.com>
Reply-To: news3@nililand.de
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net MT/dz8HW/Cl/92adpi63Xgn0ty/nLOsfXJNEJgme5Z3r+9oCKO
Cancel-Lock: sha1:Ea9jEmk8AmAkAI+lREPiHZ2O6aE=
User-Agent: 40tude_Dialog/2.0.15.41de
 by: Ulrike Fischer - Sat, 17 Dec 2022 15:18 UTC

Am Sat, 17 Dec 2022 04:48:54 -0800 (PST) schrieb Max M:

> I have restored an older version (4.41) of the lineno package and
> the error messages have disappeared. I have not included the
> lineno package myself, but I think it is used by e.g. minted
> (\setminted{linenos}).

Simply load lineno later (or amsmath earlier).

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

Re: ! LaTeX Error: Command \gather already defined.

<7bbfca57-0056-4f4a-b931-ff4898432e29n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5833&group=comp.text.tex#5833

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:ad4:4f91:0:b0:514:6d9a:37e9 with SMTP id em17-20020ad44f91000000b005146d9a37e9mr168075qvb.43.1671440628555;
Mon, 19 Dec 2022 01:03:48 -0800 (PST)
X-Received: by 2002:a81:6a82:0:b0:3fe:a93b:c913 with SMTP id
f124-20020a816a82000000b003fea93bc913mr9949691ywc.399.1671440628206; Mon, 19
Dec 2022 01:03:48 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Mon, 19 Dec 2022 01:03:48 -0800 (PST)
In-Reply-To: <5dvij8ps9rnh$.dlg@nililand.de>
Injection-Info: google-groups.googlegroups.com; posting-host=141.55.46.241; posting-account=9Z6oGgoAAAC7QKKEbOZzxwzmeR9xTiE4
NNTP-Posting-Host: 141.55.46.241
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
<2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com> <ee18116d-f579-4455-95fb-c480d8c08028n@googlegroups.com>
<be0399fe-5242-4ae9-a583-0e02b51020c0n@googlegroups.com> <5dvij8ps9rnh$.dlg@nililand.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7bbfca57-0056-4f4a-b931-ff4898432e29n@googlegroups.com>
Subject: Re: ! LaTeX Error: Command \gather already defined.
From: mariow.i...@gmail.com (Max M)
Injection-Date: Mon, 19 Dec 2022 09:03:48 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 13
 by: Max M - Mon, 19 Dec 2022 09:03 UTC

Ulrike Fischer schrieb am Samstag, 17. Dezember 2022 um 15:18:54 UTC:
> Am Sat, 17 Dec 2022 04:48:54 -0800 (PST) schrieb Max M:
>
>
> > I have restored an older version (4.41) of the lineno package and
> > the error messages have disappeared. I have not included the
> > lineno package myself, but I think it is used by e.g. minted
> > (\setminted{linenos}).
> Simply load lineno later (or amsmath earlier).
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/

I do not load lineno or amsmath. Another package must load that.

Re: ! LaTeX Error: Command \gather already defined.

<19ox46lh6boaf$.dlg@nililand.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5834&group=comp.text.tex#5834

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: new...@nililand.de (Ulrike Fischer)
Newsgroups: comp.text.tex
Subject: Re: ! LaTeX Error: Command \gather already defined.
Date: Mon, 19 Dec 2022 12:57:42 +0100
Lines: 15
Message-ID: <19ox46lh6boaf$.dlg@nililand.de>
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com> <2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com> <ee18116d-f579-4455-95fb-c480d8c08028n@googlegroups.com> <be0399fe-5242-4ae9-a583-0e02b51020c0n@googlegroups.com> <5dvij8ps9rnh$.dlg@nililand.de> <7bbfca57-0056-4f4a-b931-ff4898432e29n@googlegroups.com>
Reply-To: news3@nililand.de
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net iUiFsZOvsm/OHDKTGBOBrQH5B/e9opI57DbPAmb1fiMEF343zG
Cancel-Lock: sha1:+DfgZZDb6v1bGw/dNmPbHIAxZ/k=
User-Agent: 40tude_Dialog/2.0.15.41de
 by: Ulrike Fischer - Mon, 19 Dec 2022 11:57 UTC

Am Mon, 19 Dec 2022 01:03:48 -0800 (PST) schrieb Max M:

> I do not load lineno or amsmath. Another package must load that.

Of course, if they are loaded, then because someone are loading
them.

Add \RequirePackage{structuredlog} before documentclass, then check
the log. It should be rather easy to find out where the packages
are loaded.

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

Re: ! LaTeX Error: Command \gather already defined.

<17b754ea-2507-4dc6-965a-7e1494bb4f72n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5835&group=comp.text.tex#5835

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:ac8:5dc9:0:b0:3a7:2963:f4e2 with SMTP id e9-20020ac85dc9000000b003a72963f4e2mr18945588qtx.375.1671456102710;
Mon, 19 Dec 2022 05:21:42 -0800 (PST)
X-Received: by 2002:a25:ca17:0:b0:6fd:d054:a0b3 with SMTP id
a23-20020a25ca17000000b006fdd054a0b3mr28406421ybg.51.1671456102456; Mon, 19
Dec 2022 05:21:42 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Mon, 19 Dec 2022 05:21:42 -0800 (PST)
In-Reply-To: <19ox46lh6boaf$.dlg@nililand.de>
Injection-Info: google-groups.googlegroups.com; posting-host=80.187.116.30; posting-account=9Z6oGgoAAAC7QKKEbOZzxwzmeR9xTiE4
NNTP-Posting-Host: 80.187.116.30
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
<2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com> <ee18116d-f579-4455-95fb-c480d8c08028n@googlegroups.com>
<be0399fe-5242-4ae9-a583-0e02b51020c0n@googlegroups.com> <5dvij8ps9rnh$.dlg@nililand.de>
<7bbfca57-0056-4f4a-b931-ff4898432e29n@googlegroups.com> <19ox46lh6boaf$.dlg@nililand.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <17b754ea-2507-4dc6-965a-7e1494bb4f72n@googlegroups.com>
Subject: Re: ! LaTeX Error: Command \gather already defined.
From: mariow.i...@gmail.com (Max M)
Injection-Date: Mon, 19 Dec 2022 13:21:42 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2428
 by: Max M - Mon, 19 Dec 2022 13:21 UTC

Ulrike Fischer schrieb am Montag, 19. Dezember 2022 um 11:57:48 UTC:
> Am Mon, 19 Dec 2022 01:03:48 -0800 (PST) schrieb Max M:
>
> > I do not load lineno or amsmath. Another package must load that.
> Of course, if they are loaded, then because someone are loading
> them.
>
> Add \RequirePackage{structuredlog} before documentclass, then check
> the log. It should be rather easy to find out where the packages
> are loaded.
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/

Thank you.

I have moved minted to amsmath. No error occurs any more. But this cannot be the solution to the problem, because a) it worked with an older version of lineno (< 5.0) and b) there are other packages whose order is important. This is not user-friendly and at some point it becomes very confusing, because I have already imported 7 packages whose tyre sequence must be observed..

Re: ! LaTeX Error: Command \gather already defined.

<1k8sdkodt0r5a.dlg@nililand.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5837&group=comp.text.tex#5837

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: new...@nililand.de (Ulrike Fischer)
Newsgroups: comp.text.tex
Subject: Re: ! LaTeX Error: Command \gather already defined.
Date: Mon, 19 Dec 2022 23:53:00 +0100
Lines: 23
Message-ID: <1k8sdkodt0r5a.dlg@nililand.de>
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com> <2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com> <ee18116d-f579-4455-95fb-c480d8c08028n@googlegroups.com> <be0399fe-5242-4ae9-a583-0e02b51020c0n@googlegroups.com> <5dvij8ps9rnh$.dlg@nililand.de> <7bbfca57-0056-4f4a-b931-ff4898432e29n@googlegroups.com> <19ox46lh6boaf$.dlg@nililand.de> <17b754ea-2507-4dc6-965a-7e1494bb4f72n@googlegroups.com>
Reply-To: news3@nililand.de
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net z6OvWRxu1yOZCfRVBrQJKABiaDCuhSuZPrKhLcGacEv6nIyPO2
Cancel-Lock: sha1:ia5jtj1M1qCfFPb9yuzkhNYjXdQ=
User-Agent: 40tude_Dialog/2.0.15.41de
 by: Ulrike Fischer - Mon, 19 Dec 2022 22:53 UTC

Am Mon, 19 Dec 2022 05:21:42 -0800 (PST) schrieb Max M:

> Thank you.
>
> I have moved minted to amsmath. No error occurs any more. But
> this cannot be the solution to the problem, because a) it worked
> with an older version of lineno (< 5.0) and b) there are other
> packages whose order is important. This is not user-friendly and
> at some point it becomes very confusing, because I have already
> imported 7 packages whose tyre sequence must be observed.

I quite agree that this should done better, and there is already an
open issue:

https://github.com/latex-lineno/lineno/issues/5

As you can see, we (the latex team, in this case Frank) are trying
to resolve the problem.

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

Re: ! LaTeX Error: Command \gather already defined.

<fed3682b-e0af-4a3f-ac1d-b6e9aec571fan@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5838&group=comp.text.tex#5838

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:a05:620a:2230:b0:6ff:c9aa:e442 with SMTP id n16-20020a05620a223000b006ffc9aae442mr506874qkh.457.1671520797177;
Mon, 19 Dec 2022 23:19:57 -0800 (PST)
X-Received: by 2002:a0d:e544:0:b0:392:1434:c329 with SMTP id
o65-20020a0de544000000b003921434c329mr12798473ywe.72.1671520796883; Mon, 19
Dec 2022 23:19:56 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Mon, 19 Dec 2022 23:19:56 -0800 (PST)
In-Reply-To: <1k8sdkodt0r5a.dlg@nililand.de>
Injection-Info: google-groups.googlegroups.com; posting-host=141.55.46.241; posting-account=9Z6oGgoAAAC7QKKEbOZzxwzmeR9xTiE4
NNTP-Posting-Host: 141.55.46.241
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
<2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com> <ee18116d-f579-4455-95fb-c480d8c08028n@googlegroups.com>
<be0399fe-5242-4ae9-a583-0e02b51020c0n@googlegroups.com> <5dvij8ps9rnh$.dlg@nililand.de>
<7bbfca57-0056-4f4a-b931-ff4898432e29n@googlegroups.com> <19ox46lh6boaf$.dlg@nililand.de>
<17b754ea-2507-4dc6-965a-7e1494bb4f72n@googlegroups.com> <1k8sdkodt0r5a.dlg@nililand.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fed3682b-e0af-4a3f-ac1d-b6e9aec571fan@googlegroups.com>
Subject: Re: ! LaTeX Error: Command \gather already defined.
From: mariow.i...@gmail.com (Max M)
Injection-Date: Tue, 20 Dec 2022 07:19:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2556
 by: Max M - Tue, 20 Dec 2022 07:19 UTC

Ulrike Fischer schrieb am Montag, 19. Dezember 2022 um 22:53:09 UTC:
> Am Mon, 19 Dec 2022 05:21:42 -0800 (PST) schrieb Max M:
>
> > Thank you.
> >
> > I have moved minted to amsmath. No error occurs any more. But
> > this cannot be the solution to the problem, because a) it worked
> > with an older version of lineno (< 5.0) and b) there are other
> > packages whose order is important. This is not user-friendly and
> > at some point it becomes very confusing, because I have already
> > imported 7 packages whose tyre sequence must be observed.
> I quite agree that this should done better, and there is already an
> open issue:
>
> https://github.com/latex-lineno/lineno/issues/5
>
> As you can see, we (the latex team, in this case Frank) are trying
> to resolve the problem.
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/

Thank you very much for your commitment! 🙏

Re: ! LaTeX Error: Command \gather already defined.

<87lemumcdr.fsf@skimble09.plus.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5860&group=comp.text.tex#5860

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: boudic...@skimble09.plus.com (Sharon Kimble)
Newsgroups: comp.text.tex
Subject: Re: ! LaTeX Error: Command \gather already defined.
Date: Mon, 26 Dec 2022 15:08:00 +0000
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <87lemumcdr.fsf@skimble09.plus.com>
References: <877cywiqmq.fsf@skimble09.plus.com>
<22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Injection-Info: reader01.eternal-september.org; posting-host="6f95435ced32cb883066bdf5b76a0d0f";
logging-data="3471770"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18siG9CnoZZagGF8iXJJ7nB"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:GDOQSndBAECGZSZnm23PRrOo8lg=
sha1:ULGlZdxWAeBTy4jBXegkJN0bA6g=
 by: Sharon Kimble - Mon, 26 Dec 2022 15:08 UTC

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

> Jonathan Fine <jfine2358@gmail.com> writes:

> Hi Sharon
>
> It would be most helpful if you could upload the log file, up to the point at which the error occurs. From there I think the source of error could soon be found.
>
> LaTeX wrote:
>> ! LaTeX Error: Command \gather already defined.
>> Or name \end... illegal, see p.192 of the manual.
>
> In my opinion, it is unfortunate that LaTeX is not doing more to help you.. In 1992 referring to page 192 of the manual is appropriate. In 2022 (nearly 2023) it is not.

I've been able to get a secondhand copy of the 'The Latex Companion', 2nd edition, 2004 version. And page 192 is blank, and is on the left-hand side facing Chapter 4, The Layout of the Page.

So what manual is the error report referring to please?

Thanks
Sharon.
- --
Debian 11.5, fluxbox 1.3.7, emacs 29.0.60, org 9.5.5
-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmOpuNAdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1s0shAAtFYyk1356heUYUzQ
RgNYWD9AIEBTNmfotvXYvJYF+8zbCa/ZP3NSfJ4CqNA3mRjzv0CSQQleeckbi9Yd
uYv7AsZp7I/nqknwaxLW0m6fItIUvkbilXXv669lM5vlDo8iHC6HHVlRft7zLt+H
/zxl0DTb2uLXjoee22whI46vp2hRpiqZXWPIJ56K15Pod2lDXes8BIC3+shBapwB
zneU9MnE4vkprG+veooppQhQYdEWGoSZ0H6AIrie8SZKgEFdD3lk6h4ow5nAnkUv
gOfmu0YuO0+qzlH3UK6HmU6MYCXbusHZipEyiTmEQ0f1K6ZAxAUkhKzFKrIGZQxw
BuLwaPgLjWJ+QzltiTXKo7k0J59YJUtwgISyzX3Ch6HHiiARl+gYk5uDZWur3Zks
8KYKRWvsbZWxuOgQZq1yKmpesbV8VynltWKeNpIPEdYxzSOTh8l9Q1kMG0gnbxbc
hCr6FInNDuko7T/BlESelxB1cPwxhhRKFsS7sKTa82SViOdXMronvnT+axtvEvIh
ClnUHN1QIGQ00sz28wagoz1v9+oXpOw1e+/eI7uuudBqoapQIDZo7nPvUKMU+0IY
hvxh8HIi7R/DQma2I8FVDii879f0K+niNC+n+UomyrpD8/RIpSng7A7o7swYwfbC
Pfg81EshAgZGPCRdVs8cueh44sM=9YxW
-----END PGP SIGNATURE-----

Re: ! LaTeX Error: Command \gather already defined.

<871qomkxnt.fsf@skimble09.plus.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5861&group=comp.text.tex#5861

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: boudic...@skimble09.plus.com (Sharon Kimble)
Newsgroups: comp.text.tex
Subject: Re: ! LaTeX Error: Command \gather already defined.
Date: Mon, 26 Dec 2022 15:11:18 +0000
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <871qomkxnt.fsf@skimble09.plus.com>
References: <877cywiqmq.fsf@skimble09.plus.com>
<22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
<2df8c785-2783-475a-84a2-c33198d1831dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: reader01.eternal-september.org; posting-host="6f95435ced32cb883066bdf5b76a0d0f";
logging-data="3471770"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DhqXuQNyb2quHjOFpSMrw"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:JyHPx64uzF9Hrgoy7hQEDPeTvZ4=
sha1:aZpW2j9srGaHMk28FNkEjqhAXzc=
 by: Sharon Kimble - Mon, 26 Dec 2022 15:11 UTC

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

> Jaroslav Fait <jardak.fait@gmail.com> writes:

> Dne čtvrtek 15. prosince 2022 v 16:59:33 UTC+1 uživatel Jonathan Fine napsal:
>> Hi Sharon
>>
>> It would be most helpful if you could upload the log file, up to the point at which the error occurs. From there I think the source of error could soon be found.
>> LaTeX wrote:
>> > ! LaTeX Error: Command \gather already defined.
>> > Or name \end... illegal, see p.192 of the manual.
>> In my opinion, it is unfortunate that LaTeX is not doing more to help you. In 1992 referring to page 192 of the manual is appropriate. In 2022 (nearly 2023) it is not.
>>
>> By the way, is this a file that used to work, but since a few days ago does not?
>>
>> with kind regards
>>
>> Jonathan
> I have same problem like Sheron describes. The problems occurred after a major update to my Miktex package. I think it's a deeper bug and that it's not due to the order of the libraries in the source file.

I've found out where the problem is coming from, the package 'minted' is loading lineno and amsmath in the background. As I'm not using mathematical symbols, I've stopped using minted, and everything is now working nicely.

Thanks
Sharon.
- --
Debian 11.5, fluxbox 1.3.7, emacs 29.0.60, org 9.5.5
-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmOpuZYdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1tL2Q//SDb1ztV/KOyoVdG6
Dv83ogC5qLcj5XUgajy5ciQ+K2MSQ0siIsqegnZ4zbbL5HjsLW4YUqpHYESJEewE
9i8X/WZZfmOYZ6zYQiNoP7PZnpMYZAt2WYVq5Td4BXb0HJiMq8rWgpnYz3XLd2Y3
UKdtJWy/QJrJR4trpBCXdSL9+g6OnQJuVbxYDhgi2c4fCl6SkOQnlTZy0fFNR5rn
Cm4vtr5y63XzhE3WKHuZyEjoyKcFPpYN/mUUtQfZxTu1a0T9jhxSyrxWIgt/8SOr
UakavN8hz7f10Cmlt+0f/ibZ85kf8bcMXfPuK817gvfFiq21Q/HqQKVPHl1Bu7kA
+Xr6NM46Mk7nvJYdKyUtu8Pns/g217zBJRyV0gmrtgLfYlKO/eqNitFuR+04MYUh
9aYIkBJ71EYERNlwMCf89ztJ8TTjd9shdOA+1boLild5i8oiUpe+iBsRdAMcmyBM
AaQjfX+9wcGs779Oq6POWMDtwnF3ZNStZvzihLq6Hpl6ZAvBjR5IrFGr6f9Gj7qX
2QpiIVdAMVx25G8+gE0+hVJKTxCrTpNghzNlPeUkTmKV7Iy4P5sgq4Y6kOB35cIn
d+Cqt9ZCia2G3FNfOAOIOFyn8IIOJb8oIyKpX8Kl/+aFNg80wIjP4jHE2IIMISJl
WUEIMtMb+ZP4oa91Cy6u4QPjTBU=ahmS
-----END PGP SIGNATURE-----

Re: ! LaTeX Error: Command \gather already defined.

<tod2pu$1veu$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5863&group=comp.text.tex#5863

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!aioe.org!CSg1B8kDRgfc/swLpayqrg.user.46.165.242.75.POSTED!not-for-mail
From: edua...@kalinowski.com.br (Eduardo M KALINOWSKI)
Newsgroups: comp.text.tex
Subject: Re:
! LaTeX Error: Command \gather already defined.
Date: Mon, 26 Dec 2022 18:13:34 -0300
Organization: Aioe.org NNTP Server
Message-ID: <tod2pu$1veu$1@gioia.aioe.org>
References: <877cywiqmq.fsf@skimble09.plus.com>
<22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
<87lemumcdr.fsf@skimble09.plus.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="64990"; posting-host="CSg1B8kDRgfc/swLpayqrg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: pt-BR
 by: Eduardo M KALINOWSKI - Mon, 26 Dec 2022 21:13 UTC

On 26/12/2022 12:08, Sharon Kimble wrote:
>> Jonathan Fine <jfine2358@gmail.com> writes:
>
>> Hi Sharon
>
>> It would be most helpful if you could upload the log file, up to the point at which the error occurs. From there I think the source of error could soon be found.
>
>> LaTeX wrote:
>>> ! LaTeX Error: Command \gather already defined.
>>> Or name \end... illegal, see p.192 of the manual.
>
>> In my opinion, it is unfortunate that LaTeX is not doing more to help you. In 1992 referring to page 192 of the manual is appropriate. In 2022 (nearly 2023) it is not.
>
> I've been able to get a secondhand copy of the 'The Latex Companion', 2nd edition, 2004 version. And page 192 is blank, and is on the left-hand side facing Chapter 4, The Layout of the Page.
>
> So what manual is the error report referring to please?

That would be LaTeX: A Document Preparation System, by Leslie Lamport.
But I have to agree with Jonathan Fine that refering to a page in that
manual isn't particulary useful. I have my doubts if even in 1992 it was
useful.

Re: ! LaTeX Error: Command \gather already defined.

<986c178f-5a5e-4c1b-89cf-65910d29e35cn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5913&group=comp.text.tex#5913

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:ac8:670c:0:b0:3a6:a5c3:fd3c with SMTP id e12-20020ac8670c000000b003a6a5c3fd3cmr993895qtp.36.1672783188292;
Tue, 03 Jan 2023 13:59:48 -0800 (PST)
X-Received: by 2002:a81:1149:0:b0:433:f1c0:3f1c with SMTP id
70-20020a811149000000b00433f1c03f1cmr6117619ywr.438.1672783187913; Tue, 03
Jan 2023 13:59:47 -0800 (PST)
Path: i2pn2.org!i2pn.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Tue, 3 Jan 2023 13:59:47 -0800 (PST)
In-Reply-To: <tod2pu$1veu$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=128.226.103.33; posting-account=kGtt_goAAACeHbs_zL5i-6MBQoROlpHd
NNTP-Posting-Host: 128.226.103.33
References: <877cywiqmq.fsf@skimble09.plus.com> <22bfe372-b33a-4641-ae7c-181aaef5dba7n@googlegroups.com>
<87lemumcdr.fsf@skimble09.plus.com> <tod2pu$1veu$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <986c178f-5a5e-4c1b-89cf-65910d29e35cn@googlegroups.com>
Subject: Re: ! LaTeX Error: Command \gather already defined.
From: cry...@binghamton.edu (Christopher Ryan)
Injection-Date: Tue, 03 Jan 2023 21:59:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3699
 by: Christopher Ryan - Tue, 3 Jan 2023 21:59 UTC

On Monday, December 26, 2022 at 4:13:40 PM UTC-5, Eduardo M KALINOWSKI wrote:
> On 26/12/2022 12:08, Sharon Kimble wrote:
> >> Jonathan Fine <jfin...@gmail.com> writes:
> >
> >> Hi Sharon
> >
> >> It would be most helpful if you could upload the log file, up to the point at which the error occurs. From there I think the source of error could soon be found.
> >
> >> LaTeX wrote:
> >>> ! LaTeX Error: Command \gather already defined.
> >>> Or name \end... illegal, see p.192 of the manual.
> >
> >> In my opinion, it is unfortunate that LaTeX is not doing more to help you. In 1992 referring to page 192 of the manual is appropriate. In 2022 (nearly 2023) it is not.
> >
> > I've been able to get a secondhand copy of the 'The Latex Companion', 2nd edition, 2004 version. And page 192 is blank, and is on the left-hand side facing Chapter 4, The Layout of the Page.
> >
> > So what manual is the error report referring to please?
> That would be LaTeX: A Document Preparation System, by Leslie Lamport.
> But I have to agree with Jonathan Fine that refering to a page in that
> manual isn't particulary useful. I have my doubts if even in 1992 it was
> useful.

I recently encountered the same error message as the OP. It was in a rather complicated article manuscript that used the publisher's LaTeX template. Said template loads a lot of packages by default, including lineno and amsmath. I had been using MikTex 2.9, and the document compiled fine. Last week I installed Texlive 2022, since my MikTex was getting rather old and did not seem to have the latexdiff functionality that I needed. Now, compling with TexLive 2022, I get that error message about the gather command being already defined, referencing some lines in amsmath.sty. Since I did not see one in this thread, FWIW I offer the following MWE. Simply switch the order of \usepackage{amsmath} and \usepackage{lineno}, so that latter comes first, and the problem will occur. In the other order, it compiles fine.

\documentclass{article}
\usepackage{lipsum}

\usepackage{lineno}
\usepackage{amsmath}

\begin{document}

\section{Response to reviewer 2 comments}

Reviewer question 1

My response: \lipsum[1]

\end{document}

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor