Re: Di che font si tratta?

#85055
Up
0
Down
::

Liverpool” post=85830Piccolo aggiornamento. Ho scritto all’autore di [tt]mathdesign[/tt] e mi ha assicurato che il pacchetto supporta anche il font [tt]Adobe Garamond Pro (otf)[/tt], anche se la documentazione finora disponibile su CTAN era obsoleta e non lo riportava.

Fatto sta che a me questo codice di prova da lui suggerito:
`\documentclass{article}
\usepackage[mdpgd]{mathdesign}
\begin{document}
This is a test: $x+y=2$
\end{document}`
non genera alcun pdf, pur non dando alcun avviso o errore.

Edit:
Scusate: forse sono stupido io! Avevo capito di dover usare [tt]mathdesign[/tt] con XeLaTeX per cambiare anche il font del testo, ma ho notato che se compilo con pdflatex funziona a dovere e cambia automaticamente il font del testo.
Allora la domanda è: ma [tt]mathdesign[/tt] lo posso usare con XeLaTeX oppure no?

Ho provato a copiare il codice e compilarlo sia con XeLatex cche con pdflatex ma ottengo solo dei warning e nessun cambio di font: riporto gli avvisi.

`LOG FILE :
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/W32TeX) (format=pdflatex 2013.4.7) 6 JUN 2013 10:51
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**Prova_cambio_font.tex
(./Prova_cambio_font.tex
LaTeX2e <2011/06/27>
Babel and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, friulan, galician, german, ngerman, swissgerman, monogreek, greek, h
ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, ma
rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian,
kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk,
piedmontese, polish, portuguese, romanian, romansh, russian, sanskrit, serbian
, serbianc, slovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, u
ppersorbian, welsh, loaded.
(c:/texlive/2012/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(c:/texlive/2012/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(c:/texlive/2012/texmf-dist/tex/latex/mathdesign/mathdesign.sty
Package: mathdesign 2006/01/29 v1.55 Math Design Project
(c:/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
(c:/texlive/2012/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
Package mathdesign Warning: No font specified on input line 145.
Package mathdesign Warning: `mdpgd' option not defined. on input line 147.
(c:/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(c:/texlive/2012/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
)))
(./Prova_cambio_font.aux)
\openout1 = `Prova_cambio_font.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info: … okay on input line 3.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info: … okay on input line 3.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info: … okay on input line 3.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info: … okay on input line 3.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info: … okay on input line 3.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info: … okay on input line 3.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 4.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 4.
[1
{c:/texlive/2012/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./Prova_cambio
_font.aux) )
Here is how much of TeX's memory you used:
562 strings out of 493481
5897 string characters out of 3144420
51829 words of memory out of 3000000
3938 multiletter control sequences out of 15000+200000
4403 words of font info for 15 fonts, out of 3000000 for 9000
957 hyphenation exceptions out of 8191
28i,4n,19p,178b,113s stack positions out of 5000i,500n,10000p,200000b,50000s
{c:/texlive/2012/texmf-dist/fonts/enc/dvips/cm-super/cm-super-t1.en
c}
Output written on Prova_cambio_font.pdf (1 page, 27245 bytes).
PDF statistics:
21 PDF objects out of 1000 (max. 8388607)
14 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)`
Dove sbaglio?

Go to top