[NTG-context] new beta - \pushbackground broken

Lukáš Procházka LPr at pontex.cz
Sun Jul 12 00:22:04 CEST 2015


Hello,

\pushbackground seems to be broken in the last beta - this doesn't compile (but it did till now):

----
\defineheadalternative
   [PartAlt]
   [renderingsetup=set:PartPage]

\startsetups[set:PartPage]
   \startmakeup[mu:PartPage]
     \white
       \headnumbercontent
       \blank[2*big]
       \headtextcontent
   \stopmakeup
\stopsetups

\definemakeup
   [mu:PartPage]
   [align=middle,
    top=\vfill\vfill,
    bottom=\vfill\vfill\vfill,
   ]

\definefont[PartText][SerifBold sa 5]

% Method 1: change the values of the predefined "default" conversion set,
% you can use name of the sectionblock as prefix (separated by a :) to set
% the values only for a certain part (e.g. the appendix) of your document

\defineconversionset[appendix:default][A,R][n]

% Method 2: Create your own conversion set and apply it to all sections
%
% \defineconversionset[bodypart:myconversion][n,n][n]
% \defineconversionset[appendix:myconversion][A,R][n]
% \setuphead[part,chapter,section][sectionconversionset=myconversion]

\setuphead
   [part]
   [placehead=yes,
    alternative=PartAlt,
    page=right,
    header=none,
    before={\pushbackground[page]
            \setupbackgrounds[page][background=color,backgroundcolor=black]},
    after={\page\popbackground},
    bodypartlabel=MyPart:body,
    appendixlabel=MyPart:appx,
    align=middle,
    numberstyle=\bfc,
    textstyle=PartText,
   ]

\setuplabeltext[en][MyPart:body=Díl ,MyPart:appx=Dodatek ]

\starttext
   \startbodymatter
     \part{My First Part}
       \input knuth
   \stopbodymatter
   \startappendices
     \part{My First Appendix}
       \input tufte
   \stopappendices
\stoptext
----

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ull-Gra.test2.pdf
Type: application/pdf
Size: 14588 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150712/afc45a5e/attachment-0002.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ull-Gra.test22.log
Type: application/octet-stream
Size: 11909 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150712/afc45a5e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ull-Gra.test22.mkiv
Type: application/octet-stream
Size: 1570 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150712/afc45a5e/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ull-Gra.test22.pdf
Type: application/pdf
Size: 14701 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150712/afc45a5e/attachment-0003.pdf>


More information about the ntg-context mailing list