Changes

Jump to navigation Jump to search
276 bytes added ,  14:56, 26 July 2022
m
no edit summary
</cd:parameter>
<cd:parameter name="style">
<cd:paramdoc>The style to use for the heading text. See manual [https://www.pragma-ade.com/general/manuals/ma-cb-en.pdf#page=81 Context: an excursion" section 33], Fonts and font switches, e.g. for large, bold, sans serif section headers use <code>style=\tfa\bf\ss</code>.</cd:paramdoc>
<cd:constant type="cd:style"></cd:constant>
<cd:constant type="cd:command"></cd:constant>
</cd:parameter>
<cd:parameter name="aftersection">
<cd:paramdoc>Command to run after the section finishes e.g. at a <code>\stopchapter</code> statement.</cd:paramdoc>
<cd:constant type="cd:command"></cd:constant>
</cd:parameter>
</cd:parameter>
<cd:parameter name="before">
<cd:paramdoc>Command to run before the heading is written</cd:paramdoc>
<cd:constant type="cd:command"></cd:constant>
</cd:parameter>
<cd:parameter name="after">
<cd:paramdoc>Command to run after the heading is written, e.g. <code>after={\blank[3cm]}</code></cd:paramdoc>
<cd:constant type="cd:command"></cd:constant>
</cd:parameter>
<context source="yes" text="which produces">
% next five lines just to show the effect on render examples in the wiki\setuppapersizedefinepapersize[A8sheet][A2width=24cm,landscapeheight=24cm]\setuppaperdefinepapersize[page][nxwidth=46cm, nyheight=26cm]\setuplayoutsetuppapersize[page][locationsheet]\setuppaper[nx=middle4, markingny=on4]
\setuparranging [XY]
\setupbodyfont[6pt]
%% actual example starts here% for 'mill'
\setupexternalfigures
[location=default]
[chapter:insert]
[previouspage]
[pagestate=stop,width=\paperwidth]
\setuphead
\starttext
\startchapter [title={MillCow}] [image=millcow]\dorecurse{12}{\samplefile{loremklein}}
\stopchapter
\startchapter [title={Mill}] [image=millhacker]\dorecurse{24}{\samplefile{lorem}}
\stopchapter
\startchapter [title={Mill}] [image=mill]
\dorecurse{12}{\samplefile{loremklein}}
\stopchapter
 
\stoptext
</context></cd:example></cd:examples>
93

edits

Navigation menu