[NTG-context] TeX-figures
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, ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX-figures
Vnpenguin vnpeng...@vnoss.org 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] 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 ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX-figures
On Sun, Jan 30, 2011 at 11:43, Peter Münster pmli...@free.fr wrote: Vnpenguin vnpeng...@vnoss.org 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 ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX-figures
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 ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX-figures
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) ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX-figures
Steffen Wolfrum cont...@st.estfiles.de 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 Cheers, -- Peter ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX-figures
On Sun, Jan 30, 2011 at 12:27, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: 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. ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX-figures
On 30-1-2011 1:10, Peter Münster wrote: Steffen Wolfrumcont...@st.estfiles.de 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 - ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] TeX-figures
On Sun, Jan 30, 2011 at 18:39, Hans Hagen pra...@wxs.nl wrote: \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, ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___