[OS X TeX] source sans pro and source code pro?

Ross Moore ross.moore at mq.edu.au
Sun Nov 4 06:35:29 CET 2012


Hi Gary,

On 04/11/2012, at 11:11 AM, Gary L. Gray wrote:

> I noticed today when updating with TeX Live Utility that there is now "built-in" support for Adobe's recently released open source fonts Source Sans Pro and Source Code Pro (see http://sourceforge.net/projects/sourcesans.adobe/ and http://sourceforge.net/projects/sourcecodepro.adobe/). Since I like both of these fonts very much, I thought I would give them a try in LaTeX.
> 
> When I try to typeset the .tex files that accompany those distributions, namely, sourcecodepro.tex and sourcesanspro.tex, neither typesets successfully. They both break with the following error (with slightly different line numbers):
> 
> ./sourcesanspro.tex:64: Undefined control sequence.
> <recently read> \sourcesansproextreme 
> 
> l.64 		\sourcesansproextreme
>                             Source Sans Pro ExtraLight & {\sourcesansprolig...
> 
> This is odd because both .sty files define the command \sourcesansproextreme. I have attached the log file for sourcesanspro.tex.

No it does not; at least, not with  pdfLaTeX  as the driver.

It is defined in  sourcesanspro-otf.sty 
using     \newfontfamily\sourcecodeproextreme 
which is used with  XeLaTeX  as driver.
Maybe also with  LuaLaTeX .

> 
> Am I doing something wrong, is this an issue with the distributions, or is it something else altogether.

Try different drivers with the documentation.

The PDFs that come with the distribution are made with XeTeX + xdvipdfmx.
(see attached image)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2012-11-04 at 4.33.28 PM.png
Type: image/png
Size: 128573 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20121104/795c7cef/attachment.png>
-------------- next part --------------

> 
> Thank you.
> 
> Gary
> 
> <sourcesanspro.log>


Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-419      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------





More information about the macostex-archives mailing list