Aggiunta.
Il codice:
`% produce numeri in maiuscoletto in \frontmatter
\makeatletter
\DeclareRobustCommand{\@fakesc}[1]{%
\begingroup$\m@th$\fontsize{\sf@size}{\f@baselineskip}\selectfont#1\endgroup}
\newcommand{\@scroman}[1]{\@fakesc{\@Roman{#1}}}
\renewcommand\frontmatter{%
\cleardoublepage
\@mainmatterfalse
\pagenumbering{scroman}}
\makeatother`
mi produce una lunga serie di avvisi del tipo:
`Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\begingroup' on input line 53.
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `math shift' on input line 53.
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\mathsurround' on input line 53.
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\z@' on input line 53.
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `math shift' on input line 53.
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\afterassignment' on input line 53.
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\f@size' on input line 53.`
dove l’incriminata riga 53 è la seguente:
`\newcommand{\@scroman}[1]{\@fakesc{\@Roman{#1}}}`
Ipotizzo che dovrebbe darsi qualcosa come
`\texorpdfstring{TeX version}{PDF version}`
ma dove ??
M.