ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* XeTeX old style numerals
@ 2008-09-19 18:07 Mohamed Bana
  2008-09-19 18:57 ` Mojca Miklavec
  0 siblings, 1 reply; 13+ messages in thread
From: Mohamed Bana @ 2008-09-19 18:07 UTC (permalink / raw)
  To: ntg-context

Hi guys,

Why doesn't this definition use the old style numerals that come with the font?
 It seems to use the latin modern font when I try to use \os.  Small caps are
working fine.  

I'd like all the numbers in the document to be typeset in old style numerals
unless I tell it otherwise, btw how do I achieve the latter?  As in break out of
onum and typeset in the normal numbers?

I'm using TeXlive 2008 on vista, the pdf reports that I'm using XeTeX version;
2008.05.21 15:21.

\definetypeface[myface][rm][Xserif][Minion Pro]
% i've also tried
%\definetypeface[myface][rm][Xserif][Warnock Pro]
\definetypeface[myface][ss][Xsans][Myriad Pro]
\definetypeface[myface][tt][Xmono][Consolas]
\setupbodyfont[myface, 11pt]

Pdf; http://filebin.ca/rpctwz/testbackup.pdf or http://filebin.ca/rpctwz

Thanks :)
Mohamed

% file
% engine=xetex
\definetypeface[myface][rm][Xserif][Minion Pro]
% i've also tried
%\definetypeface[myface][rm][Xserif][Warnock Pro]
\definetypeface[myface][ss][Xsans][Myriad Pro]
\definetypeface[myface][tt][Xmono][Consolas]
\setupbodyfont[myface, 11pt]

\starttext
\title {Introduction}

\startlines
123456789
{\os 123456789}
\stoplines

{\sc On the \CONTEXT\ mailing list, occasionally a user asks if
we can post a complete document with the associated style.
One reason for not honouring this request is that we want
users to cook up their own styles. Besides that, there are a
couple of styles in the regular \CONTEXT\ distribution.}

{\it When browsing through this document, a \CONTEXT\ user may
wonder what style was used to achieve its look and feel. We
hope that while reading the text and playing with the
examples, the reader will accomplish the skills to define
more than just simple layouts.}

{\sl When browsing through this document, a \CONTEXT\ user may
wonder what style was used to achieve its look and feel. We
hope that while reading the text and playing with the
examples, the reader will accomplish the skills to define
more than just simple layouts.}

{\it\sc This document is not easy reading. Occasionally we spend
some time explaining features not described in the manuals.
The design of this document is to a large extent determined
by its purpose, and as a result not always functional. Also
the order of presenting features, tips and tricks is kind of
random and unstructured. The idea is that the visual effects
will draw you to the right trick. Also, if you realy want to
benefit from these features, there is no way but to read the
whole story.}

{\bf In spite of all its shortcomings, I hope that you enjoy
reading this (yet unfinished) manual. Keep in mind that this
manual is far from finished.}

{\bi In spite of all its shortcomings, I hope that you enjoy
reading this (yet unfinished) manual. Keep in mind that this
manual is far from finished.}

{\ss\sc In spite of all its shortcomings, I hope that you enjoy
reading this (yet unfinished) manual. Keep in mind that this
manual is far from finished.}

\stoptext

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-10-19 15:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-19 18:07 XeTeX old style numerals Mohamed Bana
2008-09-19 18:57 ` Mojca Miklavec
2008-09-20  2:09   ` Mohamed Bana
2008-09-20 10:49     ` Hans Hagen
2008-10-11 20:10       ` Mohamed Bana
2008-10-14 12:07         ` Wolfgang Schuster
2008-10-14 17:16           ` Mohamed Bana
2008-10-18 21:19           ` Jeff Smith
2008-10-18 21:56             ` Mojca Miklavec
2008-10-19  0:47               ` Jeff Smith
2008-10-19 15:31           ` Mohamed Bana
2008-09-21  5:44   ` Yue Wang
2008-09-21 16:01     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).