Re: [NTG-context] Bug: footnote's textcommand overflows?

2011-04-25 Thread Oliver Buerschaper
 Use “textstyle”, command keys expect commands with argument and not 
 font/style switches.

Thanks for the explanation. Will keep that in mind…

Oliver
___
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
___


[NTG-context] Bug: footnote's textcommand overflows?

2011-04-24 Thread Oliver Buerschaper
Dear all,

there appears to be a bug in the handling of font features in footnotes… the 
following messes up the footnote block in 2011.04.20 16:23, but yields the 
expected result in 2011.02.14 23:30.

---
\definefontfeature
[superscripts]
[default]
[sups=yes]

\usetypefile
[type-optical]
\usetypescript
[minion]
\setupbodyfont
[minion]

\setupnote
[footnote]
[textcommand=\setfontfeature{superscripts},
 textstyle=,
 numbercommand=]



\starttext

\dorecurse{9}{This\footnote{Hello World #1} is a test.\par }
   
\stoptext
---

The problem is not triggered for Latin Modern, also not for, say, 
textcommand=\it. What's going on?

Best,
Oliver




type-optical.tex
Description: Binary data
___
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
___

Re: [NTG-context] Bug: footnote's textcommand overflows?

2011-04-24 Thread Oliver Buerschaper
 there appears to be a bug in the handling of font features in footnotes… the 
 following messes up the footnote block in 2011.04.20 16:23, but yields the 
 expected result in 2011.02.14 23:30.

Even shorter example (with Latin Modern):

---
\definefontfeature
[superscripts]
[default]
[sups=yes]

\setupnote
[footnote]
[textcommand=\os,
 textstyle=]



\starttext

The \type{textcommand} should not leak into the footnote block%
\footnote{The number 13 should not be typeset with oldstyle numerals.}.
   
\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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bug: footnote's textcommand overflows?

2011-04-24 Thread Wolfgang Schuster

Am 24.04.2011 um 21:16 schrieb Oliver Buerschaper:

 there appears to be a bug in the handling of font features in footnotes… the 
 following messes up the footnote block in 2011.04.20 16:23, but yields the 
 expected result in 2011.02.14 23:30.
 
 Even shorter example (with Latin Modern):
 
 ---
 \definefontfeature
[superscripts]
[default]
[sups=yes]
 
 \setupnote
[footnote]
[textcommand=\os,
 textstyle=]

Use “textstyle”, command keys expect commands with argument and not font/style 
switches.

Wolfgang

___
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
___