Text FormattingText formatting

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Jongomez
Posts: 52
Joined: Tue Nov 28, 2023 9:29 pm

Text formatting

Post by Jongomez »

Subject: enotez (TeX Live 2024) — How to replace “Notes for chapter X” with custom titles when using split=chapter?

Hello,

I am using enotez on TeX Live 2024 with:
\usepackage{enotez}
\setenotez{
backref = true,
split = chapter,
reset = true,
list-name = {},
}

Code: Select all



Everything works correctly (links, numbering, grouping).
The only remaining problem is that automatic titles like:

Notes for chapter 0
Notes for chapter 1
...


cannot be replaced with custom titles such as:

HITZAURREA
SARRERA
KAPITULUA 1
...


Earlier TeX installations allowed this with internal hooks, but in TL2024 the macro names changed and the older solutions no longer work.

I inspected the code but did not find a public key or hook to override the generated headings when split=chapter.

Here is a minimal reproducible example (full project with working hyperlinks):
 [MWE]https://www.overleaf.com/read/cpgkctnqvgjg#bc7ad8[/MWE]

Question:
What is the recommended way (or stable workaround) to replace the autogenerated headings when using split=chapter, without breaking enotez' hyperlink/backref logic?

Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
Joined: Mon Mar 10, 2008 9:44 pm

Re: Text formatting

Post by Stefan Kottwitz »

There's a section "Language Support" in the enotez manual, does that help?

Stefan
LaTeX.org admin
Jongomez
Posts: 52
Joined: Tue Nov 28, 2023 9:29 pm

Re: Text formatting

Post by Jongomez »

Thank you, Stefan!
I’ll check the Language Support section in the enotez manual and see if I can adapt it to my case.
I’ll post an update when I’ve tried it.
Post Reply