Re: [NTG-context] can typesetbuffer use the same engine?

2021-11-05 Thread Rik Kabel via ntg-context
On 11/5/2021 11:18, Hans Hagen via ntg-context wrote: On 11/5/2021 3:19 PM, Rik Kabel via ntg-context wrote: Hello brain trust, How can \typesetbuffer be instructed to use the same engine as the document which contains it? With the following example: \startbuffer[Buffer]    \startTEXpage

Re: [NTG-context] can typesetbuffer use the same engine?

2021-11-05 Thread Hans Hagen via ntg-context
On 11/5/2021 3:19 PM, Rik Kabel via ntg-context wrote: Hello brain trust, How can \typesetbuffer be instructed to use the same engine as the document which contains it? With the following example: \startbuffer[Buffer]   \startTEXpage \contextmark \stopTEXpage \stopbuffer \starttext

[NTG-context] can typesetbuffer use the same engine?

2021-11-05 Thread Rik Kabel via ntg-context
Hello brain trust, How can \typesetbuffer be instructed to use the same engine as the document which contains it? With the following example: \startbuffer[Buffer]   \startTEXpage \contextmark \stopTEXpage \stopbuffer \starttext   \contextmark\   \typesetbuffer[Buffer] \stoptext I get "

[NTG-context] How to define where \typesetbuffer store its pdf output ?

2021-06-13 Thread Garulfo
Hi all, is there a mean to define where \typesetbuffer store its pdf output ? (to avoid messing up the main directory). Garuflo ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] issues with \typesetbuffer

2018-04-18 Thread Pablo Rodriguez
B\stopTEXpage\stoptext\stopbuffer \startbuffer[c]\starttext\startTEXpage C\stopTEXpage\stoptext\stopbuffer \starttext Just an empty page. \typesetbuffer[a] \typesetbuffer[b] \typesetbuffer[c] \stoptext The same font is embedded four times in the sample above. Many than

Re: [NTG-context] issues with \typesetbuffer

2018-04-18 Thread Hans Hagen
On 4/18/2018 6:38 PM, Pablo Rodriguez wrote: Hans, I have the following sample: \setuppapersize[A5][A4, landscape] \setuparranging[2SIDE] works ok here but arranging might interfere (do that on the commandline) -

[NTG-context] issues with \typesetbuffer

2018-04-18 Thread Pablo Rodriguez
, align={lohi, center}, foregroundstyle=\ssbfb] {Just \tex{typesetbuffer}} \stopalign\vfill \stoptext \stopbuffer \startbuffer[b] \showframe \setuppapersize[A5] \setuppagenumbering[location=] \setuplayout[width=middle] \starttext \mbox

