space code trickery needed
Hi, please have a look at this (probably ugly) code: \starttext \definestartstop[MyFootNote] [before={\footnote},after={}] \def\startFN[#1]{\startMyFootNote\ignorespaces} \def\stopFN{\stopMyFootNote} This is a \startFN[65] test \stopFN and this is another \startFN[B65] test \stopFN. \stoptext What is need in the definition for \stopFN in order to keep the space when needed (see before "and")? Thanks, Steffen
On Thu, Aug 28, 2008 at 4:37 PM, Steffen Wolfrum
Hi,
please have a look at this (probably ugly) code:
\starttext
\definestartstop[MyFootNote] [before={\footnote},after={}]
\def\startFN[#1]{\startMyFootNote\ignorespaces} \def\stopFN{\stopMyFootNote}
This is a \startFN[65] test \stopFN and this is another \startFN[B65] test \stopFN.
\stoptext
And this code works?
What is need in the definition for \stopFN in order to keep the space when needed (see before "and")?
Use the last beta. http://archive.contextgarden.net/message/20080816.223412.74d6cb85.en.html Wolfgang
Am 28.08.2008 um 16:54 schrieb Wolfgang Schuster:
On Thu, Aug 28, 2008 at 4:37 PM, Steffen Wolfrum
wrote: Hi,
please have a look at this (probably ugly) code:
\starttext
\definestartstop[MyFootNote] [before={\footnote},after={}]
\def\startFN[#1]{\startMyFootNote\ignorespaces} \def\stopFN{\stopMyFootNote}
This is a \startFN[65] test \stopFN and this is another \startFN[B65] test \stopFN.
\stoptext
And this code works?
Actually, this isn't code, it's homemade spaghetti. (It doesn't look like in a restaurant but feeds my needs) st.
participants (2)
-
Steffen Wolfrum
-
Wolfgang Schuster