Hi, I'm trying TeX-figures (Section 13.5 of ConTeX manual). Here is my test ============== \starttext \startbuffer[mytable] \bTABLE \bTR \bTH One \eTH \bTH Two \eTH \eTR \bTR \bTD One \eTD \bTD Two \eTD \eTR \eTABLE \stopbuffer \externalfigure[mytable.tmp][width=0.8\textwidth] \stoptext ============== But the PDF has no the table. I'm wrong somewhere ? I'm using (WinXP) : E:\User\tex> context --version MTXrun | main context file: C:/context/tex/texmf-context/tex/context/base/context.mkiv MTXrun | current version: 2011.01.25 13:17 Thanks,
Vnpenguin
I'm trying TeX-figures (Section 13.5 of ConTeX manual). Here is my test
Hello, In the new manual it's section 16.5.
\stopbuffer \externalfigure[mytable.tmp][width=0.8\textwidth]
In mkiv, the buffer is not saved in a file. You need to do this explicitly: \stopbuffer \savebuffer[mytable][mytable.tmp] \externalfigure[mytable.tmp][width=0.8\textwidth] There is also \typesetbuffer: \starttext \startbuffer[mytable] \startTEXpage bla bla bla \stopTEXpage \stopbuffer \typesetbuffer[mytable][width=0.8\textwidth] \stoptext I'll update section 16.5 accordingly. Cheers, -- Peter
On Sun, Jan 30, 2011 at 11:43, Peter Münster
Vnpenguin
writes: I'm trying TeX-figures (Section 13.5 of ConTeX manual). Here is my test
Hello,
In the new manual it's section 16.5.
\stopbuffer \externalfigure[mytable.tmp][width=0.8\textwidth]
In mkiv, the buffer is not saved in a file. You need to do this explicitly:
\stopbuffer \savebuffer[mytable][mytable.tmp] \externalfigure[mytable.tmp][width=0.8\textwidth]
Thank you, this method works ok for me. Cheers
Am 30.01.2011 um 11:43 schrieb Peter Münster:
In mkiv, the buffer is not saved in a file. You need to do this explicitly:
\stopbuffer \savebuffer[mytable][mytable.tmp] \externalfigure[mytable.tmp][width=0.8\textwidth]
In MkIV this should be possible \externalfigure[mytable.buffer] where you don’t have to save buffer but it seems to be broken. Wolfgang
On Sun, Jan 30, 2011 at 12:27, Wolfgang Schuster
Am 30.01.2011 um 11:43 schrieb Peter Münster:
In mkiv, the buffer is not saved in a file. You need to do this explicitly:
\stopbuffer \savebuffer[mytable][mytable.tmp] \externalfigure[mytable.tmp][width=0.8\textwidth]
In MkIV this should be possible
\externalfigure[mytable.buffer]
where you don’t have to save buffer but it seems to be broken.
Yes, it's broken. I don't like \savebuffer but I have no choice for now.
Am 30.01.2011 um 10:44 schrieb Vnpenguin:
Hi, I'm trying TeX-figures (Section 13.5 of ConTeX manual). Here is my test ============== \starttext \startbuffer[mytable] \bTABLE \bTR \bTH One \eTH \bTH Two \eTH \eTR \bTR \bTD One \eTD \bTD Two \eTD \eTR \eTABLE \stopbuffer \externalfigure[mytable.tmp][width=0.8\textwidth] \stoptext ============== But the PDF has no the table. I'm wrong somewhere ?
I just did it like this: \startbuffer[2f] \startTEXpage[width=0.99\textheight] \placetable{}{ \bTABLE[offset=3pt,align={flushleft,high},option=stretch,style=...] ... \eTABLE} \stopTEXpage \stopbuffer \getbuffer Works great for me ... Steffen (ver: 2011.01.14 MKIV)
Steffen Wolfrum
[...]
\getbuffer
Works great for me ...
Sure, but it's really not the same ;) Compare: \starttext \startbuffer \startTEXpage[width=5cm] \input tufte \stopTEXpage \stopbuffer \getbuffer \startbuffer[testbuf] \input tufte \stopbuffer \savebuffer[testbuf][testbuf.tmp] \externalfigure[testbuf.tmp][width=5cm] \stoptext Cheers, -- Peter
On 30-1-2011 1:10, Peter Münster wrote:
Steffen Wolfrum
writes: [...]
\getbuffer
Works great for me ...
Sure, but it's really not the same ;)
Compare:
\starttext \startbuffer \startTEXpage[width=5cm] \input tufte \stopTEXpage \stopbuffer \getbuffer
\startbuffer[testbuf] \input tufte \stopbuffer \savebuffer[testbuf][testbuf.tmp] \externalfigure[testbuf.tmp][width=5cm] \stoptext
\starttext \startbuffer[testbuf] \input tufte \stopbuffer \externalfigure[testbuf][type=buffer,width=5cm] \externalfigure[testbuf.buffer][width=5cm] \stoptext in mkiv .tmp makes no sense any more as we have no tmp files ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sun, Jan 30, 2011 at 18:39, Hans Hagen
\starttext
\startbuffer[testbuf] \input tufte \stopbuffer
\externalfigure[testbuf][type=buffer,width=5cm]
It works.
\externalfigure[testbuf.buffer][width=5cm]
It does not work.
\stoptext
in mkiv .tmp makes no sense any more as we have no tmp files
In fact, I don't care about extension of this file. Thanks,
participants (5)
-
Hans Hagen
-
pmlists@free.fr
-
Steffen Wolfrum
-
Vnpenguin
-
Wolfgang Schuster