Re: [NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Pablo Rodriguez
On 10/16/2016 08:16 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 16. Oktober 2016 um 20:07 >> [...] >> Neither does it work now. > > Use \definebodyfontenvironment[17pt]. Many thanks for your fast reply, Wolfgang. It works as expected. Pablo -- http://www.ousia.tk

Re: [NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Wolfgang Schuster
optext \stopbuffer \starttext \typesetbuffer[buffer:inside] \stoptext Neither does it work now. Use \definebodyfontenvironment[17pt]. Wolfgang ___ If your question is of interest to others as well, please add an

Re: [NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Pablo Rodriguez
n’t work with latest beta from 2016.10.14 17:19. >> >> Could you confirm whether it is a bug or I am missing something? > > You have to put the command in the buffer because \typesetbuffer saves > the content in a external file and which is then processed as separate > document which

Re: [NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Wolfgang Schuster
rttext \typesetbuffer[buffer:inside] \stoptext As suggested by Wolfgang, \definebodyfont should work. It worked then (https://mailman.ntg.nl/pipermail/ntg-context/2016/085260.html), but it doesn’t work with latest beta from 2016.10.14 17:19. Could you confirm whether it is a bug or I am missing som

[NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Pablo Rodriguez
\typesetbuffer[buffer:inside] \stoptext As suggested by Wolfgang, \definebodyfont should work. It worked then (https://mailman.ntg.nl/pipermail/ntg-context/2016/085260.html), but it doesn’t work with latest beta from 2016.10.14 17:19. Could you confirm whether it is a bug or I am missing something

[NTG-context] typesetbuffer in \insertpages

2016-05-01 Thread Pablo Rodriguez
] \startbuffer[hola] \mainlanguage[es] \starttext \dorecurse{32}{\input cervantes-es\par} \stoptext \stopbuffer \starttext \typesetbuffer[hola] %~ \insertpages[{\typesetbuffer[hola]}][width=Opt] \stoptext Is there any way to make the commented \insertpages

Re: [NTG-context] font size inside a \typesetbuffer

2016-04-25 Thread Pablo Rodriguez
On 04/25/2016 10:21 AM, Wolfgang Schuster wrote: >> Pablo Rodriguez 24. April 2016 um 12:23 >> [...] >> The issue I’m experiencing is that no mainface is selected if the font >> size is specified in \setupbodyfont. >> >> Am I missing something or have I hit a bug? > [...] > 2. Add

Re: [NTG-context] font size inside a \typesetbuffer

2016-04-25 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 24. April 2016 um 12:23 Dear list, I have the following sample: \startbuffer[buffer:inside] \definefontfamily[mainface][rm][TeX Gyre Pagella] \setupbodyfont[mainface, 17pt] \starttext \input zapf \stoptext \stopbuffer \starttext \typesetbuffer[buffer:

[NTG-context] font size inside a \typesetbuffer

2016-04-24 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[buffer:inside] \definefontfamily[mainface][rm][TeX Gyre Pagella] \setupbodyfont[mainface, 17pt] \starttext \input zapf \stoptext \stopbuffer \starttext \typesetbuffer[buffer:inside

Re: [NTG-context] two suggestions to \typesetbuffer

2013-11-10 Thread Hans Hagen
On 11/9/2013 12:49 PM, Pablo Rodriguez wrote: Of course, fonts are embedded fine in documents, but \typesetbuffer is a special case. Having the fonts embedded only once in the final document would be better. You can try the beta ... i'm not sure about it yes but this one is faster, we might

Re: [NTG-context] two suggestions to \typesetbuffer

2013-11-10 Thread Pablo Rodriguez
to 181 seconds. And subsequent compilations decreased from 70 seconds to 7 seconds. The sample shows the issue with embedded fonts: \starttext These are bufers: \startbuffer[text:1] \setuppapersize[A7] \starttext\input tufte\stoptext \stopbuffer \typesetbuffer[text:1][frame=on] \startbuffer[text:2

Re: [NTG-context] two suggestions to \typesetbuffer

2013-11-10 Thread Hans Hagen
On 11/10/2013 1:32 PM, Pablo Rodriguez wrote: On 11/10/2013 12:30 PM, Hans Hagen wrote: You can try the beta ... i'm not sure about it yes but this one is faster, we might end up with several methods to choose from depending on usage. The same font is embedded three times in the final PDF.

Re: [NTG-context] two suggestions to \typesetbuffer

2013-11-09 Thread Pablo Rodriguez
On 11/08/2013 11:39 PM, Hans Hagen wrote: On 11/8/2013 7:11 PM, Pablo Rodriguez wrote: Dear Hans, I have presentations that include buffers typeset with \typesetbuffer. One of the presentation includes 33 buffers, which are small ConTeXt samples. Any time I change anything

Re: [NTG-context] two suggestions to \typesetbuffer

2013-11-09 Thread Wolfgang Schuster
Am 09.11.2013 um 12:49 schrieb Pablo Rodriguez oi...@gmx.es: On 11/08/2013 11:39 PM, Hans Hagen wrote: On 11/8/2013 7:11 PM, Pablo Rodriguez wrote: Dear Hans, I have presentations that include buffers typeset with \typesetbuffer. One of the presentation includes 33 buffers, which

[NTG-context] two suggestions to \typesetbuffer

2013-11-08 Thread Pablo Rodriguez
Dear Hans, I have presentations that include buffers typeset with \typesetbuffer. One of the presentation includes 33 buffers, which are small ConTeXt samples. Any time I change anything on the presentation (not on the buffers themselves), every buffer is typeset again. And the compilation time

Re: [NTG-context] two suggestions to \typesetbuffer

2013-11-08 Thread Hans Hagen
On 11/8/2013 7:11 PM, Pablo Rodriguez wrote: Dear Hans, I have presentations that include buffers typeset with \typesetbuffer. One of the presentation includes 33 buffers, which are small ConTeXt samples. Any time I change anything on the presentation (not on the buffers themselves), every

Re: [NTG-context] include two pages from typesetbuffer

2013-08-10 Thread Pablo Rodríguez
\startTEXpage[offset=10pt] two \stopTEXpage \startTEXpage[offset=10pt] three \stopTEXpage \stoptext \stopbuffer \typesetbuffer[sample][frame=on,page=1] \typesetbuffer[sample][frame=on,page=2] \typesetbuffer[sample][frame=on,page=3

[NTG-context] \typesetbuffer at wiki

2013-08-10 Thread Pablo Rodríguez
Dear list, I have just created http://wiki.contextgarden.net/Command/typesetbuffer. In the typeset sample, it seems that \typesetbuffer doesn’t work at the wiki (it doesn’t include the image). Am I missing something here? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] \typesetbuffer at wiki

2013-08-10 Thread Sietse Brouwer
On 10 August 2013 12:06, Pablo Rodríguez oi...@web.de wrote: Dear list, I have just created http://wiki.contextgarden.net/Command/typesetbuffer. In the typeset sample, it seems that \typesetbuffer doesn’t work at the wiki (it doesn’t include the image). Am I missing something here? Many thanks

Re: [NTG-context] \typesetbuffer at wiki

2013-08-10 Thread Pablo Rodríguez
On 08/10/2013 01:51 PM, Sietse Brouwer wrote: Hi Pablo, This is probably a backend problem. I know that examples where multiple pages are imposed onto one sheet also don’t work; this is probably similar. I might look into it at some point, try to improve the php, but it’s not a priority.

Re: [NTG-context] include two pages from typesetbuffer

2013-08-09 Thread Pablo Rodríguez
On 08/08/2013 10:40 PM, Hans Hagen wrote: On 8/8/2013 10:15 PM, Hans Hagen wrote: On 8/8/2013 9:01 PM, Pablo Rodríguez wrote: Dear list, I would like to be able to include the first two pages of a typeset buffer (included with \typesetbuffer[sample][frame=on]). Is there any way to do

Re: [NTG-context] include two pages from typesetbuffer

2013-08-09 Thread Hans Hagen
On 8/9/2013 9:39 PM, Pablo Rodríguez wrote: On 08/08/2013 10:40 PM, Hans Hagen wrote: On 8/8/2013 10:15 PM, Hans Hagen wrote: On 8/8/2013 9:01 PM, Pablo Rodríguez wrote: Dear list, I would like to be able to include the first two pages of a typeset buffer (included with \typesetbuffer[sample

[NTG-context] include two pages from typesetbuffer

2013-08-08 Thread Pablo Rodríguez
Dear list, I would like to be able to include the first two pages of a typeset buffer (included with \typesetbuffer[sample][frame=on]). Is there any way to do this? I’d like to avoid to save the buffer to a file. Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] include two pages from typesetbuffer

2013-08-08 Thread Hans Hagen
On 8/8/2013 9:01 PM, Pablo Rodríguez wrote: Dear list, I would like to be able to include the first two pages of a typeset buffer (included with \typesetbuffer[sample][frame=on]). Is there any way to do this? I’d like to avoid to save the buffer to a file. \typesetbuffer[sample][frame

Re: [NTG-context] include two pages from typesetbuffer

2013-08-08 Thread Hans Hagen
On 8/8/2013 10:15 PM, Hans Hagen wrote: On 8/8/2013 9:01 PM, Pablo Rodríguez wrote: Dear list, I would like to be able to include the first two pages of a typeset buffer (included with \typesetbuffer[sample][frame=on]). Is there any way to do this? I’d like to avoid to save the buffer

[NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Peter Münster
Hello, It would be nice, if \typesetbuffer wouldn't add anything to the buffer. Here an example, where the outer \starttext ... \stoptext environment deranges: \starttext \startbuffer[pdf-pages] \setuppapersize[A7, landscape] \showframe \starttext page 1 \page page 2 \stoptext

Re: [NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Wolfgang Schuster
Am 30.01.2011 um 19:52 schrieb Peter Münster: Hello, It would be nice, if \typesetbuffer wouldn't add anything to the buffer. Here an example, where the outer \starttext ... \stoptext environment deranges: Why, context ignores the inner starttext/stoptext pair. Wolfgang

Re: [NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Peter Münster
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: It would be nice, if \typesetbuffer wouldn't add anything to the buffer. Here an example, where the outer \starttext ... \stoptext environment deranges: Why, context ignores the inner starttext/stoptext pair. Wrong interpretation

Re: [NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Vnpenguin
On Sun, Jan 30, 2011 at 19:52, Peter Münster pmli...@free.fr wrote: Hello, It would be nice, if \typesetbuffer wouldn't add anything to the buffer. Yep, I agree that. Don't know why need add something to buffer

Re: [NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Wolfgang Schuster
Am 30.01.2011 um 20:23 schrieb Vnpenguin: On Sun, Jan 30, 2011 at 19:52, Peter Münster pmli...@free.fr wrote: Hello, It would be nice, if \typesetbuffer wouldn't add anything to the buffer. Yep, I agree that. Don't know why need add something to buffer ? \typesetbuffer add \starttext

Re: [NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Wolfgang Schuster
Am 30.01.2011 um 20:20 schrieb Peter Münster: Nevertheless: are there situations, where the outer starttext/stoptext could cause some trouble? Don’t think so because when you use the project structure you have \startproduct \startcomponent … \stopcomponent \startcomponent … \stopcomponent