Difference between revisions of "Command/setuphead"
< Command
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
<cd:parameter name="expansion"> | <cd:parameter name="expansion"> | ||
<cd:paramdoc></cd:paramdoc> | <cd:paramdoc></cd:paramdoc> | ||
− | <cd:constant type="yes"></cd:constant> | + | <cd:constant type="yes">expands the xml reference to actual content for title and bookmark (\xmlatt {xml:name::4}{title} → First section), see TUC file. To expand userdata also use \normalexpanded{\startsection[title=\xmlatt{#1}{title}]} instead of expansion=yes. \normalexpanded{} and are not in conflict, so you can use both.</cd:constant> |
− | <cd:constant default="yes" type="no"></cd:constant> | + | <cd:constant default="yes" type="no">no expansion, xml reference is used</cd:constant> |
− | <cd:constant type="xml"></cd:constant> | + | <cd:constant type="xml"> ?</cd:constant> |
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="catcodes"> | <cd:parameter name="catcodes"> | ||
Line 215: | Line 215: | ||
<cd:parameter name="aligntitle"> | <cd:parameter name="aligntitle"> | ||
<cd:paramdoc></cd:paramdoc> | <cd:paramdoc></cd:paramdoc> | ||
− | <cd:constant type="yes"></cd:constant> | + | <cd:constant type="yes">use the current local hsize; flush side float first</cd:constant> |
− | <cd:constant default="yes" type="no"></cd:constant> | + | <cd:constant default="yes" type="no">use the current global hsize</cd:constant> |
− | <cd:constant type="float"></cd:constant> | + | <cd:constant type="float">use the current local hsize; do not flush side floats</cd:constant> |
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="interlinespace"> | <cd:parameter name="interlinespace"> |
Revision as of 17:24, 30 January 2021
Contents
\setuphead
Summary
Former wiki page Command_old/setuphead is under migration to ConTeXtXML extension Command#Pre-existing_pages
Settings
\setuphead[...,...][...=...,...] | |
[...,...] | section |
frontpartlabel | name |
bodypartlabel | name |
appendixlabel | name |
backpartlabel | name |
expansion | yes no xml |
catcodes | name |
sectionresetset | name |
sectionseparatorset | name |
sectionconversionset | name |
conversion | name |
sectionstarter | command processor->command |
sectionstopper | command processor->command |
sectionset | name |
sectionsegments | number number:number number:* number:all section section:section section:* section:all current |
referenceprefix | + - text |
style | style command |
color | color |
textstyle | style command |
textcolor | color |
numberstyle | style command |
numbercolor | color |
coupling | section |
ownnumber | yes no |
beforesection | command |
aftersection | command |
insidesection | command |
incrementnumber | yes no list empty |
placehead | yes no hidden empty section |
number | yes no |
page | see \page |
marking | page reset |
header | start stop high none normal empty nomarking name |
text | start stop high none normal empty nomarking name |
footer | start stop high none normal empty nomarking name |
before | command |
after | command |
inbetween | command |
continue | yes no |
aligntitle | yes no float |
interlinespace | name |
interaction | list reference |
internalgrid | name |
grid | normal standard yes strict tolerant top bottom both broad fit first last high one low none line strut box min max middle math math:line math:halfline math:-line math:-halfline name |
align | see \setupalign |
tolerance | see \setuptolerance |
strut | yes no |
hang | line broad fit none number |
margin | dimension |
indentnext | yes no auto |
alternative | text paragraph normal margin inmargin top middle bottom reverse margintext name |
width | dimension |
numberwidth | dimension |
textwidth | dimension |
distance | dimension |
textdistance | dimension |
commandbefore | command |
commandafter | command |
command | twoarguments |
textcommand | oneargument |
deeptextcommand | oneargument |
numbercommand | oneargument |
deepnumbercommand | oneargument |
location | name |
criterium | strict positive all |
hidenumber | yes no |
Option | Explanation | ||||||
---|---|---|---|---|---|---|---|
expansion |
| ||||||
sectionsegments |
| ||||||
style |
| ||||||
number |
| ||||||
page |
| ||||||
header |
| ||||||
continue |
| ||||||
aligntitle |
|