[NTG-context] Re: Quotation mark in drop caps

2024-07-10 Thread Hans Hagen via ntg-context
:\ignorespaces\input knuth \par \setinitial[two] \quotation {Knuth} :\ignorespaces\input knuth \par \stoptext Cheers! On Wed, Jul 10, 2024 at 12:25 AM Hans Hagen via ntg-context mailto:ntg-context@ntg.nl>> wrote: On 7/10/2024 9:10 AM, Thangalin wrote: >  From TeX.SE, the following solut

[NTG-context] Re: Quotation mark in drop caps

2024-07-10 Thread Hans Hagen via ntg-context
On 7/10/2024 9:10 AM, Thangalin wrote: From TeX.SE, the following solution works; however, it doesn't feel like the "ConTeXt way": % SOT \setuplocalboxes[leftmargin][     style=\bfd,     color=darkred,     distance=0pt, ] \unprotect \define\quoteinitial{%    

[NTG-context] Re: index sort order (de)

2024-07-08 Thread Hans Hagen via ntg-context
On 7/7/2024 11:46 AM, Henning Hraban Ramm wrote: Would any of the German users object to a change of the default? Well, I'm sure that you can guess which german you need to convince for me to change it (apply a patch) without second thought. Hans

[NTG-context] Re: SciTE

2024-06-28 Thread Hans Hagen via ntg-context
On 6/28/2024 11:45 AM, Lutz Haseloff wrote: Hi Hans, hi all, I try to use SciTE for ConTEXt. One problem seems to be the file scite-context-internal.properties in recent cont-sci zip. My Ubuntu says it is a binary file. Is this intended? hm, looks like that file got corrupted

[NTG-context] Re: (any) link with document breaks Reader DC

2024-06-27 Thread Hans Hagen via ntg-context
On 6/27/2024 10:03 AM, Taco Hoekwater wrote: On 26 Jun 2024, at 18:01, Pablo Rodriguez via ntg-context wrote: If it asks for permission, it is working fine. It might be (a wild guess, since I don’t have access to macOS system) that the issue only happens with Windows computers. BTW, I

[NTG-context] Re: Inconsistencies with fonts/c2sc feature

2024-06-25 Thread Hans Hagen via ntg-context
On 6/24/2024 6:03 PM, Kirill Davidov wrote: Greetings, I have been trying to make font feature sets that allow me to write abbreviations in small caps and corporate entity/product/etc names with small caps replacing regular ones. I have run into an issue where c2sc works as intended on some

[NTG-context] Re: LMTX on iPad

