[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
On Thu, 2024-05-30 at 23:20 +0100, Bruce Horrocks wrote: > I'd be able to maintain a Context PPA but there already seems to be > one: > I think that's just the source used in Ubuntu. This is called a "source package" in the Debian parlance: https:

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Bruce Horrocks
> On 30 May 2024, at 23:25, Gerion Entrup wrote: > > Am Donnerstag, 30. Mai 2024, 18:49:08 MESZ schrieb Bruce Horrocks: >> >>> On 30 May 2024, at 15:15, Gerion Entrup wrote: >>> >>> Let's begin with a minimal example: >>> ``` >>> \define[2]\MyChapter{% >>> #1 #2: \structureuservariable{subti

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
Am Donnerstag, 30. Mai 2024, 22:54:47 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 30.05.2024 um 16:25: > > The chapter format that I want to achieve in the end is nearly the one in > > the attachment (excerpt of Christian Dietrich's PhD thesis). > > When you have a complex layout i

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
Am Donnerstag, 30. Mai 2024, 18:49:08 MESZ schrieb Bruce Horrocks: > > > On 30 May 2024, at 15:15, Gerion Entrup wrote: > > > > Let's begin with a minimal example: > > ``` > > \define[2]\MyChapter{% > > #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro}) > > } > > Stop there

[NTG-context] Re: Number in a circle

2024-05-30 Thread Bruce Horrocks
> On 30 May 2024, at 21:19, Henning Hraban Ramm wrote: > > Am 30.05.24 um 19:25 schrieb Kip Warner: >> On Thu, 2024-05-30 at 18:26 +0200, Thomas A. Schmitz wrote: >>> Is this a message "I'm volunteering to maintain such a ppa" or a >>> message "wouldn't it be nice if someone went out of their wa

[NTG-context] Re: self defined conversion in \date

2024-05-30 Thread Wolfgang Schuster
Peter Münster schrieb am 30.05.2024 um 23:22: On Thu, May 30 2024, Wolfgang Schuster wrote: The \date mechanism can only use conversions which are defined on the Lua side Ok. How please? This does not work: --8<---cut here---start->8--- \startluacode -- f

[NTG-context] Re: missing space with French quotation

2024-05-30 Thread Rik Kabel
My apologies to all, and thank you, Wolfgang. Time to update my notes. -- Rik On 2024-05-30 16:33, Wolfgang Schuster wrote: Rik Kabel schrieb am 30.05.2024 um 19:21:  From my basic environment file, a useful reminder:     %% \mainlanguage sets language used for labels (TOC, chapters, ...)    

[NTG-context] Re: self defined conversion in \date

2024-05-30 Thread Peter Münster
On Thu, May 30 2024, Wolfgang Schuster wrote: > The \date mechanism can only use conversions which are defined on the Lua side Ok. How please? This does not work: --8<---cut here---start->8--- \startluacode -- from https://wiki.contextgarden.net/Command/defin

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
On Thu, 2024-05-30 at 17:26 +0200, Henning Hraban Ramm wrote: > My example wasn’t complete, and so is yours. You just define that > typeface but never use it. I'm probably doing it wrong, but I still can't get it to work: \definefontfallback[SymbolFB] [file:symbola.otf] [0x00300-0x0

[NTG-context] Re: self defined conversion in \date

2024-05-30 Thread Wolfgang Schuster
Peter Münster schrieb am 30.05.2024 um 13:59: Hi, It seems, that you cannot use self defined conversions in \date: \defineconversion[mytest][X-\romannumerals] \starttext Self defined conversion: \convertnumber{mytest}{1} (OK)\\ Predefined conversion in date: \date[d=1][day:a] (OK)\\ Self define

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Wolfgang Schuster
Gerion Entrup schrieb am 30.05.2024 um 16:25: The chapter format that I want to achieve in the end is nearly the one in the attachment (excerpt of Christian Dietrich's PhD thesis). When you have a complex layout it is easier to use the \defineheadalternative command to create it. To change

[NTG-context] Re: missing space with French quotation

2024-05-30 Thread Wolfgang Schuster
Rik Kabel schrieb am 30.05.2024 um 19:21: From my basic environment file, a useful reminder: %% \mainlanguage sets language used for labels (TOC, chapters, ...) %% \language sets language to use for hyphenation, quote rules, ... \mainlanguage includes all settings of \language. As yo

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
Am 30.05.24 um 19:25 schrieb Kip Warner: On Thu, 2024-05-30 at 18:26 +0200, Thomas A. Schmitz wrote: Is this a message "I'm volunteering to maintain such a ppa" or a message "wouldn't it be nice if someone went out of their way to make my life easier"? Just out of curiosity. Right now it's the

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
On Thu, 2024-05-30 at 18:26 +0200, Thomas A. Schmitz wrote: > Is this a message "I'm volunteering to maintain such a ppa" or a > message "wouldn't it be nice if someone went out of their way to make > my life easier"? Just out of curiosity. Right now it's the latter due to time constraints. Althou

[NTG-context] Re: missing space with French quotation

2024-05-30 Thread Rik Kabel
From my basic environment file, a useful reminder: %% \mainlanguage sets language used for labels (TOC, chapters, ...) %% \language sets language to use for hyphenation, quote rules, ... -- Rik On 2024-05-30 11:34, Peter Münster wrote: Hi, When using \start/stopquotation in French docu

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Bruce Horrocks
> On 30 May 2024, at 15:15, Gerion Entrup wrote: > > Let's begin with a minimal example: > ``` > \define[2]\MyChapter{% > #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro}) > } Stop there! Use \definehead to create your own variation of a heading - much more robust. Some

[NTG-context] Re: Number in a circle

2024-05-30 Thread Thomas A. Schmitz
On 30.05.24 18:18, Kip Warner wrote: Thanks Hrabab. With respect to the latter wiki page, the project might consider adding a PPA. They're very popular among the over a hundred different Debian based distros out there. They reconcile both system requirements of proper FHS usage and file tracking

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
On Thu, 2024-05-30 at 17:22 +0200, Henning Hraban Ramm wrote: > Am 28.05.24 um 23:50 schrieb Kip Warner: > > On Tue, 2024-05-28 at 17:47 +0200, Pablo Rodriguez wrote: > > > fw is a new dimensio unit only available in LMTX (not in LuaTeX). > > > > > > Just in case it might help, > > > > Thanks Pab

[NTG-context] \hfrac undefined in latest

2024-05-30 Thread Henning Hraban Ramm
Hi Hans & Mikael, \hfrac is not defined anymore in latest LMTX, is this intentional? (I don’t need it, it’s just about documentation.) Hraban ___ If your question is of interest to others as well, please add an entr

[NTG-context] missing space with French quotation

2024-05-30 Thread Peter Münster
Hi, When using \start/stopquotation in French documents, there is a missing space: \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \starttext bla \quotation{OK} bla\\ bla «OK» bla \startquotation Not Ok: a space is missing \stopquotation \stoptext Is this a bug or a feature? How cou

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
Am 28.05.24 um 23:49 schrieb Kip Warner: On Tue, 2024-05-28 at 08:17 +0200, Henning Hraban Ramm wrote: Am 27.05.24 um 19:20 schrieb Kip Warner: You could just define a fallback font, like: \definefontfallback[SymbolFB]    [file:symbola.otf]    [0x00300-0x003FF,0x02100-0x02800,0x1F000-0x200

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
Am 28.05.24 um 23:50 schrieb Kip Warner: On Tue, 2024-05-28 at 17:47 +0200, Pablo Rodriguez wrote: fw is a new dimensio unit only available in LMTX (not in LuaTeX). Just in case it might help, Thanks Pablo. I'm using the context package for Ubuntu Mantic which is version 2021.03.05.20230120+d

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
Hi Tomáš, first, thank you for the answer. Am Donnerstag, 30. Mai 2024, 16:47:36 MESZ schrieb Tomáš Hála: > Hi Gebrion, > > > ## Font size + ## Bold text > > for font size etc., you can use > \setuphead [chapter] [style={\setupbodyfont[11pt]}] or > \setuphead [chapter] [style=\tf] > >

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Tomáš Hála
Hi Gebrion, > ## Font size + ## Bold text for font size etc., you can use \setuphead [chapter] [style={\setupbodyfont[11pt]}] or \setuphead [chapter] [style=\tf] \setuphead [chapter] [style=\bf] > ## Line breaks + ## Framed > How can I achieve line breaks? \define[2]\MyChapter{% \fra

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
The chapter format that I want to achieve in the end is nearly the one in the attachment (excerpt of Christian Dietrich's PhD thesis). Best Gerion Am Donnerstag, 30. Mai 2024, 16:15:01 MESZ schrieb Gerion Entrup: > Hi, > > I'm trying to adapt the format of chapters in my document and have a fe

[NTG-context] setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
Hi, I'm trying to adapt the format of chapters in my document and have a few questions regarding setuphead. My aim is to have the chapter (title) on a separate page with an additional intro in different text sizes for title, subtitle and the intro. I chose to use the "command=" argument in setup

[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Rik Kabel
Bypass the place figure mechanism completely  by placing them on the page in an overlay. On May 30, 2024 04:22, Tomáš Hála wrote:Hi Charlie, I guess that \starttplacefigure[location={none},...] might help you. Or (older) \placefigure[none][,,,]{...}{...} Best, Tomáš > I haven’t type

[NTG-context] self defined conversion in \date

2024-05-30 Thread Peter Münster
Hi, It seems, that you cannot use self defined conversions in \date: \defineconversion[mytest][X-\romannumerals] \starttext Self defined conversion: \convertnumber{mytest}{1} (OK)\\ Predefined conversion in date: \date[d=1][day:a] (OK)\\ Self defined conversion in date: \date[d=1][day:mytest] (no

[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Charles Doherty via ntg-context
Thanks Hraban, Tomáš Hála suggested l \starttplacefigure[location={none},...] which works a treat. I will keep your suggestion in mind too. I am very grateful to you all. Thank you, Charlie > On 30 May 2024, at 11:41, Henning Hraban Ramm wrote: > > If you don’t need them in the list and also

[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Henning Hraban Ramm
Am 29.05.24 um 17:35 schrieb Charles Doherty via ntg-context: I have \placelistoffigures some of which are logos (for the publisher and two granting bodies) that I have placed with: \setupcaptions[number=no] \starttplacefigure[ location={middle,high,low}, reference=fig:logo, titl

[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Tomáš Hála
Hi Charlie, I guess that \starttplacefigure[location={none},...] might help you. Or (older) \placefigure[none][,,,]{...}{...} Best, Tomáš > I haven’t typeset a book before and various things are a challenge. The most > recent is the following. > > I have \placelistoffigures some of which are