\starttext
\showframe
\dorecurse{2}{\input{knuth}}
\setuppapersize[rotate] % this doesn't work because is in same page
\startplacebigfigure[title={A cow}]{\externalfigure[cow]}\stopplacebigfigure
\setuppapersize[default]
\dorecurse{2}{\input{knuth}}
\stoptext
n current LMTX and MkIV.
Hraban
\usemodule[visual]
\definecolor[fakerulecolor][c=.2,m=.1,k=.2]
\useMPlibrary[dum]
\automigrateinserts % nop in LMTX
\showframe
\setupcaptions[
headstyle={\ss\bfx},
align={flushleft,high},
hang=yes,
]
\starttext
\fakewords{10}{30}
% Footnotes, but no co
Hi Otared,
thanks! That worked.
Best,
Denis
Am 20.09.2020 um 11:23 schrieb Otared Kavian:
Hi Denis,
Does
\startstructurelevel[title={Bibliography},number=no]
\stopstructurelevel
give what you want?
Best regards: Otared K.
On 20 Sep 2020, at 10:39
tnotes, but no combination
%\startplacefigure[location=none]
%\startfloatcombination[2*1]
\startplacefigure[title={1 Image with footnote\footnote[f:1]{\input lorem }}]
\externalfigure[001][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={2 Another image with footnote\footno
Hi Denis,
Does
\startstructurelevel[title={Bibliography},number=no]
\stopstructurelevel
give what you want?
Best regards: Otared K.
> On 20 Sep 2020, at 10:39, Denis Maier wrote:
>
> Hi,
>
> I'm using \startstructurelevel so I can nest s
lfilter{#1}{/volume/command(xml:article-meta:volume)},
> doi=\xmlfilter{#1}{/article-id[@pub-id-type='doi']/command(xml:article-meta:doi)},
> elocation-id=\xmlfilter{#1}{/elocation-id/command(xml:article-meta:elocation-id)},
> title=\xmlfilter{#1}{/title-group/article-title/co
=\xmlfilter{#1}{/volume/command(xml:article-meta:volume)},
doi=\xmlfilter{#1}{/article-id[@pub-id-type='doi']/command(xml:article-meta:doi)},
elocation-id=\xmlfilter{#1}{/elocation-id/command(xml:article-meta:elocation-id)},
title=\xmlfilter{#1}{/title-group/article-title/command(xml:article-meta:title
>> \starttext
>> \input lorem
>> \startplacefigure[location=none]
>> \startfloatcombination[2*1]
>> \startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}]
>> \externalfigure[003][width=.48\textwidth]
>> \stopplacefigure
>> \startplacefigure[title={Rig
nothing in lmtx
\showframe
\starttext
\input lorem
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}]
\externalfigure[003][width=.48\textwidth]
\stopplacefigure
\startplacefigure[title={Right Image\footnote[f:4
=\stopquotation]
\starttext
%\fakewords{50}{60}
\startplacefigure[location={right,-line},title={\fakewords{7}{10}}]
\externalfigure[022][width=0.33\textwidth,height=0.75\textheight]
\stopplacefigure
\startZitat
\fakewords{30}{60}
\stopZitat
\fakewords{30}{60}
\startZitat
\fakewords{15}{20
.
\useMPlibrary[dum]
\automigrateinserts
\showframe
\starttext
\input lorem
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}]
\externalfigure[003][width=.48\textwidth]
\stopplacefigure
\startplacefigure[title={Right Image
Jairo A. del Rio schrieb am 15.09.2020 um 04:38:
Hi, list. I've adapted the following example from the mailing list. My
aim is to use endnotes for each chapter:
\mainlanguage[es]
\definehead[footnotetitle][title]
\startsetups[chapter:after]
\ifcase\rawcountervalue[footnote]\relax
\else
> Am 15.09.2020 um 04:38 schrieb Jairo A. del Rio :
>
> Hi, list. I've adapted the following example from the mailing list. My aim is
> to use endnotes for each chapter:
>
> \mainlanguage[es]
> \definehead[footnotetitle][title]
> \startsetups[chapter:after]
> \ifca
Hi, list. I've adapted the following example from the mailing list. My aim
is to use endnotes for each chapter:
\mainlanguage[es]
\definehead[footnotetitle][title]
\startsetups[chapter:after]
\ifcase\rawcountervalue[footnote]\relax
\else
\startfootnotetitle[title={Notas
or with floatcombinations without footnotes.
Please let there be an easy fix...
Hraban
\useMPlibrary[dum]
\automigrateinserts
\showframe
\starttext
\input knuth
%\startplacefigure[location=none]
%\startfloatcombination[2*1]
\startplacefigure[title={Image with footnote\footnote[f:1]{foo bar baz
the following, using an
idea Hraban had floated:
\setupsectionblock
[bodypart]
[number=no]
\define[1]\SectionTocEntry{%
#1\crlf% title
\structurelistuservariable{author}%
}
\setuplist[section][
textcommand=\SectionTocEntry,
]
I need to adjust the \setuplist[section] so these section entries
. Chapters are
already working correctly, thanks to Wolfgang's ChapterListCommand
and I am assuming I need that for the several frontmatter 'chapters'.
I was earlier using \title for foreword, preface and notes to
contributors, but have abandoned that as complicating things, and am
now using
was earlier using \title for foreword, preface and notes to
contributors, but have abandoned that as complicating things, and am now
using \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
on just one item, the Foreword, since if I get
that right, I can apply the same logic to sections. Chapters are already
working correctly, thanks to Wolfgang's ChapterListCommand and I am
assuming I need that for the several frontmatter 'chapters'.
I was earlier using \title for foreword
caption[topfigure][
> number=no,
> location=bottom,
> style={\switchtobodyfont[8bp]},
> ]
> \starttext
> \dorecurse{4}{\samplefile{knuth}}
>
> \startplacetopfigure[title={\samplefile{ward}}]
> \blackrule[width=6.5in,height=2in,color=transparentred]
> \stopplacetopfigure
anything like what I want.
But at least let me indicate what I have tried:
(1) I have defined two different 'title' items (Foreword and Preface
unnumbered) since both of these require an author name of the kind
produced by the \ChapterListCommand. Do I also need a \TitleListCommand
[topfigure][topfigures][figure]
\setupfloat[topfigure][
default={margin},
location=flushleft,
maxwidth=6.5in,
]
\setupcaption[topfigure][
number=no,
location=bottom,
style={\switchtobodyfont[8bp]},
]
\starttext
\dorecurse{4}{\samplefile{knuth}}
\startplacetopfigure[title={\samplefile{ward
jbf schrieb am 07.09.2020 um 01:31:
Yes, Wolfgang, that corrects the minor problem of including the author
name correctly, even when there is no year range. Thank you.
But since I use \title, not \chapter, for the frontmatter items, (
Foreword, Preface, A note on Contributors
Yes, Wolfgang, that corrects the minor problem of including the author
name correctly, even when there is no year range. Thank you.
But since I use \title, not \chapter, for the frontmatter items, (
Foreword, Preface, A note on Contributors), the ChapterListCommand
clearly does not apply, so
2. Use \setvariables or \setupdocument to set the document title, revision etc. 3. Use \startsectionblockenvironment to move setups from the document content into the environment file. 4. Use pagestate=start to increase the page counter with \startstandardmakeup. 5. Set search path for figur
rtmode[nl]> \setupselector[language][n=2]> \keepblocks[nltext]> \stopmode> > \starttext> > \startsection[title=\select{language}{English title}{Dutch title}]> > \beginentext> This is English text.> \endentext> \beginnltext> This is Dutch
jbf schrieb am 06.09.2020 um 02:03:
Thanks Wolfgang, while I don't pretend to fully understand the setup you
have provided (but am working on doing so!), of course it provides the
correct result for a chapter that has a title, an author, and a year.
My ever-so-complicated book (and its
Thanks Wolfgang, while I don't pretend to fully understand the setup you
have provided (but am working on doing so!), of course it provides the
correct result for a chapter that has a title, an author, and a year.
My ever-so-complicated book (and its authors!) however, throws one small
jbf schrieb am 05.09.2020 um 03:35:
Now that with Hraban's invaluable assistance I am able to include title,
subtitle, author as and when necessary in the ToC and put them on the
same line if I need to, I have two questions that I have not found a
satisfactory solution to after playing around
Now that with Hraban's invaluable assistance I am able to include title,
subtitle, author as and when necessary in the ToC and put them on the
same line if I need to, I have two questions that I have not found a
satisfactory solution to after playing around with various possibilities.
I need
\startmode[nl]
\setupselector[language][n=2]
\keepblocks[nltext]
\stopmode
\starttext
\startsection[title=\select{language}{English title}{Dutch title}]
\beginentext
This is English text.
\endentext
\beginnltext
This is Dutch text.
\endnltext
\stopsection
\stoptext
]
\keepblocks[nltext]
\stopmode
\starttext
\startsection[title=\select{language}{English title}{Dutch title}]
\beginentext
This is English text.
\endentext
\beginnltext
This is Dutch text.
\endnltext
\stopsection
\stoptext
Best wishes,
Taco
> On 4 Sep 2020, at 14:02, Jan Willem Fla
===\setupinteraction[state=start] %\enablemode[nl]\enablemode[en] \defineselector [language] [max=2,n=1]\startmode[en] \setupselector[language][n=1]\stopmode\startmode[nl] \setupselector[language][n=2]\stopmode \starttext \startsection[title=\select{language}{English title}{Dutch title}] \startbuffer[en
urelistuservariable instead.
But if all of your chapters have the author set, you don’t need that check.
> But I took your example and adjusted it for, say, a chapter which has just a
> title (no subtitle) and an author, and added, below what I already have in
> the pream
on
\rawstructurelistuservariable' that link simply tells me 'There is
currently no text in this page'. That leaves someone like me without a
lot of the long-gained knowledge that others have, quite lost :-)
But I took your example and adjusted it for, say, a chapter which has
just a title (no subtitle
the filename of the component/product to \startcomponent and not
some dummy name (or just use *), this allows you to print the filename
with \currentcomponent or \currentproduct
2. Use \setvariables or \setupdocument to set the document title,
revision etc.
3. Use \startsectionblockenvironment to move
t; ForewordAuthor's name iii
>
> Chapter One Chapter title
>
> Author's name 1
>
> Chapter Two 1820-1880
>
> Chapter title
>
> Au
Flamma The main product file==\environment env-WA \startproduct currentproduct % Document definitions\define\MyManual{Course Manual}\define\MyTitle{Title}\define\MySubtitleOne{Subtitle 1}\define\MySubtitleTwo{Subtitle 2}\define\MyRevnumber{Revision number} % Load frontmatter files\startfront
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
be able to copy and adapt to your needs.
Kind regards,
Jan Willem Flamma
*The main product file*
==
\environment env-WA
\startproduct currentproduct
% Document definitions
\define\MyManual{Course Manual}
\define\MyTitle{Title}
\define\MySubtitleOne{Subtitle 1}
\define
the header (title of the book) on the verso pages, which is
drawn from the simple statement:
\startdocument
[metadata:title={Book title}]
Shouldn't \setupheader affect both headers? Or is it possible I have
left something out of my \setupheader declaration?
A minimal example will make
but it doesn't seem
Better to use style={\switchtobodyfont[10pt,ss]} or
\switchtobodyfont[10pt]\ss...
> to affect the header (title of the book) on the verso pages, which is
> drawn from the simple statement:
>
> \startdocument
> [metadata:title={Book title}]
>
> Shouldn
Thanks Otared. That clears up that little item :-)
BTW I know how to reduce font size in the headers (chapter titles) that
appear on the recto pages, which I can do with something like
\setupheader [style={\ss\switchtobodyfont[10pt]}], but it doesn't seem
to affect the header (title
\MyManual{Course Manual}\define\MyTitle{Title}\define\MySubtitleOne{Subtitle 1}\define\MySubtitleTwo{Subtitle 2}\define\MyRevnumber{Revision number} % Load frontmatter files\startfrontmatter \component fm-frontpage \component fm-titlepage \component fm-tableofcontents\stopfrontmatter % Load
=file:LibrisADFStd-Regular.otf]
\definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
\setupbodyfont[mainface]
\starttext
\tf ffi,
\it ffi,
\bf ffi,
\bi ffi.
\ss THIS IS A TITLE IN SANS SERIF
\tt Monospaced
\stoptext
Context then tells me that:
/mkiv lua stats > loaded fonts: 6 fi
]
\setupbodyfont[mainface]
\starttext
\tf ffi,
\it ffi,
\bf ffi,
\bi ffi.
\ss THIS IS A TITLE IN SANS SERIF
\tt Monospaced
\stoptext
Context then tells me that:
/mkiv lua stats > loaded fonts: 6 files: baskervaldadfstd-bold.otf,
baskervaldadfstd-bolditalic.otf, baskervaldadfstd-italic.
,
\it ffi,
\bf ffi,
\bi ffi.
\ss THIS IS A TITLE IN SANS SERIF
\tt Monospaced
\stoptext
Context then tells me that:
/mkiv lua stats > loaded fonts: 6 files: baskervaldadfstd-bold.otf,
baskervaldadfstd-bolditalic.otf, baskervaldadfstd-italic.otf,
baskervaldadfstd.otf, librisadfstd-bolditalic.
ption[figure][state=stop,numberstopper={\convertedcounter[subfigure]}]}
>
> \def\unsetsubfigures
> {\setupcaption[figure][state=start,numberstopper=]}
>
> %usage
> \setsubfigures
>
> \startplacefigure[title=Test figure]
> \externalfigure[dummy]
> \stopplacefigur
r=]}
%usage
\setsubfigures
\startplacefigure[title=Test figure]
\externalfigure[dummy]
\stopplacefigure
\incrementnumber[subfigure]
\startplacefigure[title=Test another figure]
\externalfigure[dummy]
\stopplacefigure
\unsetsubfigures
I could not find a safe way to increment the subfigure number automatic
Hi,
If there are a few special numberings of floats, and one wants floats numbered
1.6a and 1.6b, the following seems to work:
Best regards: Otared
%%% begin ownnumber-in-floats.tex
\useMPlibrary[dum]
\starttext
\startsection[title=One]
\startplacefigure[title=Test]
\externalfigure[dummy
) – does section use a different counter name or is it
no counter at all?
\setnumber[figure][10] works (but only with integers, not some alphanumerical
stuff, sorry Duncan).
\setupnumber is a synonym of \setupcounter and exists for backwards
compatibility.
Hraban
\useMPlibrary[d
from the previous calculated number. Would that
>> be possible?
>
>
> You can set your own section numbers but the counter isn't stopped.
Thank you! I overlooked "ownnumber". It works for sections, but not for items
or floats.
\setnumber[section][10] doesn’t work, \setcounte
m[number={R}]
or
\startsection[number={3a}]
would be nice.
If I set it to an integer, ConTeXt should set the counter accordingly,
otherwise continue counting from the previous calculated number. Would that be
possible?
You can set your own section numbers but the counter isn't stopped.
\star
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=]
um 16:02:
>
> Hello,
> For the title of the chapters I use the following command.
>
> \unexpanded\def\HeadTitle#1#2%
>{\framed
> [frame=off,
>width=fit,
>align=flushleft]
>{\color[darkgray]{\tfxx\cap\bf\labeltext{chapter}}
> \bl
Fabrice Couvreur schrieb am 23.08.2020 um 16:02:
Hello,
For the title of the chapters I use the following command.
\unexpanded\def\HeadTitle#1#2%
{\framed
[frame=off,
width=fit,
align=flushleft]
{\color[darkgray]{\tfxx\cap\bf\labeltext{chapter}}
\blank#1\blank#2}
When I
Hello,
For the title of the chapters I use the following command.
\unexpanded\def\HeadTitle#1#2%
{\framed
[frame=off,
width=fit,
align=flushleft]
{\color[darkgray]{\tfxx\cap\bf\labeltext{chapter}}
\blank#1\blank#2}
When I compile my project, I have the label
Hi Julian,
Indeed you can acchieve what you want, but it is better to define a command
which takes care of the number and the title of the chapter at the same time
(as in \ myChapterCommand below).
%% begin example.tex
\definefiller[ChapterRule]
[alternative=rule,
color=gray
Have achieved a Chapter title with rules either side (see below - not an
original invention!) but I want the chapter number to be part of 'My
Chapter Title'; instead, the following MWE means it comes before the
ChapterLeftRule. I know I can do it by actually putting the number
before My
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
{\switchtobodyfont[48pt]#1}}
{#2}
\stopoverlay}
}
\starttext
\startchapter[title={This is a test},ownnumber=1234]
\input knuth.tex
\stopchapter
\stoptext
Best regards: Otared
On 18 Aug 2020, at 11:47, jbf wrote:
Thanks Otared - and whether using
uot;Mycolor", s = 0.85 ]
draw lmt_outline
[
text = "1",
kind = "fillup",
fillcolor = "Mycolor",
rulethickness = 1,
]
xsized 1cm;
\stopuseMPgraphic
\unexpanded\def\MyNumber#1{\useMPgraphic{fun}#1}
\unexpanded\def\Tit
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
{#1}
{#2}
\stopoverlay}
}
\starttext
\startchapter[title={This is a test}]
\input knuth.tex
\stopchapter
\stoptext
%% end example
Best regards: Otared
> On 18 Aug 2020, at 01:18, jbf wrote:
>
> I meant to include an example of what I me
/8/20 4:54 pm, Aditya Mahajan wrote:
On Mon, 17 Aug 2020, jbf wrote:
Am completely new to using Metafun, which I presume I would need to use
to achieve a Hansen Memoir-style Chapter heading (chapter title
overlayed on a large lightgray number). Of course, I am assuming I would
need to use Metafun
wrote:
Am completely new to using Metafun, which I presume I would need to use
to achieve a Hansen Memoir-style Chapter heading (chapter title
overlayed on a large lightgray number). Of course, I am assuming I would
need to use Metafun to create this...
So my first question is to ask if I could
On Mon, 17 Aug 2020, jbf wrote:
> Am completely new to using Metafun, which I presume I would need to use
> to achieve a Hansen Memoir-style Chapter heading (chapter title
> overlayed on a large lightgray number). Of course, I am assuming I would
> need to use Metafun to create thi
Am completely new to using Metafun, which I presume I would need to use
to achieve a Hansen Memoir-style Chapter heading (chapter title
overlayed on a large lightgray number). Of course, I am assuming I would
need to use Metafun to create this...
So my first question is to ask if I could
This is another
D paragraph.
\stopbuffer
\startxmlsetups xml:initialize
\xmlsetsetup{#1}{html}{xml:gen}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
\startxmlsetups xml:gen
\xmlfilter{#1}{/**/div/command(xml:chapter)}
\stopxmlsetups
\start
want to know how to customize it, at
least at a minimum, and 2) \showframe is enabled by default. How to
disable it? Maybe 1) can answer 2) too. Thank you very much.
There is no way to change the color of the title page from your module
itself, the only way is to change the value module (s
chapters did
increment correctly, after being interrupted by an unnumbered one.
\starttext
\startchapter[title={Chapter one}] \stopchapter
\startchapter[title={Chapter two},number=no] \stopchapter
\startchapter[title={Chapter three}] \stopchapter
\startchapter[title={Chapter four},number
am also using \title,
given that I need some unnumbered chapters interspersed among them, I
run into difficulties with headers. Numbered chapters have the correct
headers, unnumbered ones (with \title) either don't have them, or do not
have the proper chapter header (they pick up the header from
no
problems, nor should I expect any. But because I am also using \title,
given that I need some unnumbered chapters interspersed among them, I
run into difficulties with headers. Numbered chapters have the correct
headers, unnumbered ones (with \title) either don't have them, or do not
have the proper
On Thu, 13 Aug 2020, Wolfgang Schuster wrote:
> Aditya Mahajan schrieb am 13.08.2020 um 04:53:
> > On Thu, 13 Aug 2020, jbf wrote:
> >
> > > Where running heads (headers) are concerned, if I use \chapter I have no
> > > problems, nor should I expect any. B
Aditya Mahajan schrieb am 13.08.2020 um 04:53:
On Thu, 13 Aug 2020, jbf wrote:
Where running heads (headers) are concerned, if I use \chapter I have no
problems, nor should I expect any. But because I am also using \title,
given that I need some unnumbered chapters interspersed among them, I
[\setups{header}]
\startsetups header
\getmarking[chapter]
\stopsetups
and referencing it in the \chapter or \title items, was able to achieve
the desired result in every way, including that missing header on one page.
Thank you.
J
On 13/8/20 3:36 pm, Aditya Mahajan wrote:
On Thu, 13 Aug
relevant recto pages are all headed 'Introduction' as
they should be.
J
On 13/8/20 12:53 pm, Aditya Mahajan wrote:
On Thu, 13 Aug 2020, jbf wrote:
Where running heads (headers) are concerned, if I use \chapter I have no
problems, nor should I expect any. But because I am also using \title
On Thu, 13 Aug 2020, jbf wrote:
> Where running heads (headers) are concerned, if I use \chapter I have no
> problems, nor should I expect any. But because I am also using \title,
> given that I need some unnumbered chapters interspersed among them, I
> run into difficulties
, putting it simply:
Where running heads (headers) are concerned, if I use \chapter I have no
problems, nor should I expect any. But because I am also using \title,
given that I need some unnumbered chapters interspersed among them, I
run into difficulties with headers. Numbered chapters have
[3*big]}]
>
> \starttext
> \placelist[section][criterium=text]
> \blank[3*big]
> \placeregister[index][criterium=text]
> \page
> \startsection[title=Alpha] first \index{first} \stopsection
> \startsection[title=Beta] second \index{second} \stopsection
I do not recommend against the start/stop variant, but in this case I think
you can also do
\chapter[title=..., list=..., bookmark=...]
/Mikael
Den ons 12 aug. 2020 05:46jbf skrev:
> That is clear enough and works (of course!) and reminds me that I'm
> better off using the \star
as:
\setupheadertexts
[{\hfill\getmarking[chapter]\hfill}][]
[{\hfill\documentvariable{metadata:title}\hfill}][]
then everything works as it should: Chapter title as header on recto
pages and book title as header on verso pages. And as chapters change so
does the header on the recto page
That is clear enough and works (of course!) and reminds me that I'm
better off using the \starttitle...\stoptitle format than just \title as
I have been.
J
On 12/8/20 1:23 pm, Aditya Mahajan wrote:
[
title={Title of chapter},
list={What appears in TOC},
bookmark={What
On Wed, 12 Aug 2020, jbf wrote:
Still dealing with \title, but am creating a separate thread because the
question is different.
As well as using \title within frontmatter (my previous question was
about the header not appearing on final page if it is an odd/recto page)
I am also using
[index][criterium=text]
\page
\startsection[title=Alpha] first \index{first} \stopsection
\startsection[title=Beta] second \index{second} \stopsection
\startsection[title=Gamma] third \index{third} \stopsection
\startsection[title=Delta] fourth \index{fourth} \stopsection
Still dealing with \title, but am creating a separate thread because the
question is different.
As well as using \title within frontmatter (my previous question was
about the header not appearing on final page if it is an odd/recto page)
I am also using it in the main body for 'chapters
I am using \title within frontmatter for an introduction. The
\setupheadertexts for title (recto and verso pages) is:
\setupheadertexts
[{\hfill\getmarking[title]\hfill}][]
[{\hfill\documentvariable{metadata:title}\hfill}][]
Now, that setup (this time for [chapter]) works correctly
\startmakeup[toc]
>> \placecontent
>> \stopmakeup
>> %\setuppagenumber[number=1]
>> \startchapter[title={A}]\stopchapter
>> \startchapter[title={B}]\stopchapter
>> \stopfrontmatter
>> \stoptext
>>
&
> %\setuppagenumber[number=1]
> \startchapter[title={A}]\stopchapter
> \startchapter[title={B}]\stopchapter
> \stopfrontmatter
> \stoptext
>
> The first entry in the ToC has page number 0. I can fix it by
> uncommenting the commented
Consider this example:
\definemakeup[toc][align=middle]
\setuppagenumbering[alternative=doublesided]
\starttext
\startfrontmatter
\startmakeup[toc]
\placecontent
\stopmakeup
%\setuppagenumber[number=1]
\startchapter[title
]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
\starttext
\startfrontmatter
\page[even]
\startalignment[bottom,flushright]
Copyright © 2020 Author
\stopalignment
\start
\setuphead[chapter][after={}]
\completecontent
\stop
\page[odd]
\startchapter[title={Preface}]\input{knuth}\stopchapter
figures with captions included
>> in the usual numbering of figures and not one number & caption for the
>> combination.
>> How can I achieve this?
>
> Use a float combination:
>
> \startplacefigure[location=none]
>\startfloatcombination[2*1]
>\s
tion for the combination.
How can I achieve this?
Use a float combination:
\useMPlibrary[dum]
\starttext
\input ward
\startplacefigure[title={Dummy}]
\externalfigure[dummy]
\stopplacefigure
\input jojomayer
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={
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
Hello,
I have a little problem with the numbering of theorems when there is no
subsection. I would like to know :
Theorem 1.1
Theorem 1.2
Theorem 2.3
Theorem 2.4
Thank you
Fabrice
begin example
\setuplabeltext[chapter=Chapitre~]
\unexpanded\def\Title#1#2{\framed[frame=off,width=fit
t;
> \startsetups [section:end]
> \ifodd\namedheadnumber{section}
> \directsetup{section:odd}
> \else
> \directsetup{section:even}
> \fi
> \stopsetups
>
> \setuphead
> [section]
> [aftersection=\directsetup{section:end}]
>
> \starttext
&g
[section]
[aftersection=\directsetup{section:end}]
\starttext
\startsection[title=Ward]
\input ward
\stopsection
\page
\startsection[title=Knuth]
\input knuth
\stopsection
\stoptext
end example
Wolfgang
___
If you
}
\stopsection%
}
\stopsetups
\starttext
\startsection[title=Ward]
\setuppagenumbering[conversion=romannumerals]
\input ward
\stopmysection
\startsection[title=Knuth
1201 - 1300 of 7239 matches
Mail list logo