Re: [NTG-context] issues with \typesetbuffer

2018-04-18 Thread Pablo Rodriguez
On 04/18/2018 08:22 PM, Hans Hagen wrote:
> 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)

Many thanks for your reply, Hans.

I was wrong, I only wanted to report the issue with fonts embedded
multiple times.

This sample shows the issue:

\startbuffer[a]\starttext\startTEXpage A\stopTEXpage\stoptext\stopbuffer
\startbuffer[b]\starttext\startTEXpage 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 thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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)


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] issues with \typesetbuffer

2018-04-18 Thread Pablo Rodriguez
Hans,

I have the following sample:

\setuppapersize[A5][A4, landscape]

\setuparranging[2SIDE]

\setuplayout

  [backspace=0pt,

topspace=0pt,

   width=middle,

  height=middle,

location=middle,

  header=0pt,

  footer=0pt]

\setupinteractionscreen[option=paper, copies=5]

\startbuffer[a]

\showframe

\setuppapersize[A5]

\setuppagenumbering[location=]

\setuplayout[width=middle]

\starttext

\mbox{}\vfill

\startalign[middle]

\dontleavehmode

\framedtext[width=10cm,

align={lohi, center},

foregroundstyle=\ssbfb]

{Just \tex{typesetbuffer}}

\stopalign\vfill

\stoptext

\stopbuffer

\startbuffer[b]

\showframe

\setuppapersize[A5]

\setuppagenumbering[location=]

\setuplayout[width=middle]

\starttext

\mbox{}\vfill

\startalign[middle]

\dontleavehmode

\framedtext[width=10cm,

align={lohi, center},

foregroundstyle=\ssbfb]

{Just another \tex{typesetbuffer}}

\stopalign\vfill

\stoptext

\stopbuffer

\startbuffer[c]

\showframe

\setuppapersize[A5]

\setuppagenumbering[location=]

\setuplayout[width=middle]

\starttext

\mbox{}\vfill

\startalign[middle]

\dontleavehmode

\framedtext[width=10cm,

align={lohi, center},

foregroundstyle=\ssbfb]

{And even another \tex{typesetbuffer}}

\stopalign\vfill

\stoptext

\stopbuffer

\starttext

\startmakeup[standard][style=\ssbfb, align=middle]

Just an empty page.

\stopmakeup

\typesetbuffer[a]

\typesetbuffer[b]

\typesetbuffer[c]

\stoptext


It contains three buffers. In 2013
(https://mailman.ntg.nl/pipermail/ntg-context/2013/075894.html), you
implemented a method to avoid renewed \typesetbuffer compilation, if
buffer and PDF document hadn’t been changed (by ckeching their MD5
checksums) and PDF document has been generated.

Now \typesetbuffer compiles the document every time the main document is
compiled (no matter whether the buffer or the PDF document haven’t been
modified).

Also the same fonts were embedded only once (as far as I can remember)
and now they are embedded multiple times.

Could you check the issues?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___