[NTG-context] [m-database] How to properly add module arguments?

2023-02-25 Thread Paul Mazaitis via ntg-context
I don't think that's the correct way to go about this. Question: how do I properly define new module arguments for the database module? ## The Long Version, With MWE ### Files Associated With the MWE Apologies for all of the file inclusions, but I want to be complete. Here's the .csv file I'm us

Re: [NTG-context] How to prevent \subject from being the last line

2023-02-20 Thread Jean-Pierre Delange via ntg-context
you very much Taco for unearthing this tool! I've been asking myself this nagging question for a long time about how to organize thehuge pool of answers to all these technical questions that ConTeXt contains. It seems to me that last year someone had proposed on the mailing list to build

Re: [NTG-context] Lettrine module not working?!

2023-02-20 Thread Pablo Rodriguez via ntg-context
I suppose! Hi Geert, if you only provide commands, it is really hard to tell what is going on. Please, always provide complete samples (otherwise, most of the help is figuring out what the issue is really about). Best, Pablo __

Re: [NTG-context] Math issue

2023-02-18 Thread Willi Egger via ntg-context
2} \over {44 \times 56}}=14.2\ \rm kilo >> \stopformula >> \stopformulas >> \stoptext >> Thank you for hinting me how to this correctly. > > \frac{...}{...} .. forget about \over > > - >

Re: [NTG-context] Math issue

2023-02-16 Thread Hans Hagen via ntg-context
\times 12} \over {44 \times 56}}=14.2\ \rm kilo \stopformula \stopformulas \stoptext Thank you for hinting me how to this correctly. \frac{...}{...} .. forget about \over - Hans Hagen

[NTG-context] Unexpected results with \xmlpos

2023-02-16 Thread Denis Maier via ntg-context
of the element inside the colgroup, so I was thinking about something like this : \xmlmapvalue{colstyle}{dir: rtl}{align=righttolef } \xmlmapvalue{colstyle}{dir: ltr}{align=lefttoright} \startxmlsetups xml:table:colgroup:col \setupTABLE[c][\xmlpos{#1}][\xmlvalue{colstyle}{\xmlatt{#1}{style

Re: [NTG-context] Problem with LMTX on macOS: no format file given, quitting

2023-02-13 Thread Luis Montgomery via ntg-context
. There is NO warranty. Redistribution of this software is covered by the terms of the GNU General Public License, version 2 or (at your option) any later version. For more information about these matters, see the file named COPYING and the LuaMetaTeX source. Functionality : level 20230112 Support

[NTG-context] Problem with LMTX on macOS: no format file given, quitting

2023-02-12 Thread Tommaso Gordini via ntg-context
Hello list, I am writing to you about a problem with ConTeXt LMTX and TeXShop 5.11 on macOS 12.6.3 (MacBook Air M2). Yesterday I installed LMTX on my computer following the instructions here: https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_on_MacOS The LMTX tree is correctly installed

Re: [NTG-context] regular online meet-up

2023-02-08 Thread Gavin via ntg-context
, I’d love to hear some about what \mathboxanchored and friends are doing behind the scenes. I am using it for angular momentum diagrams in formulas, as shown in the attachment below. I’ve written my own replacement for \connectboxanchors to get some of the connections, but for diagrams involving

[NTG-context] Fwd: BachoTeX 2023: invitation and call for papers

2023-02-05 Thread Henning Hraban Ramm via ntg-context
tutorials We look forward to proposals for TeX-related tutorials or introductions. If you have suggestions for tutorials or workshops by others than yourself or about specific topics, please let us know. * Poster sessions As always at BachoTeX participants will be given the opportunity to present

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-31 Thread Yaroslav Beltukov via ntg-context
gt; +local prefixdata = data.prefixdata > > +if prefixdata then > > +-- adapted from helpers.prefix (not sure) > > +if (prefixspec and prefixspec == no) or > > prefixdata.prefix == no then > > +

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-30 Thread Hans Hagen via ntg-context
formulas, especially for the forthcoming document about maths. that will bloat the already large tuc file, so here is an alternative (i bet you can find where to patch): strc-ref local external = struc.references.collected -- direct references local lists= struc.lists.collec

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Alan Braslau via ntg-context
c and prefixspec == no) or > prefixdata.prefix == no then > +prefixdata = false > +end > +sections.typesetnumber(prefixdata,"prefix", > prefixspec or false, prefixdata) > +end > +-- > > sec

[NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Yaroslav Beltukov via ntg-context
data.useddata After this small change, all the references are correct. However, I'm quite new to ConTeXt, so maybe here are some caveats. It would be great to fix the references to formulas, especially for the forthcoming document about maths. Best regard

[NTG-context] Subject: Leading spaces verbatim

2023-01-27 Thread Kalouguine Andre via ntg-context
). Hence, my three questions: - Is it even realistic to make such a typing environment? - What would be the best path to do so? - Can someone recommend some reading material specifically about this kind of typographical adjustments using LuaTex? Stuff like adjusting the glyphs's position

Re: [NTG-context] autospacing and colonequals (was Lucida-1.901 (2023-01-21) available)

2023-01-27 Thread Hans Hagen via ntg-context
, like many others, I am just waiting for the 3145 pages document about maths in ConTeXt :-) It will be 3147 because we need to demo No, it has to be 31415 pages now (so that the number of pages eventually converges to pi)! ah, but then we need a volunteer for those thousands of samples (of show

Re: [NTG-context] autospacing and colonequals (was Lucida-1.901 (2023-01-21) available)

2023-01-27 Thread Aditya Mahajan via ntg-context
> Now, like many others, I am just waiting for the 3145 pages document about > > maths in ConTeXt :-) > It will be 3147 because we need to demo No, it has to be 31415 pages now (so that the number of pages eventually converges to pi)! Aditya__

