Re: [NTG-context] poetry \startlines and tab

2022-01-11 Thread jbf via ntg-context
For poetry that has non-regular indentations, I simply \definelines[poem] and set that up the way I want, obviously, with \setuplines[poem]  e.g. [before={\blank \setupinterlinespace[line=2.5ex]},after={\blank},indenting=first]. And then, but I guess it is still a hack, I use \hskip at a

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Aditya Mahajan via ntg-context
On Tue, 11 Jan 2022, Gavin via ntg-context wrote: > Hello List, > > I am making problem sets for a physics class. Solutions use the style defined > in the example below, and only appear if the “solution” mode is enabled. I am > struggling to get a vertical space for the solution which is the

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Fabrice L via ntg-context
> Le 11 janv. 2022 à 17:56, Gavin via ntg-context a écrit : > > Thanks Hans! This is great. I made a slight change to add an additional > feature. By moving the “mysolution” definition out of \startmode[solution], I > can now use mysolution in either mode. I’d use this if I want to give my >

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Gavin via ntg-context
Thanks Hans! This is great. I made a slight change to add an additional feature. By moving the “mysolution” definition out of \startmode[solution], I can now use mysolution in either mode. I’d use this if I want to give my solution to one of the problems, as an example, on the handout. -Gavin

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Hans Hagen via ntg-context
On 1/11/2022 8:50 PM, Gavin via ntg-context wrote: Hello List, I am making problem sets for a physics class. Solutions use the style defined in the example below, and only appear if the “solution” mode is enabled. I am struggling to get a vertical space for the solution which is the same

[NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Gavin via ntg-context
Hello List, I am making problem sets for a physics class. Solutions use the style defined in the example below, and only appear if the “solution” mode is enabled. I am struggling to get a vertical space for the solution which is the same whether or not the solution is printed. Different

Re: [NTG-context] Critical Editions?

2022-01-11 Thread Arthur Rosendahl via ntg-context
On Mon, Jan 10, 2022 at 08:06:14PM +0100, Hans Hagen via ntg-context wrote: > I can add sanskit patterns to the distribution but I wonder: how does this > interact with reordering in fonts? Do we need to postpone hyphenation till > after reordering? If you mean glyph reordering in Indic

Re: [NTG-context] How to setupbtx to get short citations?

2022-01-11 Thread Mikael Sundqvist via ntg-context
On Sun, Jan 9, 2022 at 11:56 PM Mikael Sundqvist wrote: > > Hi, > > In the example below I can do \cite[short][hh2010] to get the citation > in the short format. But I thought that would also be the standard > with \setupbtx[aps][alternative=short] (so that I can write > \cite[hh2010] instead).

Re: [NTG-context] poetry \startlines and tab

2022-01-11 Thread Hans Hagen via ntg-context
On 1/11/2022 3:01 AM, Youssef Cherem via ntg-context wrote: Hello, I needed to typeset some poetry and noticed that \startlines[space=on] Some line with tab % doesn't work, no spaces added Some line with spaces %work \stoplines Is there a way to make the "tab" render the space "as is"?

Re: [NTG-context] How to let a macro check the previous value of #1 the last time the same macro was called?

2022-01-11 Thread Hans Hagen via ntg-context
On 1/11/2022 5:22 AM, Aditya Mahajan via ntg-context wrote: On Tue, 11 Jan 2022, Henning Hraban Ramm via ntg-context wrote: Am 10.01.22 um 20:21 schrieb Wolfgang Schuster: Henning Hraban Ramm via ntg-context schrieb am 10.01.2022 um 09:52: Would it make more sense, or would it be “cleaner”