hange the font for each element disable the default settings with
\setuphead[style=] and use \startfont (or \definedfont) to apply a
different style for the number, title etc.
begin example
\defineframed
[ChapterFrame]
[width=\textwidth,
align=flushright,
offset=0pt,
rulethic
you can see in the following example \mainlanguage change the float
label and the quotation marks but \language changes only the quotation
marks and uses the label of the main language.
begin example
\starttext
\startplacefigure[title=\quotation{English quotes}]
\midaligned{\blackrule[width
\definehead [MyChapter] [chapter]
\setuphead [MyChapter]
[ style={...}, % heading style
after={\setup{PlaceSubTitleAndIntro}},
]
\starttext
\startMyChapter[title={Foo}]
[ subtitle={Bar},
intro={Some explanation},
]
The text of the chapter
\stopMyChapter
\
ead [chapter] [style=\tf]
>
> \setuphead [chapter] [style=\bf]
So this sentence of the wiki [1] is wrong (documentation of the command
argument)?:
> Command to use for typesetting the title; overrules all other styling. First
> argument is the number, second the title text.
If I see
máš
--
On Thu, May 30, 2024 at 02:15:01PM +, Gerion Entrup wrote:
> Hi,
>
> I'm trying to adapt the format of chapters in my document and have a few
> questions regarding setuphead.
> My aim is to have the chapter (title) on a separate page with an additional
> i
document and have a few
> questions regarding setuphead.
> My aim is to have the chapter (title) on a separate page with an additional
> intro in different text sizes for title, subtitle and the intro.
> I chose to use the "command=" argument in setuphead for that.
> Howe
Hi,
I'm trying to adapt the format of chapters in my document and have a few
questions regarding setuphead.
My aim is to have the chapter (title) on a separate page with an additional
intro in different text sizes for title, subtitle and the intro.
I chose to use the "command=&qu
gt; location={middle,high,low},
> reference=fig:logo,
> title=]
> {\externalfigure[FCLogo][width=0.045\textwidth]}
> \stopplacefigure
>
> These are not part of the text and I don’t want them to appear in the list.
>
> The caption for the logo doesn’t appear in
,
title=]
{\externalfigure[FCLogo][width=0.045\textwidth]}
\stopplacefigure
These are not part of the text and I don’t want them to appear in the list.
If you don’t need them in the list and also no caption, I wouldn’t use
floats (\placefigure) at all, but just plain \externalfigure.
Hraban
ome of which are logos (for the publisher and two
> granting bodies) that I have placed with:
>
>\setupcaptions[number=no]
> \starttplacefigure[
> location={middle,high,low},
> reference=fig:logo,
> title=]
> {\externalfigure[FCLogo][width=0.045\textwidth]}
> \s
\def\bibinsertbiburl#1#2#3%
{\bibdoifelse{\@@pb@biburl}
{#1\expanded{\bibgotoURL{\@@pb@title}{\@@pb@biburl}}#2}{#3}}
\protect
% Book reference layout...
\setuppublicationlayout[book]{%
\insertauthors{}{. }{\insertthekey{}{. }{}}%
\ins
ed with:
\setupcaptions[number=no]
\starttplacefigure[
location={middle,high,low},
reference=fig:logo,
title=]
{\externalfigure[FCLogo][width=0.045\textwidth]}
\stopplacefigure
These are not part of the text and I don’t want them to appear in the list.
The caption for the logo doesn’t appear
...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:75:
> > in function
> <...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:66>
> > (...tail calls...)
> can you test with the attached ... (remake the format)
>
trc-lev.lua:75: attempt
> > to index a nil value (field '?')
> > stack traceback:
> > ...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:75:
> > in function
> <...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:6
ot warning about text outside of an entry that
> should be treated as a comment?
Hard to say without looking at the bib file, but % is not a comment character
in bibtex. So, if your file starts with
% @article{key,
% title = {...},
% }
you will get an error from the bib parser.
If you want to c
Charles Doherty via ntg-context schrieb am 26.05.2024 um 11:27:
Dear Wolfgang,
I have a book in preparation with running heads.
Pagenumber marking |marking Pagenumber
The chapter title page has empty headings.
The publisher would like the page number centered on the Chapter
Hi Charles,
On Sun, May 26, 2024 at 11:39 AM Charles Doherty via ntg-context
wrote:
>
> Dear Wolfgang,
>
> I have a book in preparation with running heads.
>
>
> Pagenumber marking |marking Pagenumber
>
> The chapter title page has empty headings.
>
Dear Wolfgang,
I have a book in preparation with running heads.
Pagenumber marking |marking Pagenumber
The chapter title page has empty headings.
The publisher would like the page number centered on the Chapter title page. I
manage to put it there but I don’t want it to run on
ai2472206...@yeah.net schrieb am 24.05.2024 um 14:05:
Hello, everyone.
As the title describes, I want to define a new language: Chinese Traditional.
Based on what I could find on the Internet, I made these settings.
But I couldn't get the results I wanted.
%%%start example
\usetypescrip
et a écrit :
Hello, everyone.
As the title describes, I want to define a new language: Chinese Traditional.
Based on what I could find on the Internet, I made these settings.
But I couldn't get the results I wanted.
%%%start example
\usetypescriptfile[osx]
\setupbodyfont [stfangsong]
\
Hello, everyone.
As the title describes, I want to define a new language: Chinese Traditional.
Based on what I could find on the Internet, I made these settings.
But I couldn't get the results I wanted.
%%%start example
\usetypescriptfile[osx]
\setupbodyfont [stfangsong]
\unpr
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
npath] % <=== WITHOUT \startsubsection
#2
%\startsubsection[title={Title for section #1}]
\MySubSectionCommand{1}{Title for section #1}
\input knuth \endgraf \input ward
%\stopsubsection
\stopshapetext
\setlayer
[testA]
[hoffset={\the\dimexpr\backspace\relax},
voffset={\the\dimexpr\
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
Thanks you Wolfgang.
If it's not possible to use \blank, it appears that using for example
\strut\par\strut\par is OK (but \par\par is not, )
\dorecurse{5}{
\strut\par\strut\par
\leftaligned{Title for section{\recurselevel}}
\strut\par\strut\par
\darkred\input knuth \par
\darkblue\input
\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
seems also to break the shaping)
Example : 2 pages without sectioning, and after 2 pages by uncommenting the
\startsection and \stopsection commands.
[...]
\dorecurse{5}{
\startsection[title={Title for section{\recurselevel}}]
\darkred\input knuth \par
\darkblue\input ward
\stopsection
}
The
,stretch,normal]%
\setupindenting[yes,small]%
\strut%
\reference[myref1]{MyRef1}Here is the first reference.\par
See reference \in[myref2] on \at{page}[myref2]\par
%
\dorecurse{5}{
%\startsection[title={Title for section{\recurselevel}}]
\darkred\input knuth \par
\darkblue\input ward
%\stopsection
I have come across an error that halts processing with the latest
release. The following demonstrates this:
\setuppagenumbering [location=]
\starttext
\dorecurse{36}{\dorecurse{19}{abc }}
\startplacetable[location=split,title={Table}]
\starttabulate[|p|p|]
\HL
\useregister[workbookA][03_workbook][learnedlong][WB~1:~]
\useregister[workbookB][04_workbook][learnedlong][WB~2:~]
\useregister[workbookC][05_workbook][learnedlong][WB~3:~]
\useregister[workbookD][06_workbook][learnedlong][WB~4:~]
\startchapter[title=Standards
Is there something to do to make the wiki aware of the existence of
\MPdrawingdonetrue ?
https://wiki.contextgarden.net/index.php?title=Command/MPdrawingdonetrue&action=edit&redlink=1
___
If your questi
gap before the next text.
I am using this to display a simple timeline.
Though the formatting looks perfect, very strangely when I compile it, it changes all of
the dates to say "1540" (or whatever date was used first).
Why is it showing the wrong title on the desc environment?
--Joe
d be bold, then there is a gap before the next text.
>
> I am using this to display a simple timeline.
>
> Though the formatting looks perfect, very strangely when I compile it, it
> changes all of the dates to say "1540" (or whatever date was used first).
>
> Why is it
strangely when I compile it, it
changes all of the dates to say "1540" (or whatever date was used first).
Why is it showing the wrong title on the desc environment?
--Joel
___
If your question is of interest to
denis.ma...@unibe.ch schrieb am 30.04.2024 um 14:22:
Hi,
I just jumbled upon this question on tex stackexchange :
https://tex.stackexchange.com/questions/715799/context-switching-font-for-both-title-and-subject#715804
Using the style key as suggested in the accepted answer works, but
I’ve
distance=.1in,
height=middle,
footerdistance=0pt,
footer=\lineheight,
bottomspace=.3in]
\definelayout[1][first]
\definelayout[2][rest]
\setupmarginblock
[location=left,
width=\leftmarginwidth,
align=flushright]
\usecolors[svg]
\definehead[contacts][title]
\setuphead
[
Hi,
I just jumbled upon this question on tex stackexchange :
https://tex.stackexchange.com/questions/715799/context-switching-font-for-both-title-and-subject#715804
Using the style key as suggested in the accepted answer works, but I've had a
look in to this, and I don't understa
RTL support and all of them show
the text in the same way as TeXShop.
Support for RTL in Visual Studio Code seems to be limited because the
editor doesn't use the Unicode Bidi Algorithm [1].
[1] https://wiki.archlinux.org/title/Bidirectional_text#Editors
Wol
start]
\startbuffer[testdata]
@Book{knuth1,
author = {Donald E. Knuth},
title = {TEX and METAFONT. New directions in typesetting},
year = {1979},
publisher = {Addison-Wesley},
}
@Article{someother,
author = {Some Person and Some Otherperson},
ti
[state=start]
\startbuffer[testdata]
@Book{knuth1,
author = {Donald E. Knuth},
title = {TEX and METAFONT. New directions in typesetting},
year = {1979},
publisher = {Addison-Wesley},
}
@Article{someother,
author = {Some Person and Some Otherperson},
title
odule[publ-imp-sbl]
\startbuffer [bib]
@Article{na2006,
title={Volcanoes \word{of} New Mexico},
year={2006},
journal={New Mexico Earth Matters},
publisher={New Mexico Bureau \word{of} Geology \word{and} Mineral Resources},
volume={6},
number={1},
location={Socorro, New Mexico}
}
@Book{clark19
he bibliography part doesn’t work for me at all.
>
> But notes may be placed as their location is text (and you add a real
> footnote).
>
> This works fine:
>
> \setupnote[footnote][location=text]
>
> \starttext
> \input knuth
> \footnote{Footn
Am 22.04.24 um 18:30 schrieb Duncan Hothersall:
Hi Hraban,
I can help with one - aligntitle means an unnumbered section will align
in the table of contents under the number rather than the title. So for
example if you have a TOC combining \section and \subject entries, they
would look like
Hi Hraban,
I can help with one - aligntitle means an unnumbered section will align in
the table of contents under the number rather than the title. So for
example if you have a TOC combining \section and \subject entries, they
would look like this:
1 ... A section
A subject
rather than
1 ... A
\input knuth
\footnote{Footnote}
\cite[clark1989]
\placenotes[footnote]
\startchapter[title=Bibliography]
\placelistofpublications
\stopchapter
\stoptext
I never used a bibliography in ConTeXt, so that part is left to y
here a fix?
Here is a minimum working example:
\usemodule[publ-imp-sbl]
\startbuffer [bib]
@Article{na2006,
title={Volcanoes \word{of} New Mexico},
year={2006},
journal={New Mexico Earth Matters},
publisher={New Mexico Bureau \word{of} Geology \word{and} Mineral Resources},
volume={6},
number={1}
s to take the notes into account when determining a page break
- it does so by the insert mechanism
- when floats can't be placed they also become inserts (top and bottom)
- when there are inserts in inserts th eproblem becomes more complex (so
notes inside floats)
- in traditional tex deeply b
oblem becomes more complex (so
notes inside floats)
- in traditional tex deeply burried inserts disappearm less so in lmtx
There are things that are hard to get right. This works:
\startpostponing
\startplacefigure[location=here,title={test \footnote{oeps 1}}]
\blackrule[width=1tw]
On Thu, Apr 18 2024, Peter Münster wrote:
> How could I prevent a column break after the second section title please?
Ok, found it:
\setupitemize[each][autointro]
--
Peter
___
If your question is
Hi,
How could I prevent a column break after the second section title please?
Minimal example:
\starttext
\startcolumns[n=2]
\section{title 1}
\dorecurse{22}{bla\par}
\section{title 2} % Here starts a new column.
\startitemize
\dorecurse{15}{\item bla}
\stopitemize
\stopcolumns
e exactly the short form). It is more less also
> > described here [1].
> > - Highlight publications of a certain author with an extra char (e.g.
> > '>')
> >
> > Here is a minimal example (lets assume, every occurrence of Knuth
> > should be highlighte
t; should be highlighted): ```
> \setupinteraction[state=start]
>
> \startbuffer[testdata]
> @Book{knuth1,
> author = {Donald E. Knuth},
> title = {TEX and METAFONT. New directions in typesetting},
> year = {1979},
> publisher = {Addison-Wesley},
> }
[testdata]
@Book{knuth1,
author = {Donald E. Knuth},
title = {TEX and METAFONT. New directions in typesetting},
year = {1979},
publisher = {Addison-Wesley},
}
@Article{someother,
author = {Some Person and Some Otherperson},
title = {Another title
text]
[\setups{Test}][]
[\setups{Test}][]
\setuppagenumbering[location=footer]
\starttext
\startDatum[title={secA}]%
\dorecurse{50}{aaa }
\pagebreak
\dorecurse{50}{aaa }
\stopDatum
\startDatum[title={secB}]%
\dorecurse{630}{bbb }
\stopDatum
\startDatum[title={secC}]%
\dorecurse{
for i within tt : pathpart i && endfor cycle
withshademethod "linear"
withshadedirection up
withshadecolors (red, blue) ;
\stopMPcode
}
\definehead[Myhead][section]
\setuphead[Myhead][
style=\Mystyle,
]
\startMyhead[title=sample] a sample text
withshademethod "linear"
withshadedirection up
withshadecolors (red, blue) ;
\stopMPcode
}
\definehead[Myhead][section]
\setuphead[Myhead][
style=\Mystyle,
]
\startMyhead[title=sample] a sample text \stopMyhead
\stoptext
and the code below works but does not colo
]
\definecounter [alanindex]
\setuphead
[chapter]
[insidesection={\setpagestate[alanpage]},
aftersection={\setpagestate[alanpage]}]
\setuphead
[title]
[insidesection=,
aftersection=]
\define[1]\ChapterListPage
{\pagestaterealpage{alanpage}{\number\numexpr\incrementedcounter
it helps: I currently have
\startFMTitle[reference=\Reference, title={}][itemAuthor=AuthorName,
itemTitle=ShortTitle,...]
\setuplist[FMTitle][state=start, alternative=startendfmpages,
criterium=all,]
(\Reference is defined at the in the preamble to input of the
file/component
mmand?
\definelist[LastPages][criterium=all]
\starttext
\completecontent
\page
\completelist[LastPages]
\page
\dorecurse{10}{
\startchapter[title={This is my chapter}]
This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv
\writetolist[LastPages]{3.}{\namedstructurevariable{ch
the current occasion:
https://realdougwilson.com/writing/san-serriffe
the subject title suggest that you found an open type version
Well, I found one, but it‘s not free:
https://commercialtype.com/catalog/guardian_sans
Hraban
Am 01.04.24 um 16:34 schrieb Hans Hagen via ntg-context:
On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote:
in honour of Knuth and the current occasion:
https://realdougwilson.com/writing/san-serriffe
the subject title suggest that you found an open type version
Well, I found one, but it‘s not
On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote:
in honour of Knuth and the current occasion:
https://realdougwilson.com/writing/san-serriffe
the subject title suggest that you found an open type version
Hans
indfile(filename) or ""
local blob = found ~= "" and io.loaddata(found) or ""
if blob == "" then
report("category: %s, filename: %s, not
found",category,filename)
,
before={\blank[2.2ex, fixed]},
inbetween=\endgraf,
]
\define\ToCEntry{%
\structurelistuservariable{author}\crlf
\structurelistuservariable{title}\hfill%
\at[\structurelistuservariable{reference}]–%
\at[\structurelistuservariable{authorInitials}endPage]
}
\definelistalternative[startendpages
r sample makes no use of it.
Sorry, but I don’t get it.
> \defineenumeration
> [theorem]
> [
> text=Theorem,
> title=yes,
> width=fit,
> distance=0.2em,
> alternative=serried,
> ]
> \definetextbackground[GrayBackground][
> locatio
[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
ing:
\startsetups[doc:header]
\getmarking[chapternumber] \space - \space \getmarking[chapter]
\space :: \space
\getmarking[sectionnumber] \space - \space \getmarking[section]
\stopsetups
\setupheadertexts[\setup{doc:header}]
\starttext
\dorecurse{10}{
\startchapter[title={This is my cha
As I understand, Thomas needs a layout in which the header shows something
like
1. Chapter title -- 1.1. Section title (including the numbers! *This is the
important bit!*)
There are a couple things about this:
1. In a section (part, chapter, section, etc.) you can introduce three
versions of
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 automate this with marking?
And how can I reduce the space between the number (1.) and the title
(Kapitel or Aufgabe)?
Than
g?
And how can I reduce the space between the number (1.) and the title
(Kapitel or Aufgabe)?
Thanks for your help
Thomas
Hi Thomas,
do you know how to use \setupheadertexts?
https://wiki.contextgarden.net/Command/setupheadertexts
I guess you're using the section level for "Aufgabe&qu
e" in the header on the right. How can I
automate this with marking?
And how can I reduce the space between the number (1.) and the title
(Kapitel or Aufgabe)?
Thanks for your help
Thomas
Hi Thomas,
do you know how to use \setupheadertexts?
https://wiki.contextgarden.net/Command/setuph
automate this with marking?
And how can I reduce the space between the number (1.) and the title
(Kapitel or Aufgabe)?
Thanks for your help
Thomas
___
If your question is of interest to others as well, please add a
Jeroen schrieb am 19.03.2024 um 12:59:
I have some style adjustments for the chapters. The chapter "numbers"
need to be Boek I, Boek II, etc. A vertical separator was introduced
with an inframe. The chapter title at the right side does not vertically
align properly with the chapter
{\framed[width=130mm,align=right,leftframe=on,
rulethickness=0.8pt]{#2}}%
\egroup}
\setuplabeltext[chapter=Boek~]
\setuphead[chapter][style={\bfc}, command=\HeadTitle, textstyle=bold]
...
\startchapter
[title={Algemene Beginselen},
ownnumber={I}]
Op di 19 mrt 2024 om 15:49 schreef Hraban Ramm
Hi Jeroen,
it might make sense to use
\setuphead[chapter][
conversion=R,
]
\setuplabeltext[nl][chapter={Boek }]
instead of ownnumber.
I would use one command for number and title and put both in the same
kind of frame. Probably you should use a \strut in the text or
\inframed[strut=yes
I have some style adjustments for the chapters. The chapter "numbers" need
to be Boek I, Boek II, etc. A vertical separator was introduced with an
inframe. The chapter title at the right side does not vertically align
properly with the chapter number in the frame (inside the frame is
Hans’ manuals are also often "in progress".
A visible TODO marker might help – I’m using the following in my book to
keep track of incomplete sections:
\defineregister[todos]
\define[1]\TODO{\inouter{\tt\color[red]{TODO}}\expanded{\todos{\structurevariable{title}}}\color[re
ames to include summaries.
In any case, the MWE below correctly displays the "smile" images (in
*.pdf format) and incorrectly displays the smile.svg image). On the
other hand, the \startMPpage script given by Hans only produces a white
square. The *.log is attached.
The MWE :
\start
y, but I don’t get it.
> \defineenumeration
> [theorem]
> [
> text=Theorem,
> title=yes,
> width=fit,
> distance=0.2em,
> alternative=serried,
> ]
> \definetextbackground[GrayBackground][
> location=paragraph,
> background=color,
>
[MyInMargin][inleft]
\definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
\defineenumeration
[theorem]
[
text=Theorem,
title=yes,
width=fit,
distance=0.2em,
alternative=serried,
]
\definetextbackground[GrayBackground][
location
ructuretitle}}
\reference[ref#1]{}%
%
\learnedshort{#1}
\learnedlong{\getvalue{#1}}
}
\starttext
\learned{W3}
\startchapter[title=Standards]
\placeregister[learnedlong]
\stopchapter
\stoptext
___
\reference[ref#1]{}%
%
\learnedshort{#1}
\learnedlong{\getvalue{#1}}
}
\starttext
\learned{W3}
\startchapter[title=Standards]
\placeregister[learnedlong]
\stopchapter
\stoptext
___
If your questi
ine[1]\learnedis{%
\txt{} \getvalue{#1}
\learnedshort{#1}
\learnedlong{#1}
}
\define[1]\learned{%
\textreference[textref#1]{\expanded{\currentstructuretitle}}
\reference[ref#1]{}%
%
\learnedshort{#1}
\learnedlong{\getvalue{#1}}
}
\starttext
\learned{W3}
\startchapter[
Greetings,
I set a document's title with the following code:
\expanded
{\setupmetadata
[title={Document Title}]}
I then create a derivative document with a selection of pages using
ConTeXt's select script.
context --extra=select [options] list-of-files
The metadata tit
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
apersize[MyBook][A4] %Would print MyBook-size pages on A4 paper
> \setupbodyfont[Times New Roman,12.55pt]
> \definemargindata [MyInMargin][inright]
> \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
> \defineenumeration
> [theorem]
> [
level change at level 3
around 'back1'
and they refer to the first chapter of the bodymatter and the first
chapter of the backmatter, respectively.
The example:
\setupinteraction [state=start]
\placebookmarks [chapter]
\starttext
\startfrontmatter
7;back1'
and they refer to the first chapter of the bodymatter and the first
chapter of the backmatter, respectively.
The example:
\setupinteraction [state=start]
\placebookmarks [chapter]
\starttext
\startfrontmatter
\startchapter [title=front1]
\blank[line]
\enforced\let\\\endgraf
\setups[tugboat:abstract:setup]
\startAbstracts[title={Abstract}]
\stopAbstracts
}
\stopStreszczenia
\stopDane}
\stopplacefigure
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 16:52:
On 3/6/24 15:54, Hans Hagen wrote:
[...]
\setupmetadata
[title=FooBar]
that's for those who go global
Many thanks for the new command, Hans.
I‘m afraid this new command breaks my compilation.
The error message isn’t
On 3/6/24 15:54, Hans Hagen wrote:
> [...]
>> \setupmetadata
>>[title=FooBar]
>
> that's for those who go global
Many thanks for the new command, Hans.
I‘m afraid this new command breaks my compilation.
The error message isn’t very helpful for me (see below).
I wo
On 3/6/2024 11:18 AM, Marco Patzer wrote:
On Tue, 5 Mar 2024 23:14:04 +0100
Wolfgang Schuster wrote:
Here is the official solution:
\startxmlsetups xml:meta
\setupmetadata
[author={\xmltext{#1}{/author}},
title={\xmltext{#1}{/title}}]
\stopxmlsetups
So now we have
pages on A4 paper
\setupbodyfont[Times New Roman,12.55pt]
\definemargindata [MyInMargin][inright]
\definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
\defineenumeration
[theorem]
[
text=Theorem,
title=yes,
width=fit,
distance=0.2em
Am 06.03.24 um 11:18 schrieb Marco Patzer:
On Tue, 5 Mar 2024 23:14:04 +0100
Wolfgang Schuster wrote:
Here is the official solution:
\startxmlsetups xml:meta
\setupmetadata
[author={\xmltext{#1}{/author}},
title={\xmltext{#1}{/title}}]
\stopxmlsetups
So now we have
On Tue, 5 Mar 2024 23:14:04 +0100
Wolfgang Schuster wrote:
> Here is the official solution:
>
> \startxmlsetups xml:meta
>\setupmetadata
> [author={\xmltext{#1}{/author}},
> title={\xmltext{#1}{/title}}]
> \stopxmlsetups
So now we have:
\setupintera
the is very elegant and I hope Hans
can help with a clean solution.
The first one avoids the issue until Hans provides a final fix.
Here is the official solution:
\startxmlsetups xml:meta
\setupmetadata
[author={\xmltext{#1}{/author}},
title={\xmltext{#1}{/title}}]
\stopxmlsetups
}},
title={\xmltext{#1}{/title}}]}
\stopxmlsetups
The second solution makes the assignment to the \setupinteraction
command global to ensure they are kept even the environment ends,
int old MkII days ConTeXt provided a \startglobal environment to
do this but now I have rely on the primitives
101 - 200 of 1383 matches
Mail list logo