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

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

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 >

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). > > > >

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

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 e

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

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

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.

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:

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

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

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:

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

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

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

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: > > > > Dea

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

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

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

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

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.

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

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

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,

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

[NTG-context] Bug in lmt_arrow

2021-11-13 Thread Aditya Mahajan via ntg-context
Hi, There is a bug in lmt_arrow. If given a "non-cycle" path, lmt_arrow completes the cycle. \starttext \startMPcode newpath p; ahfactor := 5; p := origin .. (1cm, 1cm) .. (2cm, 0); draw lmt_arrow [ path = p, location =

Re: [NTG-context] rule beneath chapter number

2021-11-11 Thread Aditya Mahajan via ntg-context
On Fri, 12 Nov 2021, jbf via ntg-context wrote: > The following MWE deliberately shows two ways of getting a short rule > beneath a chapter number, but neither achieve what I want. \underbar is > too close to the number \setupbar[underbar][offset=-0.8] % play around with the number > and

Re: [NTG-context] Achieving the effect of \overset outside math mode

2021-11-11 Thread Aditya Mahajan via ntg-context
On Fri, 12 Nov 2021, kauśika via ntg-context wrote: > Dear list, > > I don't have a MWE per se, but as the title suggests, I want to be able to > achieve the effect of \overset outside math mode. As I understand, \overset > itself is implemented using \mathop and \limits. > > Currently to

Re: [NTG-context] Cannot access Lua function

2021-11-01 Thread Aditya Mahajan via ntg-context
On Sun, 31 Oct 2021, Hans Hagen via ntg-context wrote: > in that case you probably need to hide more .. (when you process with > \nopdfcompression at the top you can look in the pdf, i.e. compression > is not encryption > > one thing you can do is make a copy of lpdf-xmp.lmt and wipe all

Re: [NTG-context] Converting LaTeX math to ConTeXt

2021-10-12 Thread Aditya Mahajan via ntg-context
On Tue, 12 Oct 2021, Jason Ross wrote: > > > On 10/11/21 4:02 PM, Aditya Mahajan wrote: > > You can use pandoc to parse latex and convert it to mathml: > > > > Processing this in context (see attached files), gives a partially working > > solution. It doesn'

Re: [NTG-context] Converting LaTeX math to ConTeXt

2021-10-11 Thread Aditya Mahajan via ntg-context
On Sun, 10 Oct 2021, Jason Ross via ntg-context wrote: > On 10/10/21 3:23 AM, Hans Hagen wrote: > > These are just a couple examples, but in general it's not enough to do > naive string substitution in LaTeX and get valid ConTeXt back, and my > patchwork solutions are starting to smell. You can

Re: [NTG-context] running tikz

2021-09-30 Thread Aditya Mahajan via ntg-context
On Thu, 30 Sep 2021, Henri Menke via ntg-context wrote: > On Thu, 2021-09-30 at 11:57 +0200, Alain Delmotte via ntg-context > wrote: > > Hi! > > > > I would like to use tikz to benefit of the package "pgf-soroban" I > > did write for LaTeX (after adapting it and before, later, to > > translate

Re: [NTG-context] running tikz

2021-09-30 Thread Aditya Mahajan via ntg-context
On Thu, 30 Sep 2021, Alain Delmotte via ntg-context wrote: > > Hi! > > I would like to use tikz to benefit of the package "pgf-soroban" I did write > for > LaTeX (after adapting it and before, later, to translate it to metapost). > > I did try the sample program from the tikz manual, but I

Re: [NTG-context] Weird error when using \startformula inside lua

2021-09-11 Thread Aditya Mahajan via ntg-context
On Sat, 11 Sep 2021, Hans Hagen wrote: > On 9/11/2021 5:11 AM, Aditya Mahajan via ntg-context wrote: > > I sometimes define lua functions for showing out worked out calculations. > > The following minimal example shows that > > > >context([[\startformula ... \st

[NTG-context] Weird error when using \startformula inside lua

2021-09-10 Thread Aditya Mahajan via ntg-context
I sometimes define lua functions for showing out worked out calculations. The following minimal example shows that context([[\startformula ... \stopformula]]) fails in LMTX with an error message: tex error > tex error on line 3 in file ./test.tex: Undefined control sequence

Re: [NTG-context] Use MetaPost to distort images?

2021-09-05 Thread Aditya Mahajan via ntg-context
On Sun, 5 Sep 2021, Henning Hraban Ramm via ntg-context wrote: > > > Am 05.09.2021 um 10:10 schrieb Hans Hagen : > >> BTW, here’s my script: > >> Here are some results: > > > > Did you try that with the filter module? It would make it more portable > > I completely forgot I could do that (and

Re: [NTG-context] getting line numbers

2021-09-03 Thread Aditya Mahajan via ntg-context
On Fri, 3 Sep 2021, Thierry Horsin via ntg-context wrote: > Hi everybody > > Is there a way to have an automatic access to the current line number of a > specific place inside a tex file ? To be more precise, here is what I would > like to do. Also look at the filter module.

Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Aditya Mahajan via ntg-context
On Mon, 30 Aug 2021, Rainer J.H. Brandt via ntg-context wrote: > But, as I said, my texmf.cnf sets TEXMFCACHE to $TEXMFSYSVAR;$TEXMFVAR, > and TEXMFSYSVAR is /var/opt/texlive. Why is that ignored? mtxrun (and context MKIV and LMTX) do not read texmf.cnf rather read values from contextcnf.lua

  1   2   3   4   5   6   7   8   9   10   >