From: Mark Wooding Date: Sat, 5 Sep 2020 14:06:50 +0000 (+0100) Subject: mdwtools.tex (\env, \package): Define using `\def', not `\let'. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mdwtools/commitdiff_plain/5be706c3d3d538aa34385b90a41c59334b9686ad?hp=5be706c3d3d538aa34385b90a41c59334b9686ad mdwtools.tex (\env, \package): Define using `\def', not `\let'. This allows the commands to be used in PDFstrings, and hence in section headings. The `hyperref' machinery builds the PDFstring by making many control sequences, such as `\textsf', be nops, but `\package' or `\env' will still cause trouble if they're aliases of the old font-changing commands. ---