Re: [NTG-context] autospacing and colonequals (was Lucida-1.901 (2023-01-21) available)

2023-01-27 Thread Hans Hagen via ntg-context
On 1/27/2023 6:26 PM, Otared Kavian via ntg-context wrote: Hi Hans, Thank you for the hint: indeed \setupmathematics[collapsing=2] does exactly what I was looking for… Now, like many others, I am just waiting for the 3145 pages document about maths in ConTeXt :-) It will be 3147 because we

Re: [NTG-context] autospacing and colonequals (was Lucida-1.901 (2023-01-21) available)

2023-01-27 Thread Otared Kavian via ntg-context
Hi Hans, Thank you for the hint: indeed \setupmathematics[collapsing=2] does exactly what I was looking for… Now, like many others, I am just waiting for the 3145 pages document about maths in ConTeXt :-) Best regards: Otared > On 26 Jan 2023, at 23:23, Hans Hagen via ntg-cont

Re: [NTG-context] autospacing and colonequals (was Lucida-1.901 (2023-01-21) available)

2023-01-26 Thread Otared Kavian via ntg-context
1/25/2023 6:24 PM, Mikael Sundqvist via ntg-context wrote: >> On Wed, Jan 25, 2023 at 11:02 AM Otared Kavian via ntg-context >> mailto:ntg-context@ntg.nl>> wrote: >>> >>> Hi, >>> >>> Thanks Hraban for the information and the link to the article by H

Re: [NTG-context] Lucida-1.901 (2023-01-21) available

2023-01-26 Thread Hans Hagen via ntg-context
On 1/25/2023 6:24 PM, Mikael Sundqvist via ntg-context wrote: On Wed, Jan 25, 2023 at 11:02 AM Otared Kavian via ntg-context wrote: Hi, Thanks Hraban for the information and the link to the article by Hans and Mikael about the math fonts in Lucida. I very much appreciated that article: one

Re: [NTG-context] Lucida-1.901 (2023-01-21) available

2023-01-25 Thread Mikael Sundqvist via ntg-context
On Wed, Jan 25, 2023 at 11:02 AM Otared Kavian via ntg-context wrote: > > Hi, > > Thanks Hraban for the information and the link to the article by Hans and > Mikael about the math fonts in Lucida. > > I very much appreciated that article: one sees how the handling of a

Re: [NTG-context] Lucida-1.901 (2023-01-21) available

2023-01-25 Thread Otared Kavian via ntg-context
Hi, Thanks Hraban for the information and the link to the article by Hans and Mikael about the math fonts in Lucida. I very much appreciated that article: one sees how the handling of almost impercebtile details in ConTeXt make us to adhere to and love LuaMetaTeX… So a great thank you to Hans

[NTG-context] Best way to access casul fonts

2023-01-23 Thread Mattias Märka via ntg-context
, but I don't know how to go about this. Currently I'm just defining a new typescript and making Lucida Casual a synonym for Serif and then using \switchtobodyfont --- but this feel silly. I searched the wiki and skimmed the reference manual, but to no avail. Perhaps I don't know what I should

