[NTG-context] Re: (ConTeXt LMTX 2.11.05) how do I make it so that sections, descriptions, and itemizations have just a space between some of the text that they produce

2024-09-16 Thread Wolfgang Schuster
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 _

[NTG-context] (ConTeXt LMTX 2.11.05) how do I make it so that sections, descriptions, and itemizations have just a space between some of the text that they produce

2024-09-16 Thread Felix
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,

[NTG-context] Re: Indentation in headings

2024-09-14 Thread Wolfgang Schuster
\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

[NTG-context] Indentation in headings

2024-09-14 Thread Kirill Davidov
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

[NTG-context] Combining styles (especially bold and italic)

2024-09-03 Thread Gerion Entrup
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

[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread M U via ntg-context
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

[NTG-context] Re: chapter counter?

2024-08-26 Thread Aditya Mahajan
. > 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

[NTG-context] About a pagination

2024-07-23 Thread Fabrice Couvreur
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

[NTG-context] Re: How to create a second bibliography?

2024-07-22 Thread Joel via ntg-context
{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

[NTG-context] Re: How to create a second bibliography?

2024-07-21 Thread Aditya Mahajan
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

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Christoph Edenhauser
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

[NTG-context] Re: build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread Hans Hagen via ntg-context
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

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread Wolfgang Schuster
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

[NTG-context] Why is only the first frame protruding into the margin?

2024-05-16 Thread madiazm . eoicc
{% \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

[NTG-context] Re: compatibility between \startshapetext and \startsection ?

2024-05-15 Thread Garulfo
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

[NTG-context] what am I missing in the typescript?

2024-05-15 Thread madiazm . eoicc
\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

[NTG-context] Re: compatibility between \startshapetext and \startsection ?

2024-05-15 Thread Wolfgang Schuster
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

[NTG-context] compatibility between \startshapetext and \startsection ?

2024-05-14 Thread garulfo
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

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
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

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Henning Hraban Ramm
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"?

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
/ 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

[NTG-context] Re: how to apply metapost effects to section title?

2024-04-09 Thread Wolfgang Schuster
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

[NTG-context] how to apply metapost effects to section title?

2024-04-09 Thread seyal . zavira
\stopMPcode }

[NTG-context] Re: Use of marking

2024-03-21 Thread Thomas Meyer
[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

[NTG-context] Re: Use of marking

2024-03-21 Thread Bruce Horrocks
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

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
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

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
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

[NTG-context] Re: Use of marking

2024-03-20 Thread Thomas Meyer
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

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
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

[NTG-context] Use of marking

2024-03-20 Thread 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. Aufgabe" in the header on the right. How can I

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Hraban Ramm
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

[NTG-context] Re: How to set section title based on section content?

2024-03-09 Thread Wolfgang Schuster
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

[NTG-context] How to set section title based on section content?

2024-03-09 Thread Joel via ntg-context
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

[NTG-context] Suggestions and problems of the manuals

2024-01-17 Thread Gerion Entrup
\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\

[NTG-context] Re: Better option for a macro with lots of arguments

2023-08-23 Thread Hans Hagen via ntg-context
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

[NTG-context] Better option for a macro with lots of arguments

2023-08-22 Thread Andres Conrado Montoya
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

[NTG-context] Re: An strange error with section and page

2023-08-22 Thread Wolfgang Schuster
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

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
\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

[NTG-context] Re: Very strange error:

2023-08-14 Thread Wolfgang Schuster
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 :

[NTG-context] Re: Map XML attributes to variables, dynamically

2023-08-10 Thread Hans Hagen via ntg-context
eeded: \namedstartstopparameter{concurrent}{title} \blank \stopxmlsetups \definestartstop [concurrent] [before=\startsection[title={TITLE: \namedstartstopparameter{concurrent}{title}}], after=\stopsection]% \starttext \xmlprocessbuffer{main}{demo}{} \sto

[NTG-context] Link from a PDF to a reference of an embedded PDF

2023-07-20 Thread Gerion Entrup
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]

[NTG-context] Custom TOC with makeup and setups

2023-05-10 Thread Jethro Djan via ntg-context
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

Re: [NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
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

[NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
={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

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-31 Thread Willi Egger via ntg-context
title=Figures B] >>\placelistofBfigures >> \stopsubject >> \stoptitle >> >> \startpart[title=Part ONE] >> \startchapter[title={Chapter one in part one}] %les21 >> >> \startplaceAfigure >> [location=left, >> reference=fig:dumA, >>

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Alan Braslau via ntg-context
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

[NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
]} \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

Re: [NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Hans Hagen via ntg-context
] \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

Re: [NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Alex Leray via ntg-context
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

[NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Alex Leray via ntg-context
\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

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
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

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
,     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

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
,     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

[NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
=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

Re: [NTG-context] numbering questions

2023-01-01 Thread Henning Hraban Ramm via ntg-context
[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

Re: [NTG-context] numbering questions

2023-01-01 Thread Wolfgang Schuster via ntg-context
]   [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

[NTG-context] Achieving different \cite styles

2022-12-08 Thread Jethro Djan via ntg-context
] \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

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Hans Hagen via ntg-context
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

Re: [NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Joel via ntg-context
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

Re: [NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Gavin via ntg-context
Hi Joel, I get this error frequently when I forget to stop an environment, for example a \startsection with no \stopsection or a \startplacefigure with no \stopplacefigure. This freqeuntly doesn’t cause an error because the engine is happily packing my entire book into a margin figure. See if

Re: [NTG-context] issues with current latest

2022-10-14 Thread Alain Delmotte via ntg-context
Hi! Le 14/10/2022 à 16:24, Pablo Rodriguez via ntg-context a écrit : Dear list, I have the following sample: \setuppapersize[A7] \setupinteraction[state=start, color=darkred, contrastcolor=darkred, focus=standard] \starttext \completecontent \startsection[title

[NTG-context] issues with current latest

2022-10-14 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A7] \setupinteraction[state=start, color=darkred, contrastcolor=darkred, focus=standard] \starttext \completecontent \startsection[title={sec}, list=(before \&\ now), reference=a] \page \in[a] (after 2022.10.1

[NTG-context] Command for specifying et al limit

2022-09-24 Thread Jethro Djan via ntg-context
ering [ref] [apa] [ dataset=ref, ] \usebtxdefinitions[apa] \usebtxdataset[ref][ref.buffer] \setupbtx[ dataset=ref, etaldisplay = 1, etallimit = 1, ] \starttext \cite[author][bb:2017] says in their paper \cite[bb:2017] \startsection[title={References}, numb

[NTG-context] Line up itemize list with answer block

2022-08-23 Thread Jan Willem Flamma via ntg-context
apter[title={Chapter}] \beginquestion \startquestion \startitemize[a,packed][stopper=,right=)] \item Question 1 \item Question 2 \stopitemize \stopquestion \endquestion \beginanswer \startanswer \startitemize[a,packed][stopper=,right=)] \item Answer 1 \item Answer 2 \stopitemize \stopanswer \endan

Re: [NTG-context] numbering sections/subsections

2022-07-10 Thread Alan Bowen via ntg-context
s=section:subsection, stopper={.}] > > % found in https://wiki.contextgarden.net/Titles > > > \starttext > > > > \startsection[title=New section] > > \input knuth > > \startsubsection[title=New subsection] > > \input ward > > \stopsubsection >

Re: [NTG-context] numbering sections/subsections

2022-07-09 Thread Henning Hraban Ramm via ntg-context
][sectionsegments=section:subsection, stopper={.}] % found in https://wiki.contextgarden.net/Titles \starttext \startsection[title=New section] \input knuth \startsubsection[title=New subsection] \input ward \stopsubsection \stopsection \stoptext Hraban

[NTG-context] numbering sections/subsections

2022-07-09 Thread Alan Bowen via ntg-context
[subsection][conversion=n, sectionsegements=section:subsection, stopper={.}] \starttext \startsection[title=New section] \input knuth \startsubsection[title=New subsection] \input ward \stopsubsection \stopsection \stoptext

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-08 Thread Albert Krewinkel via ntg-context
se issues: > > 1. As far as I understand, the `\section` syntax currently produced by >pandoc should be considered mkii legacy syntax. We're likely going to >switch to the modern `\startsection`/`\stopsection` syntax instead. >Are there any concerns about retiring

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread Albert Krewinkel via ntg-context
playing around with emacs and > org-mode – I cannot say if this is a good way. > > Have you considered sectionlevel? > What is your opinion? I absolutely see the appeal of that method, and I'd like for pandoc to support it. The main question is probably whether the default should

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread Hans Hagen via ntg-context
xperts on these issues: 1. As far as I understand, the `\section` syntax currently produced by pandoc should be considered mkii legacy syntax. We're likely going to switch to the modern `\startsection`/`\stopsection` syntax instead. Are there any concerns about retiring the old sy

[NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread Albert Krewinkel via ntg-context
yntax currently produced by pandoc should be considered mkii legacy syntax. We're likely going to switch to the modern `\startsection`/`\stopsection` syntax instead. Are there any concerns about retiring the old syntax? (Side note: pandoc already produces the new syntax, but only

Re: [NTG-context] Trying to get a simple bibliography

2022-03-27 Thread Jean-Pierre Delange via ntg-context
Le 26/03/2022 à 13:25, A A via ntg-context a écrit : Hi All, I'm trying to get a simple bibliography to work with ConTeXt. Here's what I have so far: *test.tex* * * \usebtxdataset[bibliography.bib] \starttext   \startbodymatter     See \cite[proofwiki]   \stopbodymatter  

Re: [NTG-context] Please could you send me the whole example

2022-03-27 Thread A A via ntg-context
Dear Helmut, Here is a full working example: *test.tex* \usebtxdefinitions[aps] \usebtxdataset[bibliography.bib] \setupinteraction[state=start] \starttext \startbodymatter See \cite[proofwiki] \stopbodymatter \startbackmatter \startsection[title=Bibliography

Re: [NTG-context] Trying to get a simple bibliography

2022-03-26 Thread A A via ntg-context
ying to get a simple bibliography to work with ConTeXt. Here's what >> I have so far: >> >> *test.tex* >> >> \usebtxdataset[bibliography.bib] >> >> \starttext >> >> \startbodymatter >> See \cite[proofwiki] >> \stop

Re: [NTG-context] Trying to get a simple bibliography

2022-03-26 Thread A A via ntg-context
o work with ConTeXt. Here's what > I have so far: > > *test.tex* > > \usebtxdataset[bibliography.bib] > > \starttext > > \startbodymatter > See \cite[proofwiki] > \stopbodymatter > > \startbackmatter > \startsection[titl

[NTG-context] Trying to get a simple bibliography

2022-03-26 Thread A A via ntg-context
Hi All, I'm trying to get a simple bibliography to work with ConTeXt. Here's what I have so far: *test.tex* \usebtxdataset[bibliography.bib] \starttext \startbodymatter See \cite[proofwiki] \stopbodymatter \startbackmatter \startsection[title=Bibliography] \s

Re: [NTG-context] Few quick questions

2022-03-09 Thread Christoph Hintermüller via ntg-context
t fuzzy paragraphs (forget about them). To make it short it triggered a memory about a rather old thread, where Hans mentioned that the exporter is not so fond of and keen about LaTeX style \chapter, \section commands and that he advises to use \startchapter \stopchapter, \startsection \stopsection, e

Re: [NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread fv leung via ntg-context
t before \starttitle as the source is created automatically. > > > \setupheadertexts > [text] > [{\getmarking[chapter]}] > [] > [] > [{\getmarking[chapter]}] > > \setupcombinedlist[content][list={chapter}] > \starttext > \placecontent > \startchapter > [tit

[NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread juh via ntg-context
[chapter]{title headline} right before \starttitle as the source is created automatically. \setupheadertexts [text] [{\getmarking[chapter]}] [] [] [{\getmarking[chapter]}] \setupcombinedlist[content][list={chapter}] \starttext \placecontent \startchapter [title=Lorem] \startsection [title=Lorem

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Benjamin Buchmuller via ntg-context
2/2022 2:14 PM, Benjamin Buchmuller wrote: >> Thanks, Hans, for the answer, but I'm not sure if I get the point. >> While this is possible in ConTeXt: >> \startsection[title={My Title}] >> \beginMyBlock >> bla bla >> \endMyBlock >> \stopsection >> The fo

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 2:14 PM, Benjamin Buchmuller wrote: Thanks, Hans, for the answer, but I'm not sure if I get the point. While this is possible in ConTeXt: \startsection[title={My Title}] \beginMyBlock bla bla \endMyBlock \stopsection The following won't work (end of file error): \star

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Benjamin Buchmuller via ntg-context
Thanks, Hans, for the answer, but I'm not sure if I get the point. While this is possible in ConTeXt: \startsection[title={My Title}] \beginMyBlock bla bla \endMyBlock \stopsection The following won't work (end of file error): \startMyCommand[optional={Maybe}] \beginMyBlo

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 11:47 AM, Benjamin Buchmuller via ntg-context wrote: Hi list, I'm playing around with blocks and buffers again, realizing that I cannot use them inbetween a \start...\stop that I defined myself. Apparently, they work between \startsection...\stopsection and the like, so

[NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Benjamin Buchmuller via ntg-context
Hi list, I'm playing around with blocks and buffers again, realizing that I cannot use them inbetween a \start...\stop that I defined myself. Apparently, they work between \startsection...\stopsection and the like, so I was wondering how I should define or expand #2 in the MWE below to

Re: [NTG-context] \thanks inside author in section

2022-01-01 Thread Youssef Cherem via ntg-context
align=flushleft, > style=\bfb] > > \definenote[someothername] > > \setupnote >[someothername] >[rule=off] > > \setupnotation >[someothername] >[numberconversion=set 2] > > \setupnotation >[alternative=left, > hang=fi

Re: [NTG-context] \thanks inside author in section

2022-01-01 Thread Wolfgang Schuster via ntg-context
\setupnotation [alternative=left, hang=fit, indenting={yes,small}, indentnext=yes] \setupinteraction [state=start, color=, contrastcolor=] \starttext \subject{Grande lista de autores} \placecontent[alternative=c] \startsection[title={Whatever}][auth

[NTG-context] \thanks inside author in section

2022-01-01 Thread Youssef Cherem via ntg-context
larger indenting={yes,small},indentnext=yes, % please, indent everything, should be default ] \setupinteraction[state=start,color=black,contrastcolor=black] \setuphead[subject][align=flushleft,style=\bfb] \starttext \subject{Grande lista de autores} \placecontent[alternative=c] \startsection[titl

[NTG-context] \thanks inside author in section

2021-12-29 Thread Youssef Cherem via ntg-context
is larger indenting={yes,small},indentnext=yes, % please, indent everything, should be default ] \setupinteraction[state=start,color=black,contrastcolor=black] \setuphead[subject][align=flushleft,style=\bfb] \starttext \subject{Grande lista de autores} \placecontent[alternative=c]

Re: [NTG-context] Backmatter preventing section numbers from appearing

2021-11-25 Thread Hans Hagen via ntg-context
On 11/25/2021 10:50 AM, A A via ntg-context wrote: Dear All, I've noticed that the mere presence of backmatter prevents my sections from being numbered. Consider the following: /\starttext \startsection[   title={Create Serverless Applications}, ] blablabla \stopsection %\startbackm

[NTG-context] Backmatter preventing section numbers from appearing

2021-11-25 Thread A A via ntg-context
Dear All, I've noticed that the mere presence of backmatter prevents my sections from being numbered. Consider the following: *\starttext\startsection[ title={Create Serverless Applications},]blablabla\stopsection%\startbackmatter % comment out%\stopbackmatter % comment out\sto

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
kmarks and table of > > contents -- until I started using \writetolist to manually inject > > additional sections and subsections into their respective lists. The > > manually injected entries do show up (as I expected), but their > > corresponding PDF bookmarks get repeated (not

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread Musa Furber via ntg-context
ng \writetolist to manually inject > additional sections and subsections into their respective lists. The > manually injected entries do show up (as I expected), but their > corresponding PDF bookmarks get repeated (not what I expected). you can probably best use \startsec

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread Hans Hagen via ntg-context
do show up (as I expected), but their corresponding PDF bookmarks get repeated (not what I expected). you can probably best use \startsection[title={...},list={...},bookmark={...}] ... \stopsection

Re: [NTG-context] Can't replicate a simple example in the wikipage

2021-11-15 Thread Wolfgang Schuster via ntg-context
A A via ntg-context schrieb am 15.11.2021 um 17:15: Dear All, I'm trying to run one of the examples in the ConTeXt wiki page https://wiki.contextgarden.net/Titles Here's the code: * * *\setuppapersize[A5] \section[sec:old]{Old Section} This is an old-style \ConTeXt\ section. \st

[NTG-context] Can't replicate a simple example in the wikipage

2021-11-15 Thread A A via ntg-context
Dear All, I'm trying to run one of the examples in the ConTeXt wiki page https://wiki.contextgarden.net/Titles Here's the code: *\setuppapersize[A5]\section[sec:old]{Old Section}This is an old-style \ConTeXt\ section.\startsection [title={New Section} reference=sec:n

[NTG-context] Text expander

2021-10-03 Thread Luis Montgomery via ntg-context
Has anyone used a "text expander" like Espanso https://espanso.org to ease work with ConTeXt? Ex. - trigger: ":s1" replace: "\\startsection\n$|$\n\\stopsection" Best regards Luis Antelo

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Richard Mahoney via ntg-context
table or \placefigure > > to control the Table of Figure Title appearing in: > > \completelistoftables and \completelistoffigures > > > At the moment one can do this for the output of: > > \completecontent > > with something such as the following: > > \start

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Taco Hoekwater via ntg-context
ome syntax that one can use in: > > \placetable or \placefigure > > to control the Table of Figure Title appearing in: > > \completelistoftables and \completelistoffigures > > > At the moment one can do this for the output of: > > \completecontent > >

  1   2   3   4   5   6   7   8   >