Hallo ConTeXt debater, this buffer storage works perfectly: ---- \starttext \startbuffer[TMP] Bla \stopbuffer \getbuffer[TMP] \stoptext ---- but why not this one? ---- \starttext \def\tmp{% \startbuffer[TMP] Bla \stopbuffer } \tmp \getbuffer[TMP] \stoptext ---- Thanks Vit Zyka
Sunday, February 1, 2004 Vit Zyka wrote:
Hallo ConTeXt debater,
this buffer storage works perfectly: ---- \starttext \startbuffer[TMP] Bla \stopbuffer \getbuffer[TMP] \stoptext ----
but why not this one?
---- \starttext \def\tmp{% \startbuffer[TMP] Bla \stopbuffer } \tmp \getbuffer[TMP] \stoptext ----
Because buffers are verbatim-like environments. -- Giuseppe "Oblomov" Bilotta
Because buffers are verbatim-like environments.
-- Giuseppe "Oblomov" Bilotta
Hi, I expected that buffers are verbatimly stored to the file immediately in the time of processing \startbuffer...\stopbuffer thand the file is read processing \getbuffer. But it seems to me that the source file is parsed by texexec to find \startbuffer...\stopbuffer before TeX processing. Is it orrect? If so, how the included files are parsed (mainly if the macro expansion is needed for detection of inclusion)? Vit Zyka
this buffer storage works perfectly: ---- \starttext \startbuffer[TMP] Bla \stopbuffer \getbuffer[TMP] \stoptext ----
but why not this one?
---- \starttext \def\tmp{% \startbuffer[TMP] Bla \stopbuffer } \tmp \getbuffer[TMP] \stoptext ----
Hi, I tried to use an interactionmenu to jump to specific pages of a DINA4 document (some copies are included). It works very well, at least with the FirstPage-- and LastPage--Button But the jump to a pagereference changes the "Actual Size"-- and the "Fit Width"--view to the "Fit in Window"--view, which is rather improper to read DINA4--documents on screen. The two actions are combined, and I don't know why. Any hints? I have the same problem with \goto{}[]. Thomas Lohmann %%%%%%%%example%%%%%%%%%%%%%% \setupoutput [pdftex] \setuplayout [backspace=4cm,width=14cm] \setupcolors [state=start] \setupalign[hanging] \setupinteraction [state=start, color=blue, menu=on, style=normal] \setuplayout [rightedge=4cm, rightmargin=0cm, leftedge=3cm, leftmargin=0cm] \setupinteractionmenu[left] [frame=off, background=color, backgroundcolor=yellow, backgroundcorner=round, style=\setsmallbodyfont\tfx, height=1.0cm] \startinteractionmenu[left] \but [FirstPage] Erste Seite \\ \but [LastPage] Letzte Seite \\ \but [anlage] Anlagenverzeichnis \\ % "Fit Width" --> "Fit in Window" ?? \but [ExitViewer] Dokument schließen \\ \stopinteractionmenu \starttext test \goto{Anlagenverzeichnis}[anlage] \page[yes] \pagereference[anlage] test \stoptext
participants (3)
-
Giuseppe Bilotta
-
Thomas Lohmann
-
Vit Zyka