PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Package libertine: Warnung nach Update



ElGato
30-01-2012, 12:24
Hallo liebes Forum,

seit dem Update auf die aktuellste Version erhalte ich eine Warnung:

kpathsea: Invalid fontname `[fxlr', contains '['

Das Dokument kompiliert und auch eine vollfunktionsfähige pdf-Datei entsteht.

Mima:



\documentclass{scrreprt}
\usepackage{xltxtra} %xelatex
\usepackage{libertine}


\begin{document}
Test
\end{document}


Da ich noch immer nicht genau weiß, was eine log-Datei enthalten muss, hier leider (fast) die ganze Datei - sorry :o Ich hoffe, ich habe nichts wichtiges gelöscht :o



This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) (format=xelatex 2011.10.15) 30 JAN 2012 12:15
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2011/06/27>

* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \oldstylenums with arg. spec. 'm' on line 107.
*************************************************
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \liningnums with arg. spec. 'm' on line 111.
.................................................
) (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
Package: fontspec-xetex 2011/09/18 v2.2a Advanced font selection for XeLaTeX/Lu
aLaTeX
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/local/texlive/2011/texmf-dist/tex/latex/euenc/eu1enc.def
File: eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
)
LaTeX Font Info: Try loading font information for EU1+lmr on input line 100.
(/usr/local/texlive/2011/texmf-dist/tex/latex/euenc/eu1lmr.fd
File: eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
(/usr/local/texlive/2011/texmf-dist/tex/xelatex/xunicode/xunicode.sty
File: xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many
other characters in Unicode lower plane
(/usr/local/texlive/2011/texmf-dist/tex/latex/tipa/t3enc.def
File: t3enc.def 2001/12/31 T3 encoding
LaTeX Font Info: Try loading font information for EU1+lmss on input line 357
.
(/usr/local/texlive/2011/texmf-dist/tex/latex/euenc/eu1lmss.fd
File: eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
\tipaTiiicode=\count170
\tipasavetokens=\toks15
\tipachecktokens=\toks16
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
\Gin@req@height=\dimen143
\Gin@req@width=\dimen144
))
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \fontspec with arg. spec. 'O{}m' on line 39.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmainfont with arg. spec. 'O{}m' on line 43.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setsansfont with arg. spec. 'O{}m' on line 47.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmonofont with arg. spec. 'O{}m' on line 51.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathrm with arg. spec. 'O{}m' on line 59.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setboldmathrm with arg. spec. 'O{}m' on line 62.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathsf with arg. spec. 'O{}m' on line 65.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathtt with arg. spec. 'O{}m' on line 68.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontfamily with arg. spec. 'mO{}m' on line 84.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontface with arg. spec. 'mO{}m' on line 87.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \defaultfontfeatures with arg. spec. 'm' on line
. 91.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \addfontfeatures with arg. spec. 'm' on line 107.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontfeature with arg. spec. 'mm' on line 118.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newAATfeature with arg. spec. 'mmmm' on line 125.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newICUfeature with arg. spec. 'mmm' on line 132.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \aliasfontfeature with arg. spec. 'mm' on line
. 159.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \aliasfontfeatureoption with arg. spec. 'mmm' on
. line 164.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontscript with arg. spec. 'mm' on line 169.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontlanguage with arg. spec. 'mm' on line 192.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \DeclareFontsExtensions with arg. spec. 'm' on
. line 211.
.................................................
Variant \prop_gput:cnV already defined; not changing it on line 485
Variant \prop_gput:cnx already defined; not changing it on line 486
Variant \keys_set:nx already defined; not changing it on line 963
\c@fontspec_tmp_int=\count171
LaTeX Info: Redefining \itshape on input line 1881.
LaTeX Info: Redefining \slshape on input line 1885.
LaTeX Info: Redefining \scshape on input line 1889.
LaTeX Info: Redefining \upshape on input line 1893.
(/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/realscripts/realscripts.sty
Package: realscripts 2010/09/30 v0.3 Access OpenType subscripts and superscript
s
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \fakesubscript with arg. spec. 'm' on line 19.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \fakesuperscript with arg. spec. 'm' on line 22.
.................................................
*************************************************
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \textsubscript with arg. spec. 's' on line 25.
*************************************************
*************************************************
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \textsuperscript with arg. spec. 's' on line 28.
*************************************************
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \realsubscript with arg. spec. 'm' on line 45.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \realsuperscript with arg. spec. 'm' on line 60.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \textsubsuperscript with arg. spec. 'sO{l}mm' on
. line 137.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \textsupersubscript with arg. spec. 'sO{l}mm' on
. line 140.
.................................................
\subsupersep=\dimen145
) (/usr/local/texlive/2011/texmf-dist/tex/latex/metalogo/metalogo.sty
Package: metalogo 2010/05/29 v0.12 Extended TeX logo macros
\xl@everylogo=\toks17
\xl@@everylogo=\toks18
LaTeX Info: Redefining \TeX on input line 193.
LaTeX Info: Redefining \LaTeX on input line 202.
LaTeX Info: Redefining \LaTeXe on input line 219.
)
\xxt@tempbox=\box36
)
(/usr/local/texlive/2011/texmf-dist/tex/latex/libertine-legacy/libertine.sty
Package: libertine 2011/06/06 - 5.1.2: Font libertine - (License GPL) Michael N
iedermair
(/usr/local/texlive/2011/texmf-dist/tex/latex/lettrine/lettrine.sty
File: lettrine.sty 2007/08/08 v1.62 (Daniel Flipo)
\c@DefaultLines=\count172
\DefaultFindent=\dimen146
\DefaultNindent=\dimen147
\DefaultSlope=\dimen148
\L@lbox=\box37
\L@tbox=\box38
\c@L@lines=\count173
\L@Pindent=\dimen149
\L@Findent=\dimen150
\L@Nindent=\dimen151
\L@lraise=\dimen152
\L@first=\dimen153
\L@next=\dimen154
\L@slope=\dimen155
\L@height=\dimen156
\LettrineWidth=\dimen157
Loading lettrine.cfg
(/usr/local/texlive/2011/texmf-dist/tex/latex/lettrine/lettrine.cfg))
(/usr/local/texlive/2011/texmf-dist/tex/latex/libertine-legacy/fxl.inc)
(/usr/local/texlive/2011/texmf-dist/tex/latex/libertine-legacy/fxb.inc)
(/usr/local/texlive/2011/texmf-dist/tex/latex/libertine-legacy/fxk.inc)
(/usr/local/texlive/2011/texmf-dist/tex/latex/libertine-legacy/fxi.inc))
\g_fontspec_family_Linux Biolinum O_int=\count174
.................................................
. fontspec info: "defining-font"
.
. Font

hakaze
30-01-2012, 12:34
\documentclass{scrreprt}
\usepackage{xltxtra} %xelatex
\usepackage{libertineotf}


\begin{document}
Test
\end{document}So sollte es funktionieren.

ElGato
30-01-2012, 12:37
Ja, absolut richtig :)

Woher weißt Du das???

Ich bin mindestens ein Mal wöchentlich auf Linux Libertine Seite, aber davon habe ich nichts erfahren :(

Update: Sorry, etwas vergessen:

Muss ich irgendetwas an meinem Code berücksichtigen?



\documentclass{scrbook}
\usepackage{xltxtra}
\usepackage[osf]{libertineotf} % Schriftart
\setmonofont{Linux Biolinum O} % Schriftarf für Codeumgebung
\setsansfont[Mapping=tex-text,Numbers=OldStyle]{Linux Biolinum O} % Schriftarf serifenlos
\setromanfont[Mapping=tex-text,Numbers=OldStyle]{Linux Libertine O} % Schriftarf serifen

hakaze
30-01-2012, 12:56
Das stand bei mir im log-File (komisch, dass es bei dir nicht auftauchte):
! Package libertine Error: Package is deprecated, use libertineotf!.
See the libertine package documentation for explanation.
Type H <return> for immediate help.Ich denke, du musst die Fonts (roman, sans, mono) nicht mehr explizit setzen. Das macht ja das Paket libertineotf. Die entsprechenden Optionen (mapping, numbers, etc.) kannst du dann auch direkt dem Paket übergeben... siehe die aktualisierte Doku.

ElGato
30-01-2012, 13:05
Du hast mir stundenlage Arbeit erspart :)

u_fischer
30-01-2012, 13:55
Das stand bei mir im log-File (komisch, dass es bei dir nicht auftauchte):

Es gibt zur Zeit zwei libertine.sty: Ein neues ist im Paket libertineotf (das mit xelatex + lualatex benutzt werden soll) und deine Fehlermeldung zeigt. Der andere Style ist im Paket libertine-legacy und soll das "alte" libertine.sty für pdflatex retten. Welcher als erstes gefunden wird, ist zufällig. Elgato hat den zweiten erwischt: /usr/local/texlive/2011/texmf-dist/tex/latex/libertine-legacy/libertine.sty.

Am besten löscht man libertine.sty in libertineotf-Ordner, dann funktioniert libertine mit pdflatex und libertineotf mit xelatex/lualatex.