[NTG-context] Re: marginwidths

2023-11-22 Thread Hans van der Meer via ntg-context
But changing the width of the section in the middle is not changing. Adapt \textwidth narrows the textwidth but does not allow wider margins.see next example. So how to adapt the page to for example:[leftmargin 40mm][middle what is left][rightmargin 60mm] this should leave 210-40-60=110mm

[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: It works after a few changes but ..

2023-11-21 Thread Bruce Horrocks
> On 20 Nov 2023, at 08:54, Ursula Hermann wrote: > > Dear Bruce, > > Yes, I need also margintext. What do you want to appear in the margin: the theorem number or the section number of the current section? In other words, what should replace the "hard coded" 2.1

[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
start := 0 ; % Macros % Draw a section of a line (ascender, x-height or descender) vardef Section(expr lines, initial) = draw (0, initial) -- (line, initial) withpen pencircle scaled 0.2mm ; for i=0 step 1 until lines : save final ; final = i*nib ; pair a; a = (0, final

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
the title page > (though I define sectionblocks for keeping different numbering systems > for the table of contents and the document) Section blocks are intended for that. Just a comment, if your cover (or title) page involves a one and only single page, you may use makeups, such as in

[NTG-context] learning about the grid

2023-11-19 Thread Miguel Diaz
of a section are printed one over the other. Playing with the options and setupinterlinespace I got the unhappily desired 1.3ex that may school requieres for the teaching programs (grid=line, interlinespace=1.3ex), but I somehow feel that's not the right way to go. 1. Why are the lines printed one over

[NTG-context] Re: ConTeXt support for Nova text editor (MacOS)

2023-11-16 Thread Alexandre Christe
nts > * Navigating by Symbols (headings: chapter, section, etc.) > * Spell-checking of body text and section titles > * Managing builds with Nova's tasks system > > (As an aside, this extension uses an updated version of the ConTeXt > tree-sitter parser [https://github.com/pmazaitis/

[NTG-context] Re: named destinations in /GoToR

2023-11-14 Thread Pablo Rodriguez via ntg-context
lowing sample: \setupinteraction[state=start, focus=standard] \starttext \dorecurse{5}{\dorecurse{5} {\chapter[\recurselevel]{Chapter} \section[sec-\recurselevel]{Section}}} \stoptext Of course, this kind of identifiers have to be unique to be useful, but I wonder

[NTG-context] Re: named destinations in /GoToR

2023-11-13 Thread Michal Vlasák
> \starttext > \dorecurse{5} > {\chapter[\recurselevel]{Chapter} > \section[sec-\recurselevel]{Section}} > \stoptext > > This source only samples PDF documents not generated with ConTeXt. This > means that no .tuc file may be available and named destinations ma

[NTG-context] named destinations in /GoToR

2023-11-13 Thread Pablo Rodriguez via ntg-context
Dear list, imagine I have a PDF document (named "whatever.pdf") such as the one generated from this source: \setupinteraction[state=start, focus=standard] \starttext \dorecurse{5} {\chapter[\recurselevel]{Chapter} \section[sec-\recurselevel]{Section}} \stoptext T

[NTG-context] Re: hard clipping in ConTeXt?

2023-11-13 Thread Pablo Rodriguez via ntg-context
On 11/11/23 11:02, Hans Hagen via ntg-context wrote: > On 11/10/2023 6:17 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Is there any way to have a hard clipping in ConTeXt? >> >> I mean, that only the contents of the clipped section is added to the >> re

[NTG-context] Re: ConTeXt support for Nova text editor (MacOS)

2023-11-11 Thread Henning Hraban Ramm
functional. This version of the extension supports: * Syntax Highlighting * Folding for (most) environments * Navigating by Symbols (headings: chapter, section, etc.) * Spell-checking of body text and section titles * Managing builds with Nova's tasks system (As an aside, this extension uses

[NTG-context] ConTeXt support for Nova text editor (MacOS)

2023-11-11 Thread Paul Mazaitis
supports: * Syntax Highlighting * Folding for (most) environments * Navigating by Symbols (headings: chapter, section, etc.) * Spell-checking of body text and section titles * Managing builds with Nova's tasks system (As an aside, this extension uses an updated version of the ConTeXt tree-sitter parser

[NTG-context] Re: hard clipping in ConTeXt?

2023-11-11 Thread Hans Hagen via ntg-context
current Firefox), xpdf, Evince, mupdf-gl, the viewer is able to find "dealing", altough it cannot be displayed. Okular and Sumatra (with Wine in Linux) are not able to find "dealing". Is there any way to have a hard clipping in ConTeXt? I mean, that only the contents of the clip

[NTG-context] hard clipping in ConTeXt?

2023-11-10 Thread Pablo Rodriguez via ntg-context
"dealing", altough it cannot be displayed. Okular and Sumatra (with Wine in Linux) are not able to find "dealing". Is there any way to have a hard clipping in ConTeXt? I mean, that only the contents of the clipped section is added to the resulting PDF document? Many thanks f

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
t;> \chapter{Three} >>> \input knuth >>> \chapter{Four} >>> \input ward >>> \stopbackmatter >>> \stoptext >>> Von: Jeroen >>> Gesendet: Donnerstag, 14. September 2023 23:50 >>> An: mailing list for ConTeXt users >>>

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Rik Kabel
. September 2023 23:50 An: mailing list for ConTeXt users Betreff: [NTG-context] Chapters without new page In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
xt > Von: Jeroen > Gesendet: Donnerstag, 14. September 2023 23:50 > An: mailing list for ConTeXt users > Betreff: [NTG-context] Chapters without new page > In the \startbackmatter ... \stopbackmatter section i would like to have > some chapters that are not automatical

[NTG-context] Re: Chapters without new page

2023-09-15 Thread denis.maier
new page In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page for these chapters? Thanks, Jeroen

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
On 9/14/2023 10:10 PM, Rik Kabel wrote: On 9/14/2023 5:49 PM, Jeroen wrote: In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
On 9/14/2023 5:49 PM, Jeroen wrote: In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page for these chapters? Thanks, Jeroen Untried: 1

[NTG-context] Chapters without new page

2023-09-14 Thread Jeroen
In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page for these chapters? Thanks, Jeroen

[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}

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
alternative=d, which I confess I had entirely overlooked! Julian On 5/9/23 08:43, Max Chernoff wrote: Hi Julian, I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Has anyone put together a TOC

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread Max Chernoff
Hi Julian, > I am attempting to get a TOC that looks like the following (in other > words with section titles and their relative page numbers in a block > below the chapter): > Has > anyone put together a TOC of this kind and might be able to give me a > hint to follo

[NTG-context] Adjust width of section part of table of contents

2023-09-04 Thread Jeroen
The following is a setuplist for the table of contents. Is there a way to have the section part only go to 80% of the page width, similar to width=0.8\textwidth \setuplist [chapter] [style={\bf}] \setuplist [section] [style={\tfx}] \setuplist [chapter,section] [headnumber

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Lukas via ntg-context
Hello, On 2023-09-04 12:06, Wolfgang Schuster wrote: \mainlanguage[cz] \setuphead   [section]   [distance=1.25em,    style=\bfc,    align={flushleft,broad,nothyphenated}] that's it, thank you! Lukas \setupbodyfont[8pt] \starttext \chapter{Dummy} \samplefile{lorem} \section{Specifické

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Wolfgang Schuster
Lukas via ntg-context schrieb am 04.09.2023 um 13:33: Hello, just " \setuphead[section][distance=1.25em] \setuphead[section][style=\bfc] " Lukas On 2023-09-04 11:25, Henning Hraban Ramm wrote: Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavb

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Lukas via ntg-context
Hello, just " \setuphead[section][distance=1.25em] \setuphead[section][style=\bfc] " Lukas On 2023-09-04 11:25, Henning Hraban Ramm wrote: Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavby" not to cross the right border (see the

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Henning Hraban Ramm
Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavby" not to cross the right border (see the green vertical line) but to appear on the next line? I played with "strict", "verytolerant" and similar options but they seem not to affect

[NTG-context] Trimming (rearranging) long section name

2023-09-04 Thread Lukas via ntg-context
Hello, is there a way to alter the section name to be " Specifické požadavky pro předpokládanou technologii stavby (přístupy, přívody el. energie, skladovací plochy, montážní a pomocné plochy, montážní a pomocné konstrukce, ...) " instead of " Specifické požadavky pro

[NTG-context] Re: Reinserting a section title followed by (continued) after a page break

2023-09-04 Thread Hans Hagen via ntg-context
On 9/4/2023 5:55 AM, Calvin Ross wrote: On the off chance anyone seeing this is interested, I have a solution uploaded as part of a module I wrote for screenplay and stageplay writing: https://github.com/cjayross/drama.mkiv/blob/4a9b2576c8630fd03352d95f99456092f6e21190/drama.mkiv#L480 A few

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread Wolfgang Schuster
jbf schrieb am 04.09.2023 um 08:34: I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Chapter 1 ...5 Section 1   5, Section 2  6

[NTG-context] TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Chapter 1 ...5 Section 1   5, Section 2  6, Section 3  7, Section 4   8, Section 5   9

[NTG-context] Re: Reinserting a section title followed by (continued) after a page break

2023-09-03 Thread Calvin Ross
On the off chance anyone seeing this is interested, I have a solution uploaded as part of a module I wrote for screenplay and stageplay writing: https://github.com/cjayross/drama.mkiv/blob/4a9b2576c8630fd03352d95f99456092f6e21190/drama.mkiv#L480 The solution ended up being very detailed and

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

2023-08-27 Thread Xavier B.
Thanks. It works. On Sun, 27 Aug 2023 21:24:54 +0200 Wolfgang Schuster ha escrit: > Am So., 27. Aug. 2023 um 19:54 Uhr schrieb Xavier B. >: > > > What is the state of this problem? > > Is it some deadline here? > > > > I need to have a "production" document in mid september to show to my > >

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

2023-08-27 Thread Wolfgang Schuster
Am So., 27. Aug. 2023 um 19:54 Uhr schrieb Xavier B. : > What is the state of this problem? > Is it some deadline here? > > I need to have a "production" document in mid september to show to my > students. > Can you please make a "push" in this topic. > Just update your installation, the

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

2023-08-27 Thread Xavier B.
What is the state of this problem? Is it some deadline here? I need to have a "production" document in mid september to show to my students. Can you please make a "push" in this topic. Thanks in advance, Xavier On Wed, 23 Aug 2023 22:04:36 +0200 Wolfgang Schuster ha escrit: > Xavier B.

[NTG-context] Re: XML: Correct usage of hash symbol in url / new upload

2023-08-27 Thread Hans Hagen via ntg-context
to see if it could be avoided in some cases first i decided to provide an escape, possible because we already have such mechanism using # (not advertised because it is still experimental) then i decided to just not duplicate unless we trace in the lowlevel macro manual there is a section added

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

2023-08-24 Thread Xavier B.
Oh Awesome. I'm looking forward to the solution. Thanks a lot, Xavier On Wed, 23 Aug 2023 22:04:36 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 23.08.2023 um 15:02: > > Wolfgang, > > > > I detect something extrange: when I use \startexercici \stopexercici (see > >

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

2023-08-23 Thread Wolfgang Schuster
Xavier B. schrieb am 23.08.2023 um 15:02: Wolfgang, I detect something extrange: when I use \startexercici \stopexercici (see [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-entorn-minimal.conTeXt]) in some cases there is an *undesired* indent (see attachment image). I saw the

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

2023-08-23 Thread Xavier B.
On Tue, 22 Aug 2023 20:06:52 +0200 Wolfgang Schuster ha escrit: > While the solution here is to convert all subject headings to subsubject > (be sure to also take care > of even lower section) a quick way to fix the page break is to disable > the page-value for subject, > look a

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

2023-08-22 Thread Wolfgang Schuster
] before each section to \setupheads[section][style={\bf \ssc}, alternative=margin, page=yes] but now after each section there is a new page. Why? I don't know. Can someone help me to see what happens? The source code is here [https://repo.or.cz/apunts-espa-matematiques.git] You're using

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

2023-08-22 Thread Xavier B.
Hi, I have a long document [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-exercicis.conTeXt.pdf] which I migrated from MKIV to LMTX version of ConTeXt. As Wolfgang recommened. I migrated old syntax to new one and replace \page[yes] before each section to \setupheads[section

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Hans Hagen via ntg-context
{First chapter}] \input knuth \stopchapter \startchapter[title={Second chapter}] \input knuth \stopchapter \startchapter[title={Third chapter}] \input knuth \stopchapter \stoptext Is there a new way of obtaining a page break before a given part, chapter or section in the ToC? Here is another

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Andres Conrado Montoya
pter[title={First chapter}] > \input knuth > \stopchapter > \startchapter[title={Second chapter}] > \input knuth > \stopchapter > \startchapter[title={Third chapter}] > \input knuth > \stopchapter > \stoptext > > Is there a new way of obtaining a page break before a given part,

[NTG-context] Not getting a page break in the ToC

2023-08-21 Thread Andres Conrado Montoya
, chapter or section in the ToC? Thank you in advance. -- Andrés Conrado Montoya Andi Kú andresconr...@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org Los fines no justifican los medios, porque la medida verdadera de nuestro carácter

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Wolfgang Schuster
Alexey Kryukov schrieb am 18.08.2023 um 20:31: On Fri, 18 Aug 2023 20:12:33 +0200 Wolfgang Schuster wrote: Do you create the whole table with Lua? When this is the case a small change to the table section commands on the Lua side can fix your problems but otherwise a different approach

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Alexey Kryukov
On Fri, 18 Aug 2023 20:12:33 +0200 Wolfgang Schuster wrote: > Do you create the whole table with Lua? When this is the case a small > change to the table section > commands on the Lua side can fix your problems but otherwise a > different approach is needed. Hi Wolfgang, thanks fo

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Wolfgang Schuster
\stoptext Can anybody suggest a workaround (except changing the source XML of course)? Do you create the whole table with Lua? When this is the case a small change to the table section commands on the Lua side can fix your problems but otherwise a different approach is needed. Wolfgang

[NTG-context] Re: new upload

2023-08-17 Thread Pablo Rodriguez
s for adding that to the lowlevel manual. Just in case this might help anyone, I always see what is new in latest release by comparing the backup from previous latest with current latest (in my case "meld context .backup-context/date_context/"). I think the best way is to copy from s

[NTG-context] Re: disable header for endnotes

2023-08-16 Thread Rik Kabel
' on the recto page (or indeed be blank with no header), but I am currently getting the header that belongs to the main setup for headers, which happens to be: \startsetups[middle] \hfill \getmarking[section] \hfill \stopsetups \setupheadertexts [{\hfill\documentvariable{metadata:title

[NTG-context] disable header for endnotes

2023-08-16 Thread jbf
be blank with no header), but I am currently getting the header that belongs to the main setup for headers, which happens to be: \startsetups[middle] \hfill \getmarking[section] \hfill \stopsetups \setupheadertexts [{\hfill\documentvariable{metadata:title}\hfill}][] [\setups{middle}][] How

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

2023-08-15 Thread Xavier B.
is not found structure > sectioning > section @ level 3 : 0.0.1 -> Problemes de fraccions structure > sectioning > subject @ level 3 : 0.0.1 -> Preguntes tex error > tex error on line 25 in file ./dev.tex: \textfont0 is undefined in ordinal, font id 0, character

[NTG-context] Re: [ odd spacing ]

2023-08-15 Thread vm via ntg-context
thanks! On 15/08/2023 21:26, Hans Hagen via ntg-context wrote: you're missing \startcaption \stopcaption after each content section indeed, adding \startcaption\stopcaption at each line will make the spacing equal. A different approach is to use \dontleavehmode \dontleavehmode \framed

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

2023-08-15 Thread Wolfgang Schuster
Xavier B. schrieb am 15.08.2023 um 21:36: On Tue, 15 Aug 2023 21:13:54 +0200 Wolfgang Schuster ha escrit: There is also something wrong with the structure of your document when need \page[yes] after each file. Why is it trouble? When you start each subfile with \section or \subject you can

[NTG-context] Re: [ odd spacing ]

2023-08-15 Thread Hans Hagen via ntg-context
On 8/15/2023 9:13 PM, vm via ntg-context wrote: Placing identical images in a n x m grid shows extra space every two rows. you're missing \startcaption \stopcaption after each content section and have one content too many Also the vertical and horizontal spaces are different

[NTG-context] Re: Very strange error:

2023-08-14 Thread Hans Hagen via ntg-context
otherwise, een with some nasty tricks) \head is one of these "best use arguments" and les sknown is that we also dropped par delimited \section and such (the head one currently can be enabled with \autoparagraphmode4) the main drive is 'better rendering' and 'less complicated coding

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
.code.tex' close source> level 2, order 82, name 'tikzlibraryfit.code.tex' open source > level 2, order 83, name 'tikzlibrarypositioning.code.tex' close source> level 2, order 83, name 'tikzlibrarypositioning.code.tex' open source > level 2, order 84, name 'tikzlibraryshape

