[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

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

2024-02-27 Thread Ursula Hermann
Dear List, At Work everything works fine now. Many thanks for those, who have written me. I have a question to my paragraphs: \definetextbackground[Paragaph][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize,

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

2024-02-27 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: Japanese

2024-02-26 Thread Otared Kavian
Hi Hraban, Your are right indeed ! I didn’t imagine that it was so easy to set up a document to write in Japanese… Actually I followed the example by Emanuel Han which is essentially what you suggest (although he gave me also the hint to add the furagana). Best regards: Otared > On 26 Feb

[NTG-context] Re: Japanese

2024-02-26 Thread Otared Kavian
Hi Emanuel, Thanks for the example. In fact I don’t need vertical typesetting for my Japanese text, so your example works fine for me. Actually I had to change the name of the font to Hiragino Mincho ProN W3 in order to get your example work. Also I think with the recent versions of ConTeXt

[NTG-context] Re: Japanese

2024-02-26 Thread Emanuel Han via ntg-context
Unfortunately vertical typesetting is not supported by ConTeXt. That's a big pity. If horizontal typesetting is fine, this little working example with furigana might give you some hints. Hiragino Mincho Pro should be installed by Default on MacOS. \enableregime[utf] % enable unicoded input

[NTG-context] Re: Japanese

2024-02-26 Thread Hans Hagen
On 2/26/2024 9:08 PM, Otared Kavian wrote: Hi all, Does anyone have a simple setup of fonts to write a small Japanese document (possibly with furagana) ? I am using MacOS and I have several Japanese fonts on the system. I have some old examples which do not typeset correctly now, maybe

[NTG-context] Hyperlinks cease working after page selection

2024-02-26 Thread Michael Guravage
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. Any suggestions on how to correct or work around this would be

[NTG-context] Re: Japanese

2024-02-26 Thread Henning Hraban Ramm
Am 26.02.24 um 21:08 schrieb Otared Kavian: Does anyone have a simple setup of fonts to write a small Japanese document (possibly with furagana) ? I am using MacOS and I have several Japanese fonts on the system. I have some old examples which do not typeset correctly now, maybe because they

[NTG-context] Japanese

2024-02-26 Thread Otared Kavian
Hi all, Does anyone have a simple setup of fonts to write a small Japanese document (possibly with furagana) ? I am using MacOS and I have several Japanese fonts on the system. I have some old examples which do not typeset correctly now, maybe because they use the old module simplefonts and

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
Le 26/02/2024 à 18:53, Wolfgang Schuster a écrit : mtxrun --script fonts --list --all --pattern=gfsdidot* Wolfgang, You're right, here below the lack of italics typeface identifier   familyname    fontname filename   subfont   instances gfsdidot

[NTG-context] Re: Issue with italics

2024-02-26 Thread Wolfgang Schuster
Jean-Pierre Delange schrieb am 26.02.2024 um 18:41: Thanks to Thomas and Denis, That's it: use GFS Didot for the French text and Theano Didot for the Greek. In my working text I have this preamble (and other things): [...] I've found a solution, with Segoeui (Windows font) as the main font

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
Thanks to Thomas and Denis, That's it: use GFS Didot for the French text and Theano Didot for the Greek. In my working text I have this preamble (and other things): \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation]] \setuplayout [backspace=40mm]

[NTG-context] Re: Issue with italics

2024-02-26 Thread Thomas A. Schmitz
I just tried your example with the latest version of GFSDidot (the older version I had on my system did not show some diacritics; this problem disappeared when I installed the latest), and the italics are there, I don’t see any problem in the pdf. If you want the Greek displayed in Theano, you

[NTG-context] Re: FreeBSD 13.2

2024-02-26 Thread Roger Mason
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 bin > > what you coudl do is

[NTG-context] Re: FreeBSD 13.2

2024-02-26 Thread Roger Mason
Hello Hraban, Henning Hraban Ramm writes: > Usually, you don’t need to set any variables. > The default configuration file is also fine. > > Does "context --version" work? No: mtxrun | forcing cache reload resolvers | resolving | configuration files already identified resolvers

[NTG-context] Re: Issue with italics

2024-02-26 Thread Denis Maier via ntg-context
Nevermind, I just found this: https://mirror.init7.net/ctan/fonts/greek/gfs/gfsdidot/doc/DidotSpecimen.pdf So there should be italics... Sorry for the noise. > -Ursprüngliche Nachricht- > Von: Denis Maier via ntg-context > Gesendet: Montag, 26. Februar 2024 14:04 > An: 'mailing list for

[NTG-context] Re: Issue with italics

2024-02-26 Thread Denis Maier via ntg-context
I don't know, but maybe GFS Didot has not italic shape? At least, that's what I'd guess after looking at this https://fonts.google.com/specimen/GFS+Didot (maybe your version has italics...) Best, Denis > -Ursprüngliche Nachricht- > Von: Jean-Pierre Delange > Gesendet: Montag, 26.

[NTG-context] Issue with italics

2024-02-26 Thread Jean-Pierre Delange
Dear list, When handling the preamble to a document in which I would like to treat the text in French, with sometimes italics text and phrases in ancient Greek, I encounter the following difficulty: if I use TeX Gyre Pagella as the main font, everything works fine, except for the Ancient

[NTG-context] Re: FreeBSD 13.2

2024-02-26 Thread Hans Hagen
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 bin what you coudl do is download the latest zip and unzip it in

[NTG-context] Re: FreeBSD 13.2

2024-02-26 Thread Henning Hraban Ramm
Am 26.02.24 um 12:22 schrieb Roger Mason: resolvers | resolving | variable 'SELFAUTOLOC' set to '/usr/home/rmason/context/tex/texmf-freebsd-amd64/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/usr/home/rmason/context/tex/texmf-freebsd-amd64' resolvers |

[NTG-context] Re: FreeBSD 13.2

2024-02-26 Thread Roger Mason
Hello, Henning Hraban Ramm writes: > > I guess you’re lacking the main distribution package. > > My installation (tree -dL 4, partly shortened): > > . > ├── bin (installation only) > └── tex > ├── texmf-cache (necessary, but auto-created?) > │   ├── luametatex-cache > │   │   └──

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