Ringrazio Claudio ed Enrico per le risposte.
Abbiate pazienza, ma mi avete scritto molte cose tutte insieme e devo andare piano per non fare confusione.
Per Enrico: provo a far girare il codice di Claudio e poi provo anche il tuo.
Per Claudio:ho provato a far girare il codice che mi hai dato, ma ottengo il seguente output, e non mi genera il PDF:
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9)
entering extended mode
(C:\Users\Francesco\Desktop\TestLeaders.tex
LaTeX2e <2011/06/27>
Babel
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2013-05-26, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2013-05-26, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\book.cls”
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\bk11.clo”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\fontenc.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\t1enc.def”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\inputenc.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\utf8.def”
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\t1enc.dfu”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\ot1enc.dfu”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\omsenc.dfu”)))
(“C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.sty”
*************************************
* Local config file bblopts.cfg used
*
(“C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\bblopts.cfg”)
(“C:\Program Files\MiKTeX 2.9\tex\generic\babel\english.ldf”
(“C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.def”))
(“C:\Program Files\MiKTeX 2.9\tex\generic\babel\italian.ldf”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\crop\crop.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\graphics\color.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\color.cfg”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pdftex-def\pdftex.def”
(“C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty”)))
(“C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphics.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\graphics\trig.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\graphics.cfg”))
(“C:\Program Files\MiKTeX 2.9\tex\xelatex\xetexconfig\crop.cfg”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\tools\afterpage.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\tools\indentfirst.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\microtype\microtype.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\microtype\microtype-pdftex.def”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\microtype\microtype.cfg”))
(C:\Users\Francesco\AppData\Roaming\MiKTeX\2.9\tex\latex\enumitem\enumitem.sty)
(“C:\Program Files\MiKTeX 2.9\tex\latex\framed\framed.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphicx.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\caption\caption.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\caption\caption3.sty”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\subfigure\subfigure.sty”
****************************************
* Local config file subfigure.cfg used *
****************************************
(“C:\Program Files\MiKTeX 2.9\tex\latex\subfigure\subfigure.cfg”))
(C:\Users\Francesco\AppData\Roaming\MiKTeX\2.9\tex\latex\savesym\savesym.sty)
(“C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsmath.sty”
For additional information on amsmath, use the `?’ option.
(“C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amstext.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsgen.sty”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsbsy.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\amsmath\amsopn.sty”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\yhmath\yhmath.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\amssymb.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\amsfonts\amsfonts.sty”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\mh\mathtools.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\tools\calc.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\mh\mhsetup.sty”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\amscls\amsthm.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\pxfonts.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\textcomp.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\ts1enc.def”
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\ts1enc.dfu”)))
(“C:\Program Files\MiKTeX 2.9\tex\latex\setspace\setspace.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\braket\braket.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\widetable\widetable.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\ifetex\ifetex.sty”
(“C:\Program Files\MiKTeX 2.9\tex\plain\ifetex\ifetex.tex”)))
(“C:\Program Files\MiKTeX 2.9\tex\latex\booktabs\booktabs.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\changepage\changepage.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\siunitx\siunitx.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\expl3.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3names.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3bootstrap.sty”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\misc\etex.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3basics.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3expan.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3tl.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3seq.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3int.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3quark.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3prg.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3clist.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3token.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3prop.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3msg.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3file.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3skip.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3keys.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3fp.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3box.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3coffins.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3color.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3luatex.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3kernel\l3candidates.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3packages\xparse\xparse.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\tools\array.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\l3packages\l3keys2e\l3keys2e.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\beamer\base\translator\translator.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\beamer\base\translator\translator-langu
age-mappings.tex”)))
(“C:\Program Files\MiKTeX 2.9\tex\latex\listings\listings.sty”
(“C:\Program Files\MiKTeX 2.9\tex\latex\listings\lstmisc.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\listings\listings.cfg”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\tools\varioref.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\appendix\appendix.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\url\url.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.sty”
(“C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.cfg”))
(“C:\Program Files\MiKTeX 2.9\tex\latex\fancyhdr\fancyhdr.sty”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\kantlipsum\kantlipsum.sty”)
No file TestLeaders.aux.
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\omlpxmi.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\omspxsy.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\omxpxex.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\upxexa.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\base\ts1cmr.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\t1pxr.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\context\base\supp-pdf.mkii”
[Loading MPS to PDF converter (version 2006.09.02).]
) (“C:\Program Files\MiKTeX 2.9\tex\latex\microtype\mt-ppl.cfg”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\beamer\base\translator\dicts\translator
-basic-dictionary\translator-basic-dictionary-English.dict”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\siunitx\config\siunitx-abbreviations.cf
g”)
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\ot1pxr.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\upxsya.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\upxsyb.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\upxmia.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\upxsyc.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\ot1pxss.fd”)
(“C:\Program Files\MiKTeX 2.9\tex\latex\pxfonts\ot1pxtt.fd”)
No file TestLeaders.toc.
[1{C:/Users/Francesco/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[2]
Capitolo 1.
[3]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[4]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[5]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[6]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[7]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[8]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[9]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[10]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[11]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[12]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[13]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[14]
Capitolo 2.
Underfull \vbox (badness 10000) has occurred while \output is active [15]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[16]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[17] (C:\Users\Francesco\Desktop\TestLeaders.aux)Trying to make PK font rpxr at 657 DPI…
Running miktex-makemf.exe…
miktex-makemf: The rpxr source file could not be found.
Running ttf2pk.exe…
miktex-makepk: PK font rpxr could not be created.
)
(see the transcript file for additional information)
!pdfTeX error: miktex-pdftex.exe (file rpxr): Font rpxr at 657 not found
==> Fatal error occurred, no output PDF file produced!