[NTG-context] Re: Pass string into text background graphic

2023-08-11 Thread Hans Hagen
hs using a left-hand vertical rule along with a top horizontal rule that has a title. Each new "concurrent" section needs its own header that doesn't repeat. Is there a ConTeXt-way to accomplish this feat? There's always a way out but not always a pretty one. One problem is that the

[NTG-context] Pass string into text background graphic

2023-08-11 Thread Thangalin
string" is repeated. It seems like the value for \MPstring{concurrent} is being cached in some situations and ignored in others. Essentially, I'm trying to visually offset multiple paragraphs using a left-hand vertical rule along with a top horizontal rule that has a title. Each new "c

[NTG-context] Typing with text wrapping

2023-08-05 Thread Alex Leray
age, portrait] \definehead[poem][section] \setuphead[poem][] \definetyping[CUSTOM] \setuptyping[CUSTOM][escape={[[,]]}] \starttext \showgrid \startpoem[title={My title}][] \startCUSTOM[] \stopCUSTOM \stoppoem \stoptext ``` Tha

[NTG-context] Re: Using

2023-08-05 Thread Alex Leray
Thanks Hans! Le 4/08/23 à 23:21, Hans Hagen a écrit : On 8/4/2023 7:42 PM, Alex Leray wrote: Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection

[NTG-context] Re: Using

2023-08-04 Thread Hans Hagen
On 8/4/2023 7:42 PM, Alex Leray wrote: Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] \starttext \startpoem[title={Glijden}][] Lorem

[NTG-context] Using

2023-08-04 Thread Alex Leray
Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] \starttext \startpoem[title={Glijden}][] Lorem ipsum dolor sit amet consectetur. \stoppoem

[NTG-context] Reinserting a section title followed by (continued) after a page break

2023-07-30 Thread Calvin Ross
? At the moment, I've been looking into adding a hook to shipout to prepend a section header with the last custom mark I've set. Even still, I don't know if this would work, or how to go about achieving this. If columns would be too difficult to implement, I'd be fine with living without (continued

Re: [NTG-context] expansion of section title

2023-06-27 Thread Henning Hraban Ramm via ntg-context
Am 27.06.23 um 21:01 schrieb Wolfgang Schuster via ntg-context: Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55: \defineregister[todos] % add a "todos" index entry with the current section title \define[1]\TODO{\todos{\structurevariable{title}}} \chapter{Someth

Re: [NTG-context] expansion of section title

2023-06-27 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55: \defineregister[todos] % add a "todos" index entry with the current section title \define[1]\TODO{\todos{\structurevariable{title}}} \chapter{Something} \TODO{This is still empty!} % at the end of the book \chapter

[NTG-context] expansion of section title

2023-06-27 Thread Henning Hraban Ramm via ntg-context
I think I had a good idea how to keep an overview of the “todos” in my book project: \defineregister[todos] % add a "todos" index entry with the current section title \define[1]\TODO{\todos{\structurevariable{title}}} \chapter{Something} \TODO{This is still empty!} % at the end o

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Wolfgang Schuster via ntg-context
e a right Chapter 1 header. Using just the setuphead resulted in headers and footers on the "blank" left page. No problems for Chapters 2, etc. Section block force by default a page break which can produce unexpected headers/footers on the first chapter etc. You can fix this by disa

Re: [NTG-context] TiKz with LMTX

2023-06-04 Thread Jigé via ntg-context
line pgf/tikz manual ( https://tikz.dev/drivers#section-formats ) : > 10.2.1 Selecting the Backend Driver > > When TEX typesets your document, it does not know which program you are going > to use to transform the .dvi-file. If your .dvi-file does not contain any > spe

Re: [NTG-context] SOLVED: text under page floats

2023-06-02 Thread Henning Hraban Ramm via ntg-context
Am 24.05.23 um 21:07 schrieb Henning Hraban Ramm via ntg-context: If the page float is placed before a title, the next section starts below the float. This is solved now after a one-line fix by Hans. (And I was dense.) Hraban

Re: [NTG-context] Super slow installation

2023-05-31 Thread Bruce Horrocks via ntg-context
On 31 May 2023, at 01:51, Thangalin wrote: > > From twelve99.net: > > If you’re interested in our IP city prefixes, we have a lookup table on our > website: https://www.arelion.com/our-network/bgp-routing/bgp-communities > Scroll down to “Origin + Communities” and expand tha

Re: [NTG-context] Super slow installation

2023-05-30 Thread Thangalin via ntg-context
>From twelve99.net: If you’re interested in our IP city prefixes, we have a lookup table on our website: https://www.arelion.com/our-network/bgp-routing/bgp-communities Scroll down to “Origin + Communities” and expand that section. You can see that sea-b1 (your hop 8) is not in Bruss

Re: [NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context
I found a MWE that shows the problem: """ \setuppapersize[C5] \showframe \starttext \startplacefigure[location=page,title={Pagefloat}] \framed[width=\textwidth,height=.75\textheight]{TEST} \stopplacefigure \dorecurse{4}{\section{Tufte \recurselevel} \samplefile{tuf

Re: [NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context
Am 24.05.23 um 16:44 schrieb Henning Hraban Ramm via ntg-context: Hi, in more than one of my books, I struggle with some lines of text below page floats. They start below the regular text area (i.e. in the bottom) and can even consist of a table float or a section title. I can’t reproduce

[NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context
Hi, in more than one of my books, I struggle with some lines of text below page floats. They start below the regular text area (i.e. in the bottom) and can even consist of a table float or a section title. I can’t reproduce it in a simple example like this: """ \starttex

Re: [NTG-context] Layout with equal margins.

2023-05-22 Thread Wolfgang Schuster via ntg-context
. ** What about the margin where one would like to place chapter and section numbers? This is where you use leftmargin for the width of the are of margin texts and leftmargindistance for the distance between the left side margin block and the text block. Since my printing house requires 3mm of space

Re: [NTG-context] Layout with equal margins.

2023-05-21 Thread Pawel Urbanski via ntg-context
Thanks Wolfgang! Just last few questions and I og wiht cows home... :) ** Does backspace or cutspace cover the inner space where bhe book binding is located? ** What about the margin where one would like to place chapter and section numbers? Since my printing house requires 3mm of space

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Joel via ntg-context
    \input knuth     \input knuth     \input knuth     \input knuth \stoptext --Joel On Saturday, May 20, 2023 at 07:49:45 PM MDT, Joel via ntg-context wrote: I have been using \placefigure[here, force] to place some graphics, but its instead showing other text from the next section

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Mikael Sundqvist via ntg-context
Hi, On Sun, May 21, 2023 at 3:48 AM Joel via ntg-context wrote: > > I have been using \placefigure[here, force] to place some graphics, but its > instead showing other text from the next section, then the picture. In > testing, this is causing readers to be confused, as they e

[NTG-context] How to really force figure to appear "here"?

2023-05-20 Thread Joel via ntg-context
I have been using \placefigure[here, force] to place some graphics, but its instead showing other text from the next section, then the picture. In testing, this is causing readers to be confused, as they expect to see a picture, but its somehow appearing two pages later. I don't care

Re: [NTG-context] Module authors: please update your metadata

2023-05-15 Thread Jairo A. del Rio via ntg-context
y. > > The metadata for your module looks good, except the missing license. > > The file list also looks good: > https://modules.contextgarden.net/cgi-bin/module.cgi/action=view/id=107 > But the download file is not to be found in the download section. Check again, please. >

Re: [NTG-context] Module authors: please update your metadata

2023-05-15 Thread Henning Hraban Ramm via ntg-context
=107 But the download file is not to be found in the download section. Directory and VERSION has the new change date, but nothing more: https://modules.contextgarden.net/dl/ I don’t know what happened, would you please try to upload again and/or send me your release file? Hr

[NTG-context] Custom TOC with makeup and setups

2023-05-10 Thread Jethro Djan via ntg-context
Hello, I am trying to create a presentation where at the start of each section in my presentation, a custom TOC page is shown. When I am at a particular section, the TOC will grey out all other sections (not implemented in my MWE). I have tried different ways but I find using makeups for the TOC

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

2023-04-29 Thread Garulfo via ntg-context
cal numero = structures.sections.current() if numero == nil then numero = 1 else numero = structures.sections.current().references.listindex + 1 end context.page() context("inbetween : "..structures.lists.collected[numero].titledata.title) context.page() \stopluacode} \setuphe

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

2023-04-29 Thread Garulfo via ntg-context
Hi all, I would like to use the title and the number of a section twice : - first with a specific layout (with makeup) - second, as usual, as part of the page flow. like in : http://www.pragma-ade.nl/general/manuals/cont-enp.pdf#page=23 looking at the source code (http://context.aanhet.net

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

2023-04-21 Thread Fabrice Couvreur via ntg-context
An extra parenthesis in a section title seems to be the problem but I'm not sure. I compiled the file line by line and it works now. Thanks Fabrice Le ven. 21 avr. 2023 à 14:37, Hans Hagen via ntg-context a écrit : > On 4/21/2023 5:05 PM, Fabrice Couvreur via ntg-context wrote: >

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
] [SansBold*default sa 2.2] \setuphead [title] [style=ChapterTextStyle, align=flushright] \setuplist [chapter] [style=bold, alternative=b, width=1em] \setuplist [section] [margin=1em, width=1.75em

Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.

2023-04-18 Thread Hans Hagen via ntg-context
On 4/18/2023 3:52 PM, Pawel Urbanski via ntg-context wrote: Hi Hans, I will write what I want to acomplish. While it is definitely thrivial, I'm either missing something obvious or more experienced users suffer from the curse of knowledge. I want ot use Roboto Flex for my chapter and section

Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.

2023-04-18 Thread Pawel Urbanski via ntg-context
> > Hi Hans, > I will write what I want to acomplish. While it is definitely thrivial, > I'm either missing something obvious or more experienced users suffer from > the curse of knowledge. > > I want ot use Roboto Flex for my chapter and section heads with Garamond > Premi

Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.

2023-04-18 Thread Pawel Urbanski via ntg-context
Hi Hans, I will write what I want to acomplish. While it is definitely thrivial, I'm either missing something obvious or more experienced users suffer from the curse of knowledge. I want ot use Roboto Flex for my chapter and section heads with Garamond Premier for the body contents. I followed

Re: [NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Alan Braslau via ntg-context
Try: \completecontent [criterium=all] Alan On Tue, 18 Apr 2023 01:06:02 +0200 Kalouguine Andre via ntg-context wrote: > Hi, > > I was trying to have my "Acknowledgements" section/chapter before the > table of contents but be contained within it. > >

[NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Kalouguine Andre via ntg-context
Hi, I was trying to have my "Acknowledgements" section/chapter before the table of contents but be contained within it. Is it normal that the table of contents is empty if there is a chapter that begins before it? ``` \starttext \chapter{Acknowledgements} Thank you \compl

[NTG-context] Typescript definitions and font goodies for Adobe Garamond Premier Pro.

2023-04-13 Thread Pawel Urbanski via ntg-context
files for typescripts and goodies? Maybe we could update and expand a wiki section with such files and instructions? All the best, Pawel ___ If your question is of interest to others as well, please add an entry

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

2023-04-10 Thread Garulfo via ntg-context
4cm]}, ] \setuphead [chapter] [ style=\bfc, textcolor=Couleur2, numbercolor=CouleurContraste2, sectionsegments=1:2, page=yes, align=flushleft, ] \setuphead [title] [ ] \setuphead [section] [ style=\bfb, textcolor=Couleur3, numbercolor=CouleurContraste3,

<    1   2   3   4   5   6   7   8   9   10   >