[NTG-context] issues with \typesetbuffer

Pablo Rodriguez oinos at gmx.es
Wed Apr 18 18:38:49 CEST 2018


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


More information about the ntg-context mailing list