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 ther

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 item

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 a

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 work

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 possibl

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 Yo

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 Aditya Mahajan v

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 of

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 u

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 there

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) ``` Pr

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, context

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 > \startl

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, vim-

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 issues

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 displ

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 san

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 unde

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. \define[1]\multilinetext{\vcenter

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] > width=

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 > C:\data\context\bin\b

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 >         \star

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 \dimexpr\measu

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 > > '/Users/janneman/CTX/tex/

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 > ar

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 ci

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] > \setupexternalfigures[width=3em,

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 all

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 th

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 approach

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 i

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 mo

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 o

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 t

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 > mes

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 o

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 want

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 c

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: > english/engli

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 sa

Re: [NTG-context] How to let a macro check the previous value of #1 the last time the same macro was called?

2022-01-10 Thread Aditya Mahajan via ntg-context
On Tue, 11 Jan 2022, Henning Hraban Ramm via ntg-context wrote: > Am 10.01.22 um 20:21 schrieb Wolfgang Schuster: > > Henning Hraban Ramm via ntg-context schrieb am 10.01.2022 um 09:52: > >> Would it make more sense, or would it be “cleaner” to use a variable? > > > > You can get rid of the temp

Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Aditya Mahajan via ntg-context
On Sat, 8 Jan 2022, Joel via ntg-context wrote: > I created a table that has some cells span multiple rows. This works good > with cells that span an odd-number of rows, but when I try to span 4 rows, > the text isn't quite vertically centered. How can I get the cell with the > text "Archaeon E

Re: [NTG-context] Critical Editions?

2022-01-05 Thread Aditya Mahajan via ntg-context
On Wed, 5 Jan 2022, hanneder--- via ntg-context wrote: > Dear Jean-Pierre, > > I started preparing some examples, but first a quick question: Where > can I find out the exact behaviour of a command option like aNote. > > If you define a \cNote with \definelinenote[cNote][n=3] as in your > ex

Re: [NTG-context] context manuals -- absence of \definefontfamily

2022-01-03 Thread Aditya Mahajan via ntg-context
On Mon, 3 Jan 2022, Hans Hagen via ntg-context wrote: > On 1/3/2022 9:41 PM, Youssef Cherem via ntg-context wrote: > > Dear all, > > > > I've come back to using Context and I noticed the nice manuals around -- > > but one thing I miss is \definefontfamily (and \definefallbackfamily). > > > > Th

Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Aditya Mahajan via ntg-context
On Wed, 15 Dec 2021, Michal Vlasák via ntg-context wrote: > On Wed Dec 15, 2021 at 7:28 PM CET, Hans Hagen via ntg-context wrote: > > On 12/15/2021 6:22 PM, Aditya Mahajan via ntg-context wrote: > > > Hi all, > > > > > > I am changing the way modules are in

[NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Aditya Mahajan via ntg-context
Hi all, I am changing the way modules are installed in the ArchLinux aur package for luametatex. https://aur.archlinux.org/packages/luametatex/ Earlier, I was just sym-linking to the modules installed by context-minimals-git package (which I also maintain). However, some packages there were

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Aditya Mahajan via ntg-context
I tested with my course assignments (simple tikz block diagrams, lots of pgdplots code) and everything works correctly. I haven't tested circuitikz; the simple example fails and I am trying to understand why that is happening. > Aditya: can you check if we load enough? I believe so. This is wh

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Aditya Mahajan via ntg-context
On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > > > > Something is still not working correctly though. With the simple example > > that Hans sent, I get error messages: > > > > tex erro

Re: [NTG-context] Typo in m-tikz

2021-12-13 Thread Aditya Mahajan via ntg-context
On Mon, 13 Dec 2021, Hans Hagen wrote: > On 12/13/2021 7:19 PM, Aditya Mahajan via ntg-context wrote: > > On Mon, 13 Dec 2021, Aditya Mahajan via ntg-context wrote: > > > > > Hi, > > > > > > There is a typo in m-tikz.mkxl (possibly a carry-over from

Re: [NTG-context] Location for require(...) files

2021-12-13 Thread Aditya Mahajan via ntg-context
On Mon, 13 Dec 2021, Aditya Mahajan via ntg-context wrote: > Hi, > > I am not trying to install tikz related modules from ctan rather than copying > them from the minimals. I notice that the latest version of pgfplot now gives > an error: > > token call, execute: >

[NTG-context] Location for require(...) files

2021-12-13 Thread Aditya Mahajan via ntg-context
Hi, I am not trying to install tikz related modules from ctan rather than copying them from the minimals. I notice that the latest version of pgfplot now gives an error: token call, execute: ...etatex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: module 'prepcontour' not found:

Re: [NTG-context] Typo in m-tikz

2021-12-13 Thread Aditya Mahajan via ntg-context
On Mon, 13 Dec 2021, Aditya Mahajan via ntg-context wrote: > Hi, > > There is a typo in m-tikz.mkxl (possibly a carry-over from t-tikz.tex). The > module ends with a spurious `\stopmodule`: > > https://github.com/contextgarden/context-mirror/blob/fe714093ebb95e4a870282782e

[NTG-context] Typo in m-tikz

2021-12-13 Thread Aditya Mahajan via ntg-context
Hi, There is a typo in m-tikz.mkxl (possibly a carry-over from t-tikz.tex). The module ends with a spurious `\stopmodule`: https://github.com/contextgarden/context-mirror/blob/fe714093ebb95e4a870282782e2124cff2e546e5/tex/context/modules/mkxl/m-tikz.mkxl#L113 (Or rather, the corresponding `\star

