Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Section tag titles not expanding \contentsname, \listfigurename, \listtablename, and \refname. #783

Open
John02139 opened this issue Jan 16, 2025 · 0 comments
Labels
area: headings enhancement New feature or request or otherwise some possible improvement

Comments

@John02139
Copy link

The \chapter* associated with the TOC, LOF, LOT, and reference list uses the unexpanded section name as the title of the tag. Using the expanded name (e.g., "Table of contents") might be better for accessibility by non-Latex readers of the PDF.

The following example illustrates for TOC, LOF, and LOT.

\DocumentMetadata
{
	testphase={phase-III,math,table,firstaid,title},
	pdfstandard = ua-2,% a-4f,%
	pdfversion  = 2.0,
	lang		= en-US,
}

\documentclass{report}
\usepackage{hyperref}

\title{My Document}
\author{I. M. N. Author}

\begin{document}
\maketitle
\addtocounter{page}{1}

\tableofcontents
\listoffigures
\listoftables

\chapter{Introduction}
Introduction

\section{The first section}
Some text

\begin{figure}
\caption{Figure One}
\end{figure}

\begin{table}
\caption{Table One}
\end{table}

\chapter{Details Chapter}
All the fine points.

\end{document}
Image

I have seen this behavior with biblatex as well, giving a tag title of \refname rather than, say, References.

@FrankMittelbach FrankMittelbach added enhancement New feature or request or otherwise some possible improvement area: headings labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: headings enhancement New feature or request or otherwise some possible improvement
Projects
None yet
Development

No branches or pull requests

2 participants