Subject: | duplicate labels with Pod-LaTeX-0.59 |
Date: | Mon, 9 May 2016 17:25:45 +0200 |
To: | <bug-Pod-LaTeX [...] rt.cpan.org> |
From: | "F.J. Sicking" <f.j.sicking [...] issc.leidenuniv.nl> |
Subject: duplicate labels with Pod-LaTeX-0.59
Dear Reader,
Running pod2latex (which uses Pod::LaTex underneath) on Pod code:
=head1 SECTION 1
=head2 Introduction
=head1 SECTION 2
=head2 Introduction
Generates LaTeX:
\section{Section 1\label{Section_1}\index{Section 1}}
\subsection*{Introduction\label{Introduction}\index{Introduction}}
\section{Section 2\label{Section_2}\index{Section 2}}
\subsection*{Introduction\label{Introduction}\index{Introduction}}
In the LaTeX, the label "Introduction" is duplicate, but it belongs to
different (=head1) sections and should therefore be unique I think.
Best regards,
Floris Jan Sicking
Leiden University (ISSC)
--------
Distribution: Pod-LaTeX-0.59
Perl Version: perl -v
This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
(with 60 registered patches, see perl -V for more detail)
Copyright 1987-2011, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
Operating System vendor and version: uname -a
Linux u0008820 3.5.0-54-generic #81~precise1-Ubuntu SMP Tue Jul 15 04:02:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux