* Correction for \getbuffer
@ 2008-06-02 12:22 Wolfgang Schuster
2008-06-02 14:58 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Schuster @ 2008-06-02 12:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Hans,
The definition for \getBUFFER need to be changed because it use the undefined
command \dodoprocessTEXbuffer.
\def\dodefinebuffer[#1][#2]%
{\iffirstargument % else problems
\doglobal\increment\nofdefinedbuffers
\letvalue{\??bu#1\c!number }\nofdefinedbuffers
\letvalue{\??bu#1\c!paragraph}\v!no
\setevalue{\e!start#1}{\noexpand\dostartbuffer
[#1][def-\nofdefinedbuffers][\e!start#1][\e!stop#1]}%
%\setevalue{\e!get
#1}{\noexpand\dodoprocessTEXbuffer[#1][def-\nofdefinedbuffers]}%
\setevalue{\e!get #1}{\noexpand\dogetbuffer
[#1][def-\nofdefinedbuffers]}%
\setevalue{\e!type #1}{\noexpand\dotypebuffer
[#1][def-\nofdefinedbuffers]}%
\getparameters[\??bu#1][#2]%
\fi}
Greetings
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] 2+ messages in thread
* Re: Correction for \getbuffer
2008-06-02 12:22 Correction for \getbuffer Wolfgang Schuster
@ 2008-06-02 14:58 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2008-06-02 14:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
> Hi Hans,
>
> The definition for \getBUFFER need to be changed because it use the undefined
> command \dodoprocessTEXbuffer.
>
> \def\dodefinebuffer[#1][#2]%
> {\iffirstargument % else problems
> \doglobal\increment\nofdefinedbuffers
> \letvalue{\??bu#1\c!number }\nofdefinedbuffers
> \letvalue{\??bu#1\c!paragraph}\v!no
> \setevalue{\e!start#1}{\noexpand\dostartbuffer
> [#1][def-\nofdefinedbuffers][\e!start#1][\e!stop#1]}%
> %\setevalue{\e!get
> #1}{\noexpand\dodoprocessTEXbuffer[#1][def-\nofdefinedbuffers]}%
> \setevalue{\e!get #1}{\noexpand\dogetbuffer
> [#1][def-\nofdefinedbuffers]}%
> \setevalue{\e!type #1}{\noexpand\dotypebuffer
> [#1][def-\nofdefinedbuffers]}%
> \getparameters[\??bu#1][#2]%
> \fi}
ok
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2008-06-02 14:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-02 12:22 Correction for \getbuffer Wolfgang Schuster
2008-06-02 14:58 ` Hans Hagen
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).