Actually, he does load polyglossia. It's in the clump following xltxtra. On Mon, Dec 5, 2011 at 02:29, Keith J. Schultz <[email protected]> wrote: > Hi, > I am no expert, but > > 1) using XeTeX et al. you normally should not be using the fontenc > package! > > 2) In the example below you are using \usepackage with \makeatletter > I assume this will cause problems. > > 3) I would use polyglossia instead of babel, yet for german it is not > a must. > > Am 04.12.2011 um 14:46 schrieb Wolfgang Keller: > >> Hello, >> >> since last week, some update seems to have wrecked something in my TeX >> Live installation. The example document (fo testing, you need the >> Libertine typeface) below: >> >> %% LyX 2.0.2 created this file. For more info, see http://www.lyx.org/. >> %% Do not edit unless you really know what you are doing. >> \documentclass[10pt,ngerman]{scrartcl} >> \usepackage[T1]{fontenc} > [1] remove above line > >> \usepackage{geometry} >> \geometry{verbose,tmargin=3cm,lmargin=5.5cm} >> \usepackage{fancyhdr} >> \pagestyle{fancy} >> \setlength{\parskip}{0pt} >> \setlength{\parindent}{0pt} >> >> \makeatletter >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. >> \usepackage{fontspec} > [2] did you forget \makeatother before the above line? > I believe, also, that font spec should be loaded after babel!! > >> \usepackage{xltxtra} >> \setmainfont[Mapping=tex-text, ExternalLocation, >> UprightFont=LinLibertine_R.otf, BoldFont=LinLibertine_RB.otf, >> ItalicFont=LinLibertine_RI.otf, BoldItalicFont=LinLibertine_RBI.otf, >> Numbers={Proportional,OldStyle}]{Libertine} \setsansfont >> [Mapping=tex-text, ExternalLocation, UprightFont=LinBiolinum_R.otf, >> BoldFont=LinBiolinum_RB.otf, ItalicFont=LinBiolinum_RI.otf, >> BoldItalicFont=LinBiolinum_RI.otf, Numbers={Proportional,OldStyle}, >> Scale=MatchLowercase]{Biolinum} \usepackage{textcase} \usepackage >> {scrpage} \renewcommand{\headrulewidth}{0pt} \usepackage{xkeyval} >> \usepackage{polyglossia} \usepackage{marginnote} \reversemarginpar >> \renewcommand*{\marginfont}{\rmfamily\itshape} \setlength >> {\marginparwidth}{1.67\marginparwidth} >> >> \AtBeginDocument{ >> \def\labelitemi{\Libertine{\namedglyph{bullet}}} >> \def\labelitemii{\(\circ\)} >> \def\labelitemiii{\(\diamond\)} >> } >> >> \makeatother >> >> \usepackage{babel} > [3] I would use polyglossia > > >> \usepackage{xunicode} >> \begin{document} >> \marginpar{Randnotiz}Text >> \end{document} >> >> generates this warning: >> >> LaTeX Warning: Marginpar on page 1 moved. >> >> >> LaTeX Font Warning: Font shape `EU1/Libertine(0)/m/sl' undefined >> (Font) using `EU1/Libertine(0)/m/n' instead on input line >> 41. >> >> [1 >> >> ] (./Test202.aux) >> >> LaTeX Font Warning: Some font shapes were not available, defaults >> substituted. >> >> and the attached PDF output. The marginnote text should be >> vertically aligned with the body text and in italic. >> >> Could anyone give me a hint what might be broken? >> >> TIA, >> >> Sincerely, > > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