[NTG-context] Fwd: Lucida-1.901 (2023-01-21) available

2023-01-23 Thread Henning Hraban Ramm via ntg-context
fonts, especially the regular-weight LucidaBrightMathOT. Many of these changes were discussed in greater detail in the recent article about Lucida math by Hans Hagen and Mikael Sundqvist: https://tug.org/TUGboat/tb43-3/tb135hagen-lucida.pdf The four Lucida Sans fonts and the three specialized

Re: [NTG-context] ConTeXt features in pandoc 3

2023-01-23 Thread luigi scarso via ntg-context
they fail I can export to Markdown and do the last > steps via Markdown --> Pandoc. > > That said I have to confess that I do more sophisticated layout things > like flyers in pure ConTeXt as it is much faster. > It would be very nice to have a paper / wiki / whatever .

[NTG-context] font features in the wiki

2023-01-22 Thread Pablo Rodriguez via ntg-context
on this topic. I wonder whether it would make sense that I start a new article on font features and when finished, see the way to merge the contents from the featureset. I’m especially asking Idris, Hraban and MHB. Of course, I might be wrong and I’m happy to be corrected about my proposal

Re: [NTG-context] rewrite for Greek in the wiki

2023-01-21 Thread Jean-Pierre Delange via ntg-context
Thank you very much about this accurate "mise au point", Pablo ! Le 21/01/2023 à 13:16, Pablo Rodriguez via ntg-context a écrit : Dear list, just in case it might help, I’ve rewritten the Greek entry in the wiki: https://wiki.contextgarden.net/Greek Although nobody seem

Re: [NTG-context] multimedia inclusion added to the wiki

2023-01-18 Thread Alan Braslau via ntg-context
On Mon, 16 Jan 2023 19:00:06 +0100 Pablo Rodriguez via ntg-context wrote: > Dear list, > > just in case it might help, I have just added a new wiki article about > how to add multimedia in PDF documents. > > https://wiki.contextgarden.net/Multimedia_Inclusion > > I h

Re: [NTG-context] multimedia inclusion added to the wiki

2023-01-17 Thread Willi Egger via ntg-context
Pablo, thanks for this nice article! Willi > On 16 Jan 2023, at 19:00, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > just in case it might help, I have just added a new wiki article about > how to add multimedia in PDF documents. > > htt

Re: [NTG-context] multimedia inclusion added to the wiki

2023-01-16 Thread Otared Kavian via ntg-context
Hi Pablo, Thank you for the article on the wiki. It will be very useful ! Best regards: Otared > On 16 Jan 2023, at 19:00, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > just in case it might help, I have just added a new wiki article about > how to

[NTG-context] multimedia inclusion added to the wiki

2023-01-16 Thread Pablo Rodriguez via ntg-context
Dear list, just in case it might help, I have just added a new wiki article about how to add multimedia in PDF documents. https://wiki.contextgarden.net/Multimedia_Inclusion I hope it helps, Pablo ___ If your

Re: [NTG-context] question about multimedia renderings

2023-01-16 Thread Pablo Rodriguez via ntg-context
On 1/16/23 02:42, Michal Vlasák via ntg-context wrote: > [...] > I would think that something like the attached could work. But in some > cases it fails on the TeX side with something I am not sure about. I > probably overlooked something. Anyways the idea is to just use the > Star

Re: [NTG-context] question about multimedia renderings

