How to avoid warning messages from hyperref package in LaTex

\usepackage[unicode=true,pdfusetitle,
   bookmarks=true, 
   bookmarksnumbered=false, 
   bookmarksopen=false,
   breaklinks=false, 
   pdfborder={0 0 1}, 
   backref=false, 
   colorlinks=false]{hyperref}

\hypersetup{pdfauthor={Name}}

Use of hyperref package in a LaTex script makes the manuscript more visually understandable, but it often gives warning message like

Package hyperref Warning: Token not allowed in a PDF string (Unicode): (hyperref) removing `math shift' on input line 79.
Package hyperref Warning: Token not allowed in a PDF string (Unicode): (hyperref) removing `superscript' on input line 79.
Package hyperref Warning: Token not allowed in a PDF string (Unicode): (hyperref) removing `math shift' on input line 79.                     

Then, putting the snippet

\hypersetup{pdfauthor={Name}}

in a LaTex source file will remove the warning message or within the Lyx preamble section.

About albertsk

Professor at the University of Hawaii
This entry was posted in Uncategorized. Bookmark the permalink.