[NTG-context] Re: Nested itemize

2023-08-21 Thread Alexandre Christe
It’s true that \vtop{…} does the job for a single line of items, but it doesn’t in the case there’re multiple (\vtop{}) aligns with the bottom. Here’s a modified MWE \startitemize[n][style=\bf]   \item \godown[-\lineheight] \startitemize

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

2023-08-21 Thread Andres Conrado Montoya
I'm trying to force a page break in a table of contents, using what is recommended at https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, it does not work. Here's a MWE: \definelistextra[page][before=\page] \starttext \starttitle[title={Table of contents}]

[NTG-context] Fallbacks for design sizes in the current typescripts regime

2023-08-21 Thread Hamid,Idris
Dear gang, Design sizes for typefaces -- aka "optical sizes" -- are no longer directly implemented in typescripts. From the manual Fonts out of ConTeXt by Hans Hagen, p. 109: "at some point the decision was made to kick out these definitions and move the burden of figuring out the right size

[NTG-context] Low res output possible?

2023-08-21 Thread Benjamin Buchmuller
Hi Julian, I had the same question a couple of days ago and I found a thread on the mailing list, which I'm reposting here. Although this worked for me, I found downsampling of the pdf with gs more convenient. Hope this helps, Benjamin % if not modules then modules = { } end modules

[NTG-context] Re: Nested itemize

2023-08-21 Thread fv leung
I'd do it this way: \starttext \startitemize[n][style=\bf] \item\vtop{% \startitemize[a,horizontal,four][stopper=\)] \startitem $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$ \stopitem \startitem $-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$ \stopitem \startitem $7(x +

[NTG-context] Low res output possible?

2023-08-21 Thread jbf
Just wondering: in programs like InDesign, Viva Designer, it is trivial to produce a low resolution pdf output (useful when exchanging a hi-res file with authors and editors prior to pre-print is difficult). I assume it might be possible to do so in ConTeXt. Currently I use a script (gs) to

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Hans Hagen
On 8/21/2023 5:59 PM, Michael Löscher wrote: Yes, I have done that. But I don't seem to have the basic context of how the processing works in order. All I have so far is this as a starting point: you can also find examples in the test suite (xml subpath)

[NTG-context] Re: Nested itemize

2023-08-21 Thread Alexandre Christe
Dear ConTeXt users, Time goes by but I haven't yet found a nice solution to this issue. When having mathematics, I'd not like to adjust by hand the factor of \linewidth for the \godown command. Here's a MWE \starttext \startitemize[n][style=\bf] \item \godown[-\lineheight] \startitemize

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Hans Hagen via ntg-context
On 8/21/2023 6:56 PM, Thomas A. Schmitz wrote: On 8/21/23 18:36, Michael Löscher wrote: Thank you so far. But what I would like to understand first ist how the different setups work togehter. How are they processed? What is the order of processing, which are the stets taken by the enginge when

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Thomas A. Schmitz
On 8/21/23 18:36, Michael Löscher wrote: Thank you so far. But what I would like to understand first ist how the different setups work togehter. How are they processed? What is the order of processing, which are the stets taken by the enginge when processing an xml document? Without

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Thomas A. Schmitz
On 8/21/23 17:59, Michael Löscher wrote: Yes, I have done that. But I don't seem to have the basic context of how the processing works in order. All I have so far is this as a starting point: Really? I told you about the various commands \xmldoif, but there's nothing in your starting point.

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Michael Löscher
Yes, I have done that. But I don't seem to have the basic context of how the processing works in order. All I have so far is this as a starting point: \startxmlsetups xml:mysetup \xmlsetsetup{main}{document|element|mdata|tdata|name|date|num|content|shortdescription|p}{xml:*} \stopxmlsetups

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Thomas A. Schmitz
Have you looked at chapter 3.10 "Testing" of the manual xml-mkiv.pdf? There are a lot of commands there that should help you, such as \xmldoiftext {#1} {/mdata/date} {\bf \xmlflush {#1}} or \xmldoifelsetext. There's also \xmlfilter, which you can use to test for the content of tags. And of

[NTG-context] XML processing beginner's question

2023-08-21 Thread Michael Löscher
Hello list, having the xml data at the bottom, I would like to process it so that the result is like this: --- What it is (e.g. bold formatted) date: 2023-08-01 (italic) Description (small font size) Another text (small font size) hd1 - Header 1 § 1 First (A first short description)

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-21 Thread Thomas A. Schmitz
On 8/21/23 14:22, Carlos wrote: fuck this shit. The first reaction would of course be to respond in the same tone. I think it would be wrong. You should be aware that to most of us, your messages sound like they come from a sociopath. Nothing in the subject we're talking about warrants

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-21 Thread Carlos
On Sun, Aug 20, 2023 at 06:41:42PM +0200, Hans Hagen wrote: > On 8/20/2023 5:51 PM, Carlos wrote: > > On Sun, Aug 20, 2023 at 03:38:15PM +0200, Wolfgang Schuster wrote: > > > Carlos schrieb am 19.08.2023 um 15:32: > > > > On Fri, Aug 18, 2023 at 08:58:58PM +0200, Wolfgang Schuster wrote: > > > > >

[NTG-context] Re: zint 2.12.0 barcode generator

2023-08-21 Thread Keith McKay
Apologies. I realised late last night that I had forgotten to update the paths zint in my shell and after doing that this morning all now works. Apologies again. Thanks for the help. Keith On 20/08/2023 22:05, Bruce Horrocks wrote: On 20 Aug 2023, at 17:28, Keith McKay wrote: Hi all,

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread Hans Hagen
On 8/21/2023 10:24 AM, denis.ma...@unibe.ch wrote: -Ursprüngliche Nachricht- Von: Hans Hagen Gesendet: Freitag, 18. August 2023 17:10 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: Penalties and overprinting in tabulate On 8/18/2023 4:36 PM, denis.ma...@unibe.ch wrote: Dear list,

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Freitag, 18. August 2023 17:10 > An: ntg-context@ntg.nl > Betreff: [NTG-context] Re: Penalties and overprinting in tabulate > > On 8/18/2023 4:36 PM, denis.ma...@unibe.ch wrote: > > Dear list, > > > > typesetting the example below