2023-01-15 Thread Michal Vlasák via ntg-context
On Sun Jan 15, 2023 at 10:49 PM CET, Pablo Rodriguez via ntg-context wrote: > Dear list, > > I’m planning to add an explanation about multimedia inclusion to the > wiki, but first I wanted to discuss an issue I have found. > > I have the following sample (adapted

[NTG-context] question about multimedia renderings

2023-01-15 Thread Pablo Rodriguez via ntg-context
Dear list, I’m planning to add an explanation about multimedia inclusion to the wiki, but first I wanted to discuss an issue I have found. I have the following sample (adapted from scrn-wid.mklx): \setupinteraction[state=start] \starttext \null\page \definerenderingwindow

Re: [NTG-context] TUG 2023

2023-01-05 Thread Hans Hagen via ntg-context
99 % LaTeX-centric: I had the The only meeting in my agende is the ctx meeting later that year, so no plans. (Not knowing what to talk about at that meeting there would be little change of interference; we would likely end up sitting in your office discussing some pending inerestign and challeng

Re: [NTG-context] Problem with latest version ?

2023-01-04 Thread Gavin via ntg-context
2023 7:05 PM, Henning Hraban Ramm via ntg-context wrote: >> Am 04.01.23 um 19:00 schrieb Fabrice Couvreur via ntg-context: >>> The problem seems to come from pgfplots ... >> There was a message about the same by Gavin and an answer by Hans on >> 2022-12-30. Maybe the fi

Re: [NTG-context] Problem with latest version ?

2023-01-04 Thread Hans Hagen via ntg-context
On 1/4/2023 7:05 PM, Henning Hraban Ramm via ntg-context wrote: Am 04.01.23 um 19:00 schrieb Fabrice Couvreur via ntg-context: The problem seems to come from pgfplots ... There was a message about the same by Gavin and an answer by Hans on 2022-12-30. Maybe the fix didn’t make

Re: [NTG-context] Problem with latest version ?

2023-01-04 Thread Henning Hraban Ramm via ntg-context
Am 04.01.23 um 19:00 schrieb Fabrice Couvreur via ntg-context: The problem seems to come from pgfplots ... There was a message about the same by Gavin and an answer by Hans on 2022-12-30. Maybe the fix didn’t make it into the latest upload. Hraban

Re: [NTG-context] TUG 2023

2023-01-04 Thread Henning Hraban Ramm via ntg-context
ConTeXt can typeset xml and produce different outputs from the same source (similar to what I've done in Bassenge in 2019). Those of you who have been to TUG conferences before: would that be of interest even to people who know little to nothing about ConTeXt yet are familiar with other forms

[NTG-context] TUG 2023

2023-01-04 Thread Thomas A. Schmitz via ntg-context
onferences before: would that be of interest even to people who know little to nothing about ConTeXt yet are familiar with other forms of TeX? I guess I just what to get a feeling what to expect at a TUG conference. All best wish

Re: [NTG-context] Ajami script

2023-01-01 Thread BPJ via ntg-context
t; >>> typesetting this variant of Arabic. (Just out of > >>> curiosity, I can’t read any Arabic and don’t know any > >>> African language.) > >> Afaiks that script has been known fro a while: > > > > I also thought I heard about it se

Re: [NTG-context] Ajami script

2023-01-01 Thread Alain Delmotte via ntg-context
/ And now I’d like to know if ConTeXt is capable of typesetting this variant of Arabic. (Just out of curiosity, I can’t read any Arabic and don’t know any African language.) Afaiks that script has been known fro a while: I also thought I heard about it several years ago. The article makes

Re: [NTG-context] Ajami script

2023-01-01 Thread Hans Hagen via ntg-context
On 1/1/2023 11:03 AM, Henning Hraban Ramm via ntg-context wrote: I also thought I heard about it several years ago. The article makes it sound like news, that might be the perspective of the US scholars or a necessary means to get funded. But the oldest sources quoted in Wikipedia are from

Re: [NTG-context] Ajami script

2023-01-01 Thread Henning Hraban Ramm via ntg-context
this variant of Arabic. (Just out of curiosity, I can’t read any Arabic and don’t know any African language.) Afaiks that script has been known fro a while: I also thought I heard about it several years ago. The article makes it sound like news, that might be the perspective of the US scholars

Re: [NTG-context] New c-o-w: The XMas gift for ConTeXt users

2022-12-28 Thread Zdeněk Svoboda via ntg-context
reproduce the bug with the tab-key in tabulate. I know about the letter-eating bug and apparently I haven't been successful in fixing it yet. As for the files lost: 1. you created an account, 2. uploaded some files and pictures, 3. then tried to generate a PDF which got stuck, 4. so you

Re: [NTG-context] New c-o-w: The XMas gift for ConTeXt users

2022-12-27 Thread Willi Egger via ntg-context
thrown out of the editor while not logged in -- I'll have > to look into that because I have not encountered it yet. > > May I ask what browser and OS are you using? I'm unable to reproduce the bug > with the tab-key in tabulate. > > I know about the letter-eating bug and apparen

Re: [NTG-context] New c-o-w: The XMas gift for ConTeXt users

2022-12-27 Thread Willi Egger via ntg-context
it yet. > > May I ask what browser and OS are you using? I'm unable to reproduce the bug > with the tab-key in tabulate. I am working on a MacBook Air, 10 year old, updated to the latest possible Os version, which is Big Sur (11.7), in this case I used Google Chrome. > > I know ab

Re: [NTG-context] New c-o-w: The XMas gift for ConTeXt users

2022-12-27 Thread Zdeněk Svoboda via ntg-context
about the letter-eating bug and apparently I haven't been successful in fixing it yet. As for the files lost:   1. you created an account,   2. uploaded some files and pictures,   3. then tried to generate a PDF which got stuck,   4. so you refreshed the page,   5. and the files were lost? Am I

[NTG-context] new upload

2022-12-27 Thread Hans Hagen via ntg-context
. (It is mostly about consistent support luametatex engine features but it might come in handy.) Some other 'new' things are too obscure to mention now, Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] New c-o-w: The XMas gift for ConTeXt users

2022-12-27 Thread Hans Hagen via ntg-context
/noto-cjk)? if yes, then is there any examples of usage? or have any plans to support them? It's a matter of choice. It's not so much about 'support'because these fonts work ok, but more about what is a reasonable subset of fonts for cjk (covering all of chinese, japanese, korean). You can probably

Re: [NTG-context] Help for using fonts Nupuram

2022-12-23 Thread Pablo Rodriguez via ntg-context
On 12/23/22 12:00, Alain Delmotte via ntg-context wrote: > Hi! > > I am trying to run the example Hans published on the 1st of December > with a new upload. > It is about using the variable font Nupuram. Hi Alain, you mean https://mailman.ntg.nl/pipermail/ntg-context/2022/107279

Re: [NTG-context] Help for using fonts Nupuram

2022-12-23 Thread Hans Hagen via ntg-context
On 12/23/2022 12:00 PM, Alain Delmotte via ntg-context wrote: Hi! I am trying to run the example Hans published on the 1st of December with a new upload. It is about using the variable font Nupuram. I downloaded the font in a big .zip file. It contains: two explaining files and  folder

[NTG-context] Help for using fonts Nupuram

2022-12-23 Thread Alain Delmotte via ntg-context
Hi! I am trying to run the example Hans published on the 1st of December with a new upload. It is about using the variable font Nupuram. I downloaded the font in a big .zip file. It contains: two explaining files and  folder with  sub-folder "Nupuram", which in turn contains 6 subs

Re: [NTG-context] move glyph vertically

2022-12-22 Thread Hans Hagen via ntg-context
xclamation marks, so they are at the same height that its closing counterparts. I thought there may be a GPOS feature that could achieve this, but I must admit I have no idea about how to achive it. In my document, this should only work with the slanted feature. Could anyone tell me how could I move vertically

[NTG-context] move glyph vertically

2022-12-22 Thread Pablo Rodriguez via ntg-context
there may be a GPOS feature that could achieve this, but I must admit I have no idea about how to achive it. In my document, this should only work with the slanted feature. Could anyone tell me how could I move vertically single glyphs? Many thanks f

[NTG-context] bottlenecks

2022-12-16 Thread Hans Hagen via ntg-context
ps. Much runtime is spent in Lua and there is not that much we can do about making that faster. - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherla

Re: [NTG-context] Project structure with nested subfolders and shared environments.

2022-12-16 Thread Denis Maier via ntg-context
Pawel Urbanski via ntg-context: > > \usepath [{ Metadata }] > > Did you try without the spaces? I’d assume ConTeXt will look for a folder " > Metadata " and not "Metadata". > If this is just a template variable, you didn’t tell us about templating. > >

Re: [NTG-context] Project structure with nested subfolders and shared environments.

2022-12-15 Thread Henning Hraban Ramm via ntg-context
Am 15.12.22 um 22:52 schrieb Pawel Urbanski via ntg-context: \usepath [{ Metadata }] Did you try without the spaces? I’d assume ConTeXt will look for a folder " Metadata " and not "Metadata". If this is just a template variable, you didn’t tell us about templating. And

Re: [NTG-context] Seems to be a bug with \definelayout

2022-12-10 Thread Mikael Sundqvist via ntg-context
On Sat, Dec 10, 2022 at 9:17 PM peter.hopcroft--- via ntg-context wrote: > > Yes Pablo, that does fix it. I'm sorry, I misunderstood your first reply. > Peter There was a request (by you?) some days ago on stackexchange about altering layout on say "six pages from here&qu

Re: [NTG-context] two issues with variable fonts

2022-12-09 Thread Pablo Rodriguez via ntg-context
On 12/6/22 21:07, Henning Hraban Ramm via ntg-context wrote: > Am 06.12.22 um 19:56 schrieb Pablo Rodriguez via ntg-context: >> [...] >> Hi Hraban, >> >> I have just added a first draft about variable font usage: >> https://wiki.contextgarden.net/Variable_

Re: [NTG-context] \hpos in math - Half solved

2022-12-07 Thread Gavin via ntg-context
th version of \hpos to use the count as part of the label >> internally. I tried to do this with a regular ConTeXt counter, but had all >> sorts of mysterious, wrong behavior. When I switched to using a Lua counter, >> everything worked immediately. So, while there is

Re: [NTG-context] \hpos in math - Half solved

2022-12-07 Thread Hans Hagen via ntg-context
internally. I tried to do this with a regular ConTeXt counter, but had all sorts of mysterious, wrong behavior. When I switched to using a Lua counter, everything worked immediately. So, while there is nothing brilliant about this solution, I’ll share it for anyone who might want to do something

Re: [NTG-context] \hpos in math - Half solved

2022-12-07 Thread Hans Hagen via ntg-context
internally. I tried to do this with a regular ConTeXt counter, but had all sorts of mysterious, wrong behavior. When I switched to using a Lua counter, everything worked immediately. So, while there is nothing brilliant about this solution, I’ll share it for anyone who might want to do something

Re: [NTG-context] \hpos in math - Half solved

2022-12-07 Thread Gavin via ntg-context
counter, but had all sorts of mysterious, wrong behavior. When I switched to using a Lua counter, everything worked immediately. So, while there is nothing brilliant about this solution, I’ll share it for anyone who might want to do something similar in the future. The code I added is below

Re: [NTG-context] two issues with variable fonts

2022-12-06 Thread Henning Hraban Ramm via ntg-context
just added a first draft about variable font usage: https://wiki.contextgarden.net/Variable_Fonts. Would you be so kind to improve it? As I wrote: I never used variable fonts. While it would be interesting to try, I’ll hardly find time until new year. Hraban

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-06 Thread Hans Hagen via ntg-context
problem here, if the source PDF is doublesided, \lastsectionpage from a reference may be an empty page. There is not much we do about that. Oen can then do {\numexpr\lastsectionpage... -1\relax} Hans

Re: [NTG-context] two issues with variable fonts

2022-12-06 Thread Pablo Rodriguez via ntg-context
On 12/4/22 22:16, Henning Hraban Ramm via ntg-context wrote: > [...] > An increasing number of fonts in the Google repository is (becoming) > variable. So far, I only used the additionally provided fixed versions... Hi Hraban, I have just added a first draft about variable font usa

Re: [NTG-context] \hpos in math

2022-12-06 Thread Hans Hagen via ntg-context
$ \connectboxanchors[top][top]{one}{two} x + \frac[source=\namedboxanchor{one}]{1+x}{2-x} = z + \frac[source=\namedboxanchor{two}]{1+x^2}{2-x^3} $ \input ward \connectboxanchors[top][top]{one}{two} So how about $ x + \frac[source=\namedboxanchor{one}]{1+x}{2-x} $ and $ z + \frac

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Hans Hagen via ntg-context
... we're talking about a rather special application, so what I can add is a simple helper that returns the first and last page of a section That would be great for me. keep in mind that it is also a biut fragile as one never know where the last one ends I wondered whether \doifreference

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Pablo Rodriguez via ntg-context
On 12/5/22 18:30, Hans Hagen via ntg-context wrote: > On 12/5/2022 5:39 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> it would be great to have something like: >> >>\loadsection [1] [2] [3] >> [...] > that is not flexible ... we're talking a

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Hans Hagen via ntg-context
process crap, then load) Hi Hans, it would be great to have something like: \loadsection [1] [2] [3] 1FILE 2REFERENCE 3inherits from \setupexternalfigure Just in case it may be relevant to the discussion. that is not flexible ... we're talking about a rather special

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Denis Maier via ntg-context
Don’t know about ConTeXt. But maybe you might want to have a look at pdftk. You could try to produce per-section pdfs and include those. Best, Denis Von: ntg-context Im Auftrag von Joel via ntg-context Gesendet: Sonntag, 4. Dezember 2022 23:31 An: Mailing List for ConTeXt Users Cc: Joel

