[NTG-context] Re: Looking for itemize help

2024-01-14 Thread Henning Hraban Ramm
Am 15.01.24 um 01:42 schrieb Jim: Some text preceding the list of items: a. Item one. b. Second item. This sentence is part of the same paragraph. The next paragraph starts here... \startitemize[packed,joinedup] should be the right combination. Hraban

[NTG-context] Re: Spacing problem in formula

2024-01-14 Thread Shiv Shankar Dayal
Thanks a lot Mikael. On Mon, Jan 15, 2024 at 12:24 PM Mikael Sundqvist wrote: > Hi, > > ConTeXt supports prescripts: > > \startTEXpage[offset=1DK] > > \m{1 - {}^nC_2\tan^2\theta + {}^nC_4 } > > \m{1 - C_2^^n \tan^2\theta + C_4^^n } > > \stopTEXpage > > If you want them below, use double _. > >

[NTG-context] Re: Spacing problem in formula

2024-01-14 Thread Mikael Sundqvist
Hi, ConTeXt supports prescripts: \startTEXpage[offset=1DK] \m{1 - {}^nC_2\tan^2\theta + {}^nC_4 } \m{1 - C_2^^n \tan^2\theta + C_4^^n } \stopTEXpage If you want them below, use double _. /Mikael On Mon, Jan 15, 2024 at 7:45 AM Shiv Shankar Dayal wrote: > > Suppose I want to typeset the

[NTG-context] Spacing problem in formula

2024-01-14 Thread Shiv Shankar Dayal
Suppose I want to typeset the formula: 1 - {}^nC_2\tan^2\theta + {}^nC_4 then it appears as if n is power of - and +. The same formula in LaTeX comes out nicely. Is there something I need to change? -- Respect, Shiv Shankar Dayal

[NTG-context] Looking for itemize help

2024-01-14 Thread Jim
I have \setupwhitespace [big] so that I get "a blank line" between paragraphs. I would like to *not* have "blank lines" before and after my items. For example, if there is more "paragraph text" after the last item I would like to see this structure:

[NTG-context] issue with \setuptyping (and XML sources)

2024-01-14 Thread Pablo Rodriguez via ntg-context
Dear list, the issue I’m experiencing comes from XML sources typeset with ConTeXt. I have tried, but I found no way to get a minimal sample. For code fragments in the XML source, I use: \bgroup\xmlprettyprinttext{#1}{none}\egroup To which I apply: \setuptyping [style={\tt\wider},

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Thomas Meyer
Here comes my minimal example. \vfill doesn't fit the grid, the counted blank works. Is it possible to jump to grid with blank[?] ? Am 14.01.24 um 13:53 schrieb Wolfgang Schuster: Thomas Meyer schrieb am 14.01.2024 um 11:21: Thank you Wolfgang and Hraban, it can be so easy! But if my last

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-14 Thread mf
Thank you Wolfgang, but my problem is getting back the page of the document starting from a "realpage" value picked from structures.registers.collected in the .tuc file. Anyway, looking at the .tuc file produced by your example, I found that structures.pages.collected has all the

[NTG-context] Re: font error in float placement?

2024-01-14 Thread Hans Hagen via ntg-context
Hi, to index a nil value (field 'embed') fixed in next upload (this merge upgrade is a bit work in progress) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

[NTG-context] Re: font error in float placement?

2024-01-14 Thread Bruce Horrocks
On 13 Jan 2024, at 20:29, Henning Hraban Ramm wrote: > > Am 13.01.24 um 21:09 schrieb Henning Hraban Ramm: >>> Here’s the image: >>> https://yemaya.fiee.net/s/8TqwfcP7mLMmy9p >>> (In a simple document it works.) >> I found a workaround: I opened the file with Inkscape and converted >>

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Wolfgang Schuster
Thomas Meyer schrieb am 14.01.2024 um 11:21: Thank you Wolfgang and Hraban, it can be so easy! But if my last subject should be at the end of the page and I shift it with \vfill to the end, the last subject doesn't fit the grid! Can you provide a minimal example where you show what you're

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Thomas Meyer
Thank you Wolfgang and Hraban, it can be so easy! But if my last subject should be at the end of the page and I shift it with \vfill to the end, the last subject doesn't fit the grid! Am 14.01.24 um 11:02 schrieb Henning Hraban Ramm: Am 14.01.24 um 10:30 schrieb Thomas Meyer: which settings

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Henning Hraban Ramm
Am 14.01.24 um 10:30 schrieb Thomas Meyer: which settings are necessary to achieve "Registerhaltigkeit"? \setuplayout[grid=yes] You might like \showgrid, and please read the manual details.pdf WRT to placement of elements that don’t fit the grid. Hraban

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Wolfgang Schuster
Thomas Meyer schrieb am 14.01.2024 um 10:30: Hi folks, which settings are necessary to achieve "Registerhaltigkeit"? \setuplayout[grid=yes] but sometimes elements elements have to be forced to be on the grid, e.g. tables need to be part of a float. Wolfgang

[NTG-context] "Registerhaltigkeit"

2024-01-14 Thread Thomas Meyer
Hi folks, which settings are necessary to achieve "Registerhaltigkeit"? Thank you in advance Thomas___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :