Re: [NTG-context] Completecontent has problems with chapter, in table

2018-12-03 Thread Wolfgang Schuster
{\structureuservariable{image}}{\midaligned{\externalfigure[\structureuservariable{image}]}\endgraf} \headsetupspacing \setbox\scratchbox\hbox{\headnumbercontent} \hangindent\dimexpr\wd\scratchbox+\headnumberdistance\relax \noindent \box\scratchbox\hskip\headnumberdistance

Re: [NTG-context] How to add missing commands?

2016-08-09 Thread Wolfgang Schuster
Henri Menke <mailto:henrime...@gmail.com> 9. August 2016 um 10:33 Dear list, I just documented \headsetupspacing in the Garden. While doing so, I noticed that \headsetupspacing is missing from the ConTeXt commands reference (setup-en.pdf). How can I add commands there? I added the c

[NTG-context] How to add missing commands?

2016-08-09 Thread Henri Menke
Dear list, I just documented \headsetupspacing in the Garden. While doing so, I noticed that \headsetupspacing is missing from the ConTeXt commands reference (setup-en.pdf). How can I add commands there? Cheers, Henri

[NTG-context] I'm an idiot

2016-08-09 Thread Henri Menke
Dear list, I just documented \headsetupspacing in the wiki. However, due to my stupidity, I created the page http://wiki.contextgarden.net/headsetupspacing rather than http://wiki.contextgarden.net/Command/headsetupspacing Instead of moving the first to the second, I copied over the content

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Wolfgang Schuster
and the \defineheadplacement has also a alternative key which is needed when you want an inline heading (e.g. \setuphead[...][alternative=text]). % No headalternative here \startsetups[partpage] \startmakeup[part] \headsetupspacing \headnumbercontent \blank[big]

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
ion "\setuphead[part][renderingsetup=partpage]" we could simplify to: % No headalternative here \startsetups[partpage] \startmakeup[part] \headsetupspacing \headnumbercontent \blank[big] \headtextcontent \stopmakeup \stopsetups \definemakeup [par

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Wolfgang Schuster
age] \startsetups[partpage] \startmakeup[part] \headsetupspacing \headnumbercontent \blank[big] \headtextcontent \stopmakeup \stopsetups \definemakeup [part] [align=middle, top=\vfill\vfill, bottom=\vfill\vfill\vfill] \setuphead [part] [placehead=yes,

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Wolfgang Schuster
[chapter] [alternative=middle] > > gives the wrong result you mentioned, suggesting that there is somewhere an « > else » which shouldn’t be there. > Maybe Hans H. with the above informations can nail it down? strc-ren.mkiv \startsetups[\??headrenderings:\v!middle] \vbox {

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Wolfgang Schuster
[chapter] [alternative=middle] > > gives the wrong result you mentioned, suggesting that there is somewhere an « > else » which shouldn’t be there. > Maybe Hans H. with the above informations can nail it down? strc-ren.mkiv \startsetups[\??headrenderings:\v!middle] \vbox {

Re: [NTG-context] section numbers in margin eventually get placed too far left

2013-09-18 Thread Hans Hagen
ayout[rightmargindistance=1cm] \setuphead[section][alternative=inmargin] \showframe \starttext \dorecurse{16}{\section{Blah} \input tufte} \stoptext \startsetups[\??headrenderings:\v!inmargin] \vbox { \headsetupspacing \begstrut \dontleavehmode \ifcondit

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Jan Pohanka
Has to be \defineheadalternative: \defineheadalternative[mysection][renderingsetup=mysection] \startsetups[mysection] \vbox\bgroup \headsetupspacing \strut\headnumbercontent\par \begstrut\headtextcontent\endstrut \egroup \stopsetups \setuplabeltext[en][section={, Section

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Wolfgang Schuster
Am 11.06.2013 um 15:53 schrieb Jan Pohanka : > >> \definesectionalternative[mysection][renderingsetup=mysection] >> >> \startsetups[mysection] >> \vbox\bgroup >> \headsetupspacing >> \strut\headnumbercontent\par >> \begstrut\headtex

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Jan Pohanka
\definesectionalternative[mysection][renderingsetup=mysection] \startsetups[mysection] \vbox\bgroup \headsetupspacing \strut\headnumbercontent\par \begstrut\headtextcontent\endstrut \egroup \stopsetups \setuplabeltext[en][section={}{Section] \setuphead[section][alternative

Re: [NTG-context] \convertnumber with macro parameter

2013-06-11 Thread Wolfgang Schuster
stion is what to do if I need to use the command key to apply more > complex formating using \framed etc. > At least I need to make \section{My section title} to print > > I. Section > My section title You can create your own section layout. \definesectionalternative[mysect

Re: [NTG-context] Centered title with numeration on the same line

2013-06-05 Thread Hans Hagen
more advanced control is needed) \defineheadalternative [mymiddle] [alternative=horizontal, renderingsetup=head:mymiddle] \startsetups[head:mymiddle] \ruledvbox { \headsetupspacing \veryraggedcenter \begstrut \ifconditional\headshown

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
] > [alternative=vertical, >renderingsetup=headrenderings:middle_nolinebreak] > > \startsetups[headrenderings:middle_nolinebreak] > \vbox { > \headsetupspacing > \veryraggedcenter > \let\\\endgraf > \let\crlf\endgraf > \ifconditional\headshownumber >

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread Marco Patzer
ion] [alternative=middle_nolinebreak] \defineheadalternative [middle_nolinebreak] [alternative=vertical, renderingsetup=headrenderings:middle_nolinebreak] \startsetups[headrenderings:middle_nolinebreak] \vbox { \headsetupspacing \veryraggedcenter \let\\\endgraf \let\crlf\endg

Re: [NTG-context] setuphead command changes?

2012-12-09 Thread reviczky
gin-text, whereas your example is fine. When you want more control about the layout of your header use \defineheadalternative to create it: \defineheadalternative [Subject] [alternative=horizontal, renderingsetup=Subject] \startsetups[Subject] \headsetupspacing \inmargin{TEST}

Re: [NTG-context] setuphead command changes?

2012-12-09 Thread Wolfgang Schuster
ubject] [alternative=horizontal, renderingsetup=Subject] \startsetups[Subject] \headsetupspacing \inmargin{TEST} \stopsetups \setuphead [subject] [alternative=Subject, distance=0pt] \showframe \starttext \startsubject

Re: [NTG-context] Underlined section

2012-11-30 Thread Marco Patzer
up:mysection] \defineframedtext [mysectionframe] [width=broad, align=middle, frame=off, bottomframe=on] \startsetups [setup:mysection] \headsetupspacing \startmysectionframe \ifconditional\headshownumber \headnumbercontent \hskip\headnumberdistance \fi \headt

Re: [NTG-context] setuphead and newline

2012-10-25 Thread Wolfgang
[mine] [renderingsetup=mine] \startsetups [mine] \headsetupspacing \startframedtext [offset=none, frame=off] \headnumbercontent\\ \headtextcontent \stopframedtext \stopsetups \setuphead [section] [alternative=mine] \starttext \startsection [title=FooBar] \stopsection \stoptext

Re: [NTG-context] setuphead and newline

2012-10-25 Thread Marco Patzer
=mine] \startsetups [mine] \headsetupspacing \startframedtext [offset=none, frame=off] \headnumbercontent\\ \headtextcontent \stopframedtext \stopsetups \setuphead [section] [alternative=mine] \starttext \startsection [title=FooBar] \sto

Re: [NTG-context] Struggling with custom title command

2012-07-26 Thread Hans Hagen
netoo, left=(, right=)] \startsetups[minetoo] \headsetupspacing \ifconditional\headshownumber \headalternativeparameter{left} \headnumbercontent \headalternativeparameter{right} \fi \quad \headtextcontent \stopsetups \setuphead[section][alternative

[NTG-context] beta

2012-07-09 Thread Hans Hagen
hese fetch content: \headnumbercontent \headtextcontent These are dimensions: \headwidth \headtextwidth \headnumberdistance \headnumberwidth This is for local spacing setup: \headsetupspacing These are conditionals \headshownumber \headisdisplay Maybe these names will change. Setups are al