Re: [NTG-context] Buffers and commands with optional arguments

2008-06-02 Thread Wolfgang Schuster
On Sat, May 31, 2008 at 12:51 PM, Hans Hagen [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: Hi Hans, I got yesterday a bug report for my letter module if the \startletter command takes no arguments. The following example show the problem without the module. \def\startletter

Re: [NTG-context] Buffers and commands with optional arguments

2008-06-02 Thread Hans Hagen
Wolfgang Schuster wrote: I will now include a modified version from the \flushbufferline macro with my package in will look for the first person with a problem. keep in mind that such low level macros are not part of the official interface and their name and/or the way of calling them may

Re: [NTG-context] Buffers and commands with optional arguments

2008-06-02 Thread Wolfgang Schuster
On Mon, Jun 2, 2008 at 10:05 AM, Hans Hagen [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: I will now include a modified version from the \flushbufferline macro with my package in will look for the first person with a problem. keep in mind that such low level macros are not part of the

[NTG-context] Buffers and commands with optional arguments

2008-05-31 Thread Wolfgang Schuster
Hi Hans, I got yesterday a bug report for my letter module if the \startletter command takes no arguments. The following example show the problem without the module. \def\startletter {\dosingleempty\dostartletter} \def\dostartletter[#1]% {\dostartbuffer[letter][startletter][stopletter]}

Re: [NTG-context] Buffers and commands with optional arguments

2008-05-31 Thread Hans Hagen
Wolfgang Schuster wrote: \doifsomething{#1} {\tmpblockstartedtrue %\immediate\write\tmpblocks{\string#1}}% \immediate\write\tmpblocks{#1}}% i have no problem with the \long but changing the \string ... it's there for a reason so i need to look into it

Re: [NTG-context] Buffers and commands with optional arguments

2008-05-31 Thread Hans Hagen
Wolfgang Schuster wrote: Hi Hans, I got yesterday a bug report for my letter module if the \startletter command takes no arguments. The following example show the problem without the module. \def\startletter {\dosingleempty\dostartletter} \def\dostartletter[#1]%

Re: [NTG-context] Buffers and commands with optional arguments

2008-05-31 Thread Wolfgang Schuster
Hi Hans, On Sat, May 31, 2008 at 12:33 PM, Hans Hagen [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: \doifsomething{#1} {\tmpblockstartedtrue %\immediate\write\tmpblocks{\string#1}}% \immediate\write\tmpblocks{#1}}% i have no problem with the \long but