[NTG-context] Re: last page number for a list

2024-04-03 Thread Wolfgang Schuster
Alan Bowen schrieb am 30.03.2024 um 20:59: How can I get the last page number of a chapter for a list (ToC)? Outside of a list, I use \lastpagenumber. But that does not work in a list such as the ToC. Any tips or pointers will be gladly received. You can try this: \definepagestate[alanpage]

[NTG-context] Re: last page number for a list

2024-04-03 Thread Alan Bowen
Hi, Bruce— This does not quite work—the page numbers are those of the first page of the chapter, not the last. But thanks for the tip about \writetolist. Perhaps I can get that to work. What I need are ToC entries like AuthorName ShortTitle 1–6 I need this pagination

[NTG-context] Re: last page number for a list

2024-04-03 Thread Bruce Horrocks
> On 30 Mar 2024, at 19:59, Alan Bowen wrote: > > How can I get the last page number of a chapter for a list (ToC)? > > Outside of a list, I use \lastpagenumber. > But that does not work in a list such as the ToC. > > Any tips or pointers will be gladly received. I'm not quite sure what

[NTG-context] Re: error with \sc

2024-04-02 Thread Peter Münster
On Tue, Apr 02 2024, Andres Conrado Montoya wrote: > You shouldn't run context as root in any case. I don’t run context as root. But I need to erase the cache in /opt/context/tex/texmf-cache as root, because the user doesn’t have the permission to do that. -- Peter

[NTG-context] Re: error with \sc

2024-04-02 Thread Andres Conrado Montoya
You shouldn't run context as root in any case. But glad it worked. El mar, 2 abr 2024 a las 15:34, Peter Münster () escribió: > On Tue, Apr 02 2024, Pablo Rodriguez via ntg-context wrote: > > > mtxrun --script cache --erase && mtxrun --generate > > Thanks. It did not work after doing it as

[NTG-context] Re: error with \sc

2024-04-02 Thread Peter Münster
On Tue, Apr 02 2024, Pablo Rodriguez via ntg-context wrote: > mtxrun --script cache --erase && mtxrun --generate Thanks. It did not work after doing it as root, but then I saw, that there is also a cache in the user home-directory, so I’ve done it as the user too, and now it works. --

[NTG-context] Re: error with \sc

2024-04-02 Thread Pablo Rodriguez via ntg-context
On 4/2/24 21:23, Mikael Sundqvist wrote: > On Tue, Apr 2, 2024 at 9:16 PM Peter Münster wrote: >> [...] >> TIA for any hints, > > Hans wrote in his email: > -- If you have troubles (crash) you need to wipe the cache due to a > change in lua bytecode storage (no easy way to catch it). > > Did you

[NTG-context] Re: error with \sc

2024-04-02 Thread Mikael Sundqvist
Hi, On Tue, Apr 2, 2024 at 9:16 PM Peter Münster wrote: > > Hi, > > With ConTeXt version 2024.04.01, the \sc command produces an error: > > fonts > preloading latin modern fonts (second stage) > fonts > 'fallback modern rm 12pt' is loaded > pages > flushing realpage

[NTG-context] error with \sc

2024-04-02 Thread Peter Münster
Hi, With ConTeXt version 2024.04.01, the \sc command produces an error: fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern rm 12pt' is loaded pages > flushing realpage 1, userpage 1, subpage 1 close source> level 1, order 3, name

[NTG-context] Re: what about "textdisplay"?

2024-04-02 Thread Hans Hagen via ntg-context
On 4/2/2024 7:44 AM, Henning Hraban Ramm wrote: Am 01.04.24 um 18:54 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
Am 01.04.24 um 18:54 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in the source of a presentation from him. I

[NTG-context] Re: OT: San Seriffe

2024-04-01 Thread Keith McKay
Shurely Shome Mishtake. It should be grauniad_sans! https://wordhistories.net/2017/06/05/origin-of-grauniad/ Keith On 01/04/2024 15:45, Henning Hraban Ramm wrote: Am 01.04.24 um 16:34 schrieb Hans Hagen via ntg-context: On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote: in honour of Knuth and

[NTG-context] what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. I wanted to document it, but can’t find it in the sources: $ context --find=textdisplay mtx-context |

[NTG-context] Re: OT: San Seriffe

