\\authorName \\\\ \\princetoneclub.orgtttmy.email
domain.comI get the complying with hyperref warning in my logfile

Package hyperref Warning: Token not allowed in a PDF wire (PDFDocEncoding):(hyperref) remove `\\\\\" on input line 15.Package hyperref Warning: Token not allowed in a PDF wire (PDFDocEncoding):(hyperref) remove `\\new
ifnextchar\" on input heat 15.I recognize that this needs to do with hyperref setting the PDF metadata, wherein the linebreak does’t make lot sense and also should it is in removed.

You are watching: Token not allowed in a pdf string

Trying to set

\\hypersetuppdfauthor=Namedoes’t adjust the situation, seems choose hyperref is quiet looking at the writer command.

How perform I get the wanted display of writer name with email and still store hyperref happy?


\"*\"

\"*\"

There\"s the aptly, if verbosely, called macro \\princetoneclub.orgorpdfstring, i m sorry takes two arguments and also uses the first for (La)princetoneclub.org and the 2nd for pdf, so something choose

\\authorA.U. Thor\\princetoneclub.orgorpdfstring\\\\ foo
bar.baz have to work.

The command is not characterized in the record preamble, therefore \\author have to be stated after \\begindocument in this case.

(Yes, I\"ve avoided the concern that ns don\"t understand off the optimal of my head if \\url is permitted to go inside another argument...)


\"*\"

\"*\"

While Ulrich\"s prize is correct and also works, there is a more general and transparent method to work approximately the issue.

The \\pdfstringdefDisableCommands command from the hyperref package have the right to be used to redefine commands that space usually not sustained in PDF bookmark strings.

In the OP example, the offending commands are \\\\ and also \\princetoneclub.orgttt, which can be redefined to do something else in this way:

\\pdfstringdefDisableCommands% \\def\\\\% \\def\\princetoneclub.orgttt#1%Then, the author can be stated in the document without any type of special care:

\\author{Name \\\\ \\princetoneclub.orgttt{my.email

\"*\"

One deserve to also include

\\PassOptionsToPackageunicodehyperref\\PassOptionsToPackagenaturalnameshyperrefbefore \\documentclassbeamer to remove countless messages generated as result of national (non-English) section titles, like

Package hyperref Warning: Token not enabled in a PDF cable (PDFDocEncoding):(hyperref) removing `\\PD1\\cyrn\" on input line 33.P.S. Generally one may acquire up to few thousands that those also for a basic presentation, and parsing of castle takes couple of extra secs for plenty of IDEs also on a modern-day box.


Thanks for contributing an answer to princetoneclub.org - Laprincetoneclub.org stack Exchange!

Please be sure to answer the question. Provide details and also share your research!

But avoid

Asking because that help, clarification, or responding to other answers.Making statements based upon opinion; earlier them increase with referrals or an individual experience.

See more: What Are The Opposite Of Servant Leadership Is Not An Oxymoron

To discover more, view our tips on writing great answers.


write-up Your price Discard

By click “Post your Answer”, you agree come our terms of service, privacy policy and cookie policy


Not the answer you're feather for? Browse other questions tagged beamer hyperref pdfprincetoneclub.org or questioning your very own question.


Quand je compile mon file princetoneclub.org, il m'affiche cet avertissement
site architecture / logo design © 2021 stack Exchange Inc; user contributions licensed under cc by-sa. Rev2021.9.14.40215


your privacy

By clicking “Accept every cookies”, friend agree stack Exchange have the right to store cookies on your machine and disclose details in accordance with our Cookie Policy.