Re: [NTG-context] \typebuffer with typing style

2009-06-10 Thread Matthijs Kooijman
Hi Peter, \setuptyping[option=TEX] This is what I am using now, but this changes the global settings and requires resetting them afterwards. Not so pretty. I was hoping for a better method to achieve this, but I'm starting to doubt there is one currently. I've been trying to give \typebuffer a

Re: [NTG-context] \typebuffer with typing style

2009-06-10 Thread Peter Münster
On Wed, 10 Jun 2009, Matthijs Kooijman wrote: \setuptyping[option=TEX] This is what I am using now, but this changes the global settings and requires resetting them afterwards. Not so pretty. I was hoping for a better method to achieve this, but I'm starting to doubt there is one

Re: [NTG-context] \typebuffer with typing style

2009-06-09 Thread Matthijs Kooijman
Hi all, Snip question about styled \typebuffer Shortly after sending my email, I realized the actual problem I was trying to solve was not the one I posted, so perhaps I can clarify that a bit. What I'm trying to do, is pass some text to a custom command, which should then be displayed in a

Re: [NTG-context] \typebuffer with typing style

2009-06-09 Thread Peter Münster
On Mon, 8 Jun 2009, Matthijs Kooijman wrote: \definetyping[FOO][option=FOO] \startbuffer[bar] baz \stopbuffer \typebuffer[FOO][bar] Perhaps you are looking for this: \setuptyping[option=TEX] \starttext \startbuffer[bar] This is \ConTeXt. \stopbuffer \typebuffer[bar] \stoptext ?

[NTG-context] \typebuffer with typing style

2009-06-08 Thread Matthijs Kooijman
Hi, I'm trying to use a buffer together with a custom typing style using the latest beta with MkIV, but so far I've only managed to do this using \startFOO and \stopFOO inside the buffer: \definetyping[FOO][option=FOO] \startbuffer[bar] \startFOO baz \stopFOO \stopbuffer \getbuffer[bar]

Re: [NTG-context] \typebuffer with typing style

2009-06-08 Thread Matthijs Kooijman
Hi all, since \startFOO \getbuffer[bar] \stopFOO gives me compile errors. Actually, that turned out to be my own typo. However, this doesn't give me what I want, but just a verbatim \getbuffer[bar]... Gr. Matthijs signature.asc Description: Digital signature