Re: [NTG-context] accessing ital axis in variable font

2022-12-03 Thread Pablo Rodriguez via ntg-context
; > \definefontfeature[myaxisa][axis={weight=200,optical size=12}] > \definefontfeature[myaxisb][axis={weight=200,optical size=42}] > \definefontfeature[myaxisc][axis={weight=200,optical size=72}] Many thanks for your reply, Hans. In order to be able to start an entry in the wiki about

Re: [NTG-context] accessing ital axis in variable font

2022-12-02 Thread Hans Hagen via ntg-context
? there is no axis defined for italic (it's a design axis so that's probably why you have two fonts one with italic in the name) so, just forget about it Many thanks for your reply, Hans. It seems that Literata has what they call an upright italic (https://raw.githubusercontent.com/googlefonts/literata

Re: [NTG-context] accessing ital axis in variable font

2022-12-02 Thread Pablo Rodriguez via ntg-context
alic (it's a design axis so that's > probably why you have two fonts one with italic in the name) > > so, just forget about it Many thanks for your reply, Hans. It seems that Literata has what they call an upright italic (https://raw.githubusercontent.com/googlefonts/literata/main/D

Re: [NTG-context] accessing ital axis in variable font

2022-12-01 Thread Hans Hagen via ntg-context
. As explained before, they don’t work for me. How can I access to the italic and the optical size axes? there is no axis defined for italic (it's a design axis so that's probably why you have two fonts one with italic in the name) so, just forget about it Hans

Re: [NTG-context] Xml filtering in Lua

2022-11-16 Thread Thomas A. Schmitz via ntg-context
a ntg-context > wrote: > > I'm not sure about the code, sorry, but I do know that an XML document can't > have two IDs of the same value. Typically you would use a linkend attribute > on the element which is referencing an id (in this case the topics, I think). > > Pr

Re: [NTG-context] Xml filtering in Lua

2022-11-16 Thread Duncan Hothersall via ntg-context
Hi Thomas. I'm not sure about the code, sorry, but I do know that an XML document can't have two IDs of the same value. Typically you would use a linkend attribute on the element which is referencing an id (in this case the topics, I think). Probably doesn't help with your problem, but it's

Re: [NTG-context] How to make a block of text narrower?

2022-11-15 Thread Rik Kabel via ntg-context
On 2022-11-15 21:49, Joel via ntg-context wrote: I need to make a section of text in my document narrower, about .\textwidth. Basically the text has normal alignment and everything, just instead of filling \textwidth, its compressed so there is a larger white space to the right. I've

[NTG-context] How to make a block of text narrower?

2022-11-15 Thread Joel via ntg-context
I need to make a section of text in my document narrower, about .\textwidth. Basically the text has normal alignment and everything, just instead of filling \textwidth, its compressed so there is a larger white space to the right. I've tried dozens of things, but cannot get a good solution

Re: [NTG-context] How to stop enumerated tabulate environments from shifting to the right?

2022-11-12 Thread fv leung via ntg-context
right about 1/2". > > \starttext > \input knuth > > \startitemize[n] > \item x > \stopitemize > > \startitemize[n] > > > \starttabulate[|lp(.1\textwidth)|cp(.35\textwidth)|cp(.2\textwidth)|cp(.35\te

[NTG-context] How to stop enumerated tabulate environments from shifting to the right?

2022-11-12 Thread Joel via ntg-context
When I place a tabulate environment inside itemize, it indents and the entire table is shifted to the right about 1/2". \starttext    \input knuth         \startitemize[n]             \item x         \stopitemize         \startitemize[n]              \starttabulate[|lp(.1\textwidth)|c

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-10 Thread Fabrice Couvreur via ntg-context
t;> Hi, >>>>> >> I find that for some time (but maybe the problem comes from me !), >>>>> the >>>>> >> placement of a figure at the bottom of the page causes a page break >>>>> when >>>>> >> it seems to me that there is

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-10 Thread Fabrice Couvreur via ntg-context
seems to me that there is enough space, which poses some problems in > >> the pagination of my documents. > > > > Hi Fabrice, > > > > your figure requires about 7¼ lines (one line before, six for the image > > itself, and some extra space after it). > > > >

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Bruce Horrocks via ntg-context
e break when >> it seems to me that there is enough space, which poses some problems in >> the pagination of my documents. > > Hi Fabrice, > > your figure requires about 7¼ lines (one line before, six for the image > itself, and some extra space after it). >

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Pablo Rodriguez via ntg-context
ome problems in > the pagination of my documents. Hi Fabrice, your figure requires about 7¼ lines (one line before, six for the image itself, and some extra space after it). Your layout for the first page only allows 43 lines and sample text ends on line 37. Replace \showframe with \showgrid a

Re: [NTG-context] regular online meet-up

2022-11-08 Thread Henning Hraban Ramm via ntg-context
Reminder: That is today. I’d like to learn more about dimensions/dimexpr – while I got my stuff working, I still don’t understand when/where/how I can use which calculations. Hraban Am 05.11.22 um 08:18 schrieb Henning Hraban Ramm via ntg-context: You’re invited to join on Wednesday

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-04 Thread Henning Hraban Ramm via ntg-context
? In my "real work" layout, the above approach was not always possible. I looked into “TeX by topic”, but Eijkhout shows only how to use \multiply and \advance. (Tried that, worked only partly.) I was also thinking about doing the whole thing in Lua (CLD), but it’s mostly setups,

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-04 Thread Herbert Voss via ntg-context
with dimension calculations. Is there anything I can read about the possibilities and limitations? e.g. with \definemeasure[PageWidth][132mm] none of the following works: \definemeasure[FlapWidth][0.8 * \measure{PageWidth}] use \measured (with a "d" to get a dimension) Only in expres

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-04 Thread Henning Hraban Ramm via ntg-context
Am 03.11.22 um 22:43 schrieb Henning Hraban Ramm via ntg-context: Am 03.11.22 um 21:51 schrieb Hans Hagen via ntg-context: On 11/3/2022 9:32 PM, Henning Hraban Ramm via ntg-context wrote: I’m constantly struggling with dimension calculations. Is there anything I can read about

Re: [NTG-context] OpenBSD binaries

2022-11-04 Thread Hans Hagen via ntg-context
.html#Flavors This might ease OBSD binaries management. What do other OBSD users think about it? 2) AFAIU, sources are now available for downloading. I understand it would be possible to make a package build for my system, so that I can upgrade OBSD without having to wait for the next binaries

[NTG-context] OpenBSD binaries

2022-11-04 Thread damien thiriet via ntg-context
number, I wonder if it wouldn't easier to maintain binaries only for the current version: keeping the OS up to date is strongly recommended. https://www.openbsd.org/faq/faq5.html#Flavors This might ease OBSD binaries management. What do other OBSD users think about it? 2) AFAIU, sources are now

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-03 Thread Henning Hraban Ramm via ntg-context
Am 03.11.22 um 21:51 schrieb Hans Hagen via ntg-context: On 11/3/2022 9:32 PM, Henning Hraban Ramm via ntg-context wrote: I’m constantly struggling with dimension calculations. Is there anything I can read about the possibilities and limitations? e.g. with \definemeasure[PageWidth][132mm

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-03 Thread Hans Hagen via ntg-context
On 11/3/2022 9:32 PM, Henning Hraban Ramm via ntg-context wrote: I’m constantly struggling with dimension calculations. Is there anything I can read about the possibilities and limitations? e.g. with \definemeasure[PageWidth][132mm] none of the following works: \definemeasure[FlapWidth][0.8

[NTG-context] \definemeasure / \dimexpr

2022-11-03 Thread Henning Hraban Ramm via ntg-context
I’m constantly struggling with dimension calculations. Is there anything I can read about the possibilities and limitations? e.g. with \definemeasure[PageWidth][132mm] none of the following works: \definemeasure[FlapWidth][0.8 * \measure{PageWidth}] \definemeasure[FlapWidth][.8\measure

Re: [NTG-context] context --autopdf and --showdirectives

2022-11-01 Thread Hans Hagen via ntg-context
color 0xCC instead of e.g. "open". There’s a hint about "directives_pdfview_method", so I wanted to find out more about directives: "context --showdirectives" looks promising; it tells me "result saved in file: .../texmf-context/tex/context/base/mkiv/mtx

[NTG-context] context --autopdf and --showdirectives

2022-10-31 Thread Henning Hraban Ramm via ntg-context
I’d like to configure the default behaviour of "context --autopdf"; since on my Mac I must always write "--autopdf=auto", otherwise context tries to call wine "sumatrapdf.exe" -reuse-instance -bg-color 0xCC instead of e.g. "open". There’s a hint

Re: [NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Joel via ntg-context
PM, Joel via ntg-context wrote: > > I have a very large document that, when compiled, produces a PDF, but reports > the error "mtx-context    | fatal error: return code: 1". > > The PDF can open, but after about 100 pages in, the content starts appearing > all in the w

Re: [NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Gavin via ntg-context
r: return code: 1". > > The PDF can open, but after about 100 pages in, the content starts appearing > all in the wrong place. > > Usually when I compile, it says there is an error, and I just scroll up until > I find the details. I've scrolled through the output, an

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