ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TeX-figures
       [not found] <AANLkTimeq_1hReh+cWLqwQ4XJb4cgHSMbM1Z3AGxts7Z@mail.gmail.com>
@ 2011-01-30  9:44 ` Vnpenguin
  2011-01-30 10:43   ` TeX-figures Peter Münster
  2011-01-30 11:54   ` TeX-figures Steffen Wolfrum
  0 siblings, 2 replies; 9+ messages in thread
From: Vnpenguin @ 2011-01-30  9:44 UTC (permalink / raw)
  To: ConTeXt list

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: TeX-figures
  2011-01-30  9:44 ` TeX-figures Vnpenguin
@ 2011-01-30 10:43   ` Peter Münster
  2011-01-30 11:08     ` TeX-figures Vnpenguin
  2011-01-30 11:27     ` TeX-figures Wolfgang Schuster
  2011-01-30 11:54   ` TeX-figures Steffen Wolfrum
  1 sibling, 2 replies; 9+ messages in thread
From: Peter Münster @ 2011-01-30 10:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Vnpenguin <vnpenguin@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: TeX-figures
  2011-01-30 10:43   ` TeX-figures Peter Münster
@ 2011-01-30 11:08     ` Vnpenguin
  2011-01-30 11:27     ` TeX-figures Wolfgang Schuster
  1 sibling, 0 replies; 9+ messages in thread
From: Vnpenguin @ 2011-01-30 11:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Jan 30, 2011 at 11:43, Peter Münster <pmlists@free.fr> wrote:
> Vnpenguin <vnpenguin@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: TeX-figures
  2011-01-30 10:43   ` TeX-figures Peter Münster
  2011-01-30 11:08     ` TeX-figures Vnpenguin
@ 2011-01-30 11:27     ` Wolfgang Schuster
  2011-01-30 16:57       ` TeX-figures Vnpenguin
  1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-01-30 11:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: TeX-figures
  2011-01-30  9:44 ` TeX-figures Vnpenguin
  2011-01-30 10:43   ` TeX-figures Peter Münster
@ 2011-01-30 11:54   ` Steffen Wolfrum
  2011-01-30 12:10     ` TeX-figures Peter Münster
  1 sibling, 1 reply; 9+ messages in thread
From: Steffen Wolfrum @ 2011-01-30 11:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: TeX-figures
  2011-01-30 11:54   ` TeX-figures Steffen Wolfrum
@ 2011-01-30 12:10     ` Peter Münster
  2011-01-30 17:39       ` TeX-figures Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Münster @ 2011-01-30 12:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Steffen Wolfrum <context@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: TeX-figures
  2011-01-30 11:27     ` TeX-figures Wolfgang Schuster
@ 2011-01-30 16:57       ` Vnpenguin
  0 siblings, 0 replies; 9+ messages in thread
From: Vnpenguin @ 2011-01-30 16:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Jan 30, 2011 at 12:27, Wolfgang Schuster
<schuster.wolfgang@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: TeX-figures
  2011-01-30 12:10     ` TeX-figures Peter Münster
@ 2011-01-30 17:39       ` Hans Hagen
  2011-01-30 17:49         ` TeX-figures Vnpenguin
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2011-01-30 17:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Peter Münster

On 30-1-2011 1:10, Peter Münster wrote:
> Steffen Wolfrum<context@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: TeX-figures
  2011-01-30 17:39       ` TeX-figures Hans Hagen
@ 2011-01-30 17:49         ` Vnpenguin
  0 siblings, 0 replies; 9+ messages in thread
From: Vnpenguin @ 2011-01-30 17:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Jan 30, 2011 at 18:39, Hans Hagen <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-01-30 17:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTimeq_1hReh+cWLqwQ4XJb4cgHSMbM1Z3AGxts7Z@mail.gmail.com>
2011-01-30  9:44 ` TeX-figures Vnpenguin
2011-01-30 10:43   ` TeX-figures Peter Münster
2011-01-30 11:08     ` TeX-figures Vnpenguin
2011-01-30 11:27     ` TeX-figures Wolfgang Schuster
2011-01-30 16:57       ` TeX-figures Vnpenguin
2011-01-30 11:54   ` TeX-figures Steffen Wolfrum
2011-01-30 12:10     ` TeX-figures Peter Münster
2011-01-30 17:39       ` TeX-figures Hans Hagen
2011-01-30 17:49         ` TeX-figures Vnpenguin

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).