Re: [NTG-context] Nested $$ in inline math

2021-12-13 Thread Aditya Mahajan via ntg-context
On Mon, 13 Dec 2021, Hans Hagen via ntg-context wrote: > which indeed makes > > \starttext > \mathematics{$text$} > \stoptext > > a puzzle Isn't that effectively: $\relax$text$\relax$ which prevents the $$ lookup. Aditya __

Re: [NTG-context] All Equations

2021-12-10 Thread Aditya Mahajan via ntg-context
On Fri, 10 Dec 2021, Henning Hraban Ramm via ntg-context wrote: > Since I never used math with ConTeXt, I tried to replicate XKCD 2034 as an > exercise (see below and attached). I’d like to put it on the wiki and in my > book. > > I know this is nonsense, but I’d like to do it right. https://www

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-07 Thread Aditya Mahajan via ntg-context
On Mon, 6 Dec 2021, Jan-Erik Hägglöf wrote: > Ok, so if I understand this correctly, you recommend install directly from > ctan. > > The question is, I’m not sure how, but is it the tds arcive? Every package on CTAN is available as a TDS archive. For example, go to the tikz package on ctan: ht

Re: [NTG-context] Status of Asymptote

2021-12-06 Thread Aditya Mahajan via ntg-context
On Mon, 6 Dec 2021, Alexandre Christe via ntg-context wrote: > Dear all, > > I'd like to know what is the status of Asymptote in Context. To my > knowledge, metapost/metafun only support 2D (except with the additional > libraries from Roegel, which would have to be cleaned up a bit). Depends on

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-06 Thread Aditya Mahajan via ntg-context
On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > > Something is still not working correctly though. With the simple example that > Hans sent, I get error messages: > > tex error > tex error on line 76 in file m-circuitikz.mkxl: Package > pgfkeys Error:

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-06 Thread Aditya Mahajan via ntg-context
On Sat, 4 Dec 2021, Jan-Erik Hägglöf via ntg-context wrote: > I did replace the attached .mkxl files now in the correct directory tree > together with the rest of all m-xyz.mkxl module files. > > The same error message appears and i’m back at square one. After a bit of digging, I think that you

Re: [NTG-context] [DKIM] Re: [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-05 Thread Aditya Mahajan via ntg-context
On Sun, 5 Dec 2021, Hans Hagen via ntg-context wrote: > On 12/4/2021 10:37 PM, Jan-Erik Hägglöf via ntg-context wrote: > > I did replace the attached .mkxl files now in the correct directory tree > together with the rest of all m-xyz.mkxl module files. > > > > The same error message appears and i

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-03 Thread Aditya Mahajan via ntg-context
On Fri, 3 Dec 2021, Jan-Erik Hägglöf via ntg-context wrote: > The result of testing, different error messages in MKIV and LMTX. > > The attached files belongs to LMTX run with the attached m-circuitikz.mkxl > and m-tikz.mkxl in texmf-local Not placed at the right place. From your log file: op

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-03 Thread Aditya Mahajan via ntg-context
On Fri, 3 Dec 2021, Hans Hagen via ntg-context wrote: > On 12/3/2021 10:49 AM, Hans Hagen via ntg-context wrote: > > >> I’ve been struggeling with the circuitikz module since my upgrade to > >> LMTX. > btw, We can have more 'catches' in the loader (t) module if needed. In > any case, also check

Re: [NTG-context] Syntax highlighting using LMTX

2021-12-02 Thread Aditya Mahajan via ntg-context
On Thu, 2 Dec 2021, Thangalin via ntg-context wrote: > Hi all, > > There are a few technical hurdles with using the t-vim module in LMTX. > First, users need to install the module using externally defined shell > scripts. Second, it's awkward to communicate to users how to install it, > especiall

Re: [NTG-context] double underbars

2021-11-30 Thread Aditya Mahajan via ntg-context
On Tue, 30 Nov 2021, Taco Hoekwater via ntg-context wrote: > > > Another question: what do you mean with a dy-shift version? > > Nested bars have a parameter ‘dy’ which controls the vertical shifts needed > to make sure that they do not overlap. Text backgrounds do not have that > option at al

Re: [NTG-context] Typographical quotes

2021-11-27 Thread Aditya Mahajan via ntg-context
On Sat, 27 Nov 2021, Hans Hagen wrote: > On 11/27/2021 6:40 PM, Aditya Mahajan via ntg-context wrote: > > On Sat, 27 Nov 2021, Wolfgang Schuster via ntg-context wrote: > > > > > Jean-Philippe Rey via ntg-context schrieb am 27.11.2021 um 16:21: > > > > Dear

Re: [NTG-context] Typographical quotes

2021-11-27 Thread Aditya Mahajan via ntg-context
On Sat, 27 Nov 2021, Wolfgang Schuster via ntg-context wrote: > Jean-Philippe Rey via ntg-context schrieb am 27.11.2021 um 16:21: > > Dear list, > > > > When typing a straight quotation mark, I used to get a curly apostrophe. But > with a recent version of ConTeXt, I now get a straight apostrophe.

Re: [NTG-context] Neovim and ConTeXt

2021-11-25 Thread Aditya Mahajan via ntg-context
On Thu, 25 Nov 2021, Nicola via ntg-context wrote: > Again, take a look at the wiki. Noted! Time to update my decade old setup (but I have moved completed to the neovim camp). Aditya ___ If your question is of inte

Re: [NTG-context] Neovim and ConTeXt

2021-11-24 Thread Aditya Mahajan via ntg-context
On Wed, 24 Nov 2021, Clint Grady via ntg-context wrote: > Are there any known ways to use ConTeXtLMTX with Neovim? Not that I am aware of. > I read the wiki page for Vim and it describes a hack to get latex-suite to > work with ConTeXt. [1] It wouldn't be too much work to submit a pull-reques

Re: [NTG-context] Bug in lmt_arrow

2021-11-21 Thread Aditya Mahajan via ntg-context
On Sat, 20 Nov 2021, Hans Hagen wrote: > On 11/20/2021 6:53 AM, Aditya Mahajan via ntg-context wrote: > > On Mon, 15 Nov 2021, Hans Hagen wrote: > > > > > On 11/15/2021 4:07 AM, Aditya Mahajan wrote: > > > > On Sun, 14 Nov 2021, Aditya Mahajan via ntg-context

Re: [NTG-context] Bug in lmt_arrow

2021-11-19 Thread Aditya Mahajan via ntg-context
On Mon, 15 Nov 2021, Hans Hagen wrote: > On 11/15/2021 4:07 AM, Aditya Mahajan wrote: > > On Sun, 14 Nov 2021, Aditya Mahajan via ntg-context wrote: > > > > > On Sun, 14 Nov 2021, Hans Hagen wrote: > > > > > > > Spoke too soon. Now straight lin

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Aditya Mahajan via ntg-context
On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد wrote: > Hi Aditya, > > Many thanks; see below: > > On Tue, 16 Nov 2021 17:23:59 -0700, Aditya Mahajan via ntg-context > wrote: > > > On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد via ntg-context

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Aditya Mahajan via ntg-context
On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote: > Dear gang, > > For creating/authoring content in ConTeXt: Can modes or the like be used > for content control? For example, someone wants to write at least two > versions of a book managed from a single file. So

Re: [NTG-context] SimpleSlides and Visual counters

2021-11-16 Thread Aditya Mahajan via ntg-context
On Mon, 15 Nov 2021, Otared Kavian via ntg-context wrote: Hi Otared, > It seems that the visual counter in SimpleSlides module (the version I have > from ConTeXt Garden is from 2014) does not work fine with the latest LMTX. > Is the issue is known ? If so, is there a new version of SimpleSlides

Re: [NTG-context] unknown script

2021-11-16 Thread Aditya Mahajan via ntg-context
On Tue, 16 Nov 2021, skyhorse--- via ntg-context wrote: > > OS: Linux (Ubuntu 20.04.3) > /opt/context-lmtx and all directories and files in it are owned by user > and not root. > > I've had this problem before but forgot how to deal with it and neglected to > make a not of it. > I delet

Re: [NTG-context] mwe (font proble) SOLVED

2021-11-14 Thread Aditya Mahajan via ntg-context
On Sun, 14 Nov 2021, skyhorse--- via ntg-context wrote: > > Solved. Well almost. I do know that it's an access problem of some sort. > I used 'font-manager' to look at fonts and it showed 'DejaVu Math Tex Gyre' > as "disabled" > For su is shows the font as usable. > When context is run su, it

Re: [NTG-context] Bug in lmt_arrow

2021-11-14 Thread Aditya Mahajan via ntg-context
On Sun, 14 Nov 2021, Aditya Mahajan via ntg-context wrote: > On Sun, 14 Nov 2021, Hans Hagen wrote: > > > On 11/14/2021 4:33 AM, Aditya Mahajan via ntg-context wrote: > > > Hi, > > > > > > There is a bug in lmt_arrow. If given a "non-cycl

Re: [NTG-context] Bug in lmt_arrow

2021-11-14 Thread Aditya Mahajan via ntg-context
On Sun, 14 Nov 2021, Hans Hagen wrote: > On 11/14/2021 4:33 AM, Aditya Mahajan via ntg-context wrote: > > Hi, > > > > There is a bug in lmt_arrow. If given a "non-cycle" path, lmt_arrow > > completes the cycle. > > > > \starttex

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