ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* space code trickery needed
@ 2008-08-28 14:37 Steffen Wolfrum
  2008-08-28 14:54 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Steffen Wolfrum @ 2008-08-28 14:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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] 3+ messages in thread

* Re: space code trickery needed
  2008-08-28 14:37 space code trickery needed Steffen Wolfrum
@ 2008-08-28 14:54 ` Wolfgang Schuster
  2008-08-28 15:36   ` Steffen Wolfrum
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2008-08-28 14:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Aug 28, 2008 at 4:37 PM, Steffen Wolfrum <context@st.estfiles.de> 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?

> 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
___________________________________________________________________________________
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] 3+ messages in thread

* Re: space code trickery needed
  2008-08-28 14:54 ` Wolfgang Schuster
@ 2008-08-28 15:36   ` Steffen Wolfrum
  0 siblings, 0 replies; 3+ messages in thread
From: Steffen Wolfrum @ 2008-08-28 15:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 28.08.2008 um 16:54 schrieb Wolfgang Schuster:

> On Thu, Aug 28, 2008 at 4:37 PM, Steffen Wolfrum <context@st.estfiles.de 
> > 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.
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2008-08-28 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-28 14:37 space code trickery needed Steffen Wolfrum
2008-08-28 14:54 ` Wolfgang Schuster
2008-08-28 15:36   ` Steffen Wolfrum

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).