Hi, please have a look at this: \definestartstop[redimportant][before={\startcolor[red]\bf\penalty10000\hskip\zeropoint},after={\/\stopcolor}] \starttext This is normal, but this\startredimportant one\startfootnote at least \stopfootnote is bold\stopredimportant style. This is normal, but this\startredimportant one\startfootnote at least \stopfootnote is bold\stopredimportant. This is normal, but this\startredimportant{} one\startfootnote at least \stopfootnote{} is bold\stopredimportant{} style. This is normal, but this\startredimportant{} one\startfootnote at least \stopfootnote{} is bold\stopredimportant. \stoptext Is the missing \autoinsertnextspace back in the meantime? Or does someone has a good substitute ... other then {} braces? Steffen
Am 29.11.2010 um 10:29 schrieb Steffen Wolfrum:
Hi,
please have a look at this:
\definestartstop[redimportant][before={\startcolor[red]\bf\penalty10000\hskip\zeropoint},after={\/\stopcolor}]
\definestartstop [redimportant] [style=bold, color=red, after=\autoinsertnextspace] \setupnote [footnote] [next=\autoinsertnextspace] Wolfgang
Am 29.11.2010 um 14:39 schrieb Wolfgang Schuster:
Am 29.11.2010 um 10:29 schrieb Steffen Wolfrum:
Hi,
please have a look at this:
\definestartstop[redimportant][before={\startcolor[red]\bf\penalty10000\hskip\zeropoint},after={\/\stopcolor}]
\definestartstop [redimportant] [style=bold, color=red, after=\autoinsertnextspace]
\setupnote [footnote] [next=\autoinsertnextspace]
Wolfgang
But how about this (see below)? Is there a chance to get a space after footnote even before an italic? Steffen ------- \definestartstop[Textit][style=\em, % color=red, after=\autoinsertnextspace] \setupnote [footnote] [next=\autoinsertnextspace] \starttext Test text. \startfootnote Note. \stopfootnote \startTextit Test\stopTextit text Test text. \startfootnote Note. \stopfootnote Test text \stoptext
Hans, Is there something you can do about that (that lost space between footnote and italics, see below)? As I am just about to finish a project I would otherwise hack in those "{}" again :o( Thanks, Steffen Am 03.12.2010 um 17:21 schrieb Steffen Wolfrum:
Am 29.11.2010 um 14:39 schrieb Wolfgang Schuster:
Am 29.11.2010 um 10:29 schrieb Steffen Wolfrum:
Hi,
please have a look at this:
\definestartstop[redimportant][before={\startcolor[red]\bf\penalty10000\hskip\zeropoint},after={\/\stopcolor}]
\definestartstop [redimportant] [style=bold, color=red, after=\autoinsertnextspace]
\setupnote [footnote] [next=\autoinsertnextspace]
Wolfgang
But how about this (see below)? Is there a chance to get a space after footnote even before an italic?
Steffen
-------
\definestartstop[Textit][style=\em, % color=red, after=\autoinsertnextspace]
\setupnote [footnote] [next=\autoinsertnextspace]
\starttext
Test text. \startfootnote Note. \stopfootnote \startTextit Test\stopTextit text
Test text. \startfootnote Note. \stopfootnote Test text
\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 ___________________________________________________________________________________
Am 03.12.2010 um 17:21 schrieb Steffen Wolfrum:
But how about this (see below)? Is there a chance to get a space after footnote even before an italic?
No, \autoinsertnextspace fails when the next token in the input is a command which is no criterion to insert a space and you have to help tex in this case with a {} or \ after \stopfootnote. Wolfgang
Am 04.12.2010 um 15:56 schrieb Wolfgang Schuster:
Am 03.12.2010 um 17:21 schrieb Steffen Wolfrum:
But how about this (see below)? Is there a chance to get a space after footnote even before an italic?
No, \autoinsertnextspace fails when the next token in the input is a command which is no criterion to insert a space and you have to help tex in this case with a {} or \ after \stopfootnote.
Ok. I'll use {} . Again :o) (this looks quite save .... hopefully there is no unforeseen side-effect) Steffen
participants (2)
-
Steffen Wolfrum
-
Wolfgang Schuster