[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
TABLE \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. Wol

[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
Notes' 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{meta

[NTG-context] disable header for endnotes

2023-08-16 Thread jbf
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}\hfill}][] [\setups{middl

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

2023-08-15 Thread Xavier B.
7;pgfmath' 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 i

[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 \f

[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. The

[NTG-context] Re: Very strange error:

2023-08-14 Thread Hans Hagen via ntg-context
t spacing right 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 'l

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
es.geometric.code.tex' close source> level 2, order 73, name 'tikzlibraryshapes.geometric.code.tex' open source > level 2, order 74, name 'tikzlibraryfadings.code.tex' open source > level 3, order 75, name 'pgflibraryfadings.code.tex' fonts

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

2023-08-11 Thread Hans Hagen
o visually offset multiple paragraphs 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

[NTG-context] Pass string into text background graphic

2023-08-11 Thread Thangalin
;; Then the title "some 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

[NTG-context] Typing with text wrapping

2023-08-05 Thread Alex Leray
persize[page, portrait][page, portrait] \definehead[poem][section] \setuphead[poem][] \definetyping[CUSTOM] \setuptyping[CUSTOM][escape={[[,]]}] \starttext \showgrid \startpoem[title={My title}][] \startCUSTOM[] \stopCUSTOM \st

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

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

[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. \sto

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

2023-07-30 Thread Calvin Ross
s kind of thing in ConTeXt? 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 implemen

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 disabli

Re: [NTG-context] TiKz with LMTX

2023-06-04 Thread Jigé via ntg-context
tes from the online 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 >

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 Brussels, but

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{tufte}} \s

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-21 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
nput knuth     \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-20 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 exp

[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
e 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-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
elist [chapter,section,subsection,subsubsection] [criterium=all, interaction=all, alternative=c] \stoptitle \stopfrontmatter \startbodymatter \chapter{xxx} \stopbodymatter \stopproduct shows a table of conten

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
Style] [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

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 se

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 >

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 fol

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. > > Is

[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
definition 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 en

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

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] contextgarden wiki

2023-03-30 Thread Jim via ntg-context
On Thu, Mar 30, 2023 at 09:31 (+0200), Taco Hoekwater wrote: >> On 30 Mar 2023, at 00:23, Jim via ntg-context wrote: >> At https://wiki.contextgarden.net/Wiki:About there is a Contact section, >> including >> For general questions (any questions!),

Re: [NTG-context] contextgarden wiki

2023-03-30 Thread Taco Hoekwater via ntg-context
> On 30 Mar 2023, at 00:23, Jim via ntg-context wrote: > > At https://wiki.contextgarden.net/Wiki:About there is a Contact section, > including > >For general questions (any questions!), start a new topic on the >Context_wiki:Discussions page. > >

[NTG-context] contextgarden wiki

2023-03-29 Thread Jim via ntg-context
At https://wiki.contextgarden.net/Wiki:About there is a Contact section, including For general questions (any questions!), start a new topic on the Context_wiki:Discussions page. If you need the help of an administrator, there is a list of administrators at

Re: [NTG-context] natural table oddities

2023-03-27 Thread Bruce Horrocks via ntg-context
Working on the documentation for “natural tables” in my book I stumbled upon >> a few oddities/problems: >> ## Addressing cells: >> * There’s \setupTABLE[header], but not "footer" (or "section"); since we >> have TABLEhead and TABLEfoot, IMO "head"

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Willi Egger via ntg-context
>>>> text starts at the height of the chapter-numbering and is not carrying the >>>> given number. >>>> Am I doing something wrong? >>> >>> The wiki says: >>> >>> “The default table of contents is combined list. To write to

Re: [NTG-context] natural table oddities

2023-03-27 Thread Henning Hraban Ramm via ntg-context
I would be happy about some answers/comments. Hraban Am 13.03.23 um 23:26 schrieb Henning Hraban Ramm: Working on the documentation for “natural tables” in my book I stumbled upon a few oddities/problems: ## Addressing cells: * There’s \setupTABLE[header], but not "footer" (o

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Hans Hagen via ntg-context
[section]{1.1}{Section list entry A}, etc.” https://wiki.contextgarden.net/Command/writetolist So maybe you need a dot? Otherwise I don’t know. \definehead[xsubject][section][number=no] \setuplist[xsubject][margin=2em] \starttext \starttitle[title=Contents] \placelist[chapter,xsubject

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Willi Egger via ntg-context
ined list. To write to it one has to > choose the level to which it should be inserted: > \writetolist[chapter]{1.}{Chapter list entry A}, > \writetolist[section]{1.1}{Section list entry A}, etc.” > > https://wiki.contextgarden.net/Command/writetolist > > So maybe you need a dot? >

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Henning Hraban Ramm via ntg-context
the given number. Am I doing something wrong? The wiki says: “The default table of contents is combined list. To write to it one has to choose the level to which it should be inserted: \writetolist[chapter]{1.}{Chapter list entry A}, \writetolist[section]{1.1}{Section list entry A}, etc

[NTG-context] natural table oddities

2023-03-14 Thread Henning Hraban Ramm via ntg-context
" (or "section"); since we have TABLEhead and TABLEfoot, IMO "head" and "foot" would make sense. * Row 1 is the first row of TABLEbody. I couldn’t find how to address the first line of TABLEbody. * Is it possible, and how, to use odd/even only for the body? *

Re: [NTG-context] extra lines in PDF annotations

2023-03-14 Thread Pablo Rodriguez via ntg-context
] \starttext \section{one\xmlprocessbuffer{main}{text}{}} \section{two\xmlprocessfile{main}{sample-text.xml}{}} \stoptext It requires that the source is saved with CRLF line endings (so that \savebuffer will save that way too), otherwise both \comment will be exactly the same. I hope it

Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Aditya Mahajan via ntg-context
On Mon, 6 Mar 2023, Henning Hraban Ramm via ntg-context wrote: > Am 06.03.23 um 12:19 schrieb Gerion Entrup via ntg-context: > > I want to typeset a "Good to know" section that is visually highlighted > > and can spawn across multiple pages. > > > > In

Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Henning Hraban Ramm via ntg-context
Am 06.03.23 um 12:19 schrieb Gerion Entrup via ntg-context: I want to typeset a "Good to know" section that is visually highlighted and can spawn across multiple pages. In LaTeX this would be possible with the mdframed package. See the attached screenshot for an example how it might

[NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Gerion Entrup via ntg-context
Hi, I want to typeset a "Good to know" section that is visually highlighted and can spawn across multiple pages. In LaTeX this would be possible with the mdframed package. See the attached screenshot for an example how it might look like (it is copied out of page 4: Definition: Inh

Re: [NTG-context] [m-database] How to properly add module arguments?

2023-03-04 Thread Paul Mazaitis via ntg-context
ing like > \c!left would be "left" in English, "gauche" in French, "links" in > German, "vlevo" in Czech, etc. This, too, was useful - as per the Scratch Variables page in the System Macros section of the garden (https://wiki.contextgarden.net/System_Mac

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

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

2023-03-04 Thread Joel via ntg-context
I've set a \pagereference in a chapter, and want to print its chapter title and page number, ex. "You can find more information in "Fish" on p. 1" (where "Fish" is the title of the chapter or section). I've tried looking all through the wiki, thinking thi

Re: [NTG-context] Float control

2023-03-01 Thread Max Chernoff via ntg-context
ot;Typical" documents don't usually have any issues, but you can (even accidentally) make a document that gives some really weird results. > Anyway, I'd like to learn more about the whole float issue. Is there anything > particular I could read to learn more about the whole thin

[NTG-context] [m-database] How to properly add module arguments?

2023-02-25 Thread Paul Mazaitis via ntg-context
-database.mkiv file: --- begin definition in m-database.mkiv --- \setupdatabase [\c!separator={,}, \c!quotechar=, \c!commentchar=, \c!strip=\v!no, \c!skipheader=\v!no, % <- Added, following the pattern with strip \c!before=, \c!after=, \c!first=, \c!last=, \c!left=

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

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
t how to design a chapter page for a custom head section with uservariables defined. I'd like to have the chapter page start on a right page. I'd like this page to feature the title of the chapter (here: an interview) along with some other info like the interviewee name and bio. All in

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Bruce Horrocks via ntg-context
uthor={Jane Doe}, year={2022}, month={Decembre}, bio={\input ward} ] \dorecurse{10}{\input ward \crlf} \stopinterview \stoptext > On 23 Feb 2023, at 10:21, Alex Leray via ntg-context > wrote: > > Hello, > > I'm trying to figure out how to design a chapter

[NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
Hello, I'm trying to figure out how to design a chapter page for a custom head section with uservariables defined. I'd like to have the chapter page start on a right page. I'd like this page to feature the title of the chapter (here: an interview) along with some othe

[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{A

Re: [NTG-context] How to prevent \subject from being the last line

2023-02-20 Thread Sylvain Hubert via ntg-context
Thanks, Pablo and Bruce. Both solutions work well. > I had similar issues with \section and only the Latin script was involved. Btw, just in case if anyone shares this idea: is it possible to have a zulip channel for ConTeXt? It's free for open source projects, has a interface for

Re: [NTG-context] How to prevent \subject from being the last line

2023-02-19 Thread Pablo Rodriguez via ntg-context
help. It is not clear for me whether the CJK fonts are only for fragments in these languages or the main text is written in any of these languages. I had similar issues with \section and only the Latin script was involved. Again, I hope it might help, Pablo _

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

2023-02-16 Thread Hans Hagen via ntg-context
On 2/16/2023 8:07 PM, Alex Leray via ntg-context wrote: 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

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
Hello, I'd like to have roman numerals prefixed sections, but starting from Zero and not One (even if I know that roman numerals don't have a sign for 0). Is there a way to achieve this? My code looks like that at the moment: ### \setuphead[section][conversion=Romannumerals]

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

2023-02-15 Thread Alex Leray via ntg-context
=none, frame=none, width=broad, height=fit, align=middle]{#1.\\#2}} \setuphead[section][ conversion=Romannumerals, style={\bf\kerncharacters[0.075]\WORDS}, align=middle, command=\MySection, ] ### Thanks! Le 15/02/23 à 19:11, Rik Kabel via ntg-context a

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

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut=no

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

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut=no

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

2023-02-15 Thread Alex Leray via ntg-context
Hello again, I'm having another issue: I'd like Chapter/Section number and titles in separate lines but with grid alignement. I followed that advice: https://wiki.contextgarden.net/Titles#Chapter_number_and_titles_in_separate_lines I'm having an issue though: I can't

[NTG-context] setupregister/placeregister

2023-02-10 Thread Alan Braslau via ntg-context
Hello, The criterium key in setupregister (so placeregister, placeindex, ...) takes the following values: criterium local text current previous all section all: places all entries of the document section: (part, chapter, section, ...) places entries associated with that structure element

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] Wrong prefix in cross references to formulas in external document

2023-01-31 Thread Yaroslav Beltukov via ntg-context
references to other components > > are taken from the whole product as from an external document. It turned > > out that this is a general problem with references with prefixes to > > external documents. The prefix is stored in a tuc file as a reference to > > a section as a se

[NTG-context] list not following "focus=standard"?

2023-01-30 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \dorecurse{25} {\section{Section} a\footnote{b}} \stoptext Using current latest (from 2023.01.26 18:34), destinations for TOC are pages (/D [ 7 0 R /Fit ]) and

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-30 Thread Hans Hagen via ntg-context
ed looking into this issue. The references to other components are taken from the whole product as from an external document. It turned out that this is a general problem with references with prefixes to external documents. The prefix is stored in a tuc file as a reference to a section as a

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Alan Braslau via ntg-context
> I started looking into this issue. The references to other components > are taken from the whole product as from an external document. It > turned out that this is a general problem with references with > prefixes to external documents. The prefix is stored in a tuc file as > a re

[NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Yaroslav Beltukov via ntg-context
the whole product as from an external document. It turned out that this is a general problem with references with prefixes to external documents. The prefix is stored in a tuc file as a reference to a section as a sequential number of the header in the document. As a result, the prefix from th

Re: [NTG-context] numbering questions

2023-01-01 Thread Henning Hraban Ramm via ntg-context
! I’m playing with some examples of section numbering. * Is there a setup to influence the order of number segments? I.e. can I have “section.chapter.part“ instead of “part.chapter.section”? You need a new prefix-set to rearrange the order of the sections. begin example \defineprefixset

Re: [NTG-context] numbering questions

2023-01-01 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 31.12.2022 um 18:23: A happy new year to everyone! I’m playing with some examples of section numbering. * Is there a setup to influence the order of number segments? I.e. can I have “section.chapter.part“ instead of “part.chapter.section”? You

Re: [NTG-context] numbering questions

2022-12-31 Thread Henning Hraban Ramm via ntg-context
Am 31.12.22 um 20:41 schrieb Pablo Rodriguez via ntg-context: On 12/31/22 18:23, Henning Hraban Ramm via ntg-context wrote: I’m playing with some examples of section numbering. * Is there a setup to influence the order of number segments? I.e. can I have “section.chapter.part“ instead of

Re: [NTG-context] numbering questions

2022-12-31 Thread Pablo Rodriguez via ntg-context
On 12/31/22 18:23, Henning Hraban Ramm via ntg-context wrote: > I’m playing with some examples of section numbering. > > * Is there a setup to influence the order of number segments? I.e. can I > have “section.chapter.part“ instead of “part.chapter.section”? I thought sec

Re: [NTG-context] numbering questions

2022-12-31 Thread Duncan Hothersall via ntg-context
I can't test right now but would something like \setuphead[Day][sectionsegments=Day:Month:Year] help? Duncan On Sat, 31 Dec 2022 at 17:24, Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > A happy new year to everyone! > > I’m playing with some examples

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