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:l...@pontex.cz
Pontex s. r. o.      | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

Attachment: Ull-Gra.test2.pdf
Description: Adobe PDF document

Attachment: Ull-Gra.test22.log
Description: Binary data

Attachment: Ull-Gra.test22.mkiv
Description: Binary data

Attachment: Ull-Gra.test22.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to