[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Gerion Entrup
Am Donnerstag, 6. Juni 2024, 13:51:53 MESZ schrieb Hans Hagen via ntg-context: > On 6/6/2024 12:30 PM, Gerion Entrup wrote: > > Hi, > > > > I like to achieve something that looks like this: > > ``` > > \definedelimitedtext[extract][blockquote] > > \setupdelimitedtext > >[extract] > >[leftm

[NTG-context] ConTeXt source from XML

2024-06-06 Thread Christoph Edenhauser
Dear Pablo, Dear Christoph, just in case it might help to your meditation. First of all, lpaths are XPath implemented with Lua in ConTeXt. XPath seems to have as it primary purpose to address the nodes of XML trees. About your sources, the real issue here is to define whether you want TEI or

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Gerion Entrup
Am Donnerstag, 6. Juni 2024, 16:34:03 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 06.06.2024 um 12:30: > > Hi, > > > > I like to achieve something that looks like this: > > ``` > > \definedelimitedtext[extract][blockquote] > > \setupdelimitedtext > >[extract] > >[leftmargin=

[NTG-context] Re: background= key not working in \startbackground and \starttextbackground

2024-06-06 Thread Aditya Mahajan
On Thu, 6 Jun 2024, Wolfgang Schuster wrote: > Aditya Mahajan schrieb am 06.06.2024 um 14:48: > > Hi, > > > > I am testing some of my old styles on latest context and find that the > > background key of \startbackground and \starttextbackground doesn't work > > (\framed is working as expected). He

[NTG-context] Re: Kerning in Noto Serif

2024-06-06 Thread Lutz Haseloff
Thanks Hans, works now as expected. Am 6. Juni 2024 16:30:56 MESZ schrieb Hans Hagen : >On 6/6/2024 12:21 PM, Lutz Haseloff wrote: >> Thanks Hraban, >> >> my Noto Serif (just downloaded) is 2.013 >> >> --script font shows kern too: >> kern cyrl dflt >>    dflt dflt >>    grek d

[NTG-context] Re: ConTeXt source from XML

2024-06-06 Thread Hans Hagen via ntg-context
On 6/6/2024 5:33 PM, Pablo Rodriguez via ntg-context wrote: On 6/5/24 20:23, Christoph Edenhauser wrote: Dear Pablo, Thank you very much for your very clear, detailed and elaborate explanations.  - Over the next few days I will meditate on the ConTeXt way to handle XML and on my workflow and ta

[NTG-context] Re: ConTeXt source from XML

2024-06-06 Thread Pablo Rodriguez via ntg-context
On 6/5/24 20:23, Christoph Edenhauser wrote: > Dear Pablo, > > Thank you very much for your very clear, detailed and elaborate > explanations.  - Over the next few days I will meditate on the ConTeXt > way to handle XML and on my workflow and take a look at lpath (never > heard of it). And somehow

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Hans Hagen via ntg-context
On 6/6/2024 4:34 PM, Wolfgang Schuster wrote: Gerion Entrup schrieb am 06.06.2024 um 12:30: Hi, I like to achieve something that looks like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext    [extract]    [leftmargin=1.5pc,     style={\italic},     before={\setupindenting

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Wolfgang Schuster
Gerion Entrup schrieb am 06.06.2024 um 12:30: Hi, I like to achieve something that looks like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext [extract] [leftmargin=1.5pc, style={\italic}, before={\setupindenting[next]}, after={\blank[1ex] \hrule \blank[1

[NTG-context] Re: Kerning in Noto Serif

2024-06-06 Thread Hans Hagen
On 6/6/2024 12:21 PM, Lutz Haseloff wrote: Thanks Hraban, my Noto Serif (just downloaded) is 2.013 --script font shows kern too: kern cyrl dflt    dflt dflt    grek dflt    latn dflt (^^ but not all steps are shared!) I updates that font (updating noto is a pain ..

[NTG-context] Re: background= key not working in \startbackground and \starttextbackground

2024-06-06 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 06.06.2024 um 14:48: Hi, I am testing some of my old styles on latest context and find that the background key of \startbackground and \starttextbackground doesn't work (\framed is working as expected). Here is a MWE: 1. \starttextbackground isn't based on \framed a

[NTG-context] background= key not working in \startbackground and \starttextbackground

2024-06-06 Thread Aditya Mahajan
Hi, I am testing some of my old styles on latest context and find that the background key of \startbackground and \starttextbackground doesn't work (\framed is working as expected). Here is a MWE: \startuseMPgraphic{background:test} fill OverlayBox withcolor 0.75[red,white]; draw Overla

[NTG-context] Re: \item would fit, but was pushed to next page. Work-around or fix?

2024-06-06 Thread Jim
On Thu, Jun 6, 2024 at 11:04 (+0200), Aditya Mahajan wrote: > On Wed, 5 Jun 2024, Jim wrote: >> Hi, >> I had the following structure which ended up at the bottom of a page: > This is perhaps not related to what you asked but ... >> \noindent >> {\bf Blah blah blah } >> \startitemize[intro,no

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Hans Hagen via ntg-context
On 6/6/2024 12:30 PM, Gerion Entrup wrote: Hi, I like to achieve something that looks like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext [extract] [leftmargin=1.5pc, style={\italic}, before={\setupindenting[next]}, after={\blank[1ex] \hrule \blank[1ex]

[NTG-context] Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Gerion Entrup
Hi, I like to achieve something that looks like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext [extract] [leftmargin=1.5pc, style={\italic}, before={\setupindenting[next]}, after={\blank[1ex] \hrule \blank[1ex] \startalignment[flushright] \tfx\italic{René Des

[NTG-context] Re: Kerning in Noto Serif

2024-06-06 Thread Lutz Haseloff
Thanks Hraban, my Noto Serif (just downloaded) is 2.013 --script font shows kern too: kern cyrl dflt dflt dflt grek dflt latn dflt Greetings Lutz Am 6. Juni 2024 11:12:18 MESZ schrieb Henning Hraban Ramm : >Am 06.06.24 um 09:41 schrieb Lutz Haseloff: >> Hi all,

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

2024-06-06 Thread Gerion Entrup
Am Montag, 3. Juni 2024, 15:13:20 MESZ schrieb Hans Hagen via ntg-context: > On 6/3/2024 1:36 PM, Gerion Entrup wrote: > > Thank you. I think that I understand command vs alternative now. > > With try and error, I experienced, that the font/style of the `style` > > parameter interleave in a strange

[NTG-context] Re: Kerning in Noto Serif

2024-06-06 Thread Henning Hraban Ramm
Am 06.06.24 um 09:41 schrieb Lutz Haseloff: Hi all, I can't get Kerning working with Noto Serif. My minimal file is: \definefontfeature[oldstylenumber][onum=yes] \definefont[testnoto][file:NotoSerif-Regular*default at 12pt] \starttext Line 1: {VAVAVAVAVAVA 12345}\par Line 2: {\setff{oldstylenumb

[NTG-context] Re: \item would fit, but was pushed to next page. Work-around or fix?

2024-06-06 Thread Aditya Mahajan
On Wed, 5 Jun 2024, Jim wrote: > Hi, > > I had the following structure which ended up at the bottom of a page: > This is perhaps not related to what you asked but ... > \noindent > {\bf Blah blah blah } > \startitemize[intro,nowhite] Starting a paragraph with a group {...} can lead to unexpec

[NTG-context] Kerning in Noto Serif

2024-06-06 Thread Lutz Haseloff
Hi all, I can't get Kerning working with Noto Serif. My minimal file is: \definefontfeature[oldstylenumber][onum=yes] \definefont[testnoto][file:NotoSerif-Regular*default at 12pt] \starttext Line 1: {VAVAVAVAVAVA 12345}\par Line 2: {\setff{oldstylenumber}VAVAVAVAVAVA 12345}\par Line 3: {\addff{old