diff options
author | Karl Berry <karl@freefriends.org> | 2023-05-25 20:37:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-05-25 20:37:24 +0000 |
commit | 99ca1c9e484208d10d4172dfcbcc1ba2dc79d781 (patch) | |
tree | 0da7c9f9ac16c9ad14634c9b16febf9260403ffb /Master/texmf-dist/tex/latex | |
parent | ad6578d6856afa22343b993c4450655a7b11505a (diff) |
listlbls (25may23)
git-svn-id: svn://tug.org/texlive/trunk@67215 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/listlbls/listlbls.sty | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/listlbls/listlbls.sty b/Master/texmf-dist/tex/latex/listlbls/listlbls.sty index 79f1eb33ab4..09cc798c082 100644 --- a/Master/texmf-dist/tex/latex/listlbls/listlbls.sty +++ b/Master/texmf-dist/tex/latex/listlbls/listlbls.sty @@ -15,7 +15,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{listlbls} - [2014/08/04 v1.03 Creates a list of all labels used throughout a document] + [2023/05/24 v1.04 Creates a list of all labels used throughout a document] \newif\ifllbls@draft\llbls@draftfalse \newif\ifllbls@totoc\llbls@totocfalse \newif\ifllbls@numtoc\llbls@numtocfalse @@ -52,10 +52,16 @@ \DeclareTranslation{French}% {llbls-onpage}% {\`a la page} -\ifdefined\chapter* +\DeclareTranslation{Portuguese}% + {llbls-listoflabels}% + {Lista de R\'{o}tulos} +\DeclareTranslation{Portuguese}% + {llbls-onpage}% + {na p\'{a}gina} +\ifdefined\chapter \ifllbls@numtoc \def\llbls@headline{% - \chapter{List of Labels}\label{special:listoflabels}} + \chapter{List of Labels}\label{\llbls@labelname}} \else \def\llbls@toccommand{\chapter*} \def\llbls@tocgroup{chapter} @@ -63,7 +69,7 @@ \else \ifllbls@numtoc \def\llbls@headline{% - \section{List of Labels}\label{special:listoflabels}} + \section{List of Labels}\label{\llbls@labelname}} \else \def\llbls@toccommand{\section*} \def\llbls@tocgroup{section} @@ -72,7 +78,7 @@ \ifdefined\llbls@headline\else \def\llbls@headline{% \llbls@toccommand{\GetTranslation{llbls-listoflabels}}% - \label{special:listoflabels}% + \label{\llbls@labelname}% \ifllbls@totoc% \addcontentsline{toc}% {\llbls@tocgroup}% @@ -108,7 +114,8 @@ \expandafter\llbls@findlabel\llbls@tmp\relax\llbls@findlabel \repeat \ifllbls@draft - \newcommand\listoflabels{% + \newcommand{\listoflabels}[1][special:listoflabels]{% + \def\llbls@labelname{#1}% \llbls@headline% \the\llbls@lablist} \else |