Validation

13 views
Skip to first unread message

OHappyDay

unread,
Aug 6, 2026, 8:49:08 AM (13 days ago) Aug 6
to PreTeXt support
Dear all,

the addition of a validation option to the CLI pretext is very helpful and let me find dashes, degrees and quotation marks that should be marked up properly.

One warning though left me confused:

PTX:WARNING: You have a title containing m but no shorttitle. Because this title will be used many places, errors may result. Please add a shorttitle.

Why does a simple <m>n</m> in a title for a section trigger this warning? It does not make sense to me, or does it?

Klaus

Mitch Keller

unread,
Aug 6, 2026, 9:07:17 AM (13 days ago) Aug 6
to pretext...@googlegroups.com
There are issues with LaTeX conversions when you have math in titles because of the strings that are written into the PDF table of contents (not the TOC visible on a page of the document). If you put markup inside a #title, you should also supply a #shortitle that is free of markup so that the PDF TOC works correctly. 
-- 
Mitch Keller

On Aug 6, 2026, at 07:49, 'OHappyDay' via PreTeXt support <pretext...@googlegroups.com> wrote:


--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/2a367463-ffed-482d-a5d1-4147c879da88n%40googlegroups.com.

OHappyDay

unread,
Aug 6, 2026, 9:14:14 AM (13 days ago) Aug 6
to PreTeXt support
Ah, ok. Thanks for the explanation.
Reply all
Reply to author
Forward
0 new messages