2024-04-01 Thread Henning Hraban Ramm
Am 01.04.24 um 16:34 schrieb Hans Hagen via ntg-context: On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote: in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe the subject title suggest that you found an open type version Well, I found one, but it‘s not

[NTG-context] Re: OT: San Seriffe

2024-04-01 Thread Hans Hagen via ntg-context
On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote: in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe the subject title suggest that you found an open type version Hans -

[NTG-context] OT: San Seriffe

2024-04-01 Thread Henning Hraban Ramm
in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] context editor support / syntax highlighting for Pulsar

2024-04-01 Thread Henning Hraban Ramm
Hi Hans (et al.), find attached a slightly extended version of the "interface" script that can also generate the list of commands in cson format for Pulsar/Atom. It just creates a basic list of commands for syntax highlighting; for a complete plugin, "grammars" and "settings" are missing,

[NTG-context] Re: upload

2024-04-01 Thread Hans Hagen
On 4/1/2024 11:34 AM, Otared Kavian wrote: Hi Hans and Mikael, Thanks for the new module math-goodriddance ! Indeed there are many mathematicians who are going to use the \goodriddancemath command, and no doubt they are going to thank you, even if they are very shy to come out. Moreover

[NTG-context] Re: upload

2024-04-01 Thread Otared Kavian
Hi Hans and Mikael,Thanks for the new module math-goodriddance ! Indeed there are many mathematicians who are going to use the \goodriddancemath command, and no doubt they are going to thank you, even if they are very shy to come out.Moreover this command can be used by people who want to

[NTG-context] Re: upload

2024-04-01 Thread Mikael Sundqvist
Hi, On Mon, Apr 1, 2024 at 9:36 AM Hans Hagen wrote: > > Hi, > > There is a new lmtx upload. > > -- The svg inclusion via metapost has been upgraded and cleanup a bit, > using some more recent metapost features. There are some new (not yet > all documented metapost) features. > > -- In the

