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=edit=1
___
If your question is of interest to others
, 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 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
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
=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
[contacts]
[
align
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 understand why
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
Wolfgang
tartbuffer[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 = {Ano
[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
-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{clark1989,
author
iography 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{Footnote}
>
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
uth
\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 you.
I hop
?
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},
location
termining 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 burried inserts disappearm less so in lmtx
Th
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]
here
\footnote{hello
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 quest
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
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 highlighted): ```
> > \setupintera
hted): ```
> \setupinteraction[state=start]
>
> \startbuffer[testdata]
> @Book{knuth1,
> author = {Donald E. Knuth},
> title = {TEX and METAFONT. New directions in typesetting},
> year = {1979},
> publisher = {Addison-Wesley},
> }
> @Article{someo
th1,
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},
year = {1
s{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{50}{ccc }
\sto
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
...)
If 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
?
\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{chapter
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 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
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
ne = done + 1
report("category: %s, filename: %s,
merged",category,filename)
end
return format("; category: %s\n; filename:
%s\n%s\n\n",category,filename,blob)
end)
end
,
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
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={
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
ng 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)?
Thanks fo
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"?
fgabe" 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 ad
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 chap
{\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
, and 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
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 :
\starttext
\startcha
orry, 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
ence[ref#1]{}%
%
\learnedshort{#1}
\learnedlong{\getvalue{#1}}
}
\starttext
\learned{W3}
\startchapter[title=Standards]
\placeregister[learnedlong]
\stopchapter
\stoptext
___
If you
ence[ref#1]{}%
%
\learnedshort{#1}
\learnedlong{\getvalue{#1}}
}
\starttext
\learned{W3}
\startchapter[title=Standards]
\placeregister[learnedlong]
\stopchapter
\stoptext
___
If your question is o
]\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[title
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 title
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
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]
> [
nge 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
\startchapter [
d 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]
\samplefil
]
\enforced\let\\\endgraf
\setups[tugboat:abstract:setup]
\startAbstracts[title={Abstract}]
\stopAbstracts
}
\stopStreszczenia
\stopDane}
\stopplacefigure
\stopsetups
\startsetups
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 very
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 wonder
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
of 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
Dear list,
this issue has been bugging me for some time:
\startbuffer[demo]
author
title
text
\stopbuffer
\starttext
\startxmlsetups xml:initialize
\xmlsetsetup{#1}{code|meta|text}{xml:*}
\stopxmlsetups
\xmlregistersetup
yes,1em]
\setupinterlinespace
[line=2\bodyfontsize,
height=0.9,
depth=0.1]
\setupruby
[style={\switchtobodyfont[6pt]}]
\setuppagenumbering
[alternative=doublesided,
location=none]
\setuphead
[title,subject]
[align=middle]
\startsetups [header:rightpage]
\startframed
,
width=max,
height=fit,
style=italic]
\definelabel
[Définition]
[headstyle=\bf\smallcaps]
\startuseMPgraphic{MyFrame}
path b;
picture p;
%p := textext.rt("\white\Définition");
p := textext.rt("\white\framedtextparameter{Title}");
%p := textext.rt("\white\getva
{10}{
\bTR
\bTD\strut \eTD\bTD \eTD\bTD \eTD
\eTR
}
\eTABLE
"""
Hraban%D \module
%D [ file=mp-sketch.mp
%Dversion=2021.05.13
%D title=\CONTEXT\ \METAPOST\ graphics,
%D subtitle=Sketch drawing,
%D author=Aditya Mahajan,
%D date=\
\inmargin, \inouter etc.
Additional to Wolfgang’s suggestions:
If you need sidefloats that cover not only the margin but should
decrease the text width, you can move sidefloats into the margin like:
\startplacefigure[title={},location=outer]
\offset[rightoffset=-\marginwidth]{\externalfigure[cow
the content of the title is evaluated multiple times to
get the width of the description title, in cases where a counter is
incremented in such a case (very common when you have counters in a
table cell) you use the trialtypesetting mode to increment only once.
I've tried to make the examples given
/context/base/mkxl/context.mkxl
>> mtx-context | current version: 2024.01.24 22:39
>> --
>> Stripped down MWE:
>> \setuppapersize[A4] [A4]
>> \starttext
>> \completecontent[criterium=all]
>> % ToC
>> \page
>> \chapter{CHAP 1}
>>
\startbackmatter
\startchapter[title=Literature]
\placelistofpublications
\stopchapter
\stopbackmatter
\stoptext
Besides enabling numbering for the backpart you can use the appendix
block which has numbering by default.
%\defineconversionset[appendix:default][n]
\starttext
\startfrontmatter
2:39
>> --
>>
>> Stripped down MWE:
>>
>> \setuppapersize[A4] [A4]
>> \starttext
>> \completecontent[criterium=all]
>> % ToC
>> \page
>> \chapter{CHAP 1}
>> TEXT
>> \startbackmatter
>> \startchapter[title=Literature]
>&g
text.mkxl
> mtx-context | current version: 2024.01.24 22:39
> --
>
> Stripped down MWE:
>
> \setuppapersize[A4] [A4]
> \starttext
> \completecontent[criterium=all]
> % ToC
> \page
> \chapter{CHAP 1}
> TEXT
> \startbackmatter
>
/ConTeXtStandalone/tex/texmf-context/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2024.01.24 22:39
--
Stripped down MWE:
\setuppapersize[A4] [A4]
\starttext
\completecontent[criterium=all]
% ToC
\page
\chapter{CHAP 1}
TEXT
\startbackmatter
\startchapter[title=Literature
t;
Taking you literally in that you want a *file* listing the occurences and not a
typeset page listing the occurrences then you could try using the following in
your document at the places where you currently put \requirementA etc:
\writestatus{RequirementMet}{Requirement A is met in sectio
I have an extensive multi-book project. Each book has a nickname, like TB for
"Textbook", "WB 1" for the "Workbook, Vol. 1":
TB -- 01_textbook.texWB 1 -- 03_workbook.texWB 2 -- 04_workbook.texWB 3 --
05_workbook.tex
WB 4 -- 06_workbook.tex
TG -- 08_teachersguide.tex
I have to prove to a
{67533,
author={De Doncker, R.W.A.A. and Divan, D.M. and Kheraluwala, M.H.},
journal={IEEE Transactions on Industry Applications},
title={A three-phase soft-switched high-power-density DC/DC converter for
high-power applications},
year={1991},
volume={27},
number={1},
pages={63-73},
keywords={DC
and setup the index at will.
Lists have a sort option but this is no use here because you can't use
the title to have a chronological sorted list.
\starttext
\placelist[section][order=title]
\section{Hans}
\section{Peter}
\section{Anton}
\stoptext
Using the register mechanism as you suggest
a way), but for
>> special needs I’m (ab)using indexes:
>> just add something like \index[2017-04-29]{Speech, Panama City} to your
>> chapter command and setup the index at will.
>
> Lists have a sort option but this is no use here because you can't use the
> title
-04-29]{Speech, Panama City} to your
chapter command and setup the index at will.
Lists have a sort option but this is no use here because you can't use
the title to have a chronological sorted list.
\starttext
\placelist[section][order=title]
\section{Hans}
\section{Peter}
\section{Anton
context(text)
end
end
\stopluacode
% without that line there is no problem
\setupinteraction[state=start]
\defineenumeration[enu][text=Enu]
\defineenumeration[enu][text=Enu,title=yes]
\unprotect
\def\mc{\dosingleempty\do_my_command}
\def\do_my_command[#1]#2{%
\iffirstargumen
t line there is no problem
> \setupinteraction[state=start]
>
> \defineenumeration[enu][text=Enu]
>
> \unprotect
> \def\mc{\dosingleempty\do_my_command}
> \def\do_my_command[#1]#2{%
> \iffirstargument{%
> \ctxlua{userdata.my_command('#1', [==[#2]==])}%
> }\else {%
|<>|
##. SECTION TITLE paragraph
...
.
|<-->|
margin
```
I wanted paragraph to begin on the same line the section title lies.
\define[1]\SectionNumberCommand
{\margindata[inmargin]
On 1/27/24 17:40, Ali Ali wrote:
> Thanks, those seems close to what I wanted but not exactly.
>
> The ASCII graphic (better in typewriter font) may explain what I desired,
> ```
> text width
> |<>|
>
> ##.
Thanks, those seems close to what I wanted but not exactly.
The ASCII graphic (better in typewriter font) may explain what I desired,
```
text width
|<>|
##. SECTION TITLE par
Ali Ali schrieb am 27.01.2024 um 06:03:
I've able to achieve the results I wanted by trial/e using the code shown
below.
"""
\def\subsecnumwrapper#1{\llap{#1\hskip8pt}}
\setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt]
"""
I just wanted to know if there
I've able to achieve the results I wanted by trial/e using the code shown
below.
"""
\def\subsecnumwrapper#1{\llap{#1\hskip8pt}}
\setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt]
"""
I just wanted to know if there already an option defined to achieve the
se {%
\ctxlua{userdata.my_command('', [==[#2]==])}%
}\fi
}
\protect
\starttext
% all the following works
\mc{foo} \mc[bold]{foo} \mc[emph]{foo}
\startenu[title=Some]
\stopenu
% this breaks
\startenu[title=Some \mc{foo}]
\stopenu
\stoptext
```
The compilation fails with:
`
switchtobodyfont [cambria]\math{F_j = \int\nolimits
_a^b}} {Cambria}
371 {\switchtobodyfont[lucidaot]\math{F_j = \int\nolimits
_a^b}} {Lucida OT}
372 {\switchtobodyfont [xits]\math{F_j = \int\nolimits
_a^b}} {Xits}
373 \stopcombination
rph-chk.lua:97>
...-10/tex/texmf-context/tex/context/base/mkxl/grph-inc.lmt:1680: in
function <...-10/tex/texmf-context/tex/context/base/mkxl/grph-inc.lmt:1665>
(...tail calls...)
506 \startsubsection[title=Schriftwahl]
…
513
514 \startplacefigure[title={Beispi
Am 11.01.24 um 22:04 schrieb Bruce Horrocks:
1. "ConTeXt" should be the biggest word - or as an obvious title for the
poster, away from the actual drawing.
This will be only a part of the poster. I imagine a 3x3 grid with a
title above and some information (website etc.) bel
e.g. what is the distinction between the 'source' (lua tex) and the
> 'resources' (fonts icc lib) and the 'frontend' (tex xml png ...mp)
> (no lua?)
Agreed.
In no particular order:
1. "ConTeXt" should be the biggest word - or as an obvious title for the
poster, away from the
ts}
\input knuth
Some more stuff\inouter{Some multi-line text to be placed in the outer
margin to check whether it is positioned correctly.} to
read\inouter{Another multi-line text to be placed in the outer margin to
check whether it is positioned correctly.}.
\startplacefigure[title={A lengthy caption
1 - 100 of 7168 matches
Mail list logo