Re: [NTG-context] Question to \startlines

2014-07-28 Thread Wolfgang Schuster

Am 28.07.2014 um 13:29 schrieb Tomas Hala tomas.h...@mendelu.cz:

 Hello,
 
 I found out that the \startlines does not work if it is defined in a body 
 of some other macro. Is it expected behaviour, or not?

This is normal for TeX and you have to use other mechanism like buffers.

\starttext

\startbuffer[]
\startlines
text
text
\stoplines
\stopbuffer

\getbuffer[]

\stoptext

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
___


Re: [NTG-context] Question to \startlines

2014-07-28 Thread Tomas Hala
That works. Thank you, Wolfgang.
Using this, I found out that buffers do not cooperate with \vfill.
Is there any other how to move parts of the buffer to the top and bottom
except two independent buffers?

Tomas Hala


Mon, Jul 28, 2014 ve 01:49:59PM +0200 Wolfgang Schuster napsal(a):
# 
# Am 28.07.2014 um 13:29 schrieb Tomas Hala tomas.h...@mendelu.cz:
# 
#  Hello,
#  
#  I found out that the \startlines does not work if it is defined in a body 
#  of some other macro. Is it expected behaviour, or not?
# 
# This is normal for TeX and you have to use other mechanism like buffers.
# 
# \starttext
# 
# \startbuffer[]
# \startlines
# text
# text
# \stoplines
# \stopbuffer
# 
# \getbuffer[]
# 
# \stoptext
# 
# 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
___


Re: [NTG-context] Question to \startlines

2014-07-28 Thread Wolfgang Schuster

Am 28.07.2014 um 18:37 schrieb Tomas Hala tomas.h...@mendelu.cz:

 That works. Thank you, Wolfgang.
 Using this, I found out that buffers do not cooperate with \vfill.
 Is there any other how to move parts of the buffer to the top and bottom
 except two independent buffers?

I don’t think this has to do with buffers because a buffer is only a mechanism 
to save content for a later use.

Make a example where you have a problem with \vfill.

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
___