[NTG-context] Re: How to set section title based on section content?

2024-03-09 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 09.03.2024 um 16:01: How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth }

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-09 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 19:39: On 3/8/24 19:09, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 18:50: [...] LMTX gets b, c and d in slanted form. LuaTeX gets only b and c in slanted form. [...] I get b and d in italic which

[NTG-context] How to set section title based on section content?

2024-03-09 Thread Joel via ntg-context
How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth } \stopsection \stoptext The event macro runs a bunch of

[NTG-context] weird character normalization in the wiki

2024-03-09 Thread Pablo Rodriguez via ntg-context
Dear list, https://wiki.contextgarden.net/Greek#Monotonic_and_Acute_Accent includes two samples that should display the difference betweeen the monotonic accent and the polytonic acute accent (which generate two different characters for each such accented vowel). Excluding other implications,

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Pablo Rodriguez via ntg-context
On 3/8/24 19:09, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 18:50: >> [...] >> LMTX gets b, c and d in slanted form. >> >> LuaTeX gets only b and c in slanted form. > [...] > I get b and d in italic which is the expected output. Sorry, my LuaTeX is getting

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Henning Hraban Ramm
Am 08.03.24 um 18:50 schrieb Pablo Rodriguez via ntg-context: Dear list, the following latest gets differents results when compiled with MkXL and MkIV (in current latest from 2024.03.05 11:26): \definefontfamily[mainface][rm][TeX Gyre Termes] [features={default, quality},

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 18:50: Dear list, the following latest gets differents results when compiled with MkXL and MkIV (in current latest from 2024.03.05 11:26): \definefontfamily[mainface][rm][TeX Gyre Termes] [features={default, quality},

[NTG-context] \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Pablo Rodriguez via ntg-context
Dear list, the following latest gets differents results when compiled with MkXL and MkIV (in current latest from 2024.03.05 11:26): \definefontfamily[mainface][rm][TeX Gyre Termes] [features={default, quality}, it={style: regular, features:{default, quality, slanted}}, sl={style:

[NTG-context] Re: How can I do this?

2024-03-08 Thread Henning Hraban Ramm
Am 08.03.24 um 17:56 schrieb Otared Kavian: Hi Ursula, The reason for which you did not get the expected result is that you have « } » missing in your file, that is the closing brace after your italic command « {\it » at the end of your document. Moreover you did not have a \stoptext in your

[NTG-context] Re: additional font faces

2024-03-08 Thread Henning Hraban Ramm
Am 08.03.24 um 18:02 schrieb Hans Hagen: On 3/8/2024 5:55 PM, Henning Hraban Ramm wrote: Hi, if I need an additional pair of upright and italic font faces, e.g. a Medium or Light version, would it make sense to define them like this: I'd just define a new typeface / bodyfont, using fo

[NTG-context] Re: additional font faces

2024-03-08 Thread Hans Hagen
On 3/8/2024 5:55 PM, Henning Hraban Ramm wrote: Hi, if I need an additional pair of upright and italic font faces, e.g. a Medium or Light version, would it make sense to define them like this: I'd just define a new typeface / bodyfont, using fo rinstance \starttypescript [sans]

[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
Hi Ursula, The reason for which you did not get the expected result is that you have « } » missing in your file, that is the closing brace after your italic command « {\it » at the end of your document. Moreover you did not have a \stoptext in your file, and a math command « \m » was not

[NTG-context] additional font faces

2024-03-08 Thread Henning Hraban Ramm
Hi, if I need an additional pair of upright and italic font faces, e.g. a Medium or Light version, would it make sense to define them like this: % adapted from font-pre.mkxl \definefontalternative[md] \definefontalternative[mi] \definefontalternative[ms] \definealternativestyle [medium]

[NTG-context] Re: Log entries about confusing level change

2024-03-08 Thread Hans Hagen
On 3/8/2024 3:38 AM, Rik Kabel wrote: Hello all, The following example produces two log entries that seem a bit odd. The log entries are: backend > bookmarks > confusing level change at level 3 around '1 body1' backend > bookmarks > confusing level change at level

[NTG-context] Log entries about confusing level change

2024-03-07 Thread Rik Kabel
Hello all, The following example produces two log entries that seem a bit odd. The log entries are: backend > bookmarks > confusing level change at level 3 around '1 body1' backend > bookmarks > confusing level change at level 3 around 'back1' and they refer to

[NTG-context] Re: Font version parse question

2024-03-07 Thread Hans Hagen
On 3/7/2024 7:36 PM, Rik Kabel wrote: Hello all, The font tweak file libertinus_math.lfg tests for a font version of *7.040*, but the result of the version parse is *7.040;RELEASE*, resulting in an error message. I do not know if this is the fault of the parser or of the font metadata.

[NTG-context] Font version parse question

2024-03-07 Thread Rik Kabel
Hello all, The font tweak file libertinus_math.lfg tests for a font version of *7.040*, but the result of the version parse is *7.040;RELEASE*, resulting in an error message. I do not know if this is the fault of the parser or of the font metadata. Changing the test in the .lfg file fixes

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-07 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 20:17: On 3/6/24 19:50, Wolfgang Schuster wrote: [...] Could you write the first line in plain language? Look at the second example of the Lua code in the example below for each command (the first example is your version), the third

[NTG-context] multicolumn title and abstact (bachotex) using tugboat.mkxl

2024-03-07 Thread Damien Thiriet via ntg-context
Hello, I am currently writing my paper for last year's BachoTeX proceedings. I am using tugboat.mkxl module to design the layout. In bachotex proceedings, the author's data and abstract are on a single column and the article is usually typeset on two columns. Comments in tugboat.mkxl states:

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
Hans Hagen schrieb am 06.03.2024 um 21:38: On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Hans Hagen
On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section in th elow level manual and also explain

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 20:11: [...] \startxmlsetupsxml:meta %\aftergrouped{\setupinteraction% \setupmetadata [author={\xmlconcat{#1}{/h2[contains(@class,'author')]}{, }}] %} \stopxmlsetups Use \expanded. \startxmlsetups xml:meta

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 20:11: On 3/6/24 17:35, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 16:52: [...] I wonder whether this requires a minimal sample to be fixed. Yes, a minimal example would help because \setupmetadata

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Pablo Rodriguez via ntg-context
On 3/6/24 19:50, Wolfgang Schuster wrote: >> [...] >> Could you write the first line in plain language? > > Look at the second example of the Lua code in the example below for each > command (the first example is your version), the third example is just a > condensed version of example 2. Many

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Pablo Rodriguez via ntg-context
On 3/6/24 17:35, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 16:52: >> [...] >> I wonder whether this requires a minimal sample to be fixed. > > Yes, a minimal example would help because \setupmetadata works in your > previous example. Many thanks for your

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 04.03.2024 um 20:00: On 2/28/24 19:28, Wolfgang Schuster wrote: [...] \def\beforequadruplenumber#1% {\ifcase\numexpr#1+1;4\relax \number\numexpr#1+4\relax \else \number\numexpr#1+3-#1;4\relax \fi} Sorry for not having

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 16:52: On 3/6/24 15:54, Hans Hagen wrote: [...] \setupmetadata [title=FooBar] that's for those who go global Many thanks for the new command, Hans. I‘m afraid this new command breaks my compilation. The error message isn’t very

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Pablo Rodriguez via ntg-context
On 3/6/24 15:54, Hans Hagen wrote: > [...] >> \setupmetadata >>[title=FooBar] > > that's for those who go global Many thanks for the new command, Hans. I‘m afraid this new command breaks my compilation. The error message isn’t very helpful for me (see below). I wonder whether this requires

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Hans Hagen
On 3/6/2024 11:18 AM, Marco Patzer wrote: On Tue, 5 Mar 2024 23:14:04 +0100 Wolfgang Schuster wrote: Here is the official solution: \startxmlsetups xml:meta \setupmetadata [author={\xmltext{#1}{/author}}, title={\xmltext{#1}{/title}}] \stopxmlsetups So now we have:

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
Dear List, I need a tip how to do this: In the command \definepapersize[Mybook] the height should be not 24 cm, but a little bit longer. My Problem is, as you can see on the PDF, that there are troubles with the Gray Background. The Gray Background should begin with : Mitunter. . I think it

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Henning Hraban Ramm
Am 06.03.24 um 11:18 schrieb Marco Patzer: On Tue, 5 Mar 2024 23:14:04 +0100 Wolfgang Schuster wrote: Here is the official solution: \startxmlsetups xml:meta \setupmetadata [author={\xmltext{#1}{/author}}, title={\xmltext{#1}{/title}}] \stopxmlsetups So now we have:

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Marco Patzer
On Tue, 5 Mar 2024 23:14:04 +0100 Wolfgang Schuster wrote: > Here is the official solution: > > \startxmlsetups xml:meta >\setupmetadata > [author={\xmltext{#1}{/author}}, > title={\xmltext{#1}{/title}}] > \stopxmlsetups So now we have: \setupinteraction [title=FooBar]

[NTG-context] Re: \showsymbolset is noop

2024-03-05 Thread Henning Hraban Ramm
Am 05.03.24 um 23:11 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 04.03.2024 um 21:24: The \showsymbolset has no output any more, apparently already for some time. I checked on COW (ConTeXt ver: 2022.12.22 22:17 LMTX fmt: 2022.12.23) and my local installation (ConTeXt ver:

[NTG-context] Re: missing metadata in LMTX

2024-03-05 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 04.03.2024 um 07:17: On 3/4/24 01:18, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 03.03.2024 um 20:02: [...] With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them. [...] I can confirm the issue and it happens

[NTG-context] Re: \showsymbolset is noop

2024-03-05 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 04.03.2024 um 21:24: The \showsymbolset has no output any more, apparently already for some time. I checked on COW (ConTeXt ver: 2022.12.22 22:17 LMTX fmt: 2022.12.23) and my local installation (ConTeXt ver: 2024.02.22 18:31 LMTX fmt: 2024.2.22). Can someone

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Wolfgang Schuster
Jim schrieb am 04.03.2024 um 15:30: Recently I've been trying to make some PDFs smaller by using better compression of JPEG pictures. I was happy to see that \externalfigure cheerfully accepts .jp2 (JPEG 2000) files. However, my understanding (and I could well be wrong, but I've seen it

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Jim
On Tue, Mar 5, 2024 at 15:18 (+0100), Taco Hoekwater wrote: >> On 4 Mar 2024, at 15:30, Jim wrote: >> Recently I've been trying to make some PDFs smaller by using better >> compression of JPEG pictures. >> I was happy to see that \externalfigure cheerfully accepts .jp2 (JPEG 2000) >> files.

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Taco Hoekwater
> On 4 Mar 2024, at 15:30, Jim wrote: > > Recently I've been trying to make some PDFs smaller by using better > compression of JPEG pictures. > > I was happy to see that \externalfigure cheerfully accepts .jp2 (JPEG 2000) > files. However, my understanding (and I could well be wrong, but

[NTG-context] .jpx and .jxl

2024-03-05 Thread Jim
Recently I've been trying to make some PDFs smaller by using better compression of JPEG pictures. I was happy to see that \externalfigure cheerfully accepts .jp2 (JPEG 2000) files. However, my understanding (and I could well be wrong, but I've seen it multiple places) is that JPEG 2000 *Part 2*

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-05 Thread Pablo Rodriguez via ntg-context
On 2/28/24 19:28, Wolfgang Schuster wrote: > [...] > \def\beforequadruplenumber#1% >{\ifcase\numexpr#1+1;4\relax > \number\numexpr#1+4\relax > \else > \number\numexpr#1+3-#1;4\relax > \fi} Sorry for not having answered before, Wolfgang. I’m afraid I don’t get how \ifcase

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

2024-03-05 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] Re: issue mixing font features (LMTX & MkIV)

2024-03-05 Thread Pablo Rodriguez via ntg-context
On 3/4/24 11:09, Hans Hagen via ntg-context wrote: > [...] > in luametatex we have a bit more advanced mechanism (also relates to > compact mode) because th eengine is a bit more clever > > just make sure that you don't add up features where one calcels the > other, so use for instance: Many

[NTG-context] Re: Local alternative to \input

2024-03-05 Thread Henning Hraban Ramm
Am 04.03.24 um 10:43 schrieb Denis Maier via ntg-context: Hi, Aren’t environments used for setups (and not for textual content). Maybe a buffer may be what you want ? https://wiki.contextgarden.net/Command/startbuffer Yes, buffers are the way to go for (textual) contents, while setups or

[NTG-context] \showsymbolset is noop

2024-03-05 Thread Henning Hraban Ramm
The \showsymbolset has no output any more, apparently already for some time. I checked on COW (ConTeXt ver: 2022.12.22 22:17 LMTX fmt: 2022.12.23) and my local installation (ConTeXt ver: 2024.02.22 18:31 LMTX fmt: 2024.2.22). Can someone try on MkIV? """ \usesymbols[nav] \starttext

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-05 Thread Pablo Rodriguez via ntg-context
On 3/4/24 09:08, Hans Hagen via ntg-context wrote: > On 3/2/2024 1:46 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Using current latest from both MkIV and LMTX, I cannot scale the emoji flag. >> >> Latest font release can be directly download from >>

[NTG-context] enhancing documentation: initials

2024-03-05 Thread Henning Hraban Ramm
Hi, I tried to figure out what the "method" parameter of \setupinitial does – it changes the handling of quotation marks at the beginning of the text. It’s defined in context/base/mkiv/typo-drp.lua But I found no difference between first, last, and none; just "auto" includes the mark in the

[NTG-context] Re: issue mixing font features (LMTX & MkIV)

2024-03-04 Thread Hans Hagen via ntg-context
On 3/3/2024 11:54 AM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \definefontfeature[wider][extend=2] \definefontfamily[mainface][rm][TeX Gyre Pagella] [features={default, quality, wider}, it={style: regular, features:{default, slanted,

[NTG-context] Re: Local alternative to \input

2024-03-04 Thread Denis Maier via ntg-context
Hi, Aren’t environments used for setups (and not for textual content). Maybe a buffer may be what you want ? https://wiki.contextgarden.net/Command/startbuffer Best, Denis Von: Jeroen Gesendet: Montag, 4. März 2024 06:15 An: mailing list for ConTeXt users Betreff: [NTG-context]

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-04 Thread vm via ntg-context
On 04/03/2024 09:08, Hans Hagen via ntg-context wrote: You're missing the fact that the font has an issue. I can add a workaround, assuming that (as often) issues become features. A useful feature, if it not already exists, might be a tool to detect whether a font has issues. That can

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-04 Thread Hans Hagen via ntg-context
On 3/2/2024 1:46 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Termes] \definefontfamily[mainface][cg][Twemoji Mozilla][features={color}] \setupbodyfont[mainface] \starttext \scale[width=30em]{a}

[NTG-context] Re: missing metadata in LMTX

2024-03-03 Thread Pablo Rodriguez via ntg-context
On 3/4/24 01:18, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 03.03.2024 um 20:02: >> [...] >> With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them. >> [...] > I can confirm the issue and it happens because Hans changed they way > how the values of the

[NTG-context] Re: Local alternative to \input

2024-03-03 Thread Jeroen
With a single environment it seems to work, though when I expand it to multiple, it does not seem to work anymore \starttext SomeText \\ \environment aaa \\ SomeText \\ \environment bbb \\ SomeText \\ \startenvironment aaa \samplefile{lorem} \stopenvironment \startenvironment bbb

[NTG-context] Re: missing metadata in LMTX

2024-03-03 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 03.03.2024 um 20:02: Dear list, this issue has been bugging me for some time: [...] With LuaTeX, I get PDF metadata. With LuaMetaTeX, I cannot get them. For both, I’m using current latest (from 2024.02.27 09:21). Could anyone confirm the issue or

[NTG-context] missing metadata in LMTX

2024-03-03 Thread Pablo Rodriguez via ntg-context
Dear list, this issue has been bugging me for some time: \startbuffer[demo] author title text \stopbuffer \starttext \startxmlsetups xml:initialize \xmlsetsetup{#1}{code|meta|text}{xml:*} \stopxmlsetups

[NTG-context] issue mixing font features (LMTX & MkIV)

2024-03-03 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfeature[wider][extend=2] \definefontfamily[mainface][rm][TeX Gyre Pagella] [features={default, quality, wider}, it={style: regular, features:{default, slanted, quality}}, bf={style: regular, features:{default, boldened-30}},

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-02 Thread Pablo Rodriguez via ntg-context
On 3/2/24 14:41, vm via ntg-context wrote: > On 02/03/2024 13:46, Pablo Rodriguez via ntg-context wrote: >> Using current latest from both MkIV and LMTX, I cannot scale the emoji flag. > > same here Many thanks for your confirmation. Pablo

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
Emanuel Han schrieb am 01.03.2024 um 16:23: Dear Wolfgang, thank you for your valuable remarks. I integrated them, see corrected attached example. Yes, correct layout examples exist. They're all showing vertical writing, but the rules and principles are exactly the same for horizontal

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-02 Thread vm via ntg-context
On 02/03/2024 13:46, Pablo Rodriguez via ntg-context wrote: Using current latest from both MkIV and LMTX, I cannot scale the emoji flag. same here ___ If your question is of interest to others as well, please add

[NTG-context] issues scaling glyphs of Twemoji Mozilla

2024-03-02 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Termes] \definefontfamily[mainface][cg][Twemoji Mozilla][features={color}] \setupbodyfont[mainface] \starttext \scale[width=30em]{a} \scale[width=30em]{\cg } \stoptext Using current latest from both

[NTG-context] Re: Japanese

2024-03-01 Thread Henning Hraban Ramm
Am 01.03.24 um 16:23 schrieb Emanuel Han via ntg-context: I made manual corrections to scrp-cjk.lua, but with no effect to the ConTeXt output of my example. Do I have to recompile ConTeXt first? Not compile the engine (luametatex), but re-make the ConTeXt format with context --make and to be

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
Dear Wolfgang, thank you for your valuable remarks. I integrated them, see corrected attached example. Yes, correct layout examples exist. They're all showing vertical writing, but the rules and principles are exactly the same for horizontal writing. position of the headers and footers:

[NTG-context] Re: Japanese

2024-03-01 Thread Wolfgang Schuster
Emanuel Han via ntg-context schrieb am 01.03.2024 um 13:08: Dear all, thanks for your contributions. Sure I'll update the https://wiki.contextgarden.net/Chinese_Japanese_and_Korean hopefully with the help of Jeong Dal and others as soon as things are sorted out. In attached example, the

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
Dear List, Several years ago I tried to write documents, mainly lectures, but also essays, in which I tried to make several languages (Romance and non-Romance) coexist. Here below is an example of an attempt to compose an acceptable document, in the form of an exercise in which Arabic and

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
Dear all, thanks for your contributions. Sure I'll update the https://wiki.contextgarden.net/Chinese_Japanese_and_Korean hopefully with the help of Jeong Dal and others as soon as things are sorted out. In attached example, the opening Brackets (I marked them with \color[red]{【} and

[NTG-context] Re: A new problem with space in third itemize

2024-02-29 Thread Ursula Hermann
Dear Mikael, Many Thanks, works perfect. Many Regards Uschi Von: Mikael Sundqvist Gesendet: Donnerstag, 29. Februar 2024 16:45:03 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: A new problem with space in third itemize Hi Uschi, Your coding

[NTG-context] Re: Japanese

2024-02-29 Thread luigi scarso
On Wed, 28 Feb 2024 at 20:53, Emanuel Han via ntg-context < ntg-context@ntg.nl> wrote: > Thank you all for your suggestions and contributions to the wiki. > > I don't intend to nag, but when looking at what ConTeXt is producing, I > need to state that the result is still far away from a properly

[NTG-context] Re: FreeBSD 13.2

2024-02-29 Thread Roger Mason
Hi Alan, Alan Braslau via ntg-context writes: > On Sun, 25 Feb 2024 14:23:10 +0100 > Henning Hraban Ramm wrote: > >> Am 25.02.24 um 13:12 schrieb Hans Hagen: >> > We could add a flag to the installer that doesn't update the >> > binaries but intead (advices) to build the bins but it assumes >>

[NTG-context] Re: FreeBSD 13.2

2024-02-29 Thread Roger Mason
Hello Hans, Hans Hagen writes: >> Please do not go to this trouble on my account. I have decided to >> give >> up on context. > well, i put the older in in the latest anyway Many thanks, I will give it a try in the next day or so and respond to the list. Best wishes, Roger

[NTG-context] Re: A new problem with space in third itemize

2024-02-29 Thread Mikael Sundqvist
Hi Uschi, Your coding style is interesting. I do not understand the purpose of the \it for example. I did put something together that you can try, but I don't know if this is what you are looking for. \starttext \startitemize[n] \startitem \m{\forall n \in \naturalnumbers\mtp{:} n^2 > n \implies

[NTG-context] A new problem with space in third itemize

2024-02-29 Thread Ursula Hermann
Dear List, This is my little example: the problem is, that everything was fine, in itemize 1 and 2. In the third itemize i have a problem, because after n^3 and after \Rightarrow there should be a spaace , if I want to write : \Rightarrow n ungerade, but it says nungerade, what I dont

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
Hi, In Korea, LaTeX is popular rather than ConTeXt since mathematicians initiated the use of TeX in Korea and they use LaTeX mainly. But right now, there are so many non-math people who developed many things for Korean & LaTeX. Many years ago, Hans and Taco visited the seminar held by KTUG.

[NTG-context] Re: Structuring a magazine or booklet

2024-02-29 Thread Jean-Pierre Delange
Thank you very much Pablo ! I have to play with this canvas. Many thanks. JP Le 28/02/2024 à 19:10, Pablo Rodriguez via ntg-context a écrit : On 2/28/24 15:27, Jean-Pierre Delange wrote: Sorry for the noise : I did'nt see the ConTeXt imposition schemas here :

[NTG-context] Re: \in, \at, and labletext

2024-02-29 Thread Ursula Hermann
Dear List, So I changed my sentence a little bit, now it works perfect, as I wanted it. \setupinteraction[state=start] \starttext \reference[Rule:1]{Rule (3.1)} Formulate equivalents according to rule (\goto {3.1} [Rule:1]). \stoptext Uschi Von: Ursula

[NTG-context] Re: Japanese

2024-02-28 Thread Wolfgang Schuster
Emanuel Han via ntg-context schrieb am 28.02.2024 um 20:51: Thank you all for your suggestions and contributions to the wiki. I don't intend to nag, but when looking at what ConTeXt is producing, I need to state that the result is still far away from a properly typeset Japanese text. So the

[NTG-context] Re: Japanese

2024-02-28 Thread Henning Hraban Ramm
Am 28.02.24 um 20:51 schrieb Emanuel Han via ntg-context: Thank you all for your suggestions and contributions to the wiki. I don't intend to nag, but when looking at what ConTeXt is producing, I need to state that the result is still far away from a properly typeset Japanese text. That’s

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
Thank you all for your suggestions and contributions to the wiki. I don't intend to nag, but when looking at what ConTeXt is producing, I need to state that the result is still far away from a properly typeset Japanese text. So the nihongo script which comes with ConTeXt handles line breaks /

[NTG-context] Re: Japanese

2024-02-28 Thread Jean-Pierre Delange
Hi Hraban ! I also used to write this, if the main language is European : \definefallbackfamily [mainface] [rm] [ipamincho] [range=cjkunifiedideographs] Hope this is useful anymore, JP Le 28/02/2024 à 18:34, Henning Hraban Ramm a écrit : Am 28.02.24 um 08:34 schrieb Otared Kavian: Dear

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 28.02.2024 um 19:02: On 2/28/24 12:24, Pablo Rodriguez via ntg-context wrote: [...] This is why beforequadruple would make sense. I guess some Lua magic could do that, computing x to the follwing page that "x % 4 = 3" (and then \page[x]). I will try

[NTG-context] Re: Structuring a magazine or booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/28/24 15:27, Jean-Pierre Delange wrote: > Sorry for the noise : I did'nt see the ConTeXt imposition schemas here : > > https://wiki.contextgarden.net/Imposition > > I'll read and test it. Hi Jean-Pierre, in its simplest form, a booklet may be: \setuppapersize[A4][A3, landscape]

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/28/24 12:24, Pablo Rodriguez via ntg-context wrote: > [...] > This is why beforequadruple would make sense. I guess some Lua magic > could do that, computing x to the follwing page that "x % 4 = 3" (and > then \page[x]). > > I will try to find a trick for that, but not now. Replying to

[NTG-context] Re: Japanese

2024-02-28 Thread Henning Hraban Ramm
Am 28.02.24 um 08:34 schrieb Otared Kavian: Dear Dalyoung, Thank you very much for your insight. I downloaded the Noto Serif JP fonts and set up a fontfamily as you indicated, by adding \setscript[nihongo] which solves a problem I had with line breakings. And everything works smoothly! So,

[NTG-context] Re: Structuring a magazine or booklet

2024-02-28 Thread Jean-Pierre Delange
Sorry for the noise : I did'nt see the ConTeXt imposition schemas here : https://wiki.contextgarden.net/Imposition I'll read and test it. JP ___ If your question is of interest to others as well, please add an

[NTG-context] Structuring a magazine or booklet

2024-02-28 Thread Jean-Pierre Delange
Dear list, I am reading up on how to replace InDesign with CTX when producing a newsletter, using 2 or 3 double-sided A3 sheets containing text in two columns per page (with images). I'm looking for an example of a composition structure. Unfortunately, the wiki page devoted to projects seems

[NTG-context] Re: FreeBSD 13.2

2024-02-28 Thread Alan Braslau via ntg-context
On Sun, 25 Feb 2024 14:23:10 +0100 Henning Hraban Ramm wrote: > Am 25.02.24 um 13:12 schrieb Hans Hagen: > > We could add a flag to the installer that doesn't update the > > binaries but intead (advices) to build the bins but it assumes > > Cmake and gcc to be installed (we could cheat and use

[NTG-context] Re: \in, \at, and labletext

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/28/24 13:05, Ursula Hermann wrote: > Dear List, > > In the Documentation IntroCTX_eng_s.pdf at page 170 , I found the two > examples with \in and \at, and also the label. Dear Uschi, I guess you mean (a link may be simpler than attaching a single page):

[NTG-context] \in, \at, and labletext

2024-02-28 Thread Ursula Hermann
Dear List, In the Documentation IntroCTX_eng_s.pdf at page 170 , I found the two examples with \in and \at, and also the lable. The Problem is, that in the following sentence only the number (3.1) is a placed formula in an example, should have a link. Without the brackets. The sentence says:

[NTG-context] Re: output filename with SHA256

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/23/24 16:01, mf wrote: > [...] > A new run is started unless: > [...] > - the tuc file is identical to the one of the previous run Hi Massi, many thanks for your reply. If ConTeXt relies on that condition to stop compilation, then it would be great to know how it is performed to invoke

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/28/24 11:56, Bruce Horrocks wrote: > [...] > The sample works for me if you set plain A4 and doublesided, thus: > > \setuppagenumbering[alternative={doublesided}] > \starttext > \samplefile{lorem} > \page[quadruple] > page before the quadruple (must be 3, not 4) > \page[yes, quadruple]

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Bruce Horrocks
> On 27 Feb 2024, at 10:13, Pablo Rodriguez via ntg-context > wrote: > > I’m afraid I cannot make your sample work: The sample works for me if you set plain A4 and doublesided, thus: \setuppagenumbering[alternative={doublesided}] \starttext \samplefile{lorem} \page[quadruple] page

[NTG-context] Re: \mfunction does not work with the latest upload

2024-02-28 Thread fv leung
Thank you for your prompt reply, Mikael. I like this new way of defining math functions. Mikael Sundqvist 於 2024年2月28日 週三 下午2:46寫道: > Hi, > > \definemathfunction [lcd] > > You can also add > [mathlimits=yes] > [mathlimits=no] > [mathlimits=auto] > > if you want the limits to go always below,

[NTG-context] Re: Japanese

2024-02-27 Thread Otared Kavian
Dear Dalyoung, Thank you very much for your insight. I downloaded the Noto Serif JP fonts and set up a fontfamily as you indicated, by adding \setscript[nihongo] which solves a problem I had with line breakings. And everything works smoothly! So, for the mail archive, here is what I have and

[NTG-context] Re: \mfunction does not work with the latest upload

2024-02-27 Thread Mikael Sundqvist
Hi, \definemathfunction [lcd] You can also add [mathlimits=yes] [mathlimits=no] [mathlimits=auto] if you want the limits to go always below, never below or below in display, respectively. /Mikael On Wed, Feb 28, 2024 at 1:26 AM fv leung wrote: > > > \starttext > % copy from wiki >

[NTG-context] \mfunction does not work with the latest upload

2024-02-27 Thread fv leung
\starttext % copy from wiki \definemathcommand[lcd][nolop]{\mfunction{lcd}} With \contextversion, the math command \tex{lcd} gives \m{\lcd} (nothing)! \stoptext ___ If your question is of interest to others as well,

[NTG-context] Re: FreeBSD 13.2

2024-02-27 Thread Hans Hagen
On 2/26/2024 2:21 PM, Roger Mason wrote: Hello Hans, Hans Hagen writes: On 2/26/2024 12:22 PM, Roger Mason wrote: Looks like the unset TEXMF and TEXMFCNF envars are a problem. What should they be set to and where should they be set? fwiw, i'll do an update oen fo these days with the old

[NTG-context] Re: Japanese

2024-02-27 Thread Jeong Dal via ntg-context
Dear Otared, I am using Korean as main language. I used use typescript file, but recently I use \definefontfamily. Since using Japanese font is similar to use Korean font, I show my example of using Noto fonts. It was made by the help of expert of this list long time ago. You may change "Noto

[NTG-context] \getdocumentfilename or document.files

2024-02-27 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (saved as "a.tex"): \starttext \getdocumentfilename{1} \cldcontext{document.files[1]} \getdocumentfilename{2} \cldcontext{document.files[2]} \getdocumentfilename{3} \cldcontext{document.files[3]} \stoptext I compile it with: context

[NTG-context] Re: Works now! At Work, and a question to paragraphs in an Theorem

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/27/24 10:10, Ursula Hermann wrote: >[...] > I have a question to my paragraphs: > > \definetextbackground[Paragaph][ > [...] >   \startparagraph Hi Uschi, if you define Paragaph, then you should use \startParagaph (and \stopParagaph). > \starttext Even if that works, it would be better to

[NTG-context] Re: Hyperlinks cease working after page selection

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/26/24 21:25, Michael Guravage wrote: > Greetings, > > The document in question compiles correctly. Its hyperlinks are correct > and work as expected. However, if I apply a page selection, the > hyperlinks in the resulting document, while correctly coloured, no > longer work. > [...] >

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/24/24 14:30, Wolfgang Schuster wrote: > Michael Guravage schrieb am 23.02.2024 um 10:07: >> Greetings, >> >> I would like to use the nextquadruple and beforequadruple >> pagebreakhandlers described at the bottom of the wiki's imposition >> page. However, the examples complain of an error

[NTG-context] Re: output filename with SHA256

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/23/24 23:58, Bruce Horrocks wrote: >> On 23 Feb 2024, at 13:32, Pablo Rodriguez via ntg-context >> wrote: >> [...] >> Is there any way to check if compilation needs any other run? >> [...] > Rather than use the wrapup() hook can why not rename the file using > a second job on the command

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