Re: Due problemini col piè di pagina

#48892
Up
0
Down
::

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 `\-command' on input line 53.

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 ??

C’è un altro trucco che fa al caso tuo:
`\pdfstringdefDisableCommands{\let\@fakesc\@firstofone}`
Mettilo nella riga sotto quella dove definisci \@scroman.

Poi, se puoi, non usare corpo 14 a spaziatura aumentata: una tesi non è un libro per bambini. Fallo presente a chi di dovere: almeno avrai la coscienza a posto.

Invece di quella ridefinizione di \cleardoublepage, non è più semplice scrivere \usepackage{emptypage}? 🙂

Ciao
Enrico

Go to top