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

Bug#843560: texlive-latex-base: Nested enumerate labels



Package: texlive-latex-base
Version: 2016.20161008-1
Severity: minor

Dear Maintainer,

The code below shows that "\ref{l}" is replaced by "2a" which is not what one would expect. It should be just "a" (the label of the inner "enumerate"). The current handling of labels make sense if one uses "\usepackage{enumitem}" and, say, "\begin{enumerate}[label*=\arabic*.]" but not when the labels displayed for the inner enumeration do not carry the outer ones.


\documentclass{article}

\begin{document}
\begin{enumerate}
\item Text
\item Text
 \begin{enumerate}
 \item\label{l} \ref{l}
 \end{enumerate}
\end{enumerate}
\end{document}


-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource.
In particular, bugs that are related to up-upstream, i.e., neither
Debian nor TeX Live (upstream), but the original package authors,
will be closed immediately.

  *** The Debian TeX Team is *not* a LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries (latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
	(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

or
http://www.minimalbeispiel.de/mini.html (german)

##################################
minimal input file


##################################
other files

######################################
List of ls-R files

-rw-r--r-- 1 root root 2491 Oct 24 09:54 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Feb 22 2016 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN lrwxrwxrwx 1 root root 31 Oct 8 04:07 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST lrwxrwxrwx 1 root root 31 Oct 8 04:07 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
######################################
Config files
-rw-r--r-- 1 root root 1464 May  4  2016 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 Oct 8 04:07 /usr/share/texmf/web2c/fmtutil.cnf -> /var/lib/texmf/fmtutil.cnf-DEBIAN lrwxrwxrwx 1 root root 32 Oct 8 04:07 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN -rw-r--r-- 1 root root 3463 Oct 13 16:15 /var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root  283 Oct 14  2015 mktex.cnf
-rw-r--r-- 1 root root 1464 May  4  2016 texmf.cnf
######################################
md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf
055e06548bac99958d8ab2dd1248f2b4  /etc/texmf/texmf.d/80tex4ht.cnf
1df66bc319cec731e202eaf39f5d85e1  /etc/texmf/texmf.d/96JadeTeX.cnf

*** Reporter, please consider answering these questions, where appropriate ***

  * What led up to the situation?
  * What exactly did you do (or not do) that was effective (or
    ineffective)?
  * What was the outcome of this action?
  * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
 APT prefers testing
APT policy: (900, 'testing'), (400, 'unstable'), (300, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.1 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages texlive-latex-base depends on:
ii  tex-common        6.05
ii  texlive-base      2016.20161008-1
ii  texlive-binaries  2016.20160513.41080-6

Versions of packages texlive-latex-base recommends:
ii  texlive-latex-base-doc  2016.20161008-1

texlive-latex-base suggests no packages.

Versions of packages tex-common depends on:
ii  dpkg  1.18.10
ii  ucf   3.0036

Versions of packages tex-common suggests:
ii  debhelper  10.2.2

Versions of packages texlive-latex-base is related to:
ii  tex-common        6.05
ii  texlive-binaries  2016.20160513.41080-6

-- no debconf information

Reply to: