These warnings are generated by the hyperref package when it encounters certain commands or tokens that are not allowed in PDF strings. PDF strings are used for various purposes in a PDF document, such as bookmarks, metadata, and links. //n//nIn this case, it seems that the //kern command and the //leavevmode@ifvmode token are causing the warnings. These commands are not allowed in PDF strings because they do not have a direct equivalent in PDF syntax. //n//nTo fix these warnings, you can try the following: //n//n1. Remove or modify the commands causing the warnings. If you are not familiar with these commands or their purpose, it may be best to consult the documentation or the package author for guidance. //n//n2. If you are using the //kern command for spacing purposes, you can consider using alternative commands such as //hspace or //vspace which are allowed in PDF strings. //n//n3. If you are using the //leavevmode@ifvmode token, you can try removing it or replacing it with an alternative command that achieves the same functionality. //n//n4. If the warnings are not causing any issues in the output or functionality of your document, you can choose to ignore them. //n//nRemember to recompile your document after making any changes to see if the warnings are resolved.'}

Fixing Hyperref Warnings: Token Not Allowed in PDF String (Unicode)

原文地址: https://www.cveoy.top/t/topic/qe4L 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录