[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2024-04-01 Thread Cron Daemon
receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml show-fil.pdf context/latest/ context/latest/cont-lmt.zip context/latest/cont-mpd.zip context/latest/cont-ppc.zip context/latest/cont-sci.zip

[NTG-context] upload

2024-04-01 Thread Hans Hagen
Hi, There is a new lmtx upload. -- The svg inclusion via metapost has been upgraded and cleanup a bit, using some more recent metapost features. There are some new (not yet all documented metapost) features. -- In the process, support for LCH colors has been added, which is documented in

[NTG-context] last page number for a list

2024-03-30 Thread Alan Bowen
How can I get the last page number of a chapter for a list (ToC)? Outside of a list, I use \lastpagenumber. But that does not work in a list such as the ToC. Any tips or pointers will be gladly received. Alan ___ If

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Hans Hagen
On 3/30/2024 12:07 PM, Bruce Horrocks wrote: On 30 Mar 2024, at 09:38, Henning Hraban Ramm wrote: Am 30.03.24 um 03:15 schrieb Joel via ntg-context: I have code like this: \placefigure[here, force]{my caption}{% \externalfigure[#1][frame=on, maxheight=1.2\textwidth,

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Bruce Horrocks
> On 30 Mar 2024, at 09:38, Henning Hraban Ramm wrote: > > Am 30.03.24 um 03:15 schrieb Joel via ntg-context: >> I have code like this: >> \placefigure[here, force]{my caption}{% >> \externalfigure[#1][frame=on, maxheight=1.2\textwidth, >> maxwidth=\textwidth]% >> }% >> I need

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Henning Hraban Ramm
Am 30.03.24 um 03:15 schrieb Joel via ntg-context: I have code like this:     \placefigure[here, force]{my caption}{%         \externalfigure[#1][frame=on, maxheight=1.2\textwidth, maxwidth=\textwidth]%     }% I need some images to appear in a book. I need them to keep their proper

[NTG-context] How to get an image to fill the maximum available space?

2024-03-29 Thread Joel via ntg-context
I have code like this:     \placefigure[here, force]{my caption}{%         \externalfigure[#1][frame=on, maxheight=1.2\textwidth, maxwidth=\textwidth]%     }% I need some images to appear in a book. I need them to keep their proper ratios, but scale up to the maximize the available space. The

[NTG-context] Re: Underbar

2024-03-28 Thread Willi Egger
Thank you Wolfgang! This is what I needed. Willi > On 28 Mar 2024, at 17:56, Wolfgang Schuster > wrote: > > Willi Egger schrieb am 28.03.2024 um 17:23: >> Hello everybody, >> >> I have a text, where a couple of lines are typeset with \underbar. — To me >> this underbar is a fraction to

[NTG-context] Re: Underbar

2024-03-28 Thread Wolfgang Schuster
Willi Egger schrieb am 28.03.2024 um 17:23: Hello everybody, I have a text, where a couple of lines are typeset with \underbar. — To me this underbar is a fraction to near the text. So I wanted to use \setupbar[…] to change the offset. Unfortunately nothing happens whatever I try. MWE:

[NTG-context] Underbar

2024-03-28 Thread Willi Egger
Hello everybody, I have a text, where a couple of lines are typeset with \underbar. — To me this underbar is a fraction to near the text. So I wanted to use \setupbar[…] to change the offset. Unfortunately nothing happens whatever I try. MWE: \setupbar[offset=-.5,dy=-.5] \starttext Hello!

[NTG-context] Re: ConTeXt on RPI400

2024-03-27 Thread Pablo Rodriguez via ntg-context
On 3/27/24 15:55, h...@hongfeng.ch wrote: > Hello Pablo, > > Tried, the problem still remains. Weird, if I remove the cache, I get a single line error message: mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' Could you run the "install.sh" script located at

[NTG-context] Re: Visually balanced columns

2024-03-27 Thread Wolfgang Schuster
Alexey Kryukov schrieb am 27.03.2024 um 14:02: Hi list, I'd like to know if its is possible to get visually balanced mixedcolumns in lmtx. For example, if I have \blank's between paragraphs, I would like them to be stretched or expanded by a such way that the bottommost lines have the same

[NTG-context] Re: ConTeXt on RPI400

2024-03-27 Thread hf
Hello Pablo, Tried, the problem still remains. I did not encouinter this problem on x64 PC. I will try to find another RPI4B computer to try. Thank you. Hong 2024年3月27日 02:58, "Pablo Rodriguez via ntg-context" 写到: > On 3/26/24 18:43, Andres Conrado Montoya wrote: > >> Can you try the

[NTG-context] New example with both sides margin

2024-03-27 Thread Ursula Hermann
Dear Pablo, Here is my example: \setuppapersize[A4] \setupbodyfont[termes, 12.50pt] \setuplayout[backspace=2.9cm, width=fit] \ininnermargin{\blackrule[color=black, height=0.10ex, width=1cm]\\{3.2.2}} \dontleavehmode \blackrule[color=black, height=0.10ex, width=13.50cm] \showframe

[NTG-context] Visually balanced columns

2024-03-27 Thread Alexey Kryukov
Hi list, I'd like to know if its is possible to get visually balanced mixedcolumns in lmtx. For example, if I have \blank's between paragraphs, I would like them to be stretched or expanded by a such way that the bottommost lines have the same vertical position -- no matter, how many lines there

[NTG-context] Re: Headertext

2024-03-27 Thread Henning Hraban Ramm
Am 26.03.24 um 17:12 schrieb Wolfgang Schuster: begin example \showframe \definetext   [chapterheader] % identifier   [header]    % vertical position (header/footer) % [text]  % horizontal position (text/margin)   [This is a custom header for \tex{chapter}] % content

[NTG-context] Re: Headertext

2024-03-27 Thread Thomas Meyer
Thank you, Wolfgang, that's exactly what I wanted. Greetings Thomas Am 26.03.24 um 17:12 schrieb Wolfgang Schuster: When you use "header=high" you can't have a header because the block for it no longer exists, compare the results for "header=high" and "header=empty" in the following example.

[NTG-context] start/end pages in ToC

2024-03-26 Thread Alan Bowen
Our journal is currently in the process of moving to continuous publication of items in a given volume as they are ready. This entails re-jigging the ToC so that it now includes the start and end page numbers of each item. So far, I have everything pretty much in the right place, but for the page

[NTG-context] Re: ConTeXt on RPI400

2024-03-26 Thread Pablo Rodriguez via ntg-context
On 3/26/24 18:43, Andres Conrado Montoya wrote: > Can you try the following: Delete the `texmf-cache` folder > inside /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/, and then run `mtxrun > --generate && context --make`?  In principle, the two following commands should be enough: mtxrun --script cache

[NTG-context] Re: ConTeXt on RPI400

2024-03-26 Thread Andres Conrado Montoya
Can you try the following: Delete the `texmf-cache` folder inside /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/, and then run `mtxrun --generate && context --make`? After running those two, try again, and let's see if that helps. El mar, 26 mar 2024 a las 7:25, escribió: > Hello Andres, > > > I have

[NTG-context] Re: Headertext

2024-03-26 Thread Wolfgang Schuster
Thomas Meyer schrieb am 26.03.2024 um 16:28: Hi folks, I know, with \setuphead[chapter][header=high] I can suppress the header text on the first page. But what can I do if I still want to have part of the header text on the first page? Is there something I can do with \definetext and if so,

[NTG-context] Headertext

2024-03-26 Thread Thomas Meyer
Hi folks, I know, with \setuphead[chapter][header=high] I can suppress the header text on the first page. But what can I do if I still want to have part of the header text on the first page? Is there something I can do with \definetext and if so, how? Thanks for any help Greetings

[NTG-context] Re: ConTeXt on RPI400

2024-03-26 Thread hf
Hello Andres, I have set up the shell environment variable in my `~/.zshrc`, here it is the output of `echo $PATH` under the shell: ``` /home/hf/WORKSPACE/TOOLS/Emacs/bin:/home/hf/WORKSPACE/TOOLS/ConTeXt/tex/texmf-linux-aarch64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ```

[NTG-context] Re: ConTeXt on RPI400

2024-03-25 Thread Andres Conrado Montoya
You can invoke it directly, with a complete path, and it will work even if it's not in your $PATH variable. In my personal installation I have context at `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin`, so I can call it saying `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin/context hello-world.tex` and

[NTG-context] ConTeXt on RPI400

2024-03-25 Thread hf
Hello, I have installed ConTeXt on my Raspberry Pi 400 (aarch64), tried to typeset this simple file: ``` \starttext First tex file to make, hello, world! \stoptext ``` but the test failed: ``` $context hello-world.tex mtxrun | forcing cache reload resolvers | resolving | configuration files

[NTG-context] (again) \xmlinlineprettyprinttext double hyphens

2024-03-24 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \startbuffer[demo] mtxrun --script check file \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{code}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:code \xmlprettyprinttext{#1}{none}

[NTG-context] Re: Unknown units es and dk

2024-03-24 Thread Hans Hagen
On 3/23/2024 8:31 PM, Hraban Ramm wrote: Am 23.03.24 um 19:05 schrieb Hans Hagen: On 3/23/2024 2:27 PM, Wolfgang Schuster wrote: Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf The es, ts and eu are discussed here: https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf

[NTG-context] Re: Unknown units es and dk

2024-03-24 Thread Jan Ulrich Hasecke via ntg-context
Am 23.03.24 um 19:05 schrieb Hans Hagen: The es, ts and eu are discussed here: https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf it also discusses how the team callibrated these units by sampling texies. Ah, I see. :-) Thanks juh

[NTG-context] Re: Unknown units es and dk

2024-03-23 Thread Hraban Ramm
Am 23.03.24 um 19:05 schrieb Hans Hagen: On 3/23/2024 2:27 PM, Wolfgang Schuster wrote: Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf The es, ts and eu are discussed here: https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf In German, I call these "Spaßeinheiten"

[NTG-context] Re: Unknown units es and dk

2024-03-23 Thread Hans Hagen
On 3/23/2024 2:27 PM, Wolfgang Schuster wrote: Jan Ulrich Hasecke via ntg-context schrieb am 23.03.2024 um 13:57: I saw this in (the btw great) bachotex-stepbystep presentation \definepapersize [example] [width=8.5es, height=11es] \setuptextbackground [location=paragraph,

[NTG-context] Re: Unknown units es and dk

2024-03-23 Thread Wolfgang Schuster
Jan Ulrich Hasecke via ntg-context schrieb am 23.03.2024 um 13:57: I saw this in (the btw great) bachotex-stepbystep presentation \definepapersize [example] [width=8.5es, height=11es] \setuptextbackground [location=paragraph, backgroundcolor=MyColors:4, backgroundoffset=1dk, frame=off] The

[NTG-context] Unknown units es and dk

2024-03-23 Thread Jan Ulrich Hasecke via ntg-context
I saw this in (the btw great) bachotex-stepbystep presentation \definepapersize [example] [width=8.5es, height=11es] \setuptextbackground [location=paragraph, backgroundcolor=MyColors:4, backgroundoffset=1dk, frame=off] The units "es" and "dk" are unknown to me. What does they mean? TIA

[NTG-context] Re: FreeBSD 13.2

2024-03-22 Thread Roger Mason
Hello, Hans Hagen writes: > well, i put the older in in the latest anyway Rather belatedly, I tested this a few moments ago: it works flawlessly. Many, many thanks. Roger ___ If your question is of interest to

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Wolfgang Schuster
Ursula Hermann schrieb am 22.03.2024 um 15:57: Dear Pablo, Many thanks for your example. Sorry for writing so late. At least I found out, how it works for me .  This is the best way. \setuppapersize[A8,landscape] \setupbodyfont[termes, 12.50pt] \setuplayout[inrightmargin=5.1cm              

[NTG-context] Re: Use of marking

2024-03-22 Thread Pablo Rodriguez via ntg-context
On 3/21/24 19:00, Thomas Meyer wrote: > Hi Pablo and Bruce, > > thank you very much for your two solutions. That helps me enormously now. Hi Thomas, literally, »nichts zu danken«, since it was Andrés and not me who provided a solution. Cheers, Pablo

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Pablo Rodriguez via ntg-context
On 3/22/24 15:57, Ursula Hermann wrote: > Dear Pablo,  > > Many thanks for your example. Sorry for writing so late.  Dear Ursula, many thanks for your minimal sample. > At least I found out, how it works for me .  This is the best way.  > [...] > \inrightmargin{\blackrule\\{3.2.2}}\par

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Ursula Hermann
Dear Pablo, Many thanks for your example. Sorry for writing so late. At least I found out, how it works for me . This is the best way. \setuppapersize[A8,landscape] \setupbodyfont[termes, 12.50pt] \setuplayout[inrightmargin=5.1cm backspace=2.9cm,

[NTG-context] Re: Use of marking

2024-03-21 Thread Thomas Meyer
Hi Pablo and Bruce, thank you very much for your two solutions. That helps me enormously now. Greetings Thomas Am 21.03.24 um 16:34 schrieb Bruce Horrocks: \startsetups[doc:header] \getmarking[chapternumber] \space - \space \getmarking[chapter] \space :: \space

[NTG-context] Re: Use of marking

2024-03-21 Thread Bruce Horrocks
> On 20 Mar 2024, at 18:45, Andres Conrado Montoya > wrote: > > 2. As far as I have found, including the chapter/section number in the > marking is not really a trivial task. I usually hack something using > \headnumber and \getmarking, like so: You can do the following:

[NTG-context] Re: offset with \copypages

2024-03-21 Thread Wolfgang Schuster
Peter Münster schrieb am 21.03.2024 um 15:04: Hi, When inserting pages with \copypages, the included pages are slightly shifted to the left and to the bottom. Minimal example: % test-file.tex: \setuplayout[page] \starttext \input tufte \vfill \input tufte \stoptext % test.tex: \starttext

[NTG-context] offset with \copypages

2024-03-21 Thread Peter Münster
Hi, When inserting pages with \copypages, the included pages are slightly shifted to the left and to the bottom. Minimal example: % test-file.tex: \setuplayout[page] \starttext \input tufte \vfill \input tufte \stoptext % test.tex: \starttext \copypages[test-file.pdf] \stoptext How could I

[NTG-context] issue with \xmlinlineprettyprinttext

2024-03-20 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \startbuffer[demo] a --b c a --b c \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|code|inlinecode}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1}

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
As I understand, Thomas needs a layout in which the header shows something like 1. Chapter title -- 1.1. Section title (including the numbers! *This is the important bit!*) There are a couple things about this: 1. In a section (part, chapter, section, etc.) you can introduce three versions of

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
\setupheadtext[de][section=Aufgabe] Rename the section, then you don’t need marking. Sorry, I'm in a hurry and must look up how to get the number… Am 20.03.24 um 12:18 schrieb Thomas Meyer: Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" works! I know

[NTG-context] Re: Use of marking

2024-03-20 Thread Thomas Meyer
Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" works! I know \setupheadertexts, but do not know what shall I write here: \startsection[titel=Aufgabe, marking=?] If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same. \setupheadertexts   

[NTG-context] Re: command line arguments

2024-03-20 Thread Hraban Ramm
Am 19.03.24 um 23:53 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 19.03.2024 um 21:41: Following up on the other imposition question, I'm trying to make an example file that shows an imposition schema according to command line arguments. This way it works for the number of pages, as

[NTG-context] Re: can we do binding correction?

2024-03-20 Thread Hraban Ramm
Hi Andrés, thank you! Am 20.03.24 um 06:07 schrieb Andres Conrado Montoya: I have found with experience that a formula to calculate the binding correction for a saddle stitch binding, not more than 4 pages in a signature (only one fold in the middle) usually is 1/2 the circumference of a

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
Am 20.03.24 um 08:18 schrieb Thomas Meyer: HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself. But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgabe" in

[NTG-context] Use of marking

2024-03-20 Thread Thomas Meyer
HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself. But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgabe" in the header on the right. How can I automate

[NTG-context] Re: can we do binding correction?

2024-03-20 Thread Hraban Ramm
Am 19.03.24 um 23:42 schrieb Willi Egger: Generally I know for what binding correction is used, I just never tried to set it up. If I look carefully at one of our printed booklets, the printshop also didn’t. So I'd need pageshift without applying imposition (setting it up wouldn’t hurt). I

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Andres Conrado Montoya
There is some mention of a mechanism to get binding correction from an old article in the wiki about emulating the Koma TypeArea from LaTeX, you can see it in https://wiki.contextgarden.net/KOMA-scrartcl_Type_Area There is also some discussion about the subject in SE:

[NTG-context] Re: command line arguments

2024-03-19 Thread Wolfgang Schuster
Hraban Ramm schrieb am 19.03.2024 um 21:41: Following up on the other imposition question, I'm trying to make an example file that shows an imposition schema according to command line arguments. This way it works for the number of pages, as used in \dorecurse{\Pages}{…}, but not for the

[NTG-context] Re: command line arguments

2024-03-19 Thread Willi Egger
Hello Hraban, I puzzled a while. To me the —arguments= option does not work. I saw then on the Wiki, that one can also add documentarguments as —schema=2UP —numberofpages=16. I further changed to \startdocument … \stopdocument. Please look at the attached file Willi impositiontest-2.tex

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Willi Egger
Hi Hraban, > On 19 Mar 2024, at 21:56, Hraban Ramm wrote: > > Thank you Willi! > > Generally I know for what binding correction is used, I just never tried to > set it up. If I look carefully at one of our printed booklets, the printshop > also didn’t. So I'd need pageshift without applying

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Hraban Ramm
Thank you Willi! Generally I know for what binding correction is used, I just never tried to set it up. If I look carefully at one of our printed booklets, the printshop also didn’t. So I'd need pageshift without applying imposition (setting it up wouldn’t hurt). I didn’t think about

[NTG-context] command line arguments

2024-03-19 Thread Hraban Ramm
Following up on the other imposition question, I'm trying to make an example file that shows an imposition schema according to command line arguments. This way it works for the number of pages, as used in \dorecurse{\Pages}{…}, but not for the imposition schema. Typesetting \Schema looks

[NTG-context] Re: Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 20:35: I am trying to suppress the chapter number in a section number as below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way to achieve this? 1. The First Chapter 1. The First Section ... 2. The Second Section ... 2. The Second Chapter

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jean-Pierre Delange
Hi Jeroen, You can try this : \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=left] Sorry if I send owls to Athens ! JP Le 19/03/2024 à 15:38, Jeroen a écrit : For comments that are placed in the margin, the

[NTG-context] Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Jeroen
I am trying to suppress the chapter number in a section number as below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way to achieve this? 1. The First Chapter 1. The First Section ... 2. The Second Section ... 2. The Second Chapter 1. The Third Section ... 2. The Fourth Section

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 12:59: I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not vertically align properly with the chapter number in

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 19:34: This one unbolds the margin text: \setupmargindata[inouter][style=\tf] This one works well, it unbolds and reduces the size of the margin text: \setupmargindata   [inouter]   [style={\switchtobodyfont[8pt]}] This one does not seem to make a change:

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Jeroen
I have been able to achieve it as following, but the first frame width is fixed so will cause problems with other chapter numbers such as VIII \unexpanded\def\HeadTitle#1#2% {\hbox to \hsize \bgroup \hfill \setupframed[offset=.5em,frame=off] \tbox{\framed[width=22mm,align=right]{#1}}%

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jeroen
This one unbolds the margin text: \setupmargindata[inouter][style=\tf] This one works well, it unbolds and reduces the size of the margin text: \setupmargindata [inouter] [style={\switchtobodyfont[8pt]}] This one does not seem to make a change: \setupmargindata[inmargin][style={\tf}]

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Willi Egger
Hi Hraban, I think we should clarify this. Binding correction is a fixed amount of whitespace in the spine added to the inner white-space. This is to ensure, that the binding, which is consuming white-space, keeps the inner white-space optically as intended.. The page shift mechanism works

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Marco Patzer
On Tue, 19 Mar 2024 15:38:16 +0100 Jeroen wrote: > Can this text be placed in the margin in regular text or possibly > in slightly smaller font size compared to the regular text in the > document? \setupmargindata [inleft] [style=\tfx] Marco

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 15:38: For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Hraban Ramm
Am 19.03.24 um 15:38 schrieb Jeroen: For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document?

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Hraban Ramm
Hi Jeroen, it might make sense to use \setuphead[chapter][ conversion=R, ] \setuplabeltext[nl][chapter={Boek }] instead of ownnumber. I would use one command for number and title and put both in the same kind of frame. Probably you should use a \strut in the text or \inframed[strut=yes]

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Hans van der Meer via ntg-context
I am using: \margindata[]{group to isolate change e.g. {\rm \it etc}} yours sincerely dr. Hans van der Meer > On 19 Mar 2024, at 15:38, Jeroen wrote: > > For comments that are placed in the margin, the \inleft{}, \inouter{} etc > will place text in the margin in bold. Can this text be

[NTG-context] Comments placed in the margin

2024-03-19 Thread Jeroen
For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document?

[NTG-context] Adjusted Chapter Headings

2024-03-19 Thread Jeroen
I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not vertically align properly with the chapter number in the frame (inside the frame is vertically

[NTG-context] Re: ck hyphenation in old German orthography

2024-03-18 Thread Hraban Ramm
Am 18.03.24 um 00:02 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 17.03.2024 um 12:06: Hi, the sample file aesop-de is in old German orthography, there, ck should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t hyphenated at all). Is there something I can configure? Hraban

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Hraban Ramm
Am 18.03.24 um 07:36 schrieb Mikael Sundqvist: Hi, On Sun, Mar 17, 2024 at 10:57 PM Hraban Ramm wrote: … and another thing that came up in my workshops and in discussions at our booth: the math manual is eagerly awaited! (My book too, but I can’t answer most questions about math.) Oh, I see.

[NTG-context] Re: issue with typing in footnotes

2024-03-18 Thread Pablo Rodriguez via ntg-context
On 3/17/24 23:58, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38: >> [...] >> As far as I know, this sample should be compiled without any issue. >> >> Could you be so kind to confirm the issue or explain me what am I missing? > > The footnote environment

[NTG-context] Re: can we do binding correction?

2024-03-18 Thread Hraban Ramm
Am 17.03.24 um 23:54 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 17.03.2024 um 22:48: Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz Linux Days today: Can I configure binding correction for saddle-stitched or thread-bound booklets, and if, does it only work

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Aditya Mahajan
On Mon, 18 Mar 2024, Mikael Sundqvist wrote: > > One participant tested some math alignment examples from an older paper > > by Aditya and found them working in her current LMTX installation but > > not in COW – I know it runs an older version, but Aditya’s article was > > even older… > > There

[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-18 Thread Hans Hagen
On 3/18/2024 1:31 AM, Jim wrote: On Sat, Mar 16, 2024 at 15:20 (+0100), Hans Hagen wrote: On 3/16/2024 2:10 PM, Jim wrote: On Fri, Mar 15, 2024 at 01:53 (+0100), Aditya Mahajan wrote: On Thu, 14 Mar 2024, Jim wrote: Max (et al), were you hoping the ConTeXt distribution would ship its

<    1   2   3   4   5   6   7   8   9   10   >