Re: [NTG-context] new hash for buffer (as file)

2022-09-22 Thread Max Chernoff via ntg-context
Hi Pablo, > I mean, to get hash of the file attached to the document, I need to save > the buffer for "context(utilities.sha2.hash256(io.loaddata(buffer)))". > > But I don’t need to save the buffer to attach it to the PDF document. > > My question is how to define \shabufferfile to avoid

Re: [NTG-context] PDF viewer

2022-09-22 Thread Alan Braslau via ntg-context
On Thu, 22 Sep 2022 18:47:50 -0600 Max Chernoff via ntg-context wrote: > I've been using pdf.js almost exclusively for the past few years > either via Firefox or VS Code, and I've never really had any > problems. The only real issue that I've had is that it gets fairly > slow with documents over

Re: [NTG-context] PDF viewer

2022-09-22 Thread Max Chernoff via ntg-context
Hi Hraban, > I compiled a kind of wishlist what we need or look for in a new or > enhanced open source PDF viewer, as discussed e.g. at the 2021 meeting. > > https://wiki.contextgarden.net/PDF_viewer > > Feel free to enhance the wiki page or discuss here. I think that pdf.js (the Firefox PDF

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
That was the solution, it worked! Thank you so much! /Jan-Erik > 22 sep. 2022 kl. 14:54 skrev Alexandre Christe via ntg-context > : > > Hi Jan-Erik, > > One way I came across searching the mailing list is the following: > > \starttext > > \startitemize [a,columns,joinedup] [n=3,grid=line]

[NTG-context] PDF viewer

2022-09-22 Thread Henning Hraban Ramm via ntg-context
Hi all, I compiled a kind of wishlist what we need or look for in a new or enhanced open source PDF viewer, as discussed e.g. at the 2021 meeting. https://wiki.contextgarden.net/PDF_viewer I’d like to further the subject to find a developer (or a team) and make this a reality. (Of course I’d

Re: [NTG-context] LMTX incompatibility in \meaning breaks TikZ, other minor issues

2022-09-22 Thread Hans Hagen via ntg-context
On 9/22/2022 2:23 PM, Leah Neukirchen via ntg-context wrote: Hi, I'm trying to get tikz-cd to run on LMTX and some examples already work fine, but I had a problem with text on arrows. To reproduce: \usemodule[tikz] \usetikzlibrary[cd] \starttext \starttikzcd A \arrow{r}{A} \NC B \NR

Re: [NTG-context] Combining Macron Below needed

2022-09-22 Thread Hans Hagen via ntg-context
On 9/22/2022 1:46 PM, Steffen Wolfrum wrote: for what fonts does this fontfeature work? \definefontfeature[default][default][compose=yes] \starttext \definedfont[name:agaramondproregular*default]{ḵ ṭarī} \stoptext I need it for Garamond Premier Pro (and Renner*). fonts that have the

[NTG-context] new hash for buffer (as file)

2022-09-22 Thread Pablo Rodriguez via ntg-context
Dear list, playing with buffer contents, I have the following file: \setupinteraction[state=start] \setupinteractionscreen[option={attachment}] \startbuffer[test] just a test and another one \stopbuffer \starttext \ctxlua{require("util-sha")} \def\shabuffer#1%

Re: [NTG-context] hash for buffer contents

2022-09-22 Thread Pablo Rodriguez via ntg-context
On 9/22/22 00:26, Max Chernoff via ntg-context wrote: > Hi Pablo, > >> Is there any way to get "utilities.sha2.hash512" with the contents of >> the "abc" buffer? > > You can use "buffers.getcontent" or "buffers.raw": Many thanks for your reply, Max. This is exactly what I needed. >

[NTG-context] Math alignment question

2022-09-22 Thread Jeong Dal via ntg-context
Dear Mikael and Hans, Recently, you introdued the new command “\alignhere, \breakhere, \skiphere” which works fine. Since I usually use the following code that is adopted from My Way(Mathalign.pdf), I’d like to know that there is a way to use “\alignhere, \breakhere, \skiphere” for the case

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Alexandre Christe via ntg-context
Hi Jan-Erik, One way I came across searching the mailing list is the following: \starttext \startitemize [a,columns,joinedup] [n=3,grid=line] \item $ 56 + 2 \cdot 3 $ \item $ 5-(7) $ \item $ \frac{21}{7} $ \stopitemize \stoptext Could be that there is a *better* way. Le jeu. 22 sept. 2022 à

Re: [NTG-context] missing space with French quotation

2022-09-22 Thread Peter Münster via ntg-context
On Thu, Sep 22 2022, Jean-Pierre Delange via ntg-context wrote: > But why use \startquotation when \quotation{something} does the job > just fine? It's not the same: \starttext bla \quotation{quotation} bla \blank[big] bla \startquotation quotation \stopquotation bla \stoptext > I use the

[NTG-context] LMTX incompatibility in \meaning breaks TikZ, other minor issues

2022-09-22 Thread Leah Neukirchen via ntg-context
Hi, I'm trying to get tikz-cd to run on LMTX and some examples already work fine, but I had a problem with text on arrows. To reproduce: \usemodule[tikz] \usetikzlibrary[cd] \starttext \starttikzcd A \arrow{r}{A} \NC B \NR \stoptikzcd \stoptext This builds fine on MkIV from TeXLive 2022 with

Re: [NTG-context] Combining Macron Below needed

2022-09-22 Thread Steffen Wolfrum via ntg-context
for what fonts does this fontfeature work? \definefontfeature[default][default][compose=yes] \starttext \definedfont[name:agaramondproregular*default]{ḵ ṭarī} \stoptext I need it for Garamond Premier Pro (and Renner*). Steffen > Am 11.09.2022 um 11:38 schrieb Hans Hagen via ntg-context >

Re: [NTG-context] new uplaod

2022-09-22 Thread Alexandre Christe via ntg-context
Hi Hans, Thanks a lot for the example. It works great in most cases, however what I stumbled upon is with the interval notation, in particular the following cases arise: - closed interval: easy, since the delimiters are [... ; ... ] - open interval: not easy, since the delimiters are ]... ; ... [

[NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
Dear List!I do not know how to solve this issue.I want the formulas appear on same height, as you can se on the attachment the formula containing a fraction displaces on another vertical position compared to the other equations.How do I correct this?Code snippet pasted from

[NTG-context] OT: Hubert Lampo

2022-09-22 Thread Henning Hraban Ramm via ntg-context
Hi, we (Dreiviertelhaus publishers) are considering to publish a German translation of some works of Flemish author Hubert Lampo. At the moment we need a copy of “De geheime Academie” (and maybe other works). If you have this at home and don’t need it anymore, we’d be glad to receive it (and

[NTG-context] lmt_outline not rendering properly

2022-09-22 Thread Jacob Kauffmann via ntg-context
Dear list, attached is an example taken from the luametafun manual. The letter o looks odd. When I compile the manual the examples in section 4 look also bad (different font; page 10 attached). It seems like the paths miss one point. This is with the latest version 2022.09.11 20:44. Cheers,

Re: [NTG-context] missing space with French quotation

2022-09-22 Thread Jean-Pierre Delange via ntg-context
Hi Peter, I know that's not the expected answer and I'm sorry about that. But why use \startquotation when \quotation{something} does the job just fine? I've looked to replicate your MWE and for my part, there's just a space missing at the end of the quote before the last quote (but I'm