* \setfontfeature-problem
@ 2010-10-13 10:48 Andreas Harder
2010-10-13 12:29 ` \setfontfeature-problem Michael Murphy
2010-10-13 12:40 ` \setfontfeature-problem Hans Hagen
0 siblings, 2 replies; 4+ messages in thread
From: Andreas Harder @ 2010-10-13 10:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi all,
please have a look at my example:
\definefontfeature[default][default][mode=node,onum=yes]
\definefontfeature[sc][default][smcp=yes]
\def\sc{\groupedcommand{\setfontfeature{sc}}{}}
\setupbodyfont[palatino]
\starttext
\startTEXpage[offset=1ex]
{\sc Abc} 0369 \crlf
\sc{Abc} 0369
\stopTEXpage
\startTEXpage[offset=1ex]
0369 {\sc Abc} 0369 \crlf
0369 \sc{Abc} 0369
\stopTEXpage
\stoptext
It seems that if a line starts with \sc{…} the onum-option is ignored. Is there a solution?
Greeting
Andreas
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \setfontfeature-problem
2010-10-13 10:48 \setfontfeature-problem Andreas Harder
@ 2010-10-13 12:29 ` Michael Murphy
2010-10-13 12:40 ` \setfontfeature-problem Hans Hagen
1 sibling, 0 replies; 4+ messages in thread
From: Michael Murphy @ 2010-10-13 12:29 UTC (permalink / raw)
To: ntg-context
On 13/10/10 12:48, Andreas Harder wrote:
> Hi all,
>
> please have a look at my example:
>
> \definefontfeature[default][default][mode=node,onum=yes]
> \definefontfeature[sc][default][smcp=yes]
>
> \def\sc{\groupedcommand{\setfontfeature{sc}}{}}
>
> \setupbodyfont[palatino]
>
> \starttext
> \startTEXpage[offset=1ex]
> {\sc Abc} 0369 \crlf
> \sc{Abc} 0369
> \stopTEXpage
> \startTEXpage[offset=1ex]
> 0369 {\sc Abc} 0369 \crlf
> 0369 \sc{Abc} 0369
> \stopTEXpage
> \stoptext
>
> It seems that if a line starts with \sc{…} the onum-option is ignored. Is there a solution?
>
\setfontfeature deletes all other features; try \addfontfeaturetoset or
\addfontfeaturetofont instead (not sure what the difference is).
--
Michael Murphy
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \setfontfeature-problem
2010-10-13 10:48 \setfontfeature-problem Andreas Harder
2010-10-13 12:29 ` \setfontfeature-problem Michael Murphy
@ 2010-10-13 12:40 ` Hans Hagen
2010-10-13 12:43 ` \setfontfeature-problem Andreas Harder
1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2010-10-13 12:40 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Andreas Harder
On 13-10-2010 12:48, Andreas Harder wrote:
> It seems that if a line starts with \sc{…} the onum-option is ignored. Is there a solution?
fixed in upcoming beta
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \setfontfeature-problem
2010-10-13 12:40 ` \setfontfeature-problem Hans Hagen
@ 2010-10-13 12:43 ` Andreas Harder
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Harder @ 2010-10-13 12:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 13.10.2010 um 14:40 schrieb Hans Hagen:
> On 13-10-2010 12:48, Andreas Harder wrote:
>
>> It seems that if a line starts with \sc{…} the onum-option is ignored. Is there a solution?
>
> fixed in upcoming beta
Thanks Hans!
Andreas
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-13 12:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13 10:48 \setfontfeature-problem Andreas Harder
2010-10-13 12:29 ` \setfontfeature-problem Michael Murphy
2010-10-13 12:40 ` \setfontfeature-problem Hans Hagen
2010-10-13 12:43 ` \setfontfeature-problem Andreas Harder
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).