LyXXetex / OSX 10.6 / Headings not in bold

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
MarcAurel
Posts: 20
Joined: Tue Jul 07, 2009 1:33 pm

Xetex / OSX 10.6 / Headings not in bold

Post by MarcAurel »

Ever since upgrading to OSX 10.6 I am having issues with Xetex. Some I could resolve (see the other thread). Apparently Apple has changed some of the fonts that are in it's own format, which has, among other things, as a consequence that in some fonts small capitals and sometimes not even italics are displayed.

I have found workarounds or solutions for all my problems so far, except for one: the headings are not in bold (as they used to in OSX 10.5).

Here is my code:

Code: Select all

\date{}

\usepackage{sectsty}
\usepackage{blindtext}
\usepackage{lettrine}

% Headings setup (sectsty)
\allsectionsfont{\sffamily}


\@ifundefined{XeTeXversion}{}{%
\usepackage{fontspec}%

\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text}

\setromanfont{Minion Pro}%
\setromanfont[Ligatures={Common}, Numbers={OldStyle}]{Minion Pro}

\setsansfont{Gill Sans Std}%


\setmonofont{Courier New}%

}%
\usepackage{xunicode} 
\usepackage{xltxtra} 

I appreciate your help.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Xetex / OSX 10.6 / Headings not in bold

Post by meho_r »

I don't have a Mac so cannot see that problem of yours, but here are some ideas:
  • check with other sans fonts beside Gill,
  • try using Gill Sans bold font in text to see if it works there,
  • if Gill Sans works in text, you may try customizing sectioning commands with titlesec and, using \fontspec command, explicitly set up bold font for sectioning.
MarcAurel
Posts: 20
Joined: Tue Jul 07, 2009 1:33 pm

Xetex / OSX 10.6 / Headings not in bold

Post by MarcAurel »

I have solved this problem:

Code: Select all

\setsansfont{Gill Sans Std}%
\setsansfont [BoldFont={Gill Sans Std-Ultra Bold}]{Gill Sans Std}
..but a new one cropped up. See the next thread.

Again, thanks for your help!
Post Reply