destination with the same identifier
"Aleks Kleyn" <[email protected]> Thu, 23 May 2024 23:26:21 -0400
| Newsgroups | gmane.comp.tex.pdftex |
|---|---|
| Message-ID | <007b01daad8a$27012710$75037530$@org> |
This is a multi-part message in MIME format.
------=_NextPart_000_007C_01DAAD68.9FEF8710
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
I creates short text which creates for me problem during compilation.
=20
\documentclass{amsbook}
\usepackage[unicode]{hyperref}
\renewcommand\theHchapter{E.\arabic{chapter}}%
\numberwithin{section}{chapter}
\newtheorem{theorem}{Theorem}[section]
\makeatletter
\newcommand\StartLabelItem[1][theorem]%
{
%\counterwithin{enumi}{#1}%
\expandafter \def \csname%
theenumi\expandafter \endcsname \expandafter {\csname the#1\expandafter%
\endcsname.\expandafter \@arabic \csname c@enumi\endcsname }%
\def\labelenumi{\theenumi:}%
}
\usepackage{paracol}
\globalcounter{theorem}
\globalcounter{enumi}
\makeatother
=20
\begin{document}
\chapter{C One}
\section{S One}
\begin{paracol}{2}
\begin{theorem}
\label{theorem one}
abc
\StartLabelItem
\begin{enumerate}
\item
the one
\label{item one}
\item
the two
\label{item two}
\end{enumerate}
\end{theorem}
\switchcolumn
\begin{theorem}
\label{theorem two}
abc
\StartLabelItem
\begin{enumerate}
\item
the one
\label{item one a}
\item
the two
\label{item two a}
\end{enumerate}
\end{theorem}
\end{paracol}
\end{document}
=20
When I compile this text, I get error=20
pdfTeX warning (ext4): destination with the same identifier =
(name{Item.1}) has=20
been already used, duplicate ignored
My first impression was that report of error was mistake because all =
references work properly. But when I looked in aux file I saw following
\newlabel{theorem one}{{1.1.1}{1}{}{theorem.E.1.1.1}{}}
\newlabel{item one}{{1.1.1.1}{1}{}{Item.1}{}}
\newlabel{item two}{{1.1.1.2}{1}{}{Item.2}{}}
\newlabel{theorem two}{{1.1.2}{1}{}{theorem.E.1.1.2}{}}
\newlabel{item one a}{{1.1.2.1}{1}{}{Item.1}{}}
\newlabel{item two a}{{1.1.2.2}{1}{}{Item.2}{}}
=20
In my original code instead of item.1 and item.2 was reference to number =
of theorem, and it postponed to later code which made harder to find =
source of problem. So to fix the problem, I need to make sure that last =
2 lines has item.3 and item.4
=20
The question is how I can do it
=20
Thank you
=20
Aleks Kleyn
<http://alekskleyn.dyndns-home.com:4080/> =
http://alekskleyn.dyndns-home.com:4080/ =20
<http://sites.google.com/site/alekskleyn/> =
http://sites.google.com/site/AleksKleyn/=20
<http://arxiv.org/a/kleyn_a_1> http://arxiv.org/a/kleyn_a_1 =20
<http://AleksKleyn.blogspot.com/> http://AleksKleyn.blogspot.com/
<http://kleynaleks.blogspot.com/> http://KleynAleks.blogspot.com/
=20
Derivative in Banach algebra
dx2
=3D1=E2=8A=97 x+x=E2=8A=971
dx
d x2 =3D(1=E2=8A=97 x+x=E2=8A=971) =E2=97=A6dx=3Ddx x+x dx
=20
=20
=20
=20
------=_NextPart_000_007C_01DAAD68.9FEF8710
Content-Type: text/html;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 12 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:Consolas;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:56.7pt 42.5pt 56.7pt 85.05pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoPlainText><a =
name=3D"_MailEndCompose">I creates short text which creates for me =
problem during compilation.<o:p></o:p></a></p><p =
class=3DMsoPlainText><o:p> </o:p></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\documentclass{amsbook}<o:p></o:p></span></b></p>=
<p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\usepackage[unicode]{hyperref}<o:p></o:p></span><=
/b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\renewcommand\theHchapter{E.\arabic{chapter}}%<o:=
p></o:p></span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\numberwithin{section}{chapter}<o:p></o:p></span>=
</b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\newtheorem{theorem}{Theorem}[section]<o:p></o:p>=
</span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\makeatletter<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\newcommand\StartLabelItem[1][theorem]%<o:p></o:p=
></span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>{<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>%\counterwithin{enumi}{#1}%<o:p></o:p></span></b>=
</p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\expandafter \def =
\csname%<o:p></o:p></span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'> theenumi\expandafter \endcsname \expandafter =
{\csname the#1\expandafter%<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'> =
\endcsname.\expandafter \@arabic \csname c@enumi\endcsname =
}%<o:p></o:p></span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\def\labelenumi{\theenumi:}%<o:p></o:p></span></b=
></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\usepackage{paracol}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\globalcounter{theorem}<o:p></o:p></span></b></p>=
<p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\globalcounter{enumi}<o:p></o:p></span></b></p><p=
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\makeatother<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'><o:p> </o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\begin{document}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>\chapter{C =
One}<o:p></o:p></span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\section{S One}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\begin{paracol}{2}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\begin{theorem}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>\label{theorem =
one}<o:p></o:p></span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>abc<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\StartLabelItem<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\begin{enumerate}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\item<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>the =
one<o:p></o:p></span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\label{item one}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\item<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>the =
two<o:p></o:p></span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\label{item two}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\end{enumerate}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\end{theorem}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\switchcolumn<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\begin{theorem}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>\label{theorem =
two}<o:p></o:p></span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>abc<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\StartLabelItem<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\begin{enumerate}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\item<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>the =
one<o:p></o:p></span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\label{item one a}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\item<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>the =
two<o:p></o:p></span></b></p><p class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\label{item two a}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\end{enumerate}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\end{theorem}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\end{paracol}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span =
style=3D'color:#365F91'>\end{document}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><o:p> </o:p></p><p class=3DMsoPlainText>When I =
compile this text, I get error <o:p></o:p></p><p =
class=3DMsoPlainText><span style=3D'color:red'>pdfTeX warning (ext4): =
destination with the same identifier (name{Item.1}) has =
<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:red'>been already used, duplicate =
ignored<o:p></o:p></span></p><p class=3DMsoPlainText>My first impression =
was that report of error was mistake because all references work =
properly. But when I looked in aux file I saw following<o:p></o:p></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>\newlabel{theorem =
one}{{1.1.1}{1}{}{theorem.E.1.1.1}{}}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>\newlabel{item =
one}{{1.1.1.1}{1}{}{Item.1}{}}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>\newlabel{item =
two}{{1.1.1.2}{1}{}{Item.2}{}}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>\newlabel{theorem =
two}{{1.1.2}{1}{}{theorem.E.1.1.2}{}}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>\newlabel{item one =
a}{{1.1.2.1}{1}{}{Item.1}{}}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><b><span style=3D'color:#365F91'>\newlabel{item two =
a}{{1.1.2.2}{1}{}{Item.2}{}}<o:p></o:p></span></b></p><p =
class=3DMsoPlainText><o:p> </o:p></p><p class=3DMsoPlainText>In my =
original code instead of item.1 and item.2 was reference to number of =
theorem, and it postponed to later code which made harder to find source =
of problem. So to fix the problem, I need to make sure that last 2 lines =
has item.3 and item.4<o:p></o:p></p><p =
class=3DMsoPlainText><o:p> </o:p></p><p class=3DMsoPlainText>The =
question is how I can do it<o:p></o:p></p><p =
class=3DMsoPlainText><o:p> </o:p></p><p class=3DMsoPlainText>Thank =
you<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:Consolas;color:#1F497D'>Aleks =
Kleyn</span><span style=3D'color:#1F497D'><o:p></o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
style=3D'border-collapse:collapse'><tr><td width=3D734 valign=3Dtop =
style=3D'width:275.4pt;padding:0in 5.4pt 0in 5.4pt'><p class=3DMsoNormal =
style=3D'line-height:115%'><a =
href=3D"http://alekskleyn.dyndns-home.com:4080/"><span =
style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas;color:blu=
e'>http://alekskleyn.dyndns-home.com:4080/</span></a><span =
style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F=
497D'> </span><span =
style=3D'font-size:12.0pt;line-height:115%;color:#1F497D'><o:p></o:p></sp=
an></p><p class=3DMsoNormal style=3D'line-height:115%'><a =
href=3D"http://sites.google.com/site/alekskleyn/"><span =
style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas;color:blu=
e'>http://sites.google.com/site/AleksKleyn/</span></a><span =
style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F=
497D'> </span><span style=3D'color:#1F497D'><o:p></o:p></span></p><p =
class=3DMsoNormal style=3D'line-height:115%'><a =
href=3D"http://arxiv.org/a/kleyn_a_1"><span =
style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas;color:blu=
e'>http://arxiv.org/a/kleyn_a_1</span></a><span =
style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F=
497D'> </span><span =
style=3D'color:#1F497D'><o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'line-height:115%'><a =
href=3D"http://AleksKleyn.blogspot.com/"><span =
style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas;color:blu=
e'>http://AleksKleyn.blogspot.com/</span></a><span =
style=3D'color:#1F497D'><o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'line-height:115%'><a =
href=3D"http://kleynaleks.blogspot.com/"><span =
style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas;color:blu=
e'>http://KleynAleks.blogspot.com/</span></a><span =
style=3D'color:#1F497D'><o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'line-height:115%'><span =
style=3D'font-size:12.0pt;line-height:115%;font-family:"Times New =
Roman","serif";color:#1F497D'><o:p> </o:p></span></p></td><td =
width=3D466 valign=3Dtop style=3D'width:174.85pt;padding:0in 5.4pt 0in =
5.4pt'><p class=3DMsoNormal style=3D'line-height:115%'><span =
style=3D'color:#1F497D'>Derivative in Banach algebra</span><span =
style=3D'font-size:12.0pt;line-height:115%;font-family:"Times New =
Roman","serif";color:#1F497D'><o:p></o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
style=3D'border-collapse:collapse'><tr><td valign=3Dtop =
style=3D'padding:0in 5.4pt 0in 5.4pt'><p class=3DMsoNormal =
style=3D'line-height:115%'><i><u><span =
style=3D'font-family:"Cambria","serif";color:#1F497D'>dx<sup>2</sup></spa=
n></u></i><i><u><sup><span =
style=3D'font-size:12.0pt;line-height:115%;font-family:"Cambria","serif";=
color:#1F497D'><o:p></o:p></span></sup></u></i></p></td><td rowspan=3D2 =
style=3D'padding:0in 5.4pt 0in 5.4pt'><p class=3DMsoNormal =
style=3D'line-height:115%'><i><span =
style=3D'font-family:"Cambria","serif";color:#1F497D'>=3D1</span></i><i><=
span style=3D'font-family:"Cambria =
Math","serif";color:#1F497D'>=E2=8A=97 </span></i><i><span =
style=3D'font-family:"Cambria","serif";color:#1F497D'>x+x</span></i><i><s=
pan style=3D'font-family:"Cambria =
Math","serif";color:#1F497D'>=E2=8A=97</span></i><i><span =
style=3D'font-family:"Cambria","serif";color:#1F497D'>1</span></i><span =
style=3D'font-size:12.0pt;line-height:115%;font-family:"Cambria","serif";=
color:#1F497D'><o:p></o:p></span></p></td></tr><tr><td valign=3Dtop =
style=3D'padding:0in 5.4pt 0in 5.4pt'><p class=3DMsoNormal =
style=3D'line-height:115%'><i><span =
style=3D'font-family:"Cambria","serif";color:#1F497D'>dx</span></i><i><sp=
an =
style=3D'font-size:12.0pt;line-height:115%;font-family:"Cambria","serif";=
color:#1F497D'><o:p></o:p></span></i></p></td></tr></table><p =
class=3DMsoNormal style=3D'line-height:115%'><i><span =
style=3D'font-family:"Cambria","serif";color:#1F497D'>=C2=A0 d<sub> =
</sub>x<sup>2</sup> =3D(1</span></i><i><span =
style=3D'font-family:"Cambria Math","serif";color:#1F497D'>=E2=8A=97 =
</span></i><i><span =
style=3D'font-family:"Cambria","serif";color:#1F497D'>x+x</span></i><i><s=
pan style=3D'font-family:"Cambria =
Math","serif";color:#1F497D'>=E2=8A=97</span></i><i><span =
style=3D'font-family:"Cambria","serif";color:#1F497D'>1)</span></i><i><sp=
an style=3D'color:#1F497D'> =E2=97=A6dx</span></i><i><span =
style=3D'font-family:"Cambria","serif";color:#1F497D'>=3Ddx x+x =
dx</span></i><span =
style=3D'font-size:12.0pt;line-height:115%;font-family:"Cambria","serif";=
color:#1F497D'><o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'line-height:115%'><span =
style=3D'font-size:12.0pt;line-height:115%;font-family:"Times New =
Roman","serif";color:#1F497D'><o:p> </o:p></span></p></td></tr></tab=
le><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoPlainText><o:p> </o:p></p></div></body></html>
------=_NextPart_000_007C_01DAAD68.9FEF8710--