Buongiorno a tutti.
[…]
Ogni volta che una famiglia di font non ha l’inclinato, LaTeX lo sostituisce con il corsivo?…
[…]Le sostituzioni sono definite nei file .fd; trovi quello “incriminato” guardando nel .log quali sono caricati; può essere utile dare all’inizio \listfiles che produce la lista dei file caricati.
Ciao
Enrico
Enrico,
grazie mille per la risposta.
`\documentclass[a4paper]{article}
\usepackage[italian]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{MinionPro}
\begin{document}
Testo \textit{Testo} \textsl{Testo} \textbf{Testo} \textsc{Testo}
\end{document}`
Ecco la lista dei file caricati:
` *File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
babel.sty 2008/07/06 v3.8l The Babel package
italian.ldf 2008/03/14 v1.2t Italian support from the babel system
inputenc.sty 2008/03/30 v1.1d Input encoding file
latin1.def 2008/03/30 v1.1d Input encoding file
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
MinionPro.sty 2007/03/15 v2.1 MinionPro support for LaTeX
MinionPro-FontDef.sty 2007/02/01 v2.2 font definition macros
otfontdef.sty 2005/06/04 v0.1e OpenType font definition
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
textcomp.sty 2005/09/27 v1.99g Standard LaTeX package
ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
MnSymbol.sty 2007/01/21 v1.4 support for the MnSymbol font
amsmath.sty 2000/07/18 v2.13 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
eufrak.sty 2009/06/22 v3.00 Euler Fraktur fonts
fontaxes.sty 2007/03/31 v0.2b Font selection axes
t1minionpro-osf.fd
MinionPro-FontDef.sty 2007/02/01 v2.2 font definition macros
lgrcmr.fd 2008/06/17 v2.3 Greek Computer Modern
ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions`
Poco prima trovo:
`(c:/texlive/2009/texmf-dist/tex/latex/base/ts1cmr.fd
File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info: … okay on input line 10.
LaTeX Font Info: Font shape `T1/MinionPro-OsF/m/sl' in size <10> not availab
le
(Font) Font shape `T1/MinionPro-OsF/m/it' tried instead on input l
ine 12.
LaTeX Font Info: Font shape `T1/MinionPro-OsF/bx/n' in size <10> not availab
le
(Font) Font shape `T1/MinionPro-OsF/b/n' tried instead on input li
ne 12.`
Relativamente a ts1cmr.fd:
`
[…]
\ProvidesFile{ts1cmr.fd}
[1999/05/25 v2.5h Standard LaTeX font definitions]
\providecommand{\EC@family}[5]{%
\DeclareFontShape{#1}{#2}{#3}{#4}%
{<5><6><7><8><9><10><10.95><12><14.4>%
<17.28><20.74><24.88><29.86><35.83>genb*#5}{}}
\DeclareFontFamily{TS1}{cmr}{\hyphenchar\font\m@ne}
\EC@family{TS1}{cmr}{m}{n}{tcrm}
\EC@family{TS1}{cmr}{m}{sl}{tcsl}
\EC@family{TS1}{cmr}{m}{it}{tcti}
\EC@family{TS1}{cmr}{bx}{n}{tcbx}
\EC@family{TS1}{cmr}{b}{n}{tcrb}
\EC@family{TS1}{cmr}{bx}{it}{tcbi}
\EC@family{TS1}{cmr}{bx}{sl}{tcbl}
\EC@family{TS1}{cmr}{m}{ui}{tcui}
\endinput
%%
%% End of file `ts1cmr.fd'.`
Riguardo a t1minionpro-osf.fd:
`%%
%% This is file `T1MinionPro-OsF.fd',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% MinionPro.dtx (with options: `T1,osf,fd')
%%
%% These files are public domain.
%%
\ProvidesFile{T1MinionPro-OsF.fd} [2005/01/23 v2.0 font definitions for T1/MinionPro-OsF.]
\input{MinionPro-FontDef.sty}%
\Mn@DeclareLargeFontFamily {T1} {MinionPro}
%% vim:set ft=tex:
%%
%% End of file `T1MinionPro-OsF.fd'.
`
Il contenuto di entrambi è per me arabo; 🙁 mi verrebbe da pensare che il responsabile del comportamento descritto sia il file ts1cmr.fd.
Poi, però, mentre controllavo il contenuto del file MinionPro-FontDef.sty, richiamato in t1minionpro-osf.fd (\input{MinionPro-FontDef.sty}), ho trovato questo:
`
[…]
\Mn@AddToConfig{sub:series} {sb} {b}
\Mn@AddToConfig{sub:series} {bx} {b}
\Mn@AddToConfig{sub:shape} {sl} {it}
\Mn@AddToConfig{sub:shape} {scsl} {scit}
\Mn@AddToConfig{sub:shape} {sscsl} {sscit}
\Mn@AddToConfig{sub:shape} {scsw} {scit}
\Mn@AddToConfig{sub:shape} {sscsw} {sscit}
\Mn@AddToConfig{sub:encoding/shape}{TS1/sw}{it}
[…]
`
❓
Ciao
Antonio