Re: [XeTeX] (Xe)TeX Live after update: Upright font found, but not italic - Huh?

2011-12-05 Thread Wolfgang Keller
Hello,

and thanks for your replies.

In fact, I was using LyX, not an editor. And the root of the problem
was that I had told LyX in some configuration file to use \marginnote
instead of \marginpar, but an update of LyX has overwritten the
configuration file...

Thanks, I should just have read the source exported from LyX more
carefully.

Sincerely,

Wolfgang


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


[XeTeX] (Xe)TeX Live after update: Upright font found, but not italic - Huh?

2011-12-04 Thread 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}
\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}
\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}
\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,

Wolfgang

-- 
HOMO HOMINI HOSTISIN FELIBUS FELICITAS


Test202.pdf
Description: Adobe PDF document


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


[XeTeX] Tracking for small caps?

2011-05-10 Thread Wolfgang Keller
Hello,

with Microtype, it's easy to get automatic tracking for all small caps
text within the entire document by putting 

%\DeclareMicrotypeSet*[tracking]{my}{ font = */*/*/sc/* }
\SetTracking {encoding = *,shape = sc }{foo}

into the preamble. What would be the corresponding preamble line(s) for
XeTeX?

Please note that the point is to _avoid_ having to add

\addfontfeature{LetterSpace=foo}

to every piece of small caps text all over the entire document. And
also to _avoid_ using a seperate font instance for small caps text.

TIA,

Sincerely,

Wolfgang


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Oldstyle figures in seperate file

2011-05-10 Thread Wolfgang Keller
Hello,

Probably I mis-explained my objective...

> I'd use another font instance for the small caps and the old-style  
> figures

The point is that I already _have_ the oldstyle figures in another font
file. And I _don't_ want _another_ font instance just for oldstyle
numbers.

> and use this font to set the small caps and the old-style  
> figures with. As in:
> 
> This text is set in the main font, which stems from the year  
> \OSF{194711}.

My point was that I want to _avoid_ having to type extra \foo{}s around
all numbers.

Again:
- Oldstyle numbers are in a seperate font file
- I want to use them just "as if" they were available through
\setmainfont[..., Numbers={Proportional,OldStyle}]{foo}

Is there any way to do this with XeTeX? If so, how?

TIA,

Sincerely,

Wolfgang


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


[XeTeX] Oldstyle figures in seperate file

2011-05-05 Thread Wolfgang Keller

Hello,

if the oldstyle figures are provided (together with the small caps) in
a seperate font file (this is a truetype font), how can I tell XeTeX to
use these for all (roman) numbers?

Or do I have to format all my numbers explicitly as small caps to get
the oldstyle figures?

TIA,

Sincerely,

Wolfgang


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex