Re: [NTG-context] context-on-web broken

2023-06-26 Thread Aditya Mahajan via ntg-context
On Mon, 26 Jun 2023, Miguel Diaz via ntg-context wrote: > indeed it is a simple simulation of overleaf (for latex). FWIW, context works on overleaf as well! Simply create a `latexmkrc` file with the following content: ``` $pdflatex="context --synctex=1 --result=output %S; cp output.log

Re: [NTG-context] TiKz with LMTX

2023-06-09 Thread Aditya Mahajan via ntg-context
On Fri, 9 Jun 2023, Hans Hagen via ntg-context wrote: > On 6/9/2023 5:57 AM, Aditya Mahajan via ntg-context wrote: > > On Thu, 8 Jun 2023, Jigé via ntg-context wrote: > > > >> Thanks a lot Aditya. > >> > >> The very simple TikZ example with the

Re: [NTG-context] TiKz with LMTX

2023-06-08 Thread Aditya Mahajan via ntg-context
On Thu, 8 Jun 2023, Jigé via ntg-context wrote: > Thanks a lot Aditya. > > The very simple TikZ example with the cross works. > The more complex example with the trigonometric circle from the pgf manual, > quoted in https://wiki.contextgarden.net/TikZ , does not compile > unless you also

Re: [NTG-context] TiKz with LMTX

2023-06-05 Thread Aditya Mahajan via ntg-context
On Mon, 5 Jun 2023, Aditya Mahajan via ntg-context wrote: > On Sun, 4 Jun 2023, Jigé via ntg-context wrote: > > > > $ mkdir ~/.local/share/context > > $ cd ~/.local/share/context > > $ wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip > > $ un

Re: [NTG-context] TiKz with LMTX

2023-06-05 Thread Aditya Mahajan via ntg-context
On Sun, 4 Jun 2023, Jigé via ntg-context wrote: > $ mkdir ~/.local/share/context > $ cd ~/.local/share/context > $ wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip > $ unzip context-linux-64.zip > $ sh install.sh > $ rm context-linux-64.zip > $ cd ~/.local/share/context/tex > $

Re: [NTG-context] Moving up a Figure

2023-06-05 Thread Aditya Mahajan via ntg-context
On Mon, 5 Jun 2023, Alan Braslau via ntg-context wrote: > On 05/06/23 05/06/23, 00:08, Mikael Sundqvist via ntg-context wrote: > > On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context > > wrote: > >> Not fully, it indeed moves up the figure but a little too much. Is there a > >> more granular

Re: [NTG-context] Super slow installation

2023-05-30 Thread Aditya Mahajan via ntg-context
On Tue, 30 May 2023, Thangalin via ntg-context wrote: > FWIW, I'm seeing the same slow down issue from three different machines: > >1. My personal computer in Vancouver BC. >2. A work computer on Vancouver Island (Victoria BC) >3. Microsoft ADO servers (presumably in Seattle WA). >

Re: [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'

2023-05-24 Thread Aditya Mahajan via ntg-context
On Wed, 24 May 2023, Denis Maier via ntg-context wrote: > I've just tested with a couple of other scripts... > > Doesn't matter which one I try to call: > Mtxrun --script XYZ > > will always results in the equivalent error message, e.g.: > mtxrun | unknown script 'interface.lua' or

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Aditya Mahajan via ntg-context
On Fri, 19 May 2023, Jeroen via ntg-context wrote: > Many thanks. Is there a proper way to add some space (a couple of pt or em) > to the left and the right of the text itself so the frame does not get so > close to the text? \framed[loffset=0.2ex, roffset=0.2ex]{...} Also see:

Re: [NTG-context] upload

2023-05-05 Thread Aditya Mahajan via ntg-context
On Fri, 5 May 2023, Hans Hagen via ntg-context wrote: > Hi, > > I uploaded a version that provides > > mtxrun --script install-tikz > > that when run in the tex root (.../tex) will fetch some tikz stuff from ctan > and puts is in texmf-modules. After installing it wipes the files that make

Re: [NTG-context] tikz + lmtx

2023-05-04 Thread Aditya Mahajan via ntg-context
On Thu, 4 May 2023, Hans Hagen via ntg-context wrote: > On 4/28/2023 6:08 AM, Aditya Mahajan via ntg-context wrote: > > Hi all, > > > > For a few months now, all features of tikz have not been working with LMTX. > > After help from Hans and a bit of trial and erro

[NTG-context] Units for volts and Ohms

2023-05-02 Thread Aditya Mahajan via ntg-context
Hi, As I was testing circuitikz, I realized that the following don't work: \unit{1V} \unit{100 kΩ} In phys-dim.lmt, we need to change line 467: v = "volt", to V = "volt", and perhaps add (not sure if lua allows utf variable names) Ω = "ohm",

Re: [NTG-context] tikz + lmtx

2023-05-01 Thread Aditya Mahajan via ntg-context
On Fri, 28 Apr 2023, Aditya Mahajan via ntg-context wrote: > On Fri, 28 Apr 2023, Ulrike Fischer via ntg-context wrote: > > > Am Fri, 28 Apr 2023 01:01:23 -0400 (EDT) schrieb Aditya Mahajan via > > ntg-context: > > > > > Circuitikz still doesn't wo

Re: [NTG-context] tikz + lmtx

2023-04-28 Thread Aditya Mahajan via ntg-context
On Fri, 28 Apr 2023, Floris van Manen via ntg-context wrote: > > > On 28/04/2023 16:25, Aditya Mahajan via ntg-context wrote: > > These are already part of the distribution. Just one caveat: you need to use > > > > \usemodule[tikz] > > \usemodule[pgfplots] >

Re: [NTG-context] tikz + lmtx

2023-04-28 Thread Aditya Mahajan via ntg-context
On Fri, 28 Apr 2023, Ulrike Fischer via ntg-context wrote: > Am Fri, 28 Apr 2023 01:01:23 -0400 (EDT) schrieb Aditya Mahajan via > ntg-context: > > > Circuitikz still doesn't work. Even loading the module fails. > > It works for me on texlive 2023 with your new

Re: [NTG-context] tikz + lmtx

2023-04-28 Thread Aditya Mahajan via ntg-context
On Fri, 28 Apr 2023, Gavin wrote: > Hi fellow Tik-Z users, > > Tik-Z, including circuitikz, is working for me after adding two files from > Hans to a slightly older version of ConTeXt (ver: 2023.02.07 19:06 LMTX fmt: > 2023.3.14). I do not know if these files are of any use with the current

Re: [NTG-context] tikz + lmtx

2023-04-27 Thread Aditya Mahajan via ntg-context
On Fri, 28 Apr 2023, Aditya Mahajan via ntg-context wrote: > Hi all, > > For a few months now, all features of tikz have not been working with LMTX. > After help from Hans and a bit of trial and error, I think that figured out > what was going wrong with the catcodes i

[NTG-context] tikz + lmtx

2023-04-27 Thread Aditya Mahajan via ntg-context
Hi all, For a few months now, all features of tikz have not been working with LMTX. After help from Hans and a bit of trial and error, I think that figured out what was going wrong with the catcodes in m-tikz: Since the texcatcodes are different from what tikz expects, the catcodes have to be

Re: [NTG-context] update

2023-04-26 Thread Aditya Mahajan via ntg-context
On Wed, 26 Apr 2023, lynx--- via ntg-context wrote: > Re: performing update(s) > > New to conTeXt, have not performed a specific update prior to this. > > My conTeXt installation is part of TeXlive-2023 (under Linux OS). Will > the updates to ConTeXt be handled by tlmgr ? No. Usually,

Re: [NTG-context] Filter Module with Openscad

2023-04-26 Thread Aditya Mahajan via ntg-context
On Wed, 26 Apr 2023, Jeroen via ntg-context wrote: > I am using OpenSCAD to create drawings with the filter module with the > following MWE: > > \usemodule[filter] > \defineexternalfilter[openscad] > [filtercommand={/context/openscad/openscad -o \externalfilteroutputfile}, >

Re: [NTG-context] Idea for a shared repository.

2023-04-25 Thread Aditya Mahajan via ntg-context
On Tue, 25 Apr 2023, Pawel Urbanski via ntg-context wrote: > What about creating a repository called: 'templates' or 'resources' - we can > figure out the exact name later. Why not use the wiki for such documents? For fonts, there is already a wiki page collecting typescripts:

Re: [NTG-context] \setupitemize[indentnext=auto] broken?

2023-04-18 Thread Aditya Mahajan via ntg-context
On Mon, 17 Apr 2023, Hans Hagen via ntg-context wrote: > On 4/17/2023 7:06 AM, Aditya Mahajan via ntg-context wrote: > > On Sun, 16 Apr 2023, Aditya Mahajan via ntg-context wrote: > > > >> On Sat, 15 Apr 2023, J

Re: [NTG-context] \setupitemize[indentnext=auto] broken?

2023-04-16 Thread Aditya Mahajan via ntg-context
On Sun, 16 Apr 2023, Aditya Mahajan via ntg-context wrote: > On Sat, 15 Apr 2023, Jim via ntg-context wrote: > > > % > > > > \setupindenting[medium,yes] > > \setupitemize[indentnext=

Re: [NTG-context] \setupitemize[indentnext=auto] broken?

2023-04-16 Thread Aditya Mahajan via ntg-context
On Sat, 15 Apr 2023, Jim via ntg-context wrote: > In the wiki page https://wiki.contextgarden.net/Indentation there is the > following example: > > % > > \setupindenting[medium,yes] > \setupitemize[indentnext=auto] > >

Re: [NTG-context] Feynman Diagrams

2023-04-12 Thread Aditya Mahajan via ntg-context
On Wed, 12 Apr 2023, Gavin via ntg-context wrote: > Hi Aditya, > > > Have you tried using feynmp (the metapost macros) directly instead of the > > LaTeX wrapper? Can you create an example that works with metapost but fails > > in ConTeXt? > > No, I’m not sure how to do that. I looked at the

Re: [NTG-context] Feynman Diagrams

2023-04-12 Thread Aditya Mahajan via ntg-context
On Wed, 12 Apr 2023, Gavin via ntg-context wrote: > Hi Hans, Alan, Mikael, and other Feynman fans, > > I do think Alan's node module could do a good job with this. > > > It would be nice to have a not too complicated syntax, but maybe just have > > some of the > > "shapes" of paths available.

Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-10 Thread Aditya Mahajan via ntg-context
On Mon, 10 Apr 2023, Carlos via ntg-context wrote: > I'm just following some of the standalone installation instructions > as per the wiki alongside a TeX Live installation, but there are a > few things that don't add up or I can't seem to add them up :). > > first, while I was trying to

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Aditya Mahajan via ntg-context
On Fri, 31 Mar 2023, Hans Hagen via ntg-context wrote: > On 3/30/2023 11:56 PM, Xavier B. via ntg-context wrote: > > Thanks, Max, for finding the problem. It is related to two more bugs: > > https://github.com/pgf-tikz/pgf/issues/990 > > and > > https://github.com/pgf-tikz/pgf/issues/958 > > > >

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-30 Thread Aditya Mahajan via ntg-context
On Thu, 30 Mar 2023, Xavier B. via ntg-context wrote: > Thanks, Max, for finding the problem. It is related to two more bugs: > https://github.com/pgf-tikz/pgf/issues/990 > and > https://github.com/pgf-tikz/pgf/issues/958 > > Perhaps Hans or other people could help tikz staff to do the pending

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Aditya Mahajan via ntg-context
On Mon, 6 Mar 2023, Gerion Entrup via ntg-context wrote: > Hi, > > I'm trying to use a description environment in conjunction with an > itemize with the latest luametatex. Is this supposed to work? > > Here is an MWE: > ``` > \definedescription[desc][headstyle=bold] > > \starttext > Foo > >

Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Aditya Mahajan via ntg-context
On Mon, 6 Mar 2023, Henning Hraban Ramm via ntg-context wrote: > Am 06.03.23 um 12:19 schrieb Gerion Entrup via ntg-context: > > I want to typeset a "Good to know" section that is visually highlighted > > and can spawn across multiple pages. > > > > In LaTeX this would be possible with the

