Skip to content

Conversation

@muzimuzhi
Copy link
Contributor

In the package manual physics2.pdf, all PDF bookmarks use quotation marks “<module>” (because they are all marked by \modu{<module>}) except for one, which uses the raw LaTeX-style ``legacy'' (because this one is input with ``legacy'').

This PR normalize the exception so no PDF bookmarks contain ``...'' quotation marks.

Considering here the legacy is not a module name, but represents a family of modules, ``legacy'' is replaced with a use of low-level \texorpdfstring, rather than \modu{legacy}.

image

\def\modu#1{\texorpdfstring{\textcolor{moducolor}{\textsf{#1}}}{“#1”}}

@AlphaZTX
Copy link
Owner

AlphaZTX commented Nov 3, 2025

可以,我弄完下个版本就merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants