ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* issues with \typesetbuffer
@ 2018-04-18 16:38 Pablo Rodriguez
  2018-04-18 18:22 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2018-04-18 16:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: issues with \typesetbuffer
  2018-04-18 16:38 issues with \typesetbuffer Pablo Rodriguez
@ 2018-04-18 18:22 ` Hans Hagen
  2018-04-18 19:04   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2018-04-18 18:22 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* Re: issues with \typesetbuffer
  2018-04-18 18:22 ` Hans Hagen
@ 2018-04-18 19:04   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2018-04-18 19:04 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

end of thread, other threads:[~2018-04-18 19:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-18 16:38 issues with \typesetbuffer Pablo Rodriguez
2018-04-18 18:22 ` Hans Hagen
2018-04-18 19:04   ` Pablo Rodriguez

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