Re: [NTG-context] Aaligned numbers in a matrix?

2023-02-26 Thread Aditya Mahajan via ntg-context
On Mon, 27 Feb 2023, Bruce Horrocks via ntg-context wrote: > I'm using the following MWE to produce a matrix: > > \definemathmatrix[bmatrix] > [matrix:brackets] > [simplecommand=bmatrix] > \starttext > $ a \rightarrow > \bmatrix{1, 2, 3, 4; >2, 1, 4, 3; >3,-4,

Re: [NTG-context] Math issue

2023-02-16 Thread Aditya Mahajan via ntg-context
On Thu, 16 Feb 2023, Willi Egger via ntg-context wrote: > Hi math gurus, > > I should typeset a couple of simple math formulae. However I do not get the > desired result. I attach my output as pdf. > > 1. Why is the \times 12 in the denominator although the fraction is grouped? > — I tried

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

2023-01-27 Thread Aditya Mahajan via ntg-context
On Fri, 27 Jan 2023, Hans Hagen via ntg-context wrote: > 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

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-24 Thread Aditya Mahajan via ntg-context
On Mon, 16 Jan 2023, Aditya Mahajan via ntg-context wrote: > On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > > > make sure to get rid of the t-tikz modules > > Tested again. Downloaded the latest context and pgf.tds.zip from ctan. Unizip > pgf by using 'u

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-17 Thread Aditya Mahajan via ntg-context
On Mon, 16 Jan 2023, Aditya Mahajan via ntg-context wrote: > On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > > > make sure to get rid of the t-tikz modules > > Tested again. Downloaded the latest context and pgf.tds.zip from ctan. Unizip > pgf by using 'u

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-16 Thread Aditya Mahajan via ntg-context
On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > make sure to get rid of the t-tikz modules Tested again. Downloaded the latest context and pgf.tds.zip from ctan. Unizip pgf by using 'unzip -x "**/t-*.*" so that no t- modules from tikz are unzipped but still get the following error on

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-16 Thread Aditya Mahajan via ntg-context
On Mon, 16 Jan 2023, Henri Menke via ntg-context wrote: > On Mon, 2023-01-16 at 11:56 -0500, Aditya Mahajan wrote: > > > > On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > > > > > just load tikz first so that the right loader helpers are there > > > > > > \usemodule[tikz] > > >

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-16 Thread Aditya Mahajan via ntg-context
On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote: > just load tikz first so that the right loader helpers are there > > \usemodule[tikz] > \usemodule[pgfplots] > > \starttext > Hello > \stoptext > > seems to work here I did a fresh install of context and downloaded the latest version of

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-15 Thread Aditya Mahajan via ntg-context
On Fri, 30 Dec 2022, Hans Hagen via ntg-context wrote: > On 12/30/2022 12:40 AM, Gavin via ntg-context wrote: > > Hi List, > > > > The TikZ related module “pgfplots” is causing a fatal error in the latest > > ConTeXt. Here is a MWE: > > > > > > \usemodule[tikz] > > \usemodule[pgfplots]

Re: [NTG-context] Why does \doifsomething think there is content?

2023-01-15 Thread Aditya Mahajan via ntg-context
On Sun, 15 Jan 2023, Joel via ntg-context wrote: > I am creating a book that presents readers with a list of recommended > materials. > If materials are listed, then its displayed under the \subject{Materials} > heading in a simple itemized list. > I'm using \doifsomething{} to check if any

Re: [NTG-context] Command line arguments on context project

2022-12-19 Thread Aditya Mahajan via ntg-context
On Sun, 18 Dec 2022, Alan Braslau via ntg-context wrote: > On Fri, 16 Dec 2022 16:14:33 + > Jethro Djan via ntg-context wrote: > > > 2. How do I get CoTeXt to recognise the ref.bib file when I run the > > components not the product? > > > > For context, I don’t want the references printed

Re: [NTG-context] \externalfigure problem with displaying external images via https://live.contextgarden.net

2022-12-05 Thread Aditya Mahajan via ntg-context
On Mon, 5 Dec 2022, Jaroslav Hajtmar via ntg-context wrote: > Does anyone know what the problem might be? Why online ConTeXt is not read my > PDF file and on other side read another PDF file? What does onlineConText not > like? > I need to get my application for printing archive certificates

Re: [NTG-context] annotated equations

2022-11-18 Thread Aditya Mahajan via ntg-context
On Thu, 17 Nov 2022, Henning Hraban Ramm via ntg-context wrote: > Here’s an interesting example for annotated equations, done with LaTeX/TikZ: > https://mastodon.social/@sibin/109349703357749846 > > I guess something similar is possible with node anchors in ConTeXt/MetaPost? Yes, this is

Re: [NTG-context] Create the values of a sequence with Lua

2022-10-31 Thread Aditya Mahajan via ntg-context
On Mon, 31 Oct 2022, Fabrice Couvreur via ntg-context wrote: > Hi, > The idea is to fill the array with the sequence defined by > p(0) = 0.3 and p(n + 1) = 0.3 + 0.7*p(n) > The problem is that I don't really master Lua but I will learn when I have > some time! > Thanks for your help. > Fabrice

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

2022-10-30 Thread Aditya Mahajan via ntg-context
On Mon, 31 Oct 2022, Joel via ntg-context wrote: > I found what it was, a % in the text preventing a \stopitemize to close a > list. Thanks! --Joel mtxrun concheck filename is very useful in such situations. Aditya

Re: [NTG-context] new upload

2022-10-17 Thread Aditya Mahajan via ntg-context
On Mon, 17 Oct 2022, Hans Hagen via ntg-context wrote: > On 10/17/2022 3:38 AM, Aditya Mahajan via ntg-context wrote: > > On Sun, 16 Oct 2022, Mikael Sundqvist via ntg-context wrote: > > > >> Hi, > >> > >> On Sun, Oct 16, 2022 at 6:07 PM

Re: [NTG-context] new upload

2022-10-16 Thread Aditya Mahajan via ntg-context
On Sun, 16 Oct 2022, Mikael Sundqvist via ntg-context wrote: > Hi, > > On Sun, Oct 16, 2022 at 6:07 PM Aditya Mahajan via ntg-context > wrote: > > > > On Fri, 14 Oct 2022, Hans Hagen via ntg-context wrote: > > > > > Hi, > > > > > > I up

Re: [NTG-context] new upload

2022-10-16 Thread Aditya Mahajan via ntg-context
On Fri, 14 Oct 2022, Hans Hagen via ntg-context wrote: > Hi, > > I uploaded a new version. Apart from a few fixes / extensions already > mentioned here (or known to those who wanted it) the main changes are in > the math goodie files (work in progress, we will clean them up later) as > part

Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers

2022-10-11 Thread Aditya Mahajan via ntg-context
On Tue, 11 Oct 2022, Leah Neukirchen via ntg-context wrote: > Hans Hagen via ntg-context writes: > > Once we're confident that we can catch it Leah (who does the low level > > introspective testing with viewers, printers and tools) likely will > > report on it and there will be a test file for

Re: [NTG-context] Math alignment question

2022-09-23 Thread Aditya Mahajan via ntg-context
On Thu, 22 Sep 2022, Jeong Dal via ntg-context wrote: > 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

Re: [NTG-context] Merging two lua tables

