Hello,
how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt:
\setuphead[subsubsection][number=no]
\setuplist[subsubsection][distance=20mm,width=20mm]
\starttext
\placecontent
\page
\section{S}
\subsection{Ss}
\subsubsection{Sss}
\stoptext
I'm getting
{abstract}
\stopabstract
\stopsetups
\setuphead [chapter][
alternative=middle,
page=yes,
indentnext=no,
style=\tfa\setupinterlinespace,
after={\directsetup{placeauthors}\directsetup{abstract}},
footer=chapterfooter,
]
How could I fetch the xml node from here so I
\setuphead [chapter][
alternative=middle,
page=yes,
indentnext=no,
style=\tfa\setupinterlinespace,
after={\directsetup{placeauthors}\directsetup{abstract}},
footer=chapterfooter,
]
How could I fetch the xml node from here so I don't need a variable,
buffer or the like
{abstract}
\stopabstract
\stopsetups
\setuphead [chapter][
alternative=middle,
page=yes,
indentnext=no,
style=\tfa\setupinterlinespace,
after={\directsetup{placeauthors}\directsetup{abstract}},
footer=chapterfooter,
]
How could I fetch the xml node from here so I
\startfootnotetitle[title={Notas}]
\placefootnotes
\stopfootnotetitle
\fi
\stopsetups
\setupnotes[location=none]
\setupnotation[way=bychapter]
\setupfootnotedefinition[style={\switchtobodyfont[12pt]}]
\setuphead[chapter][aftersection=\setups{chapter:after
se\rawcountervalue[footnote]\relax
> \else
> \startfootnotetitle[title={Notas}]
> \placefootnotes
> \stopfootnotetitle
> \fi
> \stopsetups
>
> \setupnotes[location=none]
> \setupnotation[way=bychapter]
> \setupfootnotedefinition
}]
\placefootnotes
\stopfootnotetitle
\fi
\stopsetups
\setupnotes[location=none]
\setupnotation[way=bychapter]
\setupfootnotedefinition[style={\switchtobodyfont[12pt]}]
\setuphead[chapter][aftersection=\setups{chapter:after}]
\starttext
\startchapter[title={Chapter One}]
Here
not produce a numbered item -
however, it is producing the label 'Chapter' which I don't want for
these item. You can see below how I tried to avoid that, but it
failed. My MWE addition to what Wolfgang provided is:
\definehead [foreword] [chapter]
\setuphead [foreword]
\setuplist [foreword
\chapter, since it does not produce a numbered item -
however, it is producing the label 'Chapter' which I don't want for
these item. You can see below how I tried to avoid that, but it
failed. My MWE addition to what Wolfgang provided is:
\definehead [foreword] [chapter]
\setuphead [foreword
to avoid that, but it failed. My MWE addition
to what Wolfgang provided is:
\definehead [foreword] [chapter]
\setuphead [foreword]
\setuplist [foreword]
[label=foreword,
alternative=command,
command=\ChapterListCommand]% definition not included here. It was
given in an earlier response
addition
to what Wolfgang provided is:
\definehead [foreword] [chapter]
\setuphead [foreword]
\setuplist [foreword]
[label=foreword,
alternative=command,
command=\ChapterListCommand]% definition not included here. It was
given in an earlier response from Wolfgang
this MWE):
%--
\setuphead [subject] [incrementnumber=list]
\setuphead [title] [incrementnumber=list]
\setupcombinedlist
[content]
[list={chapter,title,section,subsection}]\switchtobodyfont[10.5pt]
\setuplist[chapter][style=normal,alternative=b, before=]
And then I
, in my opinion it would be better to define a command which takes care
of all the formatting you are wishing, and then use it in the chapter header.
Something like
\define[2]\MyChapterCommand{\switchtobodyfont[mychapterfont,12pt] {\bf\ss
#1.~#2}}
\setuphead[chapter][command=\MyChapterCommand
mmary".
> Fabrice
> [image: contents.png]
>
>
> \setuphead
> [title]
> [command=,
>numbercommand=]
>
> Wolfgang
>
>
> ___
> If your question is of interest to others as w
Fabrice Couvreur schrieb am 24.08.2020 um 15:32:
Hi Wolfgang,
Thank you for your reply. Probably my fault but now I get the number 0
on the word "Summary".
Fabrice
contents.png
\setuphead
[title]
[command=,
numbercommand=]
ank#1\blank#2}
>
> When I compile my project, I have the label "Chapitre" above the word
> "Sommaire" in the table of contents : how to delete it ?
>
>
> 1. Don't apply the command to \title
>
> \setuphead[title][command=]
>
>
> 2. Make the command
compile my project, I have the label "Chapitre" above the word
"Sommaire" in the table of contents : how to delete it ?
1. Don't apply the command to \title
\setuphead[title][command=]
2. Make the command local to bodypart of your document, this works only
when you use
]\myChapterCommand{%
\midaligned{{\filler[ChapterLeftRule]}#1.~#2{\filler[ChapterRightRule]}}
}
\setuphead[chapter]
[textstyle={\setcharactercasing[WORD]\ssa},
command=\myChapterCommand]
\starttext
\startchapter[title={My Chapter Title}]
\input knuth.tex
\stopchapter
=, but that doesn't work. Then I
tried a makeup, because I thought that would create a 'Part' page
independent of chapter numbers - but that doesn't work either:-). Am
sure it is achievable, however
\setuphead
[chapter]
[sectionsegmments=chapter]
Wolfgang
Chapter title (e.g. 1 My Chapter Title), since the proper
numbered version still appears in the TOC, but my preference would be to
include a command in the \setuphead, if possible (so long as it still
allows the numbered chapter to appear in the TOC of course). Possible?
\definefiller
[ChapterRule
ng from the
> >> last command on the page counts.
> >
> > That makes sense. I wasn't really thinking of my sections as "chapters"
> > per se.
> And I was forcing sections (each >5 pages) to start on new (odd) pages. But
> switching to chapters is fine
s
> > 6. Conversion
> > 7. Fundamental theorems on well-formed formulas and on the normal form
> > I tried to the following for the chapters:
> > \defineconversion[church][Chapter \Romannumerals.\quad]
> > \setuphead[chapter][conversion=church]
> > Whic
the normal form
I tried to the following for the chapters:
\defineconversion[church][Chapter \Romannumerals.\quad]
\setuphead[chapter][conversion=church]
Which appeared to generate the prefix correctly but it overlapped the
title.
\setuplabeltext
[en] [chapter=Chapter ]
\defineresetset
at which the chapter number
appears: below is an example in which one uses \raise and \hbox.
\setuppagenumbering[state=start,location=footer]
\setuphead[chapter]
[
% numberstyle={\switchtobodyfont[48pt]},
numbercolor=gray,
alternative=command,
command
le#1#2{\framed[frame=off,width=fit,align=flushleft]
{#1\blank#2}}
\setuphead[chapter]
[style=\bfd,
align={flushleft,broad},
command=\Title,
textcommand=\MyNumber,
numbercommand=\groupedcommand{}{\MyNumber},
number=no]
\starttex
Hello,
I'm attempting to typeset a short book using ConTeXt (current version:
2020.08.09 22:03).
EXAMPLE:
\setuplist[content][alternative=c]
\setuphead[title][alternative=middle,style=cap]
\setuphead[chapter][number=no]
\setuphead[section][sectionsegments=section]
\setuplist[section][width
]
\setuphead[chapter]
[
numberstyle={\switchtobodyfont[48pt]},
numbercolor=gray,
alternative=command,
command=\MemoirChapter,
]
\define[2]\MemoirChapter
{\framed[frame=off,width=broad,align=middle]
{\startoverlay
part, chapter, but not
section
\setupheads[sectionresetset=default]
\setuphead[section][sectionsegments=section:*]
Mostly copied from the wiki page about titles:
https://wiki.contextgarden.net/Titles
Best wishes,
Taco
_
to
\defineoverlay[number] and then add text on top \framed (but without the
frame borders). Am I at least correct about this?
You don't need metafun for something this simple. Here is a crude
implementation:
\setuphead[chapter]
[
numberstyle={\switchtobodyfont[48pt
the
frame borders). Am I at least correct about this?
You don't need metafun for something this simple. Here is a crude
implementation:
\setuphead[chapter]
[
numberstyle={\switchtobodyfont[48pt]},
numbercolor=gray,
alternative=command
rs of just where to start! I assume I would have to
> \defineoverlay[number] and then add text on top \framed (but without the
> frame borders). Am I at least correct about this?
You don't need metafun for something this simple. Here is a crude
implementation:
\setuphead[chapter]
=no,
The correct way here is to reset the marking entries
at the begin of a new chapter or title with
\setuphead
[chapter,title]
[marking=reset]
Agreed. This is a better solution. Any idea why this is not the default?
because this is all kind of tricky wrt when to reset ... chapters can
.
(this reply is in jest )
incrementnumber=no,
The correct way here is to reset the marking entries
at the begin of a new chapter or title with
\setuphead
[chapter,title]
[marking=reset]
Agreed. This is a better solution. Any idea why this is not the default?
Aditya
; \startchapter[title={This is a title}, number=no]
> > \input ward
> >\page
> >\input knuth
> > \stopchapter
> > \stoptext
>
> Don't do this, unnumbered chapter still increase the counter and
> when you add another chapter afterwards you wonder why the numb
\stoptext
Don't do this, unnumbered chapter still increase the counter and
when you add another chapter afterwards you wonder why the number
is wrong. The correct way here is to reset the marking entries
at the begin of a new chapter or title with
\setuphead
[chapter,title]
[marking=reset
no idea how to allow chapters to start at arbitrary pages when
alternative=doublesided.
\setuphead[chapter][page=yes]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki
Rightly so, and as I was producing such an MWE (stripping away a lot of
other 'clutter') I found what was causing the problem. At one stage,
trying to solve the problem, I had created a MyChapter definition and
had left a command referencing it in the following:
\setuphead
[chapter][header
es to be aligned:
>>>>
>>>> Preface
>>>> I XYZ
>>>>...
>>>> VIII XYZ
>>>>...
>>>>
>>>> I have tried to do my homework by playing with \setuphead, but I am
>>>>
(this may help others).
Just one more thing:
[...]
I'd prefer all the titles to be aligned:
Preface
I XYZ
...
VIII XYZ
...
I have tried to do my homework by playing with \setuphead, but I am
afraid I need your help on this.
Sorry, but too tired to type a sample.
How
te the wiki (this may help others).
>
>> Just one more thing:
>> [...]
>> I'd prefer all the titles to be aligned:
>>
>> Preface
>>I XYZ
>> ...
>> VIII XYZ
>> ...
>>
>> I have tried to do my homework by playing w
gt; I'd prefer all the titles to be aligned:
>
> Preface
>I XYZ
> ...
> VIII XYZ
> ...
>
> I have tried to do my homework by playing with \setuphead, but I am
> afraid I need your help on this.
Sorry, but too tired to type a sample.
How
es to be aligned:
Preface
I XYZ
...
VIII XYZ
...
I have tried to do my homework by playing with \setuphead, but I am
afraid I need your help on this.
Nicola
___
If your question is of interes
all blank pages.
Break pages with \page[yes, blank].
Not the best solution for empty pages before a new chapter.
\setuphead
[chapter]
[page={yes,header,footer,right}]
4. Suppress headers in the front matter.
This would be my educated guess:
\startsectionblockenvironment
pters is fine and takes care of some other stuff I was forcing.
You don't have to use \chapter as first level section which starts on a
new page, you can do the same with \section when you use
\setuphead
[section]
[page={yes,odd}]
One thing I *CANNOT* figure out: I'
n
>
> Mike Cooper schrieb am 11.08.2020 um 19:01:
> >
> >
> >>
> >> Ehm... Why don’t you just use \setuphead[section][page=right] ?
> >>
> >> Hraban
> >
> >
> > Haha! Well... because I never found that approach in my searching.
&
ent into
the environment file messed up my formerly clean TOC page. :-) So, I've
currently got:
\startsectionblockenvironment[frontpart]
\setupheader[state=none]
\setupfooter[state=none]
\stopsectionblockenvironment
Do I keep this and also include your code above? Or
(after TOC)! Totally stuck with that
one...
Ehm... Why don’t you just use \setuphead[section][page=right] ?
Hraban
Haha! Well... because I never found that approach in my searching.
But now, I'm not using it because it doesn't work for me. I was in the middle
of guessing I needed to set
ions, EXCEPT for the first chapter (after TOC)! Totally stuck with that
> one...
>
> Ehm... Why don’t you just use \setuphead[section][page=right] ?
>
> Hraban
Haha! Well... because I never found that approach in my searching.
But now, I'm not using it because it doesn't work
pages.
To have a different text on a chapter page you can use the \definetext
command to set them (third first argument is the name of the setup and
the second argument the location). These setups than can applied to the
chapter with the header and footer key in \setuphead.
begin example
ocument uses environments, I would like most setups to
> be in the environment, if possible. E.g., is it possible to replace
>
> \setuphead[chapter][after={}]
>
> (see below) with an environment setup that applies only to the ToC?
Either you create and set up a \chapter command fo
\setuphead[chapter][after={}]
(see below) with an environment setup that applies only to the ToC?
Nicola
%%%
\definepapersize[lsda][width=128.4mm,height=198.3mm]
\setuppapersize[lsda]
\setuplayout[
backspace=22.9mm,
width=90.3mm
r (after TOC)! Totally
> stuck with that one...
Ehm... Why don’t you just use \setuphead[section][page=right] ?
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
With \setupheadertexts and \setupfootertexts you set first the text
> which should appear on regular pages.
>
> To have a different text on a chapter page you can use the \definetext
> command to set them (third first argument is the name of the setup and
> the second argument t
t; subsection. I would like to know :
> >
> > Theorem 1.1
> > Theorem 1.2
> >
> > Theorem 2.3
> > Theorem 2.4
> >
> > Thank you
> > Fabrice
>
> Use a conversion set to set the number conversion for you sections and
> remove the conver
Dear list,
In the MWE below you don't get lines and paragraphs numbered correctly:
\setuplinenumbering[location=inner,align=right,style=\tfxx,distance=10pt,color=red]
\setupparagraphnumbering[state=start,style=bold,distance=0pt,color=darkblue]
\setuphead[title][alternative=text,style=bold
sections and
remove the conversion setting (\setuphead[...][conversion=...]) from the
setups.
\defineconversionset [fabrice] [n,n,R,n] [n]
\setupheads
[sectionconversionset=fabrice]
Wolfgang
___
If your question
,align=flushleft]{#1\blank#2}}
\startbuffer[mybuffer]
\starttheorem
\input ward
\stoptheorem
\stopbuffer
\setuphead
[chapter]
[style=\bfd,
align={flushleft,broad},
command=\Title]
\setuphead
[section]
[style=\bfc,
distance=\zeropoint,
sectionsegments=section,
conversion
.
To have a different text on a chapter page you can use the \definetext
command to set them (third first argument is the name of the setup and
the second argument the location). These setups than can applied to the
chapter with the header and footer key in \setuphead.
begin example
t;
> \startsetups [section:end]
> \ifodd\namedheadnumber{section}
> \directsetup{section:odd}
> \else
> \directsetup{section:even}
> \fi
> \stopsetups
>
> \setuphead
> [section]
> [aftersection=\directsetup{section:end}]
>
> \starttext
&g
\bold {End of odd numbered section}
\stopsetups
\startsetups [section:even]
\vfill
\bold {End of even numbered section}
\stopsetups
\startsetups [section:end]
\ifodd\namedheadnumber{section}
\directsetup{section:odd}
\else
\directsetup{section:even}
\fi
\stopsetups
\setuphead
w it crashes:
> >
> >
> \setuphead[chapter][alternative=middle,textstyle=\cap,numbercommand=\WORDS]
> >
> \setuphead[section][sectionsegments=section,align=middle,textstyle={\bf},conversion=R,numbercommand={\bf}]
> >
> \setuphead[subsection][numbercommand=,textstyle={\it},sectionseg
Jairo A. del Rio schrieb am 04.08.2020 um 06:07:
The following worked some days ago. Now it crashes:
\setuphead[chapter][alternative=middle,textstyle=\cap,numbercommand=\WORDS]
\setuphead[section][sectionsegments=section,align=middle,textstyle={\bf},conversion=R,numbercommand={\bf}]
\setuphead
-- Forwarded message -
De: Jairo A. del Rio
Date: lun., 3 de ago. de 2020 a la(s) 23:05
Subject: Re: [NTG-context] \emph not working in LMTX (bug?)
To: Wolfgang Schuster
The following worked some days ago. Now it crashes:
\setuphead[chapter][alternative=middle,textstyle=\cap
;>
>> \def\stopmysection
>>{\checkpage[willi][lines=4]}
>>
>> The before=/after= pair is used when a page break is forced by the test,
>> inbetween= is used if there is no forced break.
>>
>> (\testpage is a wrapper around \checkpage:
>> ht
graphical
>>> element. Now as usual this graphic might be moved to a new page which is of
>>> course unwanted.
>>>
>>> At this moment I have:
>>>
>>> \startsetups endsection
>>> \vfil
>>>
>>> \p
:
https://source.contextgarden.net/page-brk.mkiv?search=testpage#l564 )
No need for a new \stop command.
\setuphead
[section]
[aftersection={\checkpage[willi][lines=4]}]
Wolfgang
___
If your question is of interest
myvar}{date}\hfill\getvariable{myvar}{ref}}}
> > \define\mylist{\getvariable{myvar}{list}---{\bf
> \getvariable{myvar}{date}}}
>
> In this case you have to use \defineexpandable to create your commands
> and enable expansion for sections.
>
> \defineexpandable\mytitle{...}
>
}}}
\define\mylist{\getvariable{myvar}{list}---{\bf \getvariable{myvar}{date}}}
In this case you have to use \defineexpandable to create your commands
and enable expansion for sections.
\defineexpandable\mytitle{...}
\defineexpandable\mylist {...}
\setuphead[section][expansion=yes]
Wolfgang
for ConTeXt's community to use it as a "new" or
an "updated" french interface, I may try to produce a 40~50 pages
documentation for the basics commands (during 2020 S2):
• \starttext
• \startchapter, \startsection, \starttitle, \startsubject,
\setuphead, \completecont
Hello Peter,
playing with "grid" option within \setuplayout and \setuphead might help - see:
\setuplayout[grid=no]
\setuphead[section][grid=no]
\starttext
\startsection[title=Space is ok here]
\input tufte
\stopsection
\blank
\startcolumns[n=2]
\startsection
is ok here]
\input tufte
\stopsection
\startcolumns[n=2]
\startsection[title=Too much white-space here]
\input tufte
\stopsection
\setuphead[section][after=\vskip-2ex]
\startsection[title=Space is ok here with workaround]
\input tufte
\stopsection
\stopcolumns
\stoptext
--8<-
olumns[n=2]
\startsection[title=Too much white-space here]
\input tufte
\stopsection
\setuphead[section][after=\vskip-2ex]
\startsection[title=Space is ok here with workaround]
\input tufte
\stopsection
\stopcolumns
\stoptext
--8<---cut here---end---&
ou need the unnumbered chapters in your ToC, you must add them like
> \setupcombinedlist[content][list={chapter,title}]
>
> You can setup most options for both using \setuphead[chapter,title][...]
>
> HTH
>
> Hraban
>
> _
[list={chapter,title}]
You can setup most options for both using \setuphead[chapter,title][...]
HTH
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@n
ction title whe alternative=middle is set. How to disable
> > this behavior so one can have a section label and number next to a
> > centered section title? Thank you in advance.
>
> You're using the wrong option.
>
> \noheaderandfooterlines
>
> \starttext
>
> \st
in advance.
You're using the wrong option.
\noheaderandfooterlines
\starttext
\start
\setuphead[section][alternative=middle]
\section{\mono{alternative=middle}}
\stop
\start
\setuphead[section][align=middle]
\section{\mono{align=middle}}
\stop
\stoptext
Wolfgang
}}
\setuphead [chapter] [command=\MyChapter]
\chapter{Chapter title}
which gives me a chapter number (without the word 'Chapter') and 1cm
below it the chapter title, e.g.:
1
My chapter title
But when I transfer this to the actual tex file I am working with, I
lose the chapter number
Hi, I wonder if someone could lead me out of my current confusion.
In a test example with MWE as follows, I get exactly what I want:
\setuplabeltext [en] [chapter=~]
\define[2]\MyChapter
{\framed[frame=off,width=broad,align=middle]{#1\blank[1cm]#2}}
\setuphead [chapter] [command=\MyChapter
I have found my own answer to the question I asked earlier:
\setuppapersize[A4]
\setuplabeltext [en] [chapter=~]
\define[2]\MyChapter
{\framed[frame=off,width=broad,align=middle]{#1\blank[2cm]#2}}
\setuphead [chapter] [command=\MyChapter]
\chapter{Chapter title}
It was simply a matter
Hi, I am using
\setuppapersize[A4]
\setuplabeltext [en] [chapter=~]
\define[2]\MyChapter
{\framed[frame=off,width=broad,align=middle]{#1\\#2}}
\setuphead [chapter] [command=\MyChapter]
\chapter{Chapter title}
to successfully achieve the following result:
1
Hello,
I want a vertical space between the label and the chapter title: is this
the right way to proceed ?
Thank you.
Fabrice
\setuplabeltext[chapter=Chapitre~]
\unexpanded\def\Title#1#2{\framed[frame=off,width=fit,align=flushleft]{#1\blank#2}}
\setuphead
[chapter]
[style=\bfc,
command
\setuphead[chapter][before={\blank[4*big]}]
\starttext
\startchapter[title={No space above this chapter}]
chapter text etc
\stopchapter
\setuphead[chapter][before={\blank[4*big,force]}]
\startchapter[title={Chapter with spacing but out of line with grid}]
chapter text etc
\stopchapter
\setuphead
the \blank command.
I'm curious where the use of \mbox is documented.
Is this the right way to do it or is there a more elegant way that I
am missing?
Many thanks
James
\setuphead[chapter][before={\blank[4*big]}]
You have to add the "force" keyword to \blank because T
to do it or is there a more elegant way that I
am missing?
Many thanks
James
\setuphead[chapter][before={\blank[4*big]}]
\starttext
\startchapter[title={No space above this chapter}]
chapter text etc
\stopchapter
\setuphead[chapter][before={\mbox{}\blank[4*big]}]
\startchapter[title={Chapter
it should
be placed on the second page.
This sample shows thie problem in a simpler way:
\definelayer[whatever]
[x=3em, y=3em]
\setupbackgrounds[page][background=whatever]
\setuphead
[section]
[before={\testpage[2]\blank[2*big]}]
\starttext
\dorecurse{18}{\section{Section
Hi all,
I encountered a very strange problem.
I want to have section headlines expanding the whole textarea, but the
following copy text of the section shall be typeset in columns.
I have this setup and it works fine.
\setuphead
[section]
[
insidesection=\startcolumns,
aftersection
gt; wrote:
I am attempting to get the word 'Chapter' to appear in the Chapter
title, followed by its number, and I attempted to do it simply with:
\setupheadtext[chapter=Chapter]
\setuphead
[chapter]
[header=empty]
What I get is simply the number, e.g. 1 My first c
ter' to appear in the Chapter
> title, followed by its number, and I attempted to do it simply with:
>
> \setupheadtext[chapter=Chapter]
> \setuphead
>[chapter]
>[header=empty]
>
> What I get is simply the number, e.g. 1 My first chapter, 2 My second
> chapter etc. \
I am attempting to get the word 'Chapter' to appear in the Chapter
title, followed by its number, and I attempted to do it simply with:
\setupheadtext[chapter=Chapter]
\setuphead
[chapter]
[header=empty]
What I get is simply the number, e.g. 1 My first chapter, 2 My second
chapter etc
with this key
to the section number, this means each chapter will now have "Chapter "
as prefix for the number which changes all documents.
% \setuphead
% [section]
% [bodypartlabel=] % default: bodypartlabel=section
\starttext
\section{A section without label}
\setuplabeltext [en] [sectio
Jairo A. del Rio schrieb am 05.06.2020 um 05:28:
First:
[...]
Second:
The TeX command \S (section mark) seems to be insensitive to font size
commands. I've tried with
\setuphead[section][sectionstarter=\S]
And the sign is smaller than the surrounding letters. I thought it was a
matter
manually writing a \setuplabeltext for every language, so he
suggested that I move my question here and there we are.
Second:
The TeX command \S (section mark) seems to be insensitive to font size
commands. I've tried with
\setuphead[section][sectionstarter=\S]
And the sign is smaller than
jbf schrieb am 03.06.2020 um 01:21:
Thanks Wolfgang. Clearly that fixes the problem. I also came up with
another solution which avoids the need to define a MyChapterCommand,
by first setting up the normal chapter as:
\setuphead
[chapter]
[header=empty,alternative=middle,style=bold
Thanks Wolfgang. Clearly that fixes the problem. I also came up with
another solution which avoids the need to define a MyChapterCommand, by
first setting up the normal chapter as:
\setuphead
[chapter]
[header=empty,alternative=middle,style=bold,numbercommand=\groupedcommand{}{\blank[2cm
\MyChapterCommand#1#2%
{\vbox to 4cm\bgroup
{#1\hskip.75em #2}
\vss
\egroup}
\setuphead[chapter][header=nomarking, command=\MyChapterCommand]
\starttext
\chapter{test} \input tufte
\stoptext
and presumed that I could adjust that to something like 1cm instead of 4cm.
The problem
{#1\hskip.75em #2}
\vss
\egroup}
\setuphead[chapter][header=nomarking, command=\MyChapterCommand]
\starttext
\chapter{test} \input tufte
\stoptext
and presumed that I could adjust that to something like 1cm instead of 4cm.
The problem is that when I try to process the original
}
\setupalign[width,hz,hanging,hyphenated]% reset alignment
\stopsetups
\setuphead[chapter][
page=left,
number=no,
command=\gobbletwoarguments,
before=,
after={\directsetup{bigchapter}},
style={\ChapterFont},
]
This is the result:
https://www.dreiviertelhaus.de/editionka/lauf-los-buch
ething
> {\datasetvariable{chapter}{\ChapterCounter}{image}}
> {\startlayout[page]
> \centerbox{\externalfigure
> [\datasetvariable{chapter}{\ChapterCounter}{image}][factor=min]}
> \stoplayout}}
>
> \stopsetups
>
> \setuphead
> [chap
}}
{\startlayout[page]
\centerbox{\externalfigure
[\datasetvariable{chapter}{\ChapterCounter}{image}][factor=min]}
\stoplayout}}
\stopsetups
\setuphead
[chapter]
[page=,
beforesection=\directsetup{chapter:before},
insidesection={\setdataset[chapter][\ChapterCounter][image
]
\setupbackgrounds[page][background=color,backgroundcolor=blue,]
\page[empty,right]
\popbackground}
\stopsetups
\setuphead
[chapter]
[
page=yes,
before=\directsetup{chapter:before},
]
\setupexternalfigure[location=default]
\starttext
\startchapter
[title={foo
401 - 500 of 3491 matches
Mail list logo