2024-06-25 Thread Hans Hagen via ntg-context
On 6/24/2024 7:29 PM, Thomas Meyer wrote: Hi folks, is it possible to install LMTX and use it on an iPad and which editor do you recommend? i can run on an adroid device so i suppose it's possible (taco knows best) i think the biggest hurdle is that apps run oin thei rown storage space and

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen via ntg-context
On 6/24/2024 4:05 AM, Bryan Kaplan via ntg-context wrote: On 2024-06-23 at 05:25:32-06:00, Hans Hagen via ntg-context set forth: i just tested again an install (using the latest musl installer) on an alpine WSL instance and it works ok; i can also process a tex file (when i set the path right

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen via ntg-context
On 6/24/2024 7:20 AM, Henning Hraban Ramm wrote: Am 24.06.24 um 04:05 schrieb Bryan Kaplan via ntg-context: mtx-install | running: /opt/context/tex/texmf-linuxmusl-64/bin/context --luatex --generate mtx-context | redirect luametatex -> luatex: luatex --luaonly --socket

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen via ntg-context
On 6/24/2024 7:29 AM, Bryan Kaplan via ntg-context wrote: On 2024-06-23 at 23:20:19-06:00, Henning Hraban Ramm set forth: Does it work without --luatex, i.e. does it work for LMTX but not MkIV? mtxrun --generate --luatex works for me (on OSX), but context --make --luatex doesn’t since forever.

[NTG-context] Re: weekend update

2024-06-23 Thread Hans Hagen via ntg-context
On 6/23/2024 3:40 PM, Alan Braslau wrote: On 23/06/24 23/06/24, 15:28, Hans Hagen via ntg-context wrote: I don't know beamer other than seeing presentations at meetings but I assume that it has some accumulator. Ah, "the cognitive style of power point" ... Often combined with a depre

[NTG-context] Re: weekend update

2024-06-23 Thread Hans Hagen via ntg-context
On 6/23/2024 2:35 PM, Gerion Entrup wrote: Am Freitag, 21. Juni 2024, 19:00:03 MESZ schrieb Hans Hagen via ntg-context: -- support for stacking at the tex end (maybe for presentations) \starttext \definestacking[one] \definestacking[two] \startbuffer This is a test \stacking [one

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-23 Thread Hans Hagen via ntg-context
On 6/22/2024 6:14 PM, Bryan Kaplan via ntg-context wrote: On 2024-06-22 at 04:51:48-06:00, Bruce Horrocks set forth: Not sure if this helps but a while back I was able to produce a Docker build of Context based on Alpine. The instructions and Docker file are here:

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Hans Hagen via ntg-context
On 6/21/2024 8:19 PM, Bryan Kaplan wrote: On 2024-06-21 at 01:15:35-06:00, Hans Hagen via ntg-context set forth: permissions? For Attempt #1, the “not found” mtxrun has 0755 permissions. I think the error is some odd side-effect of trying to run a glibc binary on a musl system. But I

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Hans Hagen via ntg-context
On 6/21/2024 8:19 PM, Bryan Kaplan wrote: On 2024-06-21 at 01:15:35-06:00, Hans Hagen via ntg-context set forth: permissions? For Attempt #1, the “not found” mtxrun has 0755 permissions. I think the error is some odd side-effect of trying to run a glibc binary on a musl system. But I

[NTG-context] weekend update

2024-06-21 Thread Hans Hagen via ntg-context
Hi, I uploaded a new version: -- fix for hraban's svg image (one character patch) -- more verbose link comments for pablo (for experimenting) -- support for stacking at the tex end (maybe for presentations) \starttext \definestacking[one] \definestacking[two] \startbuffer This is a test

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-21 Thread Hans Hagen via ntg-context
On 6/21/2024 2:41 PM, Gerion Entrup wrote: Am Mittwoch, 19. Juni 2024, 09:50:33 MESZ schrieb Hans Hagen: On 6/18/2024 9:54 AM, Gerion Entrup wrote: Am Montag, 17. Juni 2024, 23:50:16 MESZ schrieb Hans Hagen: On 6/17/2024 5:07 PM, Gerion Entrup wrote: Hi, I'm using LaTeX-Beamer and TikZ for

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Hans Hagen via ntg-context
On 6/21/2024 4:39 AM, Bryan Kaplan via ntg-context wrote: Hi all, I'm a *TeX novice trying and failing to install ConTeXt on Alpine Linux. *Attempt #1*: Following https://wiki.contextgarden.net/Installation * Error: o install.sh: line

[NTG-context] Re: upgrade problem, more info

2024-06-20 Thread Hans Hagen via ntg-context
On 6/20/2024 2:39 AM, jbf wrote: I should give a little more info on the upgrade problem. My system is Linux (Mint). Context installed at /home/jbf/context/tex/texmf-linux-64/bin/context Current version after upgrade : 2024.06.18 22:04 I tried reinstalling, but same result: error, no format

[NTG-context] Re: \brokenpenalties query

2024-06-19 Thread Hans Hagen via ntg-context
On 6/19/2024 4:06 PM, Mikael Sundqvist wrote: Hi, On Wed, Jun 19, 2024 at 3:40 PM Alan Bowen > wrote: I have in the past relied on     \setpenalties\brokenpenalties{1}{1}\ to set the penalty for a page break after a hyphen. But with the

[NTG-context] Re: digital signing in ConTeXt

2024-06-19 Thread Hans Hagen via ntg-context
On 6/18/2024 7:42 PM, Pablo Rodriguez via ntg-context wrote: On 6/18/24 19:28, Pablo Rodriguez via ntg-context wrote: [...] I have just discovered that verify didn’t work with the binary. Figuring out now how to do the testing with the library. For some strange reason, I cannot get --library

[NTG-context] Re: digital signing in ConTeXt

2024-06-18 Thread Hans Hagen via ntg-context
On 6/18/2024 6:26 PM, Pablo Rodriguez via ntg-context wrote: On 6/18/24 10:27, Hans Hagen via ntg-context wrote: On 6/18/2024 8:44 AM, Pablo Rodriguez via ntg-context wrote: [...] Generating certificates with OpenSSL is basically free. you cannot use a 'web certificate' Self-signed

[NTG-context] Re: digital signing in ConTeXt

2024-06-18 Thread Hans Hagen via ntg-context
On 6/18/2024 8:44 AM, Pablo Rodriguez via ntg-context wrote: On 6/18/24 00:52, Hans Hagen via ntg-context wrote: On 6/17/2024 7:51 PM, Pablo Rodriguez via ntg-context wrote: [...]>> 2. I cannot get any signature display in Acrobat. Does any PDF viewer (I have tested this with pdfsi

[NTG-context] Re: Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes

2024-06-17 Thread Hans Hagen via ntg-context
On 6/17/2024 7:57 PM, Kip Warner wrote: Hello list, I recently upgraded my distro release to Ubuntu Noble on one of my machines. The ConTeXt packages that were previously for 2021.03.05.20230120 were upgraded to 2023.05.05.20230730. Since the upgrade I've noticed my BibTeX footnotes that

[NTG-context] Re: digital signing in ConTeXt

2024-06-17 Thread Hans Hagen via ntg-context
On 6/17/2024 7:51 PM, Pablo Rodriguez via ntg-context wrote: Dear list, the latest version of LMTX can digitally sign PDF documents. It requires OpenSSL installed (since it does the crypto part). I have two issues that I would like to be tested by others. A sample certificate may be found at

[NTG-context] Re: line numbering respecting original lines

2024-06-17 Thread Hans Hagen via ntg-context
On 6/17/2024 6:46 PM, Henning Hraban Ramm wrote: Am 17.06.24 um 18:16 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 17.06.2024 um 14:03: When discussing verses or other texts that have distinct line breaking, I need line numbering to adhere to that, even if some lines are too long

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-15 Thread Hans Hagen via ntg-context
On 6/15/2024 10:59 AM, ralph.2...@email-postfach.info wrote: Hi, thank you all for your replies so far. I guess I’ll have to live with that for now (of course this isn’t really a problem, but a bit unpleasant to look at when you’re used to the straight lines in LaTeX). Just wanted to add that

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-14 Thread Hans Hagen via ntg-context
On 6/14/2024 9:35 AM, Henning Hraban Ramm wrote: Am 13.06.24 um 23:13 schrieb Hans Hagen via ntg-context: On 6/13/2024 10:04 PM, Otared Kavian wrote: Hi Ralph, I don’t see any pixels in the PDF file when I typeset your code snipet (on MacOS 11.7.10). Here is what I get. No problems

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Hans Hagen via ntg-context
On 6/13/2024 10:04 PM, Otared Kavian wrote: Hi Ralph, I don’t see any pixels in the PDF file when I typeset your code snipet (on MacOS 11.7.10). Here is what I get. No problems on windows on chrome-os either. Mikael S and I checked it on his linux box and one can indeed see anti aliasing when

[NTG-context] Re: get measures as dimension in Lua

2024-06-13 Thread Hans Hagen via ntg-context
On 6/13/2024 7:24 PM, Henning Hraban Ramm wrote: Am 10.06.24 um 10:58 schrieb Henning Hraban Ramm: local namespace = tokens.getters.macro("??measure") function tex.getmeasure(name,asdimen) local value = tex.getdimensionvalue(namespace..name) if asdimen then

[NTG-context] Re: dimen 100.0pt not 100.0pt?

2024-06-10 Thread Hans Hagen via ntg-context
On 6/10/2024 3:46 PM, Hans van der Meer via ntg-context wrote: The I do not understand. I am testing if a dimension set can be checked against the expected value. It looks like 100.0pt is not really 100.0pt. Why? And how can I do this test properly with true as result?

[NTG-context] Re: get measures as dimension in Lua

2024-06-10 Thread Hans Hagen via ntg-context
On 6/10/2024 7:08 AM, Max Chernoff wrote: Hi Hraban, On Sun, 2024-06-09 at 22:12 +0200, Henning Hraban Ramm wrote: when I define a measure on the TeX side, I used to get at the value in Lua with tex.getdim, like: \definemeasure[Bleed][3mm] tex.getdimen("Bleed") But now I get "incorrect

[NTG-context] Re: ConTeXt source from XML

2024-06-06 Thread Hans Hagen via ntg-context
On 6/6/2024 5:33 PM, Pablo Rodriguez via ntg-context wrote: On 6/5/24 20:23, Christoph Edenhauser wrote: Dear Pablo, Thank you very much for your very clear, detailed and elaborate explanations.  - Over the next few days I will meditate on the ConTeXt way to handle XML and on my workflow and

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Hans Hagen via ntg-context
On 6/6/2024 4:34 PM, Wolfgang Schuster wrote: Gerion Entrup schrieb am 06.06.2024 um 12:30: Hi, I like to achieve something that looks like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext    [extract]    [leftmargin=1.5pc,     style={\italic},    

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Hans Hagen via ntg-context
On 6/6/2024 12:30 PM, Gerion Entrup wrote: Hi, I like to achieve something that looks like this: ``` \definedelimitedtext[extract][blockquote] \setupdelimitedtext [extract] [leftmargin=1.5pc, style={\italic}, before={\setupindenting[next]}, after={\blank[1ex] \hrule

[NTG-context] Re: Vanishing floats with location=split and \start ... \stopsplittext within

2024-06-04 Thread Hans Hagen via ntg-context
On 6/4/2024 3:57 PM, Давыдов, Кирилл Александрович wrote: Greetings, I have run into an issue whilst using \start ... \stopsplittext. I intended to use it for large code listings (using the t-vim module), however floats with location=split using that environment seem to vanish if there is

[NTG-context] Re: setuphead in connection with the command argument

2024-06-03 Thread Hans Hagen via ntg-context
On 6/3/2024 1:36 PM, Gerion Entrup wrote: Thank you. I think that I understand command vs alternative now. With try and error, I experienced, that the font/style of the `style` parameter interleave in a strange way. Therefore I see it as related. What i mean is: style: outer level, also sets

[NTG-context] Re: bug tracker

2024-05-27 Thread Hans Hagen via ntg-context
On 5/27/2024 3:46 PM, Peter Münster wrote: Is there a bug tracker for ConTeXt? (It seems, that https://tracker.luatex.org/ is no more used...) just mail to the list as bugs are normally either solved fast or becoem features Hans

[NTG-context] Re: luatex doesn't see installed 3rd party module

2024-05-20 Thread Hans Hagen via ntg-context
On 5/20/2024 12:38 AM, and...@borisov.dev wrote: Hello! I’ve installed a 3rd party module by copying its TDS folder structure and invoking `context --generate` as described in https://wiki.contextgarden.net/Modules#ConTeXt_LMTX When I compile my project with `context` (using LuaMetaTeX),

[NTG-context] Re: defining hashtag simulator

2024-05-20 Thread Hans Hagen via ntg-context
On 5/20/2024 8:01 AM, seyal.zav...@gmail.com wrote: Thanks. What if we want the text to be copied when it is clicked? I found these link on the stack site for this https://tex.stackexchange.com/questions/174637/copy-to-clipboard-feature-in-pdf-output/545107#545107 also i defined this:

[NTG-context] Re: build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread Hans Hagen via ntg-context
On 5/19/2024 2:29 PM, garu...@azules.eu wrote: I still get some difficulties with build_parshape, \getshapetex and sectionning. I though I find a solution by removing \blank with \setuphead [subsection] [before=, after=, style=, command=\MySubSectionCommand, alternative=text ] But

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread Hans Hagen via ntg-context
On 5/17/2024 8:22 PM, madiazm.eo...@gmail.com wrote: thanks Pablo, but this is strange If I reproduce your code in a new file I see the perfect alignment of the frames. But I had changed the code in my original file as suggested by Wolfgang and I additionally commented all lines in the

[NTG-context] Re: Fwd: outlinetext broken?

2024-05-14 Thread Hans Hagen via ntg-context
On 5/13/2024 11:54 PM, Jairo A. del Rio wrote: -- Forwarded message - De: *Jairo A. del Rio* > Date: lun, 13 may 2024 a la(s) 9:53 p.m. Subject: Re: outlinetext broken? To: Hans Hagen mailto:j.ha...@xs4all.nl>> Hi, Hans! Thank you for the

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Hans Hagen via ntg-context
On 4/22/2024 2:45 AM, Joel via ntg-context wrote: I'm three days out from sending my work to an editor, and found some serious problem: many footnotes just aren't rendering. I have a history text that uses ConTeXt-SBL for the citations, as such, it has lots of footnotes. Sometimes the

[NTG-context] Re: \luaescapestring in proper Lua

2024-04-11 Thread Hans Hagen via ntg-context
On 4/11/2024 5:07 PM, Pablo Rodriguez via ntg-context wrote: On 4/10/24 21:48, Hans Hagen via ntg-context wrote: On 4/10/2024 7:49 PM, Pablo Rodriguez via ntg-context wrote: [...] I wonder whether there is a proper way in the Lua code to avoid [[\luaescapestring{}]] in \ctxlua

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Hans Hagen via ntg-context
On 4/11/2024 5:25 PM, Pablo Rodriguez via ntg-context wrote: On 4/10/24 22:28, Denis Maier wrote: [...] context --luatex --generate Thanks, Pablo. I've tried it, but it doesn't seem to work... I get the same result on Win64 when I move the luatex binary from the tex/texmf-win64/bin/

[NTG-context] Re: \luaescapestring in proper Lua

2024-04-10 Thread Hans Hagen via ntg-context
On 4/10/2024 7:49 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \starttext \startluacode function document.print_the_thing(str) context(str) end \stopluacode \unexpanded\def\PrintTheThing#1{%

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Hans Hagen via ntg-context
On 4/7/2024 9:31 AM, Henning Hraban Ramm wrote: Am 07.04.24 um 08:06 schrieb Hans Hagen: On 4/6/2024 5:34 PM, Henning Hraban Ramm wrote: 1. PDF/UA-2 https://pdfa.org/iso-14289-2-pdfua-2/ looks likes one has to pay for it That’s not how you promote open standards. should have been an ecma

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

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

[NTG-context] Re: OT: San Seriffe

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

[NTG-context] Re: how to include an an svg file?

2024-03-15 Thread Hans Hagen via ntg-context
On 3/13/2024 9:16 AM, Henning Hraban Ramm wrote: Am 12.03.24 um 23:59 schrieb seyal zavira: You are correct. when i convert this svg to pdf via inkscape it works like a charm. But what is standard way of including an svg file with context if we want to inkscape render the images?

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Hans Hagen via ntg-context
On 3/13/2024 12:26 PM, Mikael Sundqvist wrote: Hi, On Wed, Mar 13, 2024 at 11:37 AM Max Chernoff wrote: Hi Hans, On Tue, 2024-03-12 at 15:21 +0100, Hans Hagen wrote: the next upload will support the attached ... so no ugly hacky code needed "\texthere[inbetween]" looks perfect, thanks!

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

2024-03-10 Thread Hans Hagen via ntg-context
On 3/10/2024 9:32 AM, Pablo Rodriguez via ntg-context wrote: On 3/9/24 16:04, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 19:39: [...] \enableexperiments[fonts.compact] Which seeems weird to me. Or at least, I thought I read that Hans enabled it by

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

2024-03-10 Thread Hans Hagen via ntg-context
On 3/8/2024 6:36 PM, Henning Hraban Ramm wrote: 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

[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: 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: MetaPost lines in tables?

2024-02-22 Thread Hans Hagen via ntg-context
On 2/21/2024 7:47 PM, Henning Hraban Ramm wrote: Am 21.02.24 um 19:43 schrieb Wolfgang Schuster: … but it would be visible on a colored background. I’m sure you can show me a better way… \startuseMPgraphic{dottedborder}    draw bottomboundary OverlayBox withpen pencircle scaled 2 dashed

[NTG-context] manuals

2024-02-14 Thread Hans Hagen via ntg-context
There's also: https://github.com/contextgarden/not-so-short-introduction-to-context Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

[NTG-context] Re: \type ignores space between command and bracket

2024-02-02 Thread Hans Hagen via ntg-context
On 2/2/2024 11:16 AM, wolfgangbackes--- via ntg-context wrote: I have stumbeld across the same bug. Seems to be very elementary, but is still present after many years. Sigh. don't confuse bugs and features ... \starttext here a \type{\test is} done here a \type{\test [is]} done here a

[NTG-context] Re: hyphenation question

2024-02-02 Thread Hans Hagen via ntg-context
On 2/2/2024 1:03 PM, Hans van der Meer via ntg-context wrote: In the 18th century documents I am transcribing often words are abbreviated as for example /voorschreeve/ becoming /voors:/ In the transcription it is usual to write this as /voors[chreeve]/ indicating to the reader how the

[NTG-context] Re: upload

2024-01-23 Thread Hans Hagen via ntg-context
On 1/20/2024 10:32 AM, Ursula Hermann wrote: 32 bits Windows download does not work, because 404 report. i uploaded a win32 installer (for now we only keep 32 bit win but once all users are on 64 bit ...) the current upload is as usual work in progress Hans

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Hans Hagen via ntg-context
On 1/22/2024 10:47 AM, Thomas Meyer wrote: Hi Hans, maybe you understand the question mark now, you are part of it. Unfortunately, I haven't received a reply to my last e-mail from January 18. No I don't. Are you sayign that you want an instant reply every time? I assume you realize that

[NTG-context] Re: cont-new.mkiv and \everymathematics

2024-01-21 Thread Hans Hagen via ntg-context
On 1/20/2024 7:49 PM, Rogers, Michael K wrote: Hi all, In writing class notes, I frequently make one-letter macros for formatted symbols, such \v and \w for vectors. Generally speaking, one-letter names for function/macros/variables is frowned upon in programming, but I find this localized

[NTG-context] Re: upload

2024-01-20 Thread Hans Hagen via ntg-context
On 1/19/2024 6:34 PM, Pablo Rodriguez via ntg-context wrote: On 1/18/24 20:43, Denis Maier via ntg-context wrote: *Von:*Alain Delmotte *Gesendet:* Donnerstag, 18. Januar 2024 20:04 *An:* ntg-context@ntg.nl *Betreff:* [NTG-context] Re: upload [...] When I go to https://www.pragma-ade.nl, I get

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Hans Hagen via ntg-context
On 1/19/2024 12:34 AM, Aditya Mahajan wrote: On Thu, 18 Jan 2024, Hans Hagen wrote: Of course we'll never be as fast as (pure) plain tex (no layers added) or latex (which often is advocated as faster than context). I was curious, so did a quick experiment: typeset \input knuth 500 times.

[NTG-context] Re: context version 20240118

2024-01-18 Thread Hans Hagen via ntg-context
On 1/18/2024 12:59 PM, Thomas Meyer wrote: What is going on? Yesterday I got a perfect on-grid-written document! But today, with the newest context-version (20240118) all changed for the worse. as follow up on the keyword thread we decided to treat bad values to equivalent to 'no' I may

[NTG-context] Re: [ \copypages ]

2024-01-18 Thread Hans Hagen via ntg-context
On 1/17/2024 10:20 PM, vm via ntg-context wrote: Is there a (hidden) option that allows for changing the font color of external included pdfs yes but experimental and not yet documented Hans -

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

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

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-10 Thread Hans Hagen via ntg-context
On 1/10/2024 8:00 AM, juh via ntg-context wrote: Dear Hraban, Am Sun, Jan 07, 2024 at 09:59:14AM +0100 schrieb Henning Hraban Ramm: I’d like to have a poster that shows off ConTeXt/MetaFun features. Do you have suggestions or (even better) would you like to create it? It would be nice to have

[NTG-context] update

2024-01-08 Thread Hans Hagen via ntg-context
Hi, With the build farm still down I now use an alternative build, that is, I run a compile script on s bunch of machines and hope for the best. In the process I decided to drop 32 bit installers (users can generate bins themselves if needed). I also drop bsd version and just use the

[NTG-context] Re: Metapost docs

2024-01-08 Thread Hans Hagen via ntg-context
On 1/8/2024 1:50 AM, Shiv Shankar Dayal wrote: I see many libraries for Metapost in Context source. Where are these documented? I see Metafun manual as well, but I do not find all the included libraries described. i'm not sure what you mean with library ... can you give an example? Hans

[NTG-context] Re: Solaris 11 SPARC Support [SEC=OFFICIAL]

2024-01-05 Thread Hans Hagen via ntg-context
On 1/5/2024 12:54 AM, Michael Wigston via ntg-context wrote: Hi, Would you consider supporting Solaris 11 on SPARC? Alternatively if you could provide documentation how to build Context on "SunOS sun4v" hardware would also be beneficial. I have compiled luametatex, but getting below error

[NTG-context] Re: 2024

2024-01-02 Thread Hans Hagen via ntg-context
On 1/1/2024 3:33 PM, vm via ntg-context wrote: On 01/01/2024 13:28, Hans Hagen wrote: Of course it screams metapost but tex and lua are also involved. See it as compensation for the lack of an end-of-year update. The last page of the result has a bit of explanation. Beautiful indeed ! (And

[NTG-context] Re: MetaFun path joiners && and &&&& do not like single point paths

2023-12-31 Thread Hans Hagen via ntg-context
On 12/31/2023 8:06 AM, Mikael Sundqvist wrote: \startMPpage path p[], q ; p1 = fullcircle scaled 3cm ; p2 = fullcircle scaled 2cm shifted (3cm,0) ; p3 = (3cm,2cm) ; p4 = fullcircle ; q = p[1] for i = 2 upto 3: if (length(p[i]) == 0): &&& else: && fi p[i] endfor && cycle ; eofill q withcolor 0.9

[NTG-context] Re: Seeking advice for module that draws globes

2023-12-18 Thread Hans Hagen via ntg-context
On 12/18/2023 5:22 PM, Gavin wrote: Hi Hans, On Dec 18, 2023, at 3:12 AM, Hans Hagen via ntg-context wrote: about names: how about t-luageo.lmt t-luageo.mpxl so that one knows what comes with the module (we do the same with s-* modules) "t-luageo.lmt" is fine, but &quo

[NTG-context] Re: Seeking advice for module that draws globes

2023-12-18 Thread Hans Hagen via ntg-context
On 12/17/2023 11:22 PM, Gavin via ntg-context wrote: Hello ConTeXters, I wrote a little ConTeXt module for drawing globes. I would love some advice on how to improve it and share it. The code is quite short (about 250 lines). Most of the work is done by Lua, which reads the data files and

[NTG-context] Re: Seeking advice for module that draws globes

2023-12-18 Thread Hans Hagen via ntg-context
On 12/18/2023 4:49 AM, Gavin wrote: Hi Hans, Thanks for all the suggestions! I am going through them carefully. - in mp you can do this vardef theglobe(expr lat, lon) = for i = 1 upto lua.mp.makeglobe(lat, lon): (lua.mp.getglobepath(i)) endfor cycle enddef ; Does

[NTG-context] Re: Seeking advice for module that draws globes

2023-12-17 Thread Hans Hagen via ntg-context
On 12/17/2023 11:22 PM, Gavin via ntg-context wrote: Hello ConTeXters, I wrote a little ConTeXt module for drawing globes. I would love some advice on how to improve it and share it. The code is quite short (about 250 lines). Most of the work is done by Lua, which reads the data files and

[NTG-context] Re: Seeking advice for module that draws globes

2023-12-17 Thread Hans Hagen via ntg-context
On 12/17/2023 11:22 PM, Gavin via ntg-context wrote: 1. How do I avoid redrawing diagrams with every typeset? The globe above takes about 0.7s, which is not bad, but it adds up in a book with many diagrams. \startbuffer[demo] \usemodule [luageo] \startMPpage GlobeDiameter = 10cm ;

[NTG-context] Re: error with definestartstop and startmode

2023-12-16 Thread Hans Hagen via ntg-context
On 12/16/2023 9:17 AM, Peter Münster wrote: Hi, I get an "runaway error" with the following example: --8<---cut here---start->8--- \definestartstop[H][color=blue, before={\startmode[h]}, after={\stopmode}] \starttext test \startH TEST \stopH \stoptext

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-10 Thread Hans Hagen via ntg-context
On 12/9/2023 4:33 PM, Aditya Mahajan wrote: On Sat, 9 Dec 2023, Wolfgang Schuster wrote: \starttext \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3}}:

[NTG-context] Re: mtx-synctex.lua question

2023-12-08 Thread Hans Hagen via ntg-context
On 12/7/2023 7:23 PM, Jim wrote: Hi, In mtx-synctex.lua, inside local function findlocation(filename,page,xpos,ypos,tolerance) there is the following code: for s=1,tolerance,max(tolerance//10,1) do locate( s, 0) if fi ~= 0 then tl = s ; goto done

[NTG-context] Re: Inline math spacing

2023-12-04 Thread Hans Hagen via ntg-context
On 12/4/2023 2:42 PM, Alexandre Christe wrote: Hi Hans, Thanks for your answer. It helps a lot. Would there be a way to only add space when inline math is not followed by punctuation, i.e., when inline math is followed by a space? A. Christe Le 4 déc. 2023 à 14:08 +0100, Hans Hagen , a

[NTG-context] Re: externalfigure crashed

2023-12-04 Thread Hans Hagen via ntg-context
On 12/4/2023 5:38 PM, Pablo Rodriguez via ntg-context wrote: On 11/24/23 18:16, Hans Hagen via ntg-context wrote: […] will do for now ... i can't upload a new installer .. pending the built; the advantage is that i can do some experiments that would otherwise break the current version (making

[NTG-context] Re: Inline math spacing

2023-12-04 Thread Hans Hagen via ntg-context
On 12/4/2023 6:43 AM, Alexandre Christe wrote: Hi, Here’s a MWE: \setupinterlinespace[line=3ex] \definefontfeature[default][default][lnum=yes,tnum=yes] \usetypescriptfile[alegreya_libertinus] \setupbodyfont[alegreya-light,ss,10pt] \setupmathematics[autopunctuation={all}] % math definitions

[NTG-context] Re: externalfigure crashed

2023-11-24 Thread Hans Hagen via ntg-context
On 11/22/2023 10:02 PM, Hans van der Meer via ntg-context wrote: Here too, I find 'undefined' from \meaning\expandeddetokenize \ifdefined\expandeddetokenize\else \let\expandeddetokenize\detokenize \fi will do for now ... i can't upload a new installer .. pending the built; the advantage is

[NTG-context] Re: hard clipping in ConTeXt?

2023-11-11 Thread Hans Hagen via ntg-context
On 11/10/2023 6:17 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \setuplayout[page] \starttext \clip[hoffset=5mm, voffset=5mm, width=15mm, height=15mm] {\externalfigure[xml-mkiv.pdf]} \stopnotmode \stoptext Using PDF.js (from

[NTG-context] Re: How to encircle text?

2023-11-05 Thread Hans Hagen via ntg-context
On 11/5/2023 7:23 AM, anton.chig...@mail.com wrote: I want to use \bigcirc to encircle text. Is there a way to do it. if you're wiling to compensate for its depth: \defineoverlay [BigCirc] [{\scale [width=\overlaywidth] {\setbox0\hpack{\bigcirc}\raise\dp0\box0}}] \framed

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-01 Thread Hans Hagen via ntg-context
On 10/31/2023 8:18 PM, Vincent Hennebert wrote: Hello there, I had mentioned this on a thread some (long) time ago, finally got around to finishing a first version of a typescript with the Adobe Source font family, in all its weight alternatives and design sizes (the latter being available

[NTG-context] Re: Inline mathematics is stretched

2023-10-30 Thread Hans Hagen via ntg-context
On 10/30/2023 8:05 AM, Mia Bikey wrote: Yes well of course no issue arises if I just change the whole font. But I wanted to keep using the mono font thus reporting issues with it. In that case you have to go for flushleft \setupalign[verytolerant,nothyphenated,flushleft] because otherwise tex

[NTG-context] Re: Inline mathematics is stretched

2023-10-29 Thread Hans Hagen via ntg-context
On 10/29/2023 1:33 PM, Mia Bikey wrote: Hi, I was using \setupalign[verytolerant,stretch] so that the mono font does not go inside the right inline image but after using that command the inline math seems to spread. how about just using this \setupbodyfont[concrete] \starttext When $a, b,

[NTG-context] Re: colors for links

2023-10-14 Thread Hans Hagen via ntg-context
On 10/14/2023 7:55 PM, Pablo Rodriguez wrote: On 10/14/23 14:19, Hans Hagen via ntg-context wrote: On 10/12/2023 3:14 PM, Pablo Rodriguez wrote: […] I see that the directive for link borders only allows one color for links per document. Many thanks for your reply, Hans. I apologize for my

[NTG-context] Re: colors for links

2023-10-14 Thread Hans Hagen via ntg-context
On 10/12/2023 3:14 PM, Pablo Rodriguez wrote: Hi Hans, I have the following source, which tries to resemble three kinds of links: \setupinteraction[state=start, style=, focus=standard] \def\inone#1{% \start\setupinteraction[color=darkgreen]%

[NTG-context] Re: regular online meetup

2023-10-11 Thread Hans Hagen via ntg-context
On 10/11/2023 11:28 AM, Bruce Horrocks wrote: I'd quite like to discuss this if people don't mind. There's a PDF attached which illustrates the issue. exploring / solutions to this has been moved off list Hans

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
On 9/22/2023 3:51 PM, Hamid,Idris wrote: -- Original Message -- From "Hans Hagen" mailto:j.ha...@xs4all.nl>> To "ntg-context@ntg.nl" mailto:ntg-context@ntg.nl>> Date 9/22/2023 7:15:25 AM Subject [NTG-context] Re: Toggling the symbol for the zero-width joiner

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
On 9/22/2023 6:16 AM, Hamid,Idris wrote: -- Original Message -- From "Hans Hagen" mailto:j.ha...@xs4all.nl>> To "Hamid,Idris" mailto:idris.ha...@colostate.edu>>; "mailing list for ConTeXt users" mailto:ntg-context@ntg.nl>> Date 9/21/2023 3:29:22 PM Subject Re: [NTG-context] Re:

[NTG-context] Re: stackrel in context?

2023-09-21 Thread Hans Hagen via ntg-context
On 9/21/2023 11:21 AM, Aditya Mahajan wrote: On Thu, 21 Sep 2023, Xavier B. wrote: Hi, I want to write: $0,00\stackrel{\smallfrown}{4}$ like latex [https://tex.stackexchange.com/questions/39225/differences-between-stackrel-and-stackbin] but context LMTX does not recognize stackrel What

[NTG-context] Re: streams reversed?

2023-09-17 Thread Hans Hagen via ntg-context
On 9/16/2023 12:57 AM, jbf wrote: Thanks Idris. See my response to Bruce, and indeed his response to mine earlier. I'll have to leave it at that for now. Too many other matters pressing. Julian This is why mechanism like these never come to completion: it takes times, experimenting,

[NTG-context] Re: # verbatim typesetting

2023-09-07 Thread Hans Hagen via ntg-context
On 9/7/2023 2:47 PM, Marcus Vinicius Mesquita wrote: Dear List, The MWE below gives a pdf with two #'s instead of only one. Why is that? \starttext \startluacode context.type("#") \stopluacode \stoptext because by default tex loves to duplicate hashes when it serializes token lists

[NTG-context] Re: XML, multiple spaces encoded as %20 get merged into one space

2023-09-06 Thread Hans Hagen via ntg-context
On 9/6/2023 4:59 PM, Pablo Rodriguez wrote: On 9/6/23 12:28, denis.ma...@unibe.ch wrote: Hi, I have the example below that uses the three images in the attachment. For some reason multiple spaces encoded as %20 get merged into a single %20. Hi Denis, this is standard TeX behavior (not only

  1   2   3   4   5   6   7   8   9   10   >