2022-08-29 Thread Aditya Mahajan via ntg-context
On Mon, 29 Aug 2022, Hans Hagen via ntg-context wrote: > On 8/29/2022 2:20 PM, Aditya Mahajan via ntg-context wrote: > > Hi, > > > > How do I merge two lua tables? I believe that table.merge or table.merged > should do the trick, but I cannot figure out how to use them. &

Re: [NTG-context] Merging two lua tables

2022-08-29 Thread Aditya Mahajan via ntg-context
On Mon, 29 Aug 2022, Aditya Mahajan via ntg-context wrote: > Hi, > > How do I merge two lua tables? I believe that table.merge or table.merged > should do the trick, but I cannot figure out how to use them. > > ``` > local t1 = { 1, 2 } > local t2 = { 8, 9 } > &g

[NTG-context] Merging two lua tables

2022-08-29 Thread Aditya Mahajan via ntg-context
Hi, How do I merge two lua tables? I believe that table.merge or table.merged should do the trick, but I cannot figure out how to use them. ``` local t1 = { 1, 2 } local t2 = { 8, 9 } local m1 = {} table.merge(m1,t1, t2) table.print(m1) local m2 = table.merged(t1, t2) table.print(m2) ```

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-23 Thread Aditya Mahajan via ntg-context
On Mon, 22 Aug 2022, amano.kenji via ntg-context wrote: > Wuh. That's a bit complex. If you are packaging any flavor of TeX, you need to understand TDS (TeX Directory Structure): https://tug.org/tds/ ConTeXt distributions are TDS compatible, but simplify certain aspects. Essentially,

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Aditya Mahajan via ntg-context
On Tue, 23 Aug 2022, Pablo Rodriguez via ntg-context wrote: > On 8/23/22 17:27, Aditya Mahajan via ntg-context wrote: > > [...] > > For a more low-level interface to finding the number of pages, see: > > > > https://adityam.github.io/context-blog/post/include-mul

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Aditya Mahajan via ntg-context
On Mon, 22 Aug 2022, Jethro Djan via ntg-context wrote: >  > Thanks for the solution Pablo. It works well. > > I wanted to add more pdfs (which also has many pages) and found it was easier > for me to reason in the lua side of things. This is what I have at the moment: > > \starttext >

Re: [NTG-context] Special numbering

2022-08-17 Thread Aditya Mahajan via ntg-context
On Wed, 17 Aug 2022, Fabrice Couvreur via ntg-context wrote: > Hello, > how to get this > Définition 1.1. > Proposition 1.2. > Définition 1.3. > Proposition 1.4. > > Thanks > Fabrice > > \setupenumerations > [before={\blank}, >after={\blank}, >alternative=serried, >distance=0.5em,

Re: [NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-12 Thread Aditya Mahajan via ntg-context
On Fri, 12 Aug 2022, Mojca Miklavec via ntg-context wrote: > Hi, > > Hans helped me out with some asciidoc processing a while ago. > > I played a bit further, but I'm currently facing two minor issues: > > (a) I don't know how to turn program listing (verbatim code) from xml > to (perhaps,

Re: [NTG-context] Keep the right margin in [nothyphenated, flushleft] columns

2022-08-12 Thread Aditya Mahajan via ntg-context
On Fri, 12 Aug 2022, Marcin Ciura via ntg-context wrote: > Dear list, > > I am typesetting [nothyphenated,flushleft] text in two columns. Some words > stick through the right margin of the left column, sometimes even > overlapping the right column. How can I make Context obey the right margin?

Re: [NTG-context] How to display these characters

2022-08-10 Thread Aditya Mahajan via ntg-context
On Tue, 9 Aug 2022, Henning Hraban Ramm via ntg-context wrote: > Am 09.08.22 um 18:57 schrieb Wolfgang Schuster via ntg-context: > > Henning Hraban Ramm via ntg-context schrieb am 09.08.2022 um 16:51: > >> I actually never really looked into the nodes module, but I guess that > >> would work. >

Re: [NTG-context] update

2022-08-05 Thread Aditya Mahajan via ntg-context
Hi, I cannot view the onandon.pdf manual. pdfinfo says that it a malformed PDF. Aditya On Fri, 5 Aug 2022, Hans Hagen via ntg-context wrote: > Hi, > > I uploaded a new lmtx that fixes a few math issues reported. > > Hans > > >

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

2022-07-26 Thread Aditya Mahajan via ntg-context
On Sun, 24 Jul 2022, Mikael Sundqvist via ntg-context wrote: > Dear list, > > I just noticed that Hans made a new release (thanks Taco for these > cron'd emails!). > > I attach to this email somemoreformulas.tex, with some additional > examples to the previous ones, with tests/examples on

Re: [NTG-context] upload

2022-07-07 Thread Aditya Mahajan via ntg-context
On Wed, 6 Jul 2022, Hans Hagen via ntg-context wrote: > We're pleased to announce the first official release of the new math > code. We're talking of: > > -- a reworked math engine (which happened stepwise so some already > trickled into previous uploads) > > -- settling on one model for

Re: [NTG-context] MetaPost label font size

2022-07-05 Thread Aditya Mahajan via ntg-context
On Wed, 6 Jul 2022, Henning Hraban Ramm via ntg-context wrote: > How can I change the font size of labels within one picture? (Untested): See https://www.contextgarden.net/Command/setupMPinstance \setupMPinstance[metafun][textstyle=sans] Or define a new instance, which sets the textstyle to

Re: [NTG-context] MetaPost cutdraw

2022-07-05 Thread Aditya Mahajan via ntg-context
On Wed, 6 Jul 2022, Henning Hraban Ramm via ntg-context wrote: > Hi, I’m trying to understand MetaPost better. > > I’d like to draw a fat line that’s cut at its end points. You mean like linecap = butt? \startMPpage[offset=5mm] path p; p := origin -- (7cm,0); interim linecap := butt;

Re: [NTG-context] Overbar bug

2022-07-05 Thread Aditya Mahajan via ntg-context
On Mon, 4 Jul 2022, Johann Birnick via ntg-context wrote: > please have a look at the following example: > > \starttext > $\overbar{\alpha} \overbar{\beta}$ > \stoptext > > The first one works just fine, whereas the second one looks very odd. > (At least in MkIV...) > > Any ideas? I don't

Re: [NTG-context] Multiline text in mathmode

2022-06-29 Thread Aditya Mahajan via ntg-context
On Thu, 30 Jun 2022, Johann Birnick via ntg-context wrote: > I guess you will update to LMTX..? Unfortunately I use MkIV, because of other > math bugs in LMTX. Do you know any (can be ugly) way of doing this without the > new stuff? You could just use a framed.

Re: [NTG-context] SVG text alignment issue

2022-06-28 Thread Aditya Mahajan via ntg-context
On Mon, 27 Jun 2022, Thangalin via ntg-context wrote: > In the following example, the line and text should be aligned to the > middle when LMTX converts the SVG figure using MP. (Note that you may have > to install Roboto, but the font isn't the issue.) > > % SOF > \startbuffer[svg] >

Re: [NTG-context] lmtx installation paths not working

2022-06-14 Thread Aditya Mahajan via ntg-context
On Tue, 14 Jun 2022, Jano Kula via ntg-context wrote: > Hello list, > > I cannot make fresh install of lmtx to work. The structure after unzipping: > C:\data\context\bin\beta > C:\data\context\bin\beta\bin > C:\data\context\bin\beta\tex > C:\data\context\bin\beta\tex\texmf >

Re: [NTG-context] Table of Contents empty for unknown reason

2022-06-13 Thread Aditya Mahajan via ntg-context
On Sun, 12 Jun 2022, Joel via ntg-context wrote: > I need to display a table of contents, but only displaying chapters. > > Here is my minimum working example: You need to add "criterium=all" to both placelist and completecontent. See below: > \starttext >     \startfrontmatter >         

Re: [NTG-context] Two minor questions

2022-06-06 Thread Aditya Mahajan via ntg-context
On Mon, 6 Jun 2022, Stefan Nedeljkovic via ntg-context wrote: > Dear list, > > I have 2 small questions: > > 1. In \setuplayout if I try to set topspace=5\measured{base} + > \dimexpr2bp I get an error. How should I add these 2bp? (Untested) \dimexpr\measure{base}+2bp\relax or

Re: [NTG-context] Setting up zint on a mac with macOS Montery Version 12.3.1

2022-05-30 Thread Aditya Mahajan via ntg-context
On Tue, 31 May 2022, Michal Vlasák via ntg-context wrote: > On Mon May 30, 2022 at 8:19 PM CEST, Jan-Erik Hägglöf via ntg-context wrote: > > With latest LMTX installed on my Monterey intel MacBook Air and Zint > > version 2.11 > > > > optional> using library > >

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Aditya Mahajan via ntg-context
On Fri, 27 May 2022, Stefan Nedeljkovic via ntg-context wrote: > Thanks Rik, that fixed the issue with at which line the text begins, but I > still get the grid offset. What do you mean by grid offset? Aditya ___ If

Re: [NTG-context] Offseting the baseline grid, and irregular columnsets

2022-05-27 Thread Aditya Mahajan via ntg-context
On Wed, 25 May 2022, Stefan Nedeljkovic via ntg-context wrote: > Dear list, > > My adventures into the world of grids continue. In the linked file > (slide_grid_overlay.pdf) there are two things I cannot yet achieve: > > 1. I want the baseline grid to evenly (vertically) divide the text >

Re: [NTG-context] Achieving the style of Jean-Luc Doumont

2022-05-16 Thread Aditya Mahajan via ntg-context
On Mon, 16 May 2022, Stefan Nedeljkovic via ntg-context wrote: > Dear list, > > Years ago I stumbled upon the work of Jean-Luc Doumont. He typesets all his > documents using TeX, although his modified Version called Quantum. His documents are really beautifully typeset. In the book, "Theorems,

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Aditya Mahajan via ntg-context
On Fri, 6 May 2022, Denis Maier via ntg-context wrote: > Hi, > thanks for your assessment. Indeed, that looks very promising. > > I've now had a chance to look at this a bit more too. Not that I understand > that stuff in detail, but anyway... > > I also have the impression that extending

Re: [NTG-context] recursion in a table

2022-05-01 Thread Aditya Mahajan via ntg-context
On Sun, 1 May 2022, Henning Hraban Ramm via ntg-context wrote: > Hi, > I was playing with the example from > https://wiki.contextgarden.net/Scaling_Rotating_Mirroring_Clipping#Location_parameter > > and tried to put it in a tabulate: > > > \useMPlibrary[dum] >

Re: [NTG-context] Fuzzy paragraph when exporting to XML

2022-04-30 Thread Aditya Mahajan via ntg-context
On Sat, 30 Apr 2022, Hans Hagen via ntg-context wrote: > On 4/29/2022 4:59 PM, Aditya Mahajan via ntg-context wrote: > > Hi, > > > > I am trying to debug a bug-report for t-vim: > https://github.com/adityam/filter/issues/64 Exporting with trackers=export* > gives a war

[NTG-context] Fuzzy paragraph when exporting to XML

2022-04-29 Thread Aditya Mahajan via ntg-context
Hi, I am trying to debug a bug-report for t-vim: https://github.com/adityam/filter/issues/64 Exporting with trackers=export* gives a warning: backend > export > fuzzy paragraph: I have managed to narrow it down to the attached MWE (which does not depend on the t-vim module at

Re: [NTG-context] Word wrap of 'part' titles

2022-04-18 Thread Aditya Mahajan via ntg-context
On Mon, 18 Apr 2022, Wolfgang Schuster via ntg-context wrote: > Bruce Horrocks via ntg-context schrieb am 18.04.2022 um 22:46: > > In the MWE below the 'part' title is centred but on one line only and, > because it is a long title, the beginning and end are lost off the sides of > the page. > > >

Re: [NTG-context] Fwd: command line arguments to specify output directory

2022-03-30 Thread Aditya Mahajan via ntg-context
On Wed, 30 Mar 2022, A A via ntg-context wrote: > On Wed, 30 Mar 2022 at 18:39, Wolfgang Schuster < > wolfgang.schuster.li...@gmail.com> wrote: > > > A A via ntg-context schrieb am 30.03.2022 um 18:24: > > > Dear All, > > > > > > I would like to ask whether there exists a command line option to

Re: [NTG-context] upload

2022-03-29 Thread Aditya Mahajan via ntg-context
On Tue, 29 Mar 2022, Mikael Sundqvist via ntg-context wrote: > On Tue, Mar 29, 2022 at 6:37 AM Otared Kavian wrote: > > > > Hi Mikael, > > Hi Otared, > > > > > Thanks for your explanation and the example you sent about > > \definemathsimplealign (I didn’t get immediately that « sesac » in the

Re: [NTG-context] tilde character

2022-03-14 Thread Aditya Mahajan via ntg-context
On Mon, 14 Mar 2022, Henning Hraban Ramm via ntg-context wrote: > Hi, I’ve a stupid question: How do I get the default tilde character > from a font? > > ~ is a fixed space > \texttilde gives a tilde accent > \utfchar{0x007E} yields a space (probably the same as ~) \textasciitilde Aditya

Re: [NTG-context] help with facing page image

2022-03-09 Thread Aditya Mahajan via ntg-context
On Thu, 10 Mar 2022, jbf via ntg-context wrote: > Am endeavouring to explore Wolfgang's very 'elegant' solution to this > facing page challenge. The exploration has included a look at > base/mkxl/page-inj.mklx (thanks Sreeram for reminding me of this) where > I see immediately that the

Re: [NTG-context] Disable reuse of figures

2022-02-21 Thread Aditya Mahajan via ntg-context
On Sat, 19 Feb 2022, Hans Hagen via ntg-context wrote: > On 2/19/2022 7:30 AM, Aditya Mahajan via ntg-context wrote: > > Hi, > > > > This is related to a bug report for the filter module: > > https://github.com/adityam/filter/issues/60 > > > > Normally,

[NTG-context] Disable reuse of figures

2022-02-18 Thread Aditya Mahajan via ntg-context
Hi, This is related to a bug report for the filter module: https://github.com/adityam/filter/issues/60 Normally, when the same figure is included twice, context only includes the figure once and refers to the included figure the second time. The option `object=no` to externalfigure is supposed

Re: [NTG-context] Harfbuzz plugin and colors

2022-02-13 Thread Aditya Mahajan via ntg-context
On Sun, 13 Feb 2022, Jairo A. del Rio via ntg-context wrote: > Hi, list! I've tested the Harfbuzz plugin in ConTeXt and it works nicely > for most cases. However, color doesn't seem to work. Is this intended? I > know this plugin won't be supported, but I'll be fine with pointers to > solve this

Re: [NTG-context] new upload

2022-01-28 Thread Aditya Mahajan via ntg-context
On Fri, 28 Jan 2022, hanneder--- via ntg-context wrote: > > I was talking about the install programm on > https://github.com/adityam/context-pkgbuild > for it was not clear to me which version this convenient > tool installs. This is the old version of the PKGBUILD script for MkIV, before AUR

Re: [NTG-context] new upload

2022-01-28 Thread Aditya Mahajan via ntg-context
> On 1/27/2022 7:35 PM, Aditya Mahajan via ntg-context wrote: > > > 2. luametatex: https://aur.archlinux.org/packages/luametatex/ > Just an additional warning: one should not pick up bins from the build farm > unless oen knows what's happening ... the current builds are okay f

Re: [NTG-context] new upload

2022-01-27 Thread Aditya Mahajan via ntg-context
On Thu, 27 Jan 2022, hanneder--- via ntg-context wrote: > > I tried to install the latest CTX with context-minimals/standalone > pkgbuild (on manjaro Linux with > the manual method), but the system does not recognise the new command > \definetransliteration, so I > guess I need to specify

Re: [NTG-context] OT world history: other measuring systems?

2022-01-25 Thread Aditya Mahajan via ntg-context
On Tue, 25 Jan 2022, Henning Hraban Ramm via ntg-context wrote: > Hi all, > just out of curiosity and since some of you are knowledgable in many > fields: Were there widely accepted measuring systems in Asia before the > introduction of the imperial or metric system? In Europe there was a >

Re: [NTG-context] What is the proper way to define many different list types in a document?

2022-01-24 Thread Aditya Mahajan via ntg-context
On Tue, 25 Jan 2022, Joel via ntg-context wrote: > I have about several different types of list that reoccur multiple times in > my documents. Though I tried to keep things simple, by just defining the type > when it appears, strange glitches appear. For instance, I have one that uses > the ☞

Re: [NTG-context] new upload

2022-01-21 Thread Aditya Mahajan via ntg-context
On Fri, 21 Jan 2022, Hans Hagen via ntg-context wrote: > - initial indic transliteration support .. recent indic (font) > experiences and transliteration tricks will be eplained by kauśika I finally thought that I'd try out how typesetting Hindi works with ConTeXt, but I don't get the correct

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Aditya Mahajan via ntg-context
On Thu, 20 Jan 2022, Vincent Hennebert via ntg-context wrote: > Hi, > > Say I’m writing a document containing many independent MetaPost > figures. I don’t want to bother with enclosing each and every graphics > in a ‘begingroup...endgroup’ with the appropriate ‘save’ statement. But > I don’t

Re: [NTG-context] Bug in alignment with LMTX version 2022.01.15 17:32

2022-01-17 Thread Aditya Mahajan via ntg-context
On Mon, 17 Jan 2022, Aditya Mahajan via ntg-context wrote: > I confirm that this is a bug, which was not there in the version from mid > Dec. Not a bug, but new interface. You need: \definemathmatrix[matrix] [align={1:right,2:left,3:left}] It is also possible to say:

Re: [NTG-context] Bug in alignment with LMTX version 2022.01.15 17:32

2022-01-17 Thread Aditya Mahajan via ntg-context
On Mon, 17 Jan 2022, Otared Kavian via ntg-context wrote: > Hi Hans and Mikael, > > While investigating the latest version regarding the math environment, I > found that the alignments are not correct. > Here is an example: > > % begin bug-alignment.tex > \definemathmatrix[alignedcases] >

Re: [NTG-context] Spacing issue in itemize

2022-01-14 Thread Aditya Mahajan via ntg-context
On Fri, 14 Jan 2022, Hans Hagen wrote: > > @Hans: Does it make sense to add a setups key to \setupitemize to keep such > > changes local? > % 0 = before/after > % 1 = between unless before > % 2 = between > > \c_strc_itemgroups_spacing_mode\plustwo > > The question then is: "what key" (we have

Re: [NTG-context] Spacing issue in itemize

2022-01-13 Thread Aditya Mahajan via ntg-context
On Thu, 13 Jan 2022, Gavin via ntg-context wrote: > Hi list, > > When I define an items group, it seems to mess up the spacing for a nested > item group. See example below. Any ideas? > > I’m typesetting with > > > ConTeXt ver: 2022.01.06 19:51 LMTX fmt: 2022.1.9 int: >

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Aditya Mahajan via ntg-context
On Tue, 11 Jan 2022, Gavin via ntg-context wrote: > Hello List, > > I am making problem sets for a physics class. Solutions use the style defined > in the example below, and only appear if the “solution” mode is enabled. I am > struggling to get a vertical space for the solution which is the

  1   2   >