[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
bsection @ level 5 : 0.7.2.0.1 -> Hipótesis structures > bookmark: Estadístico de prueba structure > sectioning > subsubsection @ level 5 : 0.7.2.0.2 -> Estadístico de prueba structures > bookmark: Aplicación de la homogeneidad structure > sectioning &

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Wolfgang Schuster
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] ""

[NTG-context] Section number in the margin and the section title followed by paragraph!

2024-01-26 Thread Ali Ali
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 alread

[NTG-context] Re: Links

2024-01-09 Thread Ursula Hermann
t; > I want to use linked bibliography numbers, linked Chapter, section > subsection, linked margin numbers, in the text. > > \setupinteraction[state=start] This is essential. > > \starttext > > Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von > \m{x\dou

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Hans Hagen
ble to "yes". %% Type 2. %\setuplayout[ %grid=yes %] Here you set the grid variable to "yes " so a trailing space. \setuphead[section][grid=low] %% needed to observe the output difference \starttext \title{Alpha} \subsection{Beta} \input{knuth} \stoptext So this is ok: \setupfoo

[NTG-context] Why the way key-value argument is called affected the document's output?

2024-01-08 Thread 111414w
rve the output difference \starttext \title{Alpha} \subsection{Beta} \input{knuth} \stoptext """ Best regards, Ali ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] Re: Links

2024-01-08 Thread Henning Hraban Ramm
Am 08.01.24 um 14:10 schrieb Ursula Hermann: Dear List, Is this the right way? I want to use linked bibliography numbers, linked Chapter, section subsection, linked margin numbers, in the text. \setupinteraction[state=start] This is essential. \starttext Der Wert von \m{y = f(x)} ist

[NTG-context] Links

2024-01-08 Thread Ursula Hermann
Dear List, Is this the right way? I want to use linked bibliography numbers, linked Chapter, section subsection, linked margin numbers, in the text. \setupinteraction[state=start] \starttext Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von \m{x\doubleprime} ist gleichbedeutend mit

[NTG-context] Re: xmlpos values doubled

2023-11-21 Thread Benjamin Buchmuller
; \stopbuffer > > \startxmlsetups xml:text > \xmlsetsetup{#1}{doc|s|ss}{xml:*} > \stopxmlsetups > > \xmlregistersetup{xml:text} > > \startxmlsetups xml:doc > \chapter{\xmlpos{#1}\letterat\xmldepth{#1}: \xmlflush{#1}} > \stopxmlsetups > > \startxmlsetups xml:s > \s

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
ctions are shown in the table of content > because by default only the numbered sections are listed. > begin example 1 > \setuphead [title]  [incrementnumber=list] > \setuphead [subject]    [incrementnumber=list] > \setuphead [subsubject] [incrementnumber=list] > \definehead [conte

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
ject]    [incrementnumber=list] \setuphead [subsubject] [incrementnumber=list] \definehead [contentstitle] [title] \setupcombinedlist [content] [list={chapter,title,section,subject,subsection,subsubject}] \starttext \completecontent \title{Title} \subject{Subject} \subsubject{Subsubject}

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

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
pear. On the other >> > hand, the 12 chapters are present. >> >> \startproduct[terminale-manual] >> >> \startfrontmatter >> \starttitle[title=Table des matières] >> \placelist >> [cha

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
I don't see why the table of contents does not appear. On the other > > hand, the 12 chapters are present. > > \startproduct[terminale-manual] > > \startfrontmatter > \starttitle[title=Table des matières] > \placelist >

Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context
[chapter,section,subsection,subsubsection] [criterium=all, interaction=all, alternative=c] \stoptitle \stopfrontmatter \startbodymatter \chapter{xxx} \stopbodymatter \stopproduct shows a table of contents so

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
] \setuplist [subsection] [margin=2.75em, width=2.25em, distance=\spaceamount] \starttitle[title=Table des matières] \placelist [chapter,section,subsection,subsubsection] [criterium=all, interaction=all, alternative=c

[NTG-context] Trial to use LibreOffice Calc (+ python) to build ConTeXt customized environnements files

2023-04-10 Thread Garulfo via ntg-context
sectionsegments=1:3, page=yes, align=flushleft, ] \setuphead [subject] [ ] \setuphead [subsection] [ style=\bfa, textcolor=Couleur4, numbercolor=CouleurContraste4, sectionsegments=1:4, align=flushleft, ] \setuphead [subsubject] [ ] \setuphead [subsubsec

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Alan Braslau via ntg-context
s obsolete or never needed (so far > we could resist te kick-out-symbole-name temptation when it comes to > symbol names that we think no sane user can remember or imagine to be > there). > > When often add extra tests to the test suite (math subsection). > > Hans & Mikae

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Willi Egger via ntg-context
> it comes to symbol names that we think no sane user can remember or imagine > to be there). > > When often add extra tests to the test suite (math subsection). > > Hans & Mikael > > ps. Alan and I are still messing around with some cross referencing. That > code

[NTG-context] update / punctuation / math

2023-04-01 Thread Hans Hagen via ntg-context
or never needed (so far we could resist te kick-out-symbole-name temptation when it comes to symbol names that we think no sane user can remember or imagine to be there). When often add extra tests to the test suite (math subsection). Hans & Mikael ps. Alan and I are still messing around with

Re: [NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
To explain more simply, I've put \pagereference[sample] somewhere in a document. Intead of just printing the page number that appeared with \at{page}[sample], I'd like to print the section or subsection title of where that appeared. --Joel On Saturday, March 4, 2023 at 09:18:19 AM MST

Re: [NTG-context] How to add data from another PDF in index?

2023-02-24 Thread Alan Braslau via ntg-context
, \placelist [part,chapter,section,subsection] [criterium=product,reference=VolumeII] will include the TOC of VolumeII in product VolumeI. Once we have this figured-out, I will have to create a wiki page. Alan On Fri, 24 Feb 2023 05:43:01 + (UTC) Joel via ntg-context wrote

[NTG-context] Spacing between headings

2023-02-23 Thread Denis Maier via ntg-context
now, to achieve this? Best, Denis \setuphead [section, subsection] [number=yes] \setuphead [section] [before={\blank[2*big]}, after={\blank[big]}] \setuphead [subsection] [before={\blank[2*big]}, after={\blank[big]}] \starttext \section

Re: [NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
% >\hskip-\leftmarginwidth >\hskip-\leftmargindistance >\framed > [background=titled,frame=off,offset=0pt] > {\box0 > \hskip\leftmargindistance > #2}} > > \define[2]\TitleCommand% > {\framed > [background=titled,frame=off,offse

[NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
kip-\leftmarginwidth \hskip-\leftmargindistance \framed [background=titled,frame=off,offset=0pt] {\box0 \hskip\leftmargindistance #2}} \define[2]\TitleCommand% {\framed [background=titled,frame=off,offset=0pt] {#2}} \setuphead [chapter]%,section,subsect

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
need a new prefix-set to rearrange the order of the sections. begin example \defineprefixset [reverse-section]    [section,chapter] [] \defineprefixset [reverse-subsection] [subsection,section,chapter] [] \setuphead   [section]   [sectionset=reverse-section] \setuphead   [subsection

Re: [NTG-context] numbering questions

2022-12-31 Thread Duncan Hothersall via ntg-context
)use the section numbering for a date (e.g. for a > diary): > > - > \definestructureconversionset[default][n,n,month,n][n] > \definestructureseparatorset [default][-,-,-,-] > > \definehead[Year][chapter] > \definehead[Month][section] > \definehead[Day][subsection] >

[NTG-context] numbering questions

2022-12-31 Thread Henning Hraban Ramm via ntg-context
to (ab)use the section numbering for a date (e.g. for a diary): - \definestructureconversionset[default][n,n,month,n][n] \definestructureseparatorset [default][-,-,-,-] \definehead[Year][chapter] \definehead[Month][section] \definehead[Day][subsection] \define[2]\TitleCmd{#1} % number only

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Horacio Suárez via ntg-context
Its worring now. I have to add \setuplist[subsection][alternative=d] after \setupcombinedlist[content] etc. before that line it has no effect here. \definecombinedlist[content][part,chapter,section,subsection] \setupcombinedlist[content][alternative=c,partnumber=no,placehead=yes,color=black

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Henning Hraban Ramm via ntg-context
Am 06.10.22 um 15:24 schrieb Horacio Suárez via ntg-context: Not working, besides "[alternative=d]" apears on top of the first pdf page. This works for me: \setuppapersize[A7,landscape] \setuplist[alternative=c] \setuplist[subsection][alternative=d] \starttext \placecontent

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Horacio Suárez via ntg-context
t; subsections as "alternative=d" in the same TOC? Did you try \setuplist[subsection][alternative=d] ? Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Henning Hraban Ramm via ntg-context
Am 06.10.22 um 13:37 schrieb Horacio Suárez via ntg-context: hello it is possible to list chapters and section as "alternative=c" and subsections as "alternative=d" in the same TOC? Did you try \setuplist[subsection][alte

Re: [NTG-context] numbering sections/subsections

2022-07-11 Thread Alan Bowen via ntg-context
; > You’re welcome! > > > > > \definestructureconversionset[mySet][A,n,A,n][n] % starts at part! > > \setuphead[section,subsection][sectionconversionset=mySet] > > \setuphead[subsection][sectionsegments=section:subsection, > stopper={.}] > > > >

Re: [NTG-context] numbering sections/subsections

2022-07-11 Thread Henning Hraban Ramm via ntg-context
Am 10.07.22 um 22:25 schrieb Alan Bowen via ntg-context: Thank you, Hraban, for the solution and the link! You’re welcome! \definestructureconversionset[mySet][A,n,A,n][n] % starts at part! \setuphead[section,subsection][sectionconversionset=mySet] \setuphead[subsection

Re: [NTG-context] numbering sections/subsections

2022-07-10 Thread Alan Bowen via ntg-context
letters and my > > subsections with Arabic numbers. So far, no joy. What am I missing? > > > > Alan > > > > Mwe: with ConText ver: 2022.01.21 20:13 LMTX fmt: 2022.2.1. (The > > problem persists when I run ConTeXt online) > > > > \setuphead[s

Re: [NTG-context] numbering sections/subsections

2022-07-09 Thread Henning Hraban Ramm via ntg-context
ConTeXt online) \setuphead[section][conversion=A] \setuphead[subsection][conversion=n, sectionsegements=section:subsection,  stopper={.}] \definestructureconversionset[mySet][A,n,A,n][n] % starts at part! \setuphead[section,subsection][sectionconversionset=mySet] \setuphead[subsection

[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] Count (and limit) glyphs per line?

2022-06-26 Thread Benjamin Buchmuller via ntg-context
ph_id then >back_chars = back_chars + 1 >end > > n = n.prev >end > >width = 0 >chars = 0 >end > >

Re: [NTG-context] Count (and limit) glyphs per line?

2022-06-25 Thread Max Chernoff via ntg-context
s; if not, there's a more complex fix that I can try. Unfortunately, I don't know what to change; I know a bit about "glyph" and "glue", but what is "disc" and would it help here? "disc" nodes are "discretionaries", which are usually potential hyphen

Re: [NTG-context] \xmlpos and \xmldepth misbehave? (again)

2022-05-12 Thread Denis Maier via ntg-context
> > > \stopbuffer > > > > \startxmlsetups xml:text > > \xmlsetsetup{#1}{doc|s|ss}{xml:*} > > \stopxmlsetups > > > > \xmlregistersetup{xml:text} > > > > \startxmlsetups xml:doc > > \chapter{\xmlpos{#1}\letterat\xmld

[NTG-context] \xmlpos and \xmldepth misbehave? (again)

2022-05-06 Thread Pablo Rodriguez via ntg-context
\subsection{\xmlpos{#1}\letterat\xmldepth{#1}: \xmlflush{#1}} \stopxmlsetups \setuphead[chapter,section,subsection][before=,after=,] \setuppapersize[A7] \setuplayout[width=middle, header=0cm] \starttext \xmlprocessbuffer{main}{text}{} \stoptext All \xmldepth values are +1 that I think

Re: [NTG-context] xmlpos values doubled

2022-04-20 Thread Pablo Rodriguez via ntg-context
\stopxmlsetups \xmlregistersetup{xml:text} \startxmlsetups xml:doc \chapter{\xmlpos{#1}\letterat\xmldepth{#1}: \xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:s \section{\xmlpos{#1}\letterat\xmldepth{#1}: \xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:ss \subsec

Re: [NTG-context] Chapter number retrieval

2022-03-23 Thread Willi Egger via ntg-context
overview of accessible variables at: >> https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names >> >> Maybe you want something like this? >> >> \starttext >> \setuphead[chapter][number=no] >> \startchapter[title={My C

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Adam Reviczky via ntg-context
cessible variables at: > https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names > > > > Maybe you want something like this? > > > > \starttext > > \setuphead[chapter][number=no] > > \startchapter[title={My Chapter}] >

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Willi Egger via ntg-context
presented by Sreeram. Again thank you so much! Kind regards Willi > On 22 Mar 2022, at 01:21, Adam Reviczky via ntg-context > wrote: > > Hi, > > There is a good overview of accessible variables at: > https://tex.stackexchange.com/questions/134474/context-part-chapter-s

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread Adam Reviczky via ntg-context
Hi, There is a good overview of accessible variables at: https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names Maybe you want something like this? \starttext \setuphead[chapter][number=no] \startchapter[title={My Chapter}] Hello world! \startMPcode

Re: [NTG-context] Few quick questions

2022-03-09 Thread Christoph Hintermüller via ntg-context
instead. So i gave it a try and exchanged all occurrences of \chapter, \section, \subsection, \subsection by their \start* \stop* equivalents and now the xml document and the html document are a lot largen. They now conatin nearly the whole document. There are sill plenty of LaTeX style comm

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
subsection] \stopsection \stopchapter \startchapter [title=Ipsum] \stopchapter \starttitle [title=title headline] Pellentesque dapibus suscipit ligula. Donec posuere augue in quam. Etiam vel tortor sodales tellus ultricies commodo. \page Nullam eu ante vel est convallis dignissim. \stoptitle

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Hans Hagen via ntg-context
of levels they want in the table of contents with a number. I currently do this by having the sectioning commands be known to the exporter so I can generate a command like     \setupcombinedlist   [content]   [list={section,subsection}] for n=2. I'm considering using  \start

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Bruce Horrocks via ntg-context
ing an exporter for Org mode. In Org, users can specify the > number of levels they want in the table of contents with a number. I > currently do this by having the sectioning commands be known to the exporter > so I can generate a command like >\setupcombinedlist > [co

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
rieben: On 12/24/21 1:29 PM, Denis Maier wrote: I probably wasn't clear. You will support toc:2. This: #+Context_Section_Levels: '(chapter section subs

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
toc:2. This: #+Context_Section_Levels: '(chapter section subsection) will translate into a definesectionlevels command and inform your exporter about the used sectionlevels. Once the used commands are known it should be possible to map toc:2 to a combinedlist defi

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
On 12/24/21 1:29 PM, Denis Maier wrote: I probably wasn't clear. You will support toc:2. This: #+Context_Section_Levels: '(chapter section subsection) will translate into a definesectionlevels command and inform your exporter about the used sectionlevels. Once the used commands are known

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
to the >> corresponding setting. (Here again, you can if course define >> reasonable defaults.) Actually,  you don't need an alist. A simple quotes list should be enough: #+Context_Section_Level

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
u can if course define reasonable defaults.) Actually,  you don't need an alist. A simple quotes list should be enough: #+Context_Section_Levels: '(chapter section subsection) Denis That isn't going to work. The interface needs to be the same as for the other exporters for TOC control. I

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
Actually,  you don't need an alist. A simple quotes list should be enough: #+Context_Section_Levels: '(chapter section subsection) Denis

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
ontent] [list={section,subsection}] for n=2. I'm considering using \start/stopsectionlevel for sectioning commands instead. That way, users could add \definesectionlevels to the document preamble to use wh

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
porter so I can generate a command like \setupcombinedlist [content] [list={section,subsection}] for n=2. I'm considering using \start/stopsectionlevel for sectioning commands instead. That way, users cou

[NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
currently do this by having the sectioning commands be known to the exporter so I can generate a command like \setupcombinedlist [content] [list={section,subsection}] for n=2. I'm considering using \start/stopsectionlevel for sectioning commands instead. That way, users could

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

2021-11-22 Thread Musa Furber via ntg-context
tion[title={...},list={...},bookmark={...}] ... \stopsection I do not think that is an option for me. The book is bilingual, with Arabic and English. There are places where I want the chapter, section, and subsection titles to be bilingual as well, with English on the left and Arabic on the right. I

Re: [NTG-context] Compilation error with the new version of lmtx

2021-10-17 Thread Hans Hagen via ntg-context
       [section]        [margin=1em,         width=1.75em]     \setuplist        [subsection]        [margin=2.75em,         width=2em,         distance=\spaceamount]     \starttitle[title=Table des matières]          \placelist            [chapter,section,subsection]            [criterium=all

[NTG-context] Compilation error with the new version of lmtx

2021-10-16 Thread Fabrice Couvreur via ntg-context
sa 2.2] \setuphead [title] [style=ChapterTextStyle, align=flushright] \setuplist [chapter] [style=bold, alternative=b, width=1em] \setuplist [section] [margin=1em, width=1.75em] \setuplist [subsection

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-17 Thread Jan Ulrich Hasecke via ntg-context
environment files: hs.env-2-seiter-din-lang-hoch.tex hs.env-2-seiter-din-lang-quer.tex hs.env-6-seiter-din-lang.tex hs.env-bleed.tex hs.env-chapter-section-subsection-toc.tex hs.env-chapter-section-toc.tex hs.env-chapter-toc.tex hs.env-colors.tex hs.env-coverpages.tex hs.env-din-a4.tex hs.e

Re: [NTG-context] Adjustment in the table of contents

2021-08-16 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 16.08.2021 um 11:24: Hi, I wish to have the table of contents as the attached image. The result is almost as expected except for the margin of the subsection.  \setuplist    [chapter,section,subsection]  [width=fit,distance=\spaceamount

[NTG-context] Adjustment in the table of contents

2021-08-16 Thread Fabrice Couvreur via ntg-context
Hi, I wish to have the table of contents as the attached image. The result is almost as expected except for the margin of the subsection. \setuplist [chapter,section,subsection] [width=fit,distance=\spaceamount] \setuplist [chapter] [alternative=b] \setuplist [chapter][style=bold

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-06 Thread Jeroen via ntg-context
tuphead[chapter][style=\bfd] \setuphead[section][style=\bfc] \setuphead[subsection][style=\bfb] \setuphead[subsubsection][style=\bf] \setupitemize[autointro] % prevent orphan list intro \setupitemize[indentnext=no] \starttext \startsection[title={MySlideTitle},ref={myref1}] Body text \startitem

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Jeroen via ntg-context
dium] \setuptyping[typing][bodyfont=16pt] \setupwhitespace[medium] \setbreakpoints[compound] \setuphead[chapter][style=\bfd] \setuphead[section][style=\bfc] \setuphead[subsection][style=\bfb] \setuphead[subsubsection][style=\bf] \setupitemize[autointro] % prevent orphan list intro \setupitemize[indent

Re: [NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread Adam Reviczky
gt; ] > > > \starttext > \completecontent > \section{Section A} > \subsection{SubSection A.A} > \pagebreak[yes] > \section {Section B — on another page} > \subsection {SubSection B.A — on another page} > \stoptext > > When I format it with ConTeXt (ConTeXt ver: 2021.06.

[NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread T. Kurt Bond
I'm trying to make all the hyperlinks in my document blue. Here's my example: \setupinteraction [state=start, color=blue, contrastcolor=blue ] \starttext \completecontent \section{Section A} \subsection{SubSection A.A} \pagebreak[yes] \section {Section B — on another page} \subsection

[NTG-context] different prefixsegments for \in

2021-06-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupreferencestructureprefix [default] [prefixsegments=*:*] \starttext \section{One Section} \subsection[sec0]{Subsection} As told in \in[sec0] and \in[sec1]… \section{Another Section} \subsection[sec1]{Subsection} … \stoptext

Re: [NTG-context] chapter number sought

2021-05-30 Thread Hans van der Meer
Thanks. This helps. dr. Hans van der Meer > On 30 May 2021, at 13:40, Adam Reviczky wrote: > > Hi Hans, > > Does this help: > https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names > > <https://tex.stackexchange.com/qu

Re: [NTG-context] chapter number sought

2021-05-30 Thread Adam Reviczky
Hi Hans, Does this help: https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names ? \starttext \startchapter[title={First chapter}] \structurenumber\ - \structuretitle \stopchapter \stoptext Although getmarking is probably what you're really after

Re: [NTG-context] no leavevmode

2021-05-28 Thread Hans Hagen
On 5/27/2021 10:43 PM, Hans van der Meer wrote: Why is there not implemented in \subsection a \leavevmode at the end of it? Here a minimal example showing that starting with the first word in an \hbox encounters vertical mode. Thus requiring a \leavevmode to put it on line with the following

[NTG-context] no leavevmode

2021-05-27 Thread Hans van der Meer
Why is there not implemented in \subsection a \leavevmode at the end of it? Here a minimal example showing that starting with the first word in an \hbox encounters vertical mode. Thus requiring a \leavevmode to put it on line with the following text. Whereas not starting with an \hbox does

Re: [NTG-context] One chapter with different heading settings

2021-05-23 Thread Rik Kabel
,     ...,       ] \setupcombinedlist [content]                        [list={chapter,RVchapter}] \placebookmarks [chapter,RVchapter,section,subsection,subsubsection]            [chapter]           [force=yes,number=no] -- Rik

Re: [NTG-context] Hyphen collapsing

2021-05-07 Thread Hans Hagen
}] \setuphead[subsection][align={nothyphenated,notcollapsed}] \setuphead[subsubsection][align={nothyphenated,notcollapsed}] Would "\nohyphencollapsing[head=yes]" allow the setting to apply once to all areas? \setuphead[align={nothyphenated,notcollapsed}] At some point I'll add som

Re: [NTG-context] Hyphen collapsing

2021-05-07 Thread Thangalin
\setuphead[chapter][align={nothyphenated,notcollapsed}] Would that mean there's no way to collapse the hyphenation throughout the entire document from a single location? That is: \nohyphencollapsing \setuphead[section][align={nothyphenated,notcollapsed}] \setuphead[subsection][align

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Adam Reviczky
gt; \starttext > > \setupcaption[figure][way=bytext,prefixsegments=1:*] > > \setupformulas[way=bytext,prefixsegments=1:*] > > \startsection[title=Section] > > \startsubsection[title=SubSection] > > \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure >

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Hans Hagen
,prefixsegments=1:*] \setupformulas[way=bytext,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection

[NTG-context] Formula numbering including all prefix segments

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

[NTG-context] (no subject)

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

[NTG-context] Table of Content

2021-02-11 Thread Ursula Hermann
: \setuphead[subject] [incrementnumber=list] %"width": distance between number and text in the ToC entry, "margin" : indent of ToC entry relative to left page margin \setuplist[section][width=1.5em] \setuplist[subsection][width=2.5em, margin=1.5em] \setuplist[subject]

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
unnumbered ToC entry? Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Tomas Hala
Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext Best wishes, Tomáš

[NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
Hello, how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm] \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext I'm getting

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-07 Thread jbf
at least). MWE: \definehead [foreword] [title] \definehead [preface] [title] \definehead [mysection] [section] \setupcombinedlist[chapter,foreword,preface,mysection,section, subsection] \define[3]\ChapterListCommand   {\hbox\bgroup \hbox to 3cm{\currentlistsymbol\hss}% number + labeltext

[NTG-context] author in ToC and other design complications

2020-09-03 Thread jbf
this MWE): %-- \setuphead [subject] [incrementnumber=list] \setuphead [title] [incrementnumber=list] \setupcombinedlist   [content] [list={chapter,title,section,subsection}]\switchtobodyfont[10.5pt] \setuplist[chapter][style=normal,alternative=b, before=] And then I

Re: [NTG-context] About the numbering of theorems

2020-08-08 Thread Fabrice Couvreur
Hi Wolfgang, Thank you Fabrice Le ven. 7 août 2020 à 19:45, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > Fabrice Couvreur schrieb am 07.08.2020 um 16:30: > > Hello, > > I have a little problem with the numbering of theorems when there is no > &g

Re: [NTG-context] About the numbering of theorems

2020-08-07 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 07.08.2020 um 16:30: Hello, I have a little problem with the numbering of theorems when there is no subsection. I would like to know : Theorem 1.1 Theorem 1.2 Theorem 2.3 Theorem 2.4 Thank you Fabrice Use a conversion set to set the number conversion for you

[NTG-context] About the numbering of theorems

2020-08-07 Thread Fabrice Couvreur
Hello, I have a little problem with the numbering of theorems when there is no subsection. I would like to know : Theorem 1.1 Theorem 1.2 Theorem 2.3 Theorem 2.4 Thank you Fabrice begin example \setuplabeltext[chapter=Chapitre~] \unexpanded\def\Title#1#2{\framed[frame=off,width=fit

Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Jairo A. del Rio
w it crashes: > > > > > \setuphead[chapter][alternative=middle,textstyle=\cap,numbercommand=\WORDS] > > > \setuphead[section][sectionsegments=section,align=middle,textstyle={\bf},conversion=R,numbercommand={\bf}] > > > \setuphead[subsection][numbercommand=,textstyle={\it},sectionseg

Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Wolfgang Schuster
[subsection][numbercommand=,textstyle={\it},sectionsegments=subsection,conversion=n] \starttext \startchapter[title=Dummy chapter] \startsection[title=Dummy section] \startsubsection[title=Dummy subsection] \input knuth \stopsubsection \stopsection \stopchapter \stoptext This caused by the second

[NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Jairo A. del Rio
,numbercommand=\WORDS] \setuphead[section][sectionsegments=section,align=middle,textstyle={\bf},conversion=R,numbercommand={\bf}] \setuphead[subsection][numbercommand=,textstyle={\it},sectionsegments=subsection,conversion=n] \starttext \startchapter[title=Dummy chapter] \startsection[title=Dummy

Re: [NTG-context] About the table of contents

2020-07-11 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 11.07.2020 um 16:30: Hi Wolfgang, Sorry but i was wrong on what i want to get : 1  My first chapter     1.1 My first section   1.1.1 My first subsection Set the margin values: \setuplist [section][margin=1em] \setuplist [subsection] [margin=2em

Re: [NTG-context] About the table of contents

2020-07-11 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 11.07.2020 um 15:02: Hello, I would like to reduce the space between the numbering and the title of the chapters, sections and subsections. I would also like to have this: 1 My first chapter 1.1 My first section 1.1.1 My first subsection You can use \setuplist

[NTG-context] About the table of contents

2020-07-11 Thread Fabrice Couvreur
Hello, I would like to reduce the space between the numbering and the title of the chapters, sections and subsections. I would also like to have this: 1 My first chapter 1.1 My first section 1.1.1 My first subsection \setuplist [chapter] [style=bold,width=10mm] \starttext \placelist

Re: [NTG-context] using modeset

2020-06-12 Thread Jan Willem Flamma
s at various competency levels using a single set of source files. So far the manuals have been written in English but now a separate Dutch translation has to be created. It is important that the two manuals are setup similarly so the section/subsection numbers and question numbers are the same in

Re: [NTG-context] using modeset

2020-06-11 Thread r . ermers
s. So > far the manuals have been written in English but now a separate Dutch > translation has to be created. > > > > It is important that the two manuals are setup similarly so the > section/subsection numbers and question numbers are the same in the English > man

  1   2   3   4   5   6   7   8   9   10   >