Hi
Den ons 13 aug. 2025 20:13Matthias Weber skrev:
> Follow-up: The 66 complaints come from \startsection .. \stopsection pairs
> (and \startsubsection .. \stopsubsection).
> Adding just one of them increases the number of complaints by two.
>
> Instead of your
>
> \se
025, at 2:03 PM, Matthias Weber wrote:
>
> Follow-up: The 66 complaints come from \startsection .. \stopsection pairs
> (and \startsubsection .. \stopsubsection).
> Adding just one of them increases the number of complaints by two.
>
> Instead of your
>
> \setuph
Follow-up: The 66 complaints come from \startsection .. \stopsection pairs (and
\startsubsection .. \stopsubsection).
Adding just one of them increases the number of complaints by two.
Instead of your
\setupheads
[section,subsection]
[color=darkred]
\setuphead
[section]
[style=\bfb
ternative=entry][philosophie::cicero-tusc2007]}.
The test is intended to check whether bibliographic references are
displayed properly in
footnotes\footnote{\cite[alternative=entry][philosophie::Aristote2004]}.
% Bibliographie
\startbackmatter
\startchapter[title={Bibliography}]
\sta
=Example]
\startsection[title={Section}]
\placefigure
{}
{\externalfigure[hacker.jpg][
label={Look, a $e^{\pi i}+1=0$ hacker!}]
}
\stopchapter
\stoptext
the figure becomes in the HTML export
Figure 1.1
How do I turn this into an ALT text in the HTML? Or how do I have to
Hello again,
When providing an alt-text for images like so (which works for PDFs):
\setupexternalfigures[location=default]
\setupbackend[export=yes,xhtml=yes]
\setupinteraction
[state=start]
\starttext
\startchapter[title=Example]
\startsection[title={Section
,
headstyle=italic,
headcommand=\groupedcommand{}{.},
title=yes,
titlestyle=normal,
closesymbol=\mathqed]
\starttext
\startsection[title=Introduction]
\startparagraph
The Bibliography is \in{here}[sec:biblio].
\stopparagraph
\startTheorem
ttext
\startsection[title=Introduction]
\startTheorem[thm:euler]
\startformula
e^{\pi i}+1=0 \ .
\stopformula
\stopTheorem
\startProof
See (Euler1777).
\stopProof
\stopsection
\stoptext
___
If your question is of intere
ing, but I don't
> immediately see what that is (there doesn't seem to be a
> \startpart...\stoppart to allow the relatively straightforward
> customization that we get with chapters and sections). Here is the example:
>
>
>
> \setupinteraction
>
> [state=start]
>
&g
to be a
>> \startpart...\stoppart to allow the relatively straightforward
>> customization that we get with chapters and sections). Here is the example:
>>
>>
>>
>> \setupinteraction
>>
>> [state=start]
>>
>>
>>
>> \s
=bookmark]
\placebookmarks[part,chapter,section]
\starttext
\part[title=Introduction,bookmark=Introduction,number=off]
\noheaderandfooterlines
INTRODUCTION
\page
\noheaderandfooterlines
\page[odd]
\startchapter[title=First Chapter]
\noheaderandfooterlines
\inp
bookmark]
>
>
>
> \placebookmarks[part,chapter,section]
>
>
>
> \starttext
>
> \part[title=Introduction,bookmark=Introduction,number=off]
>
> \noheaderandfooterlines
>
> INTRODUCTION
>
> \page
>
> \noheaderandfooterlines
>
&g
rlines
\page[odd]
\startchapter[title=First Chapter]
\noheaderandfooterlines
\input tufte
\startsection[title=First section]
\input knuth
\stopsection
\startsection[title=Second section]
\input zapf
\stopsection
\stopch
\startchapter[title=First Chapter]
\noheaderandfooterlines
\input tufte
\startsection[title=First section]
\input knuth
\stopsection
\startsection[title=Second section]
\input zapf
\stopsection
\stopchapter
\page[odd]
\startchapter[title=Second Chap
terlines
INTRODUCTION
\page
\noheaderandfooterlines
\page[odd]
\startchapter[title=First Chapter]
\noheaderandfooterlines
\input tufte
\startsection[title=First section]
\input knuth
\stopsection
\startsection[title=Second section]
uppapersize [S3]
\setupbodyfont [sans,24pt]
\setupalign[nothyphenated]
\setuptolerance[verytolerant,stretch]
\starttext
\startsection[title={Don't be hyphenated, no overfullboxes}]
\input ward
\stopsection
\stoptext
Thanks,
Damien
PS: For those interested in Luc
hyphenated]
\setuptolerance[verytolerant,stretch]
\starttext
\startsection[title={Don't be hyphenated, no overfullboxes}]
\input ward
\stopsection
\stoptext
\setuphead[section][align={flushleft,nothyphenated,broad}]
or
\setuphead[section][align={normal,nothyphenat
\starttext
\startsection[title={Don't be hyphenated, no overfullboxes}]
\input ward
\stopsection
\stoptext
Thanks,
Damien
PS: For those interested in Luciole, my typescripts:
%\starttypescript [luciole]
% \definefontsynonym [Luciole-Regular] [file:Luciole-Regular]
% \definefonts
; %\setupbackend[export=yes]
>> \starttext
>> \startsection
>> [title={\ConTeXt\ is fun}]
>> \stopsection
>> \stoptext
>
> This is intended because you don't want the header/footer of each page to
> appear in the exported document.
>
> As had been repo
Am 02.05.2025 um 14:13 schrieb Steffen Wolfrum:
When uncommenting the first line the header disappears ( ConTeXt ver:
2025.04.28 14:29 LMTX).
Is this a bug?
Steffen
%\setupbackend[export=yes]
\starttext
\startsection
[title={\ConTeXt\ is fun}]
\stopsection
\stoptext
This is intended
When uncommenting the first line the header disappears ( ConTeXt ver:
2025.04.28 14:29 LMTX).
Is this a bug?
Steffen
%\setupbackend[export=yes]
\starttext
\startsection
[title={\ConTeXt\ is fun}]
\stopsection
\stoptext
\setupheader[width=5cm]
Wolfgang
The width option of setupheader and the limitatetext command are both
Procrustean solutions, chopping off without regard to the meaning of the
result. Explicitly setting the text via the marking option of
startsection is generally a better approach (
recated and this should
> be noted on the wiki? Or is there still an equivalent command (as opposed
> to requiring the shift to \startsection / \stopsection)?
>
> On Fri, 14 Mar 2025 at 15:09, Mohammad Hossein Bateni
> wrote:
>
>> I get an undefined command error. Does it work on
Sorry, as I said it was untested, but it certainly used to work on older
versions of ConTeXt. I guess \nomarking has been deprecated and this should
be noted on the wiki? Or is there still an equivalent command (as opposed
to requiring the shift to \startsection / \stopsection)?
On Fri, 14 Mar
provide an alternative shorter section title
within \section?
Use \startsection <https://wiki.contextgarden.net/Command/_startsection>
instead of \section. That allows you to specify different values for
title, bookmark, heading, references, and more.
\starttext
\setupbodyfont[20pt]
\
Turns out this is not really related to structureuservariables
happens here
too:
\define[2]\sectionCMD
{#1 #2}
\setuphead [section]
[
command=\sectionCMD,
]
\starttext
\startsection
[title=asdfasdf jasklödf aöslkdfj aölskdjf öaslkdjf öalskdjf
there maybe an easier way to reach that goal?
Best,
Denis
\define[2]\sectionCMD
{#1\par
\structureuservariable{something}\par
#2
}
\setuphead [section]
[
command=\sectionCMD,
]
\starttext
\startsection
[title=Hello]
[something=ajskdflö asjdfkl asjdföla asdf
in particular \startsection for example breaks the mecanism
\setuppapersize [A4]
\setupheader [state=empty, no]
\usetypescript[ibmplex]
\setupbodyfont[ibmplex, serif, 11pt]
% \setupinterlinespace[14pt] % LET DEFAULT
\setuplayout[%
backspace=10mm,
topspace=20mm,
header=0mm
[section,
subsection,
subsubsection,
subsubsubsection,
subsubsubsubsection]
[numberconversionset=mysectionnumbersforlist]
\starttext
\placecontent
\startsection [title={Section}]
\startsubsection [title={SubSection}]
\startsubsubsection [title={SubSubSection}]
\startsubsub
=transparentwhite]}[Maul]");
annotb (6, 2, 7, 3.2, "\goto{Euter}[Euter]");
annott (9.2, 9.5, 9.6, 3, "Schwanz");
annotb (3, -.5, 3.1, .9, "\goto{Huf}[Huf]");
annotb (3, -.5, 3.9, 1.1, "");
\stopMPpage
\startsection[
title={Das Maul},
referen
nott (9.2, 9.5, 9.6, 3, "Schwanz");
annotb (3, -.5, 3.1, .9, "\goto{Huf}[Huf]");
annotb (3, -.5, 3.9, 1.1, "");
\stopMPpage
\startsection[
title={Das Maul},
reference=Maul,
bookmark={Maul},
]
Lorem ipsum dolor
\stopsection
\startsection[
ti
]
[alternative=text,
style=\it]
\starttext
\startsection[title=Run-in heading]
\startparagraph
Works with no blank after \tex{startparagraph}
\stopparagraph
\stopsection
\startsection[title=Run-in heading]
\startparagraph
Fails with a blank after \tex
> style=\tfx,
> > ]
> > \setuplist[subsection][
> > aligntitle=yes,
> > style=\tfxx,
> > after={\blank[none]},
> > before={\blank[none]},
> > ]
> >
> > \starttext
> >
> > \placecontent
> >
rline
\startchapter[title=foo]
\startsection[title=foo]
\startsubsection[title=foo]
\stopsubsection
\startsubsection[title=foo]
\stopsubsection
\startsubsection[title=foo]
\stopsubsection
\stopsection
\startsection[title=foo]
\startsubsection[title=foo]
\stopsubsection
\startsubsection[title=foo]
\stopsubse
t; ]
> \setuplist[subsection][
> aligntitle=yes,
> style=\tfxx,
> after={\blank[none]},
> before={\blank[none]},
> ]
>
> \starttext
>
> \placecontent
>
> \hairline
>
> \startchapter[title=foo]
> \startsection[title=foo]
> \s
,
style=\tfxx,
after={\blank[none]},
before={\blank[none]},
]
\starttext
\placecontent
\hairline
\startchapter[title=foo]
\startsection[title=foo]
\startsubsection[title=foo]
\stopsubsection
\startsubsection[title=foo]
\stopsubsection
\startsubsection[title=foo]
\stopsubsection
Thanks Wolfgang!
I wikified your answer, adding a line in «Counters».
I also slightly changed the page layout (replacing code examples with
links to the command pages).
Damien
My MWE:
\startbuffer
\startsection[title={foo}]
\input ward
\stopsection
\startsection[title={bar
?
I tried \resetcounter [section] but that is not the good way.
I read about \headnumber and \namedheadnumber but could'nt go further.
My MWE:
\startbuffer
\startsection[title={foo}]
\input ward
\stopsection
\startsection[title={bar}]
\input knuth
\stopsection
\stopbuffer
\star
read about \headnumber and \namedheadnumber but could'nt go further.
My MWE:
\startbuffer
\startsection[title={foo}]
\input ward
\stopsection
\startsection[title={bar}]
\input knuth
\stopsection
\stopbuffer
\starttext
\dorecurse{2}{
% how can I reset chapter number?
\getb
the distance value.
begin example
\setuphead
[section]
[distance=\spaceamount]
\starttext
\startsection[title={I'm not a fan of the}]
default spacing
\stopsection
\stoptext
end example
Wolfgang
_
pitem
\stopitemgroup
\startdescription{I'm not a fan of the}
default spacing
\stopdescription
\startsection[title={I'm not a fan of the}]
default spacing
\stopsection
\stopdocument
This code shows how I am getting the default spacing between the words from
itemize, description,
\setupindenting
[yes, 2.5em, first]
\setuphead
[section]
[
align=flushleft,
beforehead={\startnarrow[left=\parindent][left]},
afterhead=\stopnarrow,
aligntitle=yes,
indentnext=yes,
]
\showframe
\startdocument
\startsection[title=Very long section title that makes you
troublesome if the title is long enough.
Example code to tinker with:
\setupindenting[yes, 2.5em, first]
\setuphead[section][
style=\bf,
align=flushleft,
distance=1em,
indentnext=yes,
]
\showframe
\startdocument
\startsection[title=Foo]
\input dijkstra
\stopsection
\startsection
a minimal example:
```
\define\somename{HX\style[italic]{print}\autoinsertnextspace}
\setuphead[section, subject][style={\bfc}]
\starttext
\startsection[title=The \somename name]
\somename is a strange written name.
\stopsection
\stoptext
```
In the normal text, HXprint is written correctly, in
ffer[buf:dict:xxx]}]
\setupsection[section][placehead=hidden,aftersection=\pagebreak]
\definelinenumbering[Poem][step=5,continue=yes]
\defineregister[Dict][pagenumber=no,indicator=no,n=2,criterium=section,before=,textcommand=\bf]
\starttext
\startsection[title=pageA]
\startlines
\startlinenumbering
.
> Could you enlighten me?
You need: \somenamedheadnumber{chapter}{current}
\starttext
\startsection[title=First]
This is: \somenamedheadnumber{section}{current}
\ifodd\somenamedheadnumber{section}{current}\relax
This is odd
\else
This is even
\fi
ckenvironment
\doifmode{*component}{\directsetup{section:chapter}}
\setuplabeltext
[fr]
[chapter=\tf Chapitre\space]
\startchapter
[title={Polynômes}]
\startsection
[title={Forme réduite et identification}]
\dorecurse{6}{\input knuth}
\stopsection
\startsection
{tag2,
author = {B Author},
title = {The second title},
year = {2024},
}
\stopbuffer
\usebtxdataset[default][dataset-1.buffer]
\usebtxdataset[credits][dataset-2.buffer]
\usebtxdefinitions[aps]
\setupbtx[dataset=default]
\definebtxrendering[credits][aps][dataset=credits]
\starttext
\starts
sebtxdataset[default][dataset-1.buffer]
\usebtxdataset[credits][dataset-2.buffer]
\usebtxdefinitions[aps]
\setupbtx[dataset=default]
\definebtxrendering[credits][aps][dataset=credits]
\starttext
\startsection[title=Test]
Here is a fancy article \cite[tag1].
Image
bsp;Martin
A comprehensive treatise
The medieval part of the church
\stopXML
\startTEX
\starttext
\startchapter[title=St.\, Martin] \stopchapter
\startsection[title=The medieval part of the church]\stopsection
\stoptext
\stopTEX
\stoptext
I think that a text editor with reasonab
ex with all the necessary
xmlsetups like e.g. something like this
\startxmlsetupsxml:chapter
\startchapter[title={\xmlflush{#1}}]\stopchapter
\stopxmlsetups
\startxmlsetupsxml:section
\startsection[title={\xmlflush{#1}}]\stopsection
\stopxmlsetups
I can now generate a pdf file with context. But
uot;)) ;
fill SavedShape withcolor red;
setbounds currentpicture to OverlayBox;
\stopuseMPgraphic
\showframe
\defineoverlay[myoverlay][\useMPgraphic{shape:2}]
\setupbackgrounds[text][text][background=myoverlay]
\startsection[title={test}]
\startshapedparagraph[mp=shape:1]%
\setupalign[veryt
ection] [command=\firstHeadings, indentnext=no]
\starttext
\startsection[title=a]
b
\stopsection
\startsection[title=a]
b
\stopsection
\startsection[title=a]
b
\stopsection
\stoptext
BTW, you inadvertely introduce the space here:
\define[2]\firstHeadings{%
\dontleav
style={\switchtobodyfont[miCorm]},
textstyle={\switchtobodyfont[20.7pt]},
command=\firstHeadings,
indentnext=no]
\startsection[title=Aspectos generales]
Esta guía contiene toda la documentación necesaria para administrar la prueba
unificada de certificación que ha diseñado la comisi
{%
\dontleavehmode \switchtobodyfont[miCorm]
\FrameTitle#1%
\dontleavehmode \startFunnyText {\switchtobodyfont[miCorm,20.7pt] #2}
\stopFunnyText
}
\setuphead [section] [color=blue, command=\firstHeadings, indentnext=no]
\starttext
\noindentation
\dontleavehmode
\startsection[title=Aspectos generales
inbetween={},
after={},
beforesection={},
aftersection={},
alternative=text,
style=\tf]
Le 15/05/2024 à 13:09, Wolfgang Schuster a écrit :
garu...@azules.eu schrieb am 14.05.2024 um 23:13:
Hi all,
\startshapetext works pretty well, but when I use \startsection
\stopsection, shapes are not
\stoptypescript
\starttypescript[miCorm]
\definetypeface [miCorm] [rm] [serif] [cormorant] [default]
\stoptypescript
\setupbodyfont[miFuente, 12pt]
\starttext
\startsection[title=Aspectos generales]
Esta guía contiene toda la documentación necesaria para administrar la {\it
prueba unificada d
garu...@azules.eu schrieb am 14.05.2024 um 23:13:
Hi all,
\startshapetext works pretty well, but when I use \startsection \stopsection,
shapes are not respected anymore.
I use layers, to be able to place the content anywhere, but the issue remains
without layers.
Any clues ?
(\placeinitial
Hi all,
\startshapetext works pretty well, but when I use \startsection \stopsection,
shapes are not respected anymore.
I use layers, to be able to place the content anywhere, but the issue remains
without layers.
Any clues ?
(\placeinitial seems also to break the shaping)
Example : 2 pages
the change
but it's possible he forgot to delete a few of them.
When you notice no difference between both versions of a command page
you can delete all of the forgotten pages.
No!
These are the general pages in opposite to instance pages, e.g.
"startsection" and "startchapt
a few of them.
When you notice no difference between both versions of a command page
you can delete all of the forgotten pages.
No!
These are the general pages in opposite to instance pages, e.g.
"startsection" and "startchapter" are instances of "_startsection"?
/ startparagraphs
Command/ startparallel
Command/ startplacefloat
Command/ startplacepairedbox
Command/ startsection
Command/ startsectionblock
Command/ startstartstop
Command/ startstop
Command/ startstyle
Command/ starttabulate
Command/ starttextbackground
Command/ starttyping
Command/ startviewerl
or i within tt : pathpart i && endfor cycle
withshademethod "linear"
withshadedirection up
withshadecolors (red, blue) ;
\stopMPcode
\egroup
\boxyoffset\scratchboxtwo-\dp\scratchboxone
\box\scratchboxtwo
\stoptexdefinition
\starttext
\setuphead
[section]
[
de
\stopMPcode
}
[sectionnumber] \space - \space \getmarking[section]
\stopsetups
\setupheadertexts[\setup{doc:header}]
\starttext
\dorecurse{10}{
\startchapter[title={This is my chapter}]
This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv
\startsection[title={This is my section}]
This
pter}]
This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv
\startsection[title={This is my section}]
This is a section\par \dorecurse{6}{\input knuth }\input math-kontinuitet-sv
\stopsection
\stopchapter
}
\stoptext
Caveat: it needs an if...then test around the secti
a chapter\par \dorecurse{6}{\input knuth } \input
math-kontinuitet-sv
\startsection[title={This is my section}]
This is a section\par \dorecurse{6}{\input knuth }\input
math-kontinuitet-sv
\stopsection
\stopchapter
}
\stoptext
But with a caveat: the `header=high` setting in setuphead for
works!
I know \setupheadertexts, but do not know what shall I write here:
\startsection[titel=Aufgabe, marking=?]
If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same.
\setupheadertexts
[] [{\getmarking[chapter]} - {\getmarking[section]}]
[{\getmarking[chapter]} - {\get
Hi Hraban,
and thanks.
setuphead[chapter,section][numberwidth=2em] or "fit"
works!
I know \setupheadertexts, but do not know what shall I write here:
\startsection[titel=Aufgabe, marking=?]
If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same.
\setuph
Am 20.03.24 um 08:18 schrieb Thomas Meyer:
HI folks,
yesterday while reading along I learned how to suppress the chapter
numbers in sections. That was something I was looking for myself.
But how do you use marking correctly in startsection? I would like to
see "1. Kapitel - 1. Aufgab
HI folks,
yesterday while reading along I learned how to suppress the chapter
numbers in sections. That was something I was looking for myself.
But how do you use marking correctly in startsection? I would like to
see "1. Kapitel - 1. Aufgabe" in the header on the right. How can I
d]{\bf
#1}\autoinsertnextspace}
…
\startsection[title=Lists]
\TODO{Research the options of \tex{setupitemgroup}!}
\stopsection
…
\startchapter[title=Work list]
Sections that still need work.\blank
\placetodos
\stopchapter
So I get a prominent marker in the content and the title of the affected
section a
Joel via ntg-context schrieb am 09.03.2024 um 16:01:
How to set section title based on section content?
I have a document that has some structures like this:
\starttext
\startsection[title={Animals}]
\event{\input knuth }
\stopsection
\startsection[title={Books}]
\event{\input knuth
How to set section title based on section content?
I have a document that has some structures like this:
\starttext
\startsection[title={Animals}]
\event{\input knuth }
\stopsection
\startsection[title={Books}]
\event{\input knuth }
\stopsection
\stoptext
The event macro runs a bunch of
\int\nolimits
_a^b}} {Pagella}
369 {\switchtobodyfont [dejavu]\math{F_j = \int\nolimits
_a^b}} {Dejavu}
370 >> {\switchtobodyfont [cambria]\math{F_j = \int\nolimits
_a^b}} {Cambria}
371 {\switchtobodyfont[lucidaot]\math{F_j = \int\
On 8/23/2023 4:12 AM, Andres Conrado Montoya wrote:
I have been using the following macro to add a bunch of sections to the
start of chapters in a book, it works but I think is kind of weak:
%%%
\define[7]\metadatos{
\startsection[title={Resumen}] #1 \stopsection
I have been using the following macro to add a bunch of sections to the
start of chapters in a book, it works but I think is kind of weak:
%%%
\define[7]\metadatos{
\startsection[title={Resumen}] #1 \stopsection
\startsection[title={Palabras clave}] #2 \stopsection
\start
t][page=no]
\starttext
\startsection[title=Section]
\startsubject [title=Subject]
\stopsubject
\stopsection
\stoptext
end example
Wolfgang
___
If your question is of interest to others as well, please add a
\usetikzlibrary[calc, intersections, through, backgrounds, arrows,
shapes.geometric, fadings, decorations.pathreplacing, shadings,
shapes.geometric, patterns, fit, positioning, shapes.symbols, chains]
17 \usemodule[pgfmath]
18 %\usemodule[filter]
19
20
21 \startsection[title={Problemes de
ext
\startsection [reference=foo,title=Foo]
\startitemize
\sym{\in[foo]} xxx
\stopitemize
\stopsection
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
eeded: \namedstartstopparameter{concurrent}{title}
\blank
\stopxmlsetups
\definestartstop
[concurrent]
[before=\startsection[title={TITLE:
\namedstartstopparameter{concurrent}{title}}],
after=\stopsection]%
\starttext
\xmlprocessbuffer{main}{demo}{}
\sto
nk to them within the main context document? In [2], I
found something maybe related but it requires a tuc file.
Example:
inner.tex:
```
\starttext
\startsection[title=References, reference=sec:ref]
Some text
\placeformula[eq:foo]
\startformula
1 + 2 = 3
\stopformula
or:
\startitemize[n]
akeup
\startsection[title={Motivation}]
\TOC
\startitemize
\item something cool
\item something else cool
\stopitemize
\stopsection
\startsection[title={Main strands of theory}]
\TOC
\startitemize
\item another cool thing
\item cool too
\stopitemize
\stopsection
\stoptext
Thanks in ad
ad [section]
[color=darkred,style=\tfc,inbetween={\mono{\CheckC}}]
\setuphead [subsection] [inbetween=]
\starttext
\startsection[title=Section A]
Text of section A.
\startsubsection[title=SubSection A.A]
Text of subsection A.A
\stopsubsection
\stopsection
={insidesection: \CheckA - \CheckB},
aftersection={aftersection: \CheckA - \CheckB},
color=darkred,
style=\tfc,
]
\starttext
\startsection[title=Section A]
Text of section A.
\stopsection
\startsection[title=Section B]
Text of section B.
\stopsection
\stoptext
title=Figures B]
>>\placelistofBfigures
>> \stopsubject
>> \stoptitle
>>
>> \startpart[title=Part ONE]
>> \startchapter[title={Chapter one in part one}] %les21
>>
>> \startplaceAfigure
>> [location=left,
>> reference=fig:dumA,
>>
artplaceAfigure
> [location=left,
>reference=fig:dumA,
>title={Dummy A}]
> {\externalfigure[dummy][width=0.6\textwidth]}
> \stopplaceAfigure
>
> \startplacefigure
> [location=left,
>reference=fig:dumB,
>title={Dummy B}]
&g
]}
\stopplaceAfigure
\startplacefigure
[location=left,
reference=fig:dumB,
title={Dummy B}]
{\externalfigure[dummy][width=0.6\textwidth]}
\stopplacefigure
\startsection[title=Section A]
\startplaceAfigure
[location=left,
reference=fig:dumC
]
\starttext
\startsection[title={Section zero}]foo\stopsection
\startsection[title={Section 1}]bar\stopsection
\stoptext
###
Sorry for the noise
you can often find hints in the test suite (many small files)
Le 16/02/23 à 17:32, Alex Leray via ntg-context a écrit :
Hello,
I'd like to
Answering my own question… this fits my needs:
###
\defineconversion[romannumeralszero][0, I, II, III, IV, V, VI, VII,
VIII, IX, X, XI, XII, XIII, XIV, XV, XVI, XVII, XIII, XIX, XX, XXI]
\setuphead[section][conversion=romannumeralszero]
\starttext
\startsection[title={Section zero}]foo
\starttext
\setupheadnumber[section] [-1]
\startsection[title={Section zero}]\stopsection
\startsection[title={Section one}]\stopsection
\stoptext
###
Thank you,
Alex
___
If your question is of interest to others as we
ut=no,
conversion=Romannumerals,
style={\bf\WORDS},
align=middle,
command=\MySection,
]
\starttext
\startsection[title={First section}]
this is the text
\stopsection
\stoptext
Have you tried it with \framedtext in the place of \framed ?
--
Alexandre Leray
+32 487 947 030
Avez-vous pe
,
conversion=Romannumerals,
style={\bf\WORDS},
align=middle,
command=\MySection,
]
\starttext
\startsection[title={First section}]
this is the text
\stopsection
\stoptext
Have you tried it with \framedtext in the place of \framed ?
--
Rik
,
conversion=Romannumerals,
style={\bf\WORDS},
align=middle,
command=\MySection,
]
\starttext
\startsection[title={First section}]
this is the text
\stopsection
\stoptext
Have you tried it with \framedtext in the place of \framed ?
--
Rik
=broad,
% height=22pt,
align=middle
]{{#1.\\#2}}}
\setuphead[section][
strut=no,
conversion=Romannumerals,
style={\bf\WORDS},
align=middle,
command=\MySection,
]
\starttext
\startsection[title={First section}]
this is the te
[reverse-section] [section,chapter] []
\defineprefixset [reverse-subsection] [subsection,section,chapter] []
\setuphead
[section]
[sectionset=reverse-section]
\setuphead
[subsection]
[sectionset=reverse-subsection]
\starttext
\startchapter [title={A}]
\startsection [title={B
]
[sectionset=reverse-subsection]
\starttext
\startchapter [title={A}]
\startsection [title={B}]
\startsubsection [title={C}] \stopsubsection
\startsubsection [title={D}] \stopsubsection
\startsubsection [title={E}] \stopsubsection
\stopsection
\startsection [title={F}]
\startsubsection [title={G
]
\starttext
In \cite[wn:2017], they illustrated that it is impossible to not be them.
\cite[wn:2017] said it was worth the discovery.
\startsection[title={References}, number=no, incrementnumber=no]
\placelistofpublications[ref][method=dataset]
\stopsection
\stoptext
The first sentence is
subject[title=Subject #1]
\dorecurse{2}{\samplefile{tufte}\par}
\stopsubject
\startsection[title=Section #1.##1,reference=#1.##1]
\dorecurse{10}{\samplefile{tufte}\par}
\stopsection
}
\stopchapter
}
\stoptext
I found what it was, a % in the text preventing a \stopitemize to close a
list. Thanks! --Joel
On Sunday, October 30, 2022 at 07:56:44 PM MDT, Gavin
wrote:
Hi Joel,
I get this error frequently when I forget to stop an environment, for example a
\startsection with no \stopsection or
1 - 100 of 746 matches
Mail list logo