Re: [NTG-context] Math prime issues for some fonts

2021-11-27 Thread Hans Hagen via ntg-context
On 11/26/2021 10:05 PM, Mikael Sundqvist via ntg-context wrote: Hi Jack, I've been working with Hans on math in general and primes in particular in the last week. I do not understand all the details, but I think primes are handled differently now, and that one essentially need to have some tunin

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Hans Hagen via ntg-context
On 11/27/2021 6:13 PM, Joey McCollum wrote: All right, I think I've solved the expansion problem I described before: to ensure that the first input is expanded when it is passed to Lua, I have to pass it as [==[#1]==], not "#1". But the updated MWE below still does not seem to work, as the \DoI

Re: [NTG-context] Typographical quotes

2021-11-27 Thread Hans Hagen via ntg-context
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 list, When typing a straight quotation mark, I used to get a curly apostrophe. But with a recent v

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-28 Thread Hans Hagen via ntg-context
On 11/28/2021 9:26 AM, Denis Maier via ntg-context wrote: Ok, did some tests: Now I understand what was meant with the limitation that this only supports single line cells: % \starttext % this works \starttabulate[|l|l|] \NS[1][c] Manuskript X \NC\NR \NC foo \NC

Re: [NTG-context] Typographical quotes

2021-11-28 Thread Hans Hagen via ntg-context
On 11/27/2021 9:48 PM, Aditya Mahajan via ntg-context wrote: I am not opposed to remove 8bit TeX hacks. I was simply objecting for removing the apostrophe mapping. For example, you used it in the sentence above (in “don't”)! english quotes have hyjacked dutch quotes so long ago i already gave

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-28 Thread Hans Hagen via ntg-context
On 11/28/2021 2:39 AM, Joey McCollum wrote: I was afraid that might be the problem. I've described some of the intended purpose of this code near the end of the "Checking for a macro > ... Maybe play with: \starttext \def\WhateverA{\removeunwantedspaces\removepunctuation\space ¶ 1.23} \def\W

Re: [NTG-context] Typographical quotes

2021-11-28 Thread Hans Hagen via ntg-context
On 11/28/2021 11:44 AM, Henning Hraban Ramm via ntg-context wrote: Am 28.11.21 um 11:32 schrieb Hans Hagen via ntg-context: On 11/27/2021 9:48 PM, Aditya Mahajan via ntg-context wrote: I am not opposed to remove 8bit TeX hacks. I was simply objecting for removing the apostrophe mapping. For

Re: [NTG-context] Title for tabulate

2021-11-28 Thread Hans Hagen via ntg-context
On 11/28/2021 9:15 AM, Denis Maier via ntg-context wrote: A couple of questions : - Is it possible to have the title be typeset only once? I.e., it should not repeat on each page. why not just use \subsubsubject{} -

Re: [NTG-context] Title for tabulate

2021-11-28 Thread Hans Hagen via ntg-context
On 11/28/2021 1:22 PM, denis.ma...@unibe.ch wrote: -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Hans Hagen via ntg-context Gesendet: Sonntag, 28. November 2021 12:40 An: Denis Maier via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] Title for tabulate On 11/28

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-29 Thread Hans Hagen via ntg-context
On 11/29/2021 2:54 AM, Fabrice L via ntg-context wrote: The only inconvenient of this solution if that I have to define 15 blocks (one for each week of the term): ComplementOne, ComplementTwo, \defineblock[example] \starttext \beginexample[Two] Last course, we have se

Re: [NTG-context] double underbars

2021-11-30 Thread Hans Hagen via ntg-context
On 11/30/2021 2:52 PM, Taco Hoekwater via ntg-context wrote: On 30 Nov 2021, at 14:38, Denis Maier via ntg-context wrote: Thanks, Taco. Good to know. Although it's not what I wanted to hear, of course... I was thinking using mp to draw the combination could be solution, but unfortunately

Re: [NTG-context] double underbars

2021-11-30 Thread Hans Hagen via ntg-context
On 11/30/2021 2:52 PM, Taco Hoekwater via ntg-context wrote: But the problem is that you have to create an “underbardot" that contains both the bar and the dots, to fix the non-nesting problem. It is then quite hard to get that definition to align properly with any enclosing “underbar” (I trie

[NTG-context] new upload

2021-11-30 Thread Hans Hagen via ntg-context
Hi, (1) See previous mails on the list (those who requested it have to wikify): - mixed bars (with limitations) - horizontal registers (flushing) (2) As a side effect of reshuffling some code (as well as being complete): - \boxshift 0 = 10pt - hbox shift -10pt{...} These box shifts are what \

Re: [NTG-context] new upload

2021-12-01 Thread Hans Hagen via ntg-context
On 12/1/2021 9:49 AM, denis.ma...@unibe.ch wrote: Thank you, Hans! I don't understand 2, 3, and 4, but I can wikify 1. Just two question: What exactly are the limitations? And what is meant by horizontal registers? % this is a variant of an example on the mailing list \mainlanguage[es] \set

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Hans Hagen via ntg-context
On 12/1/2021 10:41 AM, Denis Maier via ntg-context wrote: Not sure what is going wrong. Any hints how I can start debugging? Any ideas what could have caused that change? (Ok, let’s build a MWE..) a mix of old / new files? -

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Hans Hagen via ntg-context
On 12/1/2021 2:03 PM, denis.ma...@unibe.ch wrote: Sorry for spamming the list, but I was able to narrow it further down: % \setupinteraction [ state=start, openaction=FitWidth, % comment this out to make it work ] \starttext asdf \stopte

Re: [NTG-context] Font scaling via sa in LMTX

2021-12-01 Thread Hans Hagen via ntg-context
On 11/30/2021 9:36 PM, Rik Kabel via ntg-context wrote: Hello list, It seems that font scaling to a letter is not working consistently in LMTX. This example: \definefont[TitleA][Sans sa a] \definefont[TitleAB][Sansbold sa a] \starttext {\ssa This is ssa \TitleA and this is Titl

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

2021-12-03 Thread Hans Hagen via ntg-context
On 12/3/2021 8:54 AM, Jan-Erik Hägglöf via ntg-context wrote: Dear List! I’ve been struggeling with the circuitikz module since my upgrade to LMTX. The following test of installation failed, running file circuitikz-context.tex in ../modules/t-tikz/ directory % Copyright 2018-2021 by Romano Gi

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

2021-12-03 Thread Hans Hagen via ntg-context
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 if things work with mkiv. That version has hardly been t

[NTG-context] upload

2021-12-03 Thread Hans Hagen via ntg-context
Hi, a new upload - some keywords renamed in the engine and therefore more split between mkiv and lmtx (hopefully i included all files) .. if something doesn't work any more it might be because i missed a rename. - i finally decied that it does make sense to have native loops at the primitiv

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

2021-12-03 Thread Hans Hagen via ntg-context
On 12/3/2021 3:17 PM, skrantajanneman via ntg-context wrote: My thougts on this, if it is a possible alternative, to do such things in metafun instead? i guess so but we needs specs etc and time (nothing wrong with using tikz if one likes the syntax, apart from it being a dependency and a rat

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

2021-12-03 Thread Hans Hagen via ntg-context
On 12/3/2021 3:47 PM, Aditya Mahajan via ntg-context wrote: 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

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

2021-12-05 Thread Hans Hagen via ntg-context
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’m back at square one. hm, here i did: - install tikz from ctan -

Re: [NTG-context] [DKIM] Re: upload

2021-12-06 Thread Hans Hagen via ntg-context
On 12/6/2021 5:41 AM, Jairo A. del Rio via ntg-context wrote: Hi, Hans. I've got a question. Negative steps are treated as positive: \starttext \expandedloop 10 0 -2 {\the\currentloopiterator\ } \stoptext gives 0 2 4 6 8 10 Is this expected behavior? If so, it would be fine to have something

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

2021-12-06 Thread Hans Hagen via ntg-context
On 12/6/2021 6:39 PM, 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 error > tex error on line 76 in file m-circuitikz.mkxl

Re: [NTG-context] Status of Asymptote

2021-12-07 Thread Hans Hagen via ntg-context
On 12/7/2021 7:29 AM, Aditya Mahajan via ntg-context wrote: 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, w

Re: [NTG-context] [DKIM] Primes too high in New Computer Modern

2021-12-07 Thread Hans Hagen via ntg-context
On 12/7/2021 2:39 AM, Jairo A. del Rio via ntg-context wrote: Hi, list. See the following: \starttext $\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$} \stoptext there is no lfg file for it but if you just want a bolder latin modern you can also do this (there is an old bachotex present

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

2021-12-07 Thread Hans Hagen via ntg-context
On 12/6/2021 9:49 PM, Jan-Erik Hägglöf via ntg-context 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? i'm not sure how that gets updated but as tikz is a constantly moving i just got it from

Re: [NTG-context] [DKIM] Re: [DKIM] Primes too high in New Computer Modern

2021-12-07 Thread Hans Hagen via ntg-context
On 12/7/2021 9:55 AM, Mikael Sundqvist via ntg-context wrote: Hi, We changed so that newcomputermodern-book (which is bolder than newcomputermodern) uses the same lfg file as lm, which works. I attach an updated version of the type-imp-newcomputermodern.mkiv, which also adds the lfg file to newc

Re: [NTG-context] xml processing: if elseif else / switch case

2021-12-09 Thread Hans Hagen via ntg-context
On 12/9/2021 5:11 PM, Wolfgang Schuster via ntg-context wrote: Joey McCollum via ntg-context schrieb am 09.12.2021 um 15:08: I believe \orelse might be what you want. It works with most \if... macros, and it avoids nesting of \doifelse constructs. Here's an example, which I use in conditionally

Re: [NTG-context] [DKIM] using the newcolumnsets module

2021-12-09 Thread Hans Hagen via ntg-context
On 12/9/2021 1:27 PM, Jeong Dal via ntg-context wrote: error messages: Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex', result '/Users/graph/Library/Mobile Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex''" terminated with exit code: 1.* no clue ... does lmtx also fail?

Re: [NTG-context] xml processing: if elseif else / switch case

2021-12-09 Thread Hans Hagen via ntg-context
On 12/9/2021 5:30 PM, Joey McCollum via ntg-context wrote: Thanks for correcting that, Wolfgang. I must have added the other \fi instances because I was trying to use \orelse in MKIV and couldn't get it to work. Is it only supported in LMTX? yes, it's one of the native luametatex features (alre

Re: [NTG-context] \WORD regression

2021-12-09 Thread Hans Hagen via ntg-context
On 12/10/2021 8:20 AM, Henning Hraban Ramm via ntg-context wrote: Am 09.12.21 um 19:00 schrieb Henning Hraban Ramm via ntg-context: \starttext \WORD{größer} \stoptext \WORD used to handle "ß" correctly, i.e. convert it to "SS"; now it makes "sS". (If the current font contains an uppercase ß

[NTG-context] upload ... new feature

2021-12-10 Thread Hans Hagen via ntg-context
Hi, This time the lmtx upload has a (for some maybe) interesting new features: runtime pdf encryption. context --ownerpassword=foo [--userpassword=bar] [--permissions="see context --help --expert"] One can also use the document banner line, like: % ownerpassword="foo" userpassword=""

Re: [NTG-context] Defining new float types fails in LMTX

2021-12-10 Thread Hans Hagen via ntg-context
On 12/10/2021 4:00 PM, Marco Patzer via ntg-context wrote: On Tue, 30 Nov 2021 15:51:24 +0100 Marco Patzer via ntg-context wrote: There's an issue with defining new floats in LMTX in combination with bottom placement. The following works in MkIV, but throws an error in LMTX: I don't know if

Re: [NTG-context] upload ... new feature

2021-12-10 Thread Hans Hagen via ntg-context
On 12/10/2021 6:04 PM, Pablo Rodriguez via ntg-context wrote: On 12/10/21 11:46 AM, Hans Hagen via ntg-context wrote: Hi, This time the lmtx upload has a (for some maybe) interesting new features: runtime pdf encryption. context --ownerpassword=foo [--userpassword=bar

Re: [NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-13 Thread Hans Hagen via ntg-context
On 12/13/2021 5:25 PM, Denis Maier via ntg-context wrote: Hi, I have the following example: % \setupdelimitedtext[blockquote]     [leftmargin=1.5em,rightmargin=0em,] \starttext \input knuth \startblockquote \input knuth \stopblockquote \start

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

2021-12-13 Thread Hans Hagen via ntg-context
On 12/13/2021 4:35 PM, Taco Hoekwater via ntg-context wrote: On 13 Dec 2021, at 16:15, Jack Hill via ntg-context wrote: Dear list, I was playing around and found that nesting $$s inside of \m blocks typesets the code as text. I can't find anything about this on the wiki or in the math-mkiv

Re: [NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-13 Thread Hans Hagen via ntg-context
On 12/13/2021 6:19 PM, denis.ma...@unibe.ch wrote: Great, thanks, I'll wikify. Is that lmtx-only or will it work in mkiv? i'll also add it to mkiv Hans - Hans Hagen | PRAGMA ADE

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

2021-12-13 Thread Hans Hagen via ntg-context
On 12/13/2021 6:57 PM, Aditya Mahajan via ntg-context wrote: 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. Indeed, you solv

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

2021-12-13 Thread Hans Hagen via ntg-context
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 t-tikz.tex). The module ends with a spurious `\stopmodule`: https://github.com/contextgarden/context-mirror/b

Re: [NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-13 Thread Hans Hagen via ntg-context
On 12/13/2021 8:27 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi, On Mon, 13 Dec 2021 12:06:33 -0700, Hans Hagen via ntg-context wrote: i'll also add it to mkiv By about when do you expect mkiv to become frozen a la mkii? It is already sort of frozen in the sense that new fea

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Hans Hagen via ntg-context
Hi, This works here: \usemodule[circuitikz] \starttext \startcircuitikz \draw (0,2) to[I] (2,2); \stopcircuitikz \startcircuitikz \draw (0,2) to[I] (2,2); \stopcircuitikz \stoptext with the attached. Make sure to put it in the regular context base path and run

Re: [NTG-context] Switching to righttoleft without changing margins of delimited text

2021-12-14 Thread Hans Hagen via ntg-context
On 12/14/2021 10:57 AM, denis.ma...@unibe.ch wrote: Hi Hans, > -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Montag, 13. Dezember 2021 17:43 > An: mailing list for ConTeXt users > Cc: Maier, Denis Christian (UB) > Betreff: Re: [NTG-context] Switching to righttolef

Re: [NTG-context] About margin notes

2021-12-14 Thread Hans Hagen via ntg-context
On 12/14/2021 11:58 AM, MANUEL GONZALEZ SUAREZ via ntg-context wrote: Hi all: I send this minimal example: \mainlanguage [es] \definefontfamily [mainface] [serif] [Gentium] \setupbodyfont[mainface] \setuppagenumbering[alternative=doublesided, location={footer,right}] \setuplayout[textwidth=12cm

[NTG-context] curved

2021-12-14 Thread Hans Hagen via ntg-context
Hi Hraban, follow up on chat ... \starttext \startMPcode % {doublefun} mfun_bend_tolerance := 0.002; % double : 131/65536 mfun_bend_tolerance := 0.02 ; % scaled vardef iscurved(expr p, i, tolerance) = save d, b, r ; boolean r ; r := true ; d := (xpart precontrol iof p) - (xp

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Hans Hagen via ntg-context
On 12/14/2021 6:16 PM, Benjamin Buchmuller via ntg-context wrote: Hi! I'd like to follow up on a problem that Denis came across recently with the titles argument in tabulate. (It's more a solution than a question, but any hints to improve the answer are welcome.) I wanted to use this argument

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

2021-12-15 Thread Hans Hagen via ntg-context
On 12/15/2021 6:22 PM, Aditya Mahajan via ntg-context wrote: 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 packag

Re: [NTG-context] Errors in source files return success

2021-12-15 Thread Hans Hagen via ntg-context
On 12/15/2021 4:21 PM, Marco Patzer wrote: Hi Hans, a followup to our conversation in the meeting: here's an MWE demonstrating that errors aren't passed on to the runner script, except for "logs.errors=missing characters", which in fact do return failure, all others do return success. %% enable

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

2021-12-15 Thread Hans Hagen via ntg-context
On 12/15/2021 9:32 PM, Aditya Mahajan via ntg-context wrote: 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

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

2021-12-15 Thread Hans Hagen via ntg-context
On 12/15/2021 11:38 PM, Michal Vlasák via ntg-context wrote: On Wed Dec 15, 2021 at 9:32 PM CET, Aditya Mahajan via ntg-context wrote: Oops, sorry, I completely forgot to mention that indeed what I mention corresponds to the download link on the package page, which in general "shouldn't be" in

Re: [NTG-context] Errors in source files return success

2021-12-15 Thread Hans Hagen via ntg-context
On 12/15/2021 9:16 PM, Marco Patzer via ntg-context wrote: On Wed, 15 Dec 2021 20:48:29 +0100 Hans Hagen wrote: You can check in the next upload: - The 'failure' that you saw was actually a real lua error because I hadn't adapted some fancy, a very old 'around' 2006 feature, seldom used as it

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Hans Hagen via ntg-context
On 12/16/2021 11:39 AM, Benjamin Buchmuller wrote: Thanks again, Hans, for all the different approaches, very instructive! However, after playing around a bit, I do have a question that I can't work out: \getdummyparameters[headtitle=,#1] \ifempty{\dummyparameter{headtitle}} can you try \ifc

Re: [NTG-context] x86-64-amd-linux binary?

2021-12-16 Thread Hans Hagen via ntg-context
On 12/16/2021 1:01 PM, Ramkumar KB via ntg-context wrote: Hello All, If I have to just upgrade my context version installed in my linux VM (x88-64 - amd - redhat) - is debain9 the correct package? https://build.contextgarden.net/#/ - So I just replace the

Re: [NTG-context] x86-64-amd-linux binary?

2021-12-16 Thread Hans Hagen via ntg-context
On 12/16/2021 3:01 PM, Ramkumar KB wrote: Hans, Thank you. Just to clarify, in my current installation - context and mtxrun are already symlinks to the luametatex. best make a copy of your tex directory and install in there (btw, why is a new luametatex bin needed? are you sure the rest of

Re: [NTG-context] Title for tabulate

2021-12-17 Thread Hans Hagen via ntg-context
On 12/17/2021 8:25 AM, Benjamin Buchmuller wrote: Yes, this works! Thanks! I'll try to add a section on the Wiki. Is there a reason why the second approach works while the other doesn't? expansion etc so just stick to what works Hans

Re: [NTG-context] Extra shift with ornament

2021-12-17 Thread Hans Hagen via ntg-context
On 12/17/2021 6:40 AM, Mikael Sundqvist via ntg-context wrote: Hi, When using an ornament on a \startframedtext \stoptextframed the frame is shifted just a little bit. Can one get rid of that shift? MWE below. /Mikael \defineornament[MyOrn][ corner={right,bottom}, location={right,top},

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-17 Thread Hans Hagen via ntg-context
On 12/17/2021 10:02 AM, Denis Maier via ntg-context wrote: -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Pablo Rodriguez via ntg-context Gesendet: Donnerstag, 16. Dezember 2021 18:07 An: Denis Maier via ntg-context Cc: Pablo Rodriguez Betreff: Re: [NTG-context] LTR footnote

Re: [NTG-context] shrink inter-line space

2021-12-18 Thread Hans Hagen via ntg-context
On 12/18/2021 9:47 AM, mf via ntg-context wrote: Il 17/12/21 20:17, Wolfgang Schuster ha scritto:> \starttext > > \samplefile{ward}\par > > \blank > > \start \setupinterlinespace[line=12pt] > \samplefile{ward}\par > \stop > > \stoptext Yes, but you can't say \setupinterlinespace[line=6p

Re: [NTG-context] Gap in rows if tabulate includes a startitemize

2021-12-19 Thread Hans Hagen via ntg-context
On 12/19/2021 9:39 AM, Jorge Manuel via ntg-context wrote: The attach. yout example works ok here but it's not the same as in the picture so we need a better test to see the issue Jorge Magalhães On 19 Dec 2021, 08:18 +, Jorge Manuel , wrote: Dear Sirs I try to tabulate information

Re: [NTG-context] Gap in rows if tabulate includes a startitemize

2021-12-20 Thread Hans Hagen via ntg-context
On 12/20/2021 10:04 AM, Jorge Manuel via ntg-context wrote: Good morning to all. this seems to solve it: \startitemize[before=] - Hans Hagen | PRAGMA ADE Ridderstra

Re: [NTG-context] definedfont vs switchtobodyfont (was "shrink inter-line space")

2021-12-20 Thread Hans Hagen via ntg-context
On 12/20/2021 12:06 PM, mf via ntg-context wrote: Il 18/12/21 13:00, Wolfgang Schuster ha scritto: \definefontfeature [tightlines] [dimensions={*,0,0}] \starttext \samplefile{ward}\par \blank \start \setupinterlinespace[line=5pt] \definedfont[Normal*default,tightlines] \sample

Re: [NTG-context] Bug in mp-xbox.mpxl (circleit)

2021-12-24 Thread Hans Hagen via ntg-context
On 12/22/2021 2:33 PM, Jacob Kauffmann via ntg-context wrote: Hi list, I realized that circleit throws an error. It works fine if I replace boxes_generic_declare by boxes_declare in line 244 in mp-xbox.mpxl we need two replacements, also in 313 thanks, Hans ---

Re: [NTG-context] Critical Editions?

2021-12-24 Thread Hans Hagen via ntg-context
On 12/21/2021 10:50 AM, hanneder--- via ntg-context wrote: I just started switching after long years of typesetting with La-/Omega-/pdfTeX to Context and was exploring the capabilities of the program for typesetting critical editions. So I was wondering whether there is any updated information

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-24 Thread Hans Hagen via ntg-context
On 12/21/2021 10:02 AM, denis.ma...@unibe.ch wrote: Nice! So, IIUC, you should also be able to do something like this then: \definealign[AlignStandard][verytolerant,stretch] \definealign[AlignR2L][AlignStandard][r2l] Is that correct? No, because these definitions are interpreted at definitio

[NTG-context] upload

2021-12-24 Thread Hans Hagen via ntg-context
Hi, When wrapping up before the weekend I uploaded a new lmtx (bottom floats fixed afaiks, but hat mechanism might see some improvements anyway next year; exit codes more reliable; some low level tracing; side float coming loose from section head issue solved; ...). I'm experimenting with so

Re: [NTG-context] upload

2021-12-24 Thread Hans Hagen via ntg-context
On 12/24/2021 11:08 PM, Jairo A. del Rio wrote: Hi, Hans. In Ubuntu 20.04: resolvers       > lua > loading file '/home/coragyps/lmtx/tex/texmf-context/tex/context/base/mkxl/node-cmp.lmt' succeeded fatal error: storage cannot be marked strange ... must be a mismatch in binary ... i'll reuplo

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Hans Hagen via ntg-context
On 12/24/2021 5:45 PM, Jason Ross via ntg-context wrote: Dear list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section names? Background: I am developing an exporter for Org mode. In Org, users can specify the number of l

Re: [NTG-context] upload

2021-12-25 Thread Hans Hagen via ntg-context
On 12/25/2021 10:19 AM, Marco Patzer via ntg-context wrote: On Fri, 24 Dec 2021 19:45:05 +0100 Hans Hagen via ntg-context wrote: When wrapping up before the weekend I uploaded a new lmtx (bottom floats fixed afaiks If you mean the issue I posted on 2021-11-30, then no. It still throws an

Re: [NTG-context] upload

2021-12-25 Thread Hans Hagen via ntg-context
On 12/25/2021 10:09 AM, Jeong Dal via ntg-context wrote: Dear Hans, I installed the new upload and compiled “helloWorld.tex” created Sanjoy Mahajan. It runs well except the dummy figures are not appeared in the pdf output. However, I still got error message when try to compile “\startcolumnset

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-25 Thread Hans Hagen via ntg-context
On 12/25/2021 12:04 AM, Bruce Horrocks via ntg-context wrote: On 24 Dec 2021, at 18:34, Thomas Savary via ntg-context wrote: Hello, dear list ! In order to fix a few bugs in some OpenType features included in EB Garamond font provided by Google Fonts, I am trying to remove some ligatures

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-25 Thread Hans Hagen via ntg-context
On 12/25/2021 12:04 AM, Bruce Horrocks via ntg-context wrote: On 24 Dec 2021, at 18:34, Thomas Savary via ntg-context wrote: Hello, dear list ! In order to fix a few bugs in some OpenType features included in EB Garamond font provided by Google Fonts, I am trying to remove some ligatures

Re: [NTG-context] upload

2021-12-25 Thread Hans Hagen via ntg-context
On 12/25/2021 12:22 PM, Marco Patzer via ntg-context wrote: On Sat, 25 Dec 2021 11:55:31 +0100 Hans Hagen wrote: >mtxrun --autogenerate --script context --autopdf "oeps.tex" mkiv lua stats > runtime: 0.485 seconds, 1 processed pages, 1 shipped pages, 2.062 pages/second mtx-context

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-26 Thread Hans Hagen via ntg-context
On 12/25/2021 11:52 PM, Thomas Savary via ntg-context wrote: Hi Bruce and Hans ! Thank you very much for your answers, that helped me a lot. In fact, though I would love to switch to ConTeXt one day, I am still using LuaLaTeX — I am a slow learner and I know it will take me months to be abl

Re: [NTG-context] (No subject header)

2021-12-27 Thread Hans Hagen via ntg-context
On 12/27/2021 9:27 PM, Thomas Savary via ntg-context wrote: Thanks, Hans, for your advice. > a probably more reliable solution is to 'remove bad stuff' from the > loaded font by running over the features and removing bad matches > (which is less sensitive for order) I could edit the font fea

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Hagen via ntg-context
On 12/28/2021 5:54 PM, Hans Åberg via ntg-context wrote: Is it possible to use the Unicode superscript and subscript parentheses as superscript and subscript operators? That is, ⁽…⁾ having the same function as ^{…}, and ₍…₎ as _{…}. It might be something like the following, but somehow bundlin

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Hagen via ntg-context
On 12/28/2021 10:53 PM, Hans Åberg wrote: On 28 Dec 2021, at 22:29, Hans Hagen wrote: \protected\def\FancySuperscript#1⁾{\superscript{#1}} \protected\def\FancySubscript #1₍{\subscript {#1}} \protected\def\FancyScripts {\catcode`⁽=\activecatcode\letcharcode`⁽=\FancySuperscript \catcode

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Hagen via ntg-context
On 12/28/2021 10:53 PM, Hans Åberg wrote: This is great, though there is a typo in the second line. I attach a corrected example, illustrating what I might use it for: A logic program, where I found it readable in plain text to use the Unicode superscript and subscript parentheses. But when t

Re: [NTG-context] Is there a syntax for making many index entry's all in one?

2021-12-28 Thread Hans Hagen via ntg-context
On 12/28/2021 11:09 PM, Joel via ntg-context wrote: I am using \index{} to populate \placeindex (an index) with items. I am wondering if there is any syntax that allows one \index{} command to define more than one entry, for example, something like this: \index{presidents+Lincoln, Abraham; Li

[NTG-context] upload

2021-12-30 Thread Hans Hagen via ntg-context
Hi, I pploaded a new lmtx (no rpi 64 bins yet, one can pick these up from the build in a few days). Apart from a few fixes (older side float issue, some recent special rule related things) the only new thing is 'low level anchoring'. More can be found in ontarget.pdf (ontarget-anchoring.tex)

Re: [NTG-context] enforcing formation of conjuncts inside \starttyping \stoptyping

2022-01-01 Thread Hans Hagen via ntg-context
On 12/31/2021 2:02 PM, Ajith R via ntg-context wrote: Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the sixth problem I face. If I use Malayalam inside the comma

Re: [NTG-context] Malayalam character overlapping with footnote number

2022-01-01 Thread Hans Hagen via ntg-context
On 12/31/2021 1:58 PM, Ajith R via ntg-context wrote: Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the fourth problem I face. One character, ഼ U+0D3C, when use

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-01 Thread Hans Hagen via ntg-context
On 12/31/2021 1:55 PM, Ajith R via ntg-context wrote: Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the second problem I face. I have some 300 group of short sen

Re: [NTG-context] [MetaFun] Trying to understand outlinetext, 'stretch' effect and \kerncharacters

2022-01-01 Thread Hans Hagen via ntg-context
On 12/31/2021 3:13 AM, kauśika via ntg-context wrote: Dear list, I have the following graphic \startuseMPgraphic{TitleGraphic} draw outlinetext.b (\MPstring{TitleText}) (withcolor "titlefg") (withcolor "titleoutline"); \stopuseMPgraphic which I tried to use as follows to produce a st

Re: [NTG-context] enforcing formation of conjuncts inside \starttyping \stoptyping

2022-01-01 Thread Hans Hagen via ntg-context
On 1/1/2022 11:14 AM, Ajith R wrote: Don't know how. Can you point towards a documentation? \type-imp-* Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | Th

Re: [NTG-context] measure layer/ ruler

2022-01-01 Thread Hans Hagen via ntg-context
On 1/1/2022 11:46 AM, Youssef Cherem via ntg-context wrote: Dear list users, How can one go about implementing a ruler around the page/text area (such as a background) like the one provided by the latex package fgruler? https://www.ctan.org/tex-archive/macros/latex/contrib/fgruler

Re: [NTG-context] tweaked font options in \definedfontfeature?

2022-01-01 Thread Hans Hagen via ntg-context
On 1/1/2022 6:05 PM, Pablo Rodriguez via ntg-context wrote: I wonder whether it would be possible to add the options for tweaked fonts (or at least, xscale and yscale) to \definefontfeature. I think this might ease the use of scaled fonts (at least, in some documents). these two are unrelated t

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 8:08 AM, Ajith R via ntg-context wrote: Thanks for this. But, I changed to natural tables as suggested by Kausika and that solved my problems. if it's only text, \starttabulate works ok too (and often better) Hans -

Re: [NTG-context] Dynamic document variables from metadata

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 2:54 AM, Thangalin via ntg-context wrote: Happy New Year! How would you implement a mechanism that takes arbitrary XHTML tags and produces document variables? Consider:     After running XML setups, the following would write "Nature":     \documentvariable{journal} The tric

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 11:47 AM, Benjamin Buchmuller via ntg-context wrote: Hi list, I'm playing around with blocks and buffers again, realizing that I cannot use them inbetween a \start...\stop that I defined myself. Apparently, they work between \startsection...\stopsection and the like, so I was wonde

Re: [NTG-context] fonts.compact produces compact initials

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 3:01 AM, Rik Kabel via ntg-context wrote: Enabling compact fonts results in incorrect initials. \enableexperiments[fonts.compact] \starttext \placeinitial Tested with \luatexbanner and \ConTeXt\ \contextversion \stoptext Produces (approximately):   ested wi

Re: [NTG-context] Dangerous bends symbol in manfnt.afm accidentally chopped by LMTX?

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 11:30 AM, Benjamin Buchmuller via ntg-context wrote: Hi list, using this example from the wiki, the dbend symbol appears cropped on the left side on my machine (ConTeXt ver: 2021.12.10 11:41 LMTX fmt: 2021.12.14), but not on the ConTeXt live server? Any possible reasons? \define

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 2:14 PM, Benjamin Buchmuller wrote: Thanks, Hans, for the answer, but I'm not sure if I get the point. While this is possible in ConTeXt: \startsection[title={My Title}] \beginMyBlock bla bla \endMyBlock \stopsection The following won't work (end of file error): \startMyCommand[

Re: [NTG-context] Laundry symbols (now: altered picture)

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 3:12 PM, Alfredo Catalina via ntg-context wrote: I'm trying to use ConTeXt with Metafun to produce a map of a videogame I am working on. In fact I did it 9 years ago but it seems that now it doesn't work. I have two 32 pixels wide by 40 pixels high sprites. They are saved in the s

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

2022-01-03 Thread Hans Hagen via ntg-context
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). There is info here: https://wiki.contextgarden.net/Use_fonts_distributed_with_Co

Re: [NTG-context] issue with \placenotes[linenote]

2022-01-04 Thread Hans Hagen via ntg-context
On 1/4/2022 2:23 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \setuplinenote[location=text, paragraph=yes] \starttext \startbuffer \startlinenumbering[step=3] \dorecurse{25} {a\linenote{b} } \stoplinenumbering \stopb

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

2022-01-05 Thread Hans Hagen via ntg-context
On 1/4/2022 11:07 PM, Arthur Rosendahl wrote: On Mon, Jan 03, 2022 at 11:16:46PM +0100, Hans Hagen via ntg-context wrote: Because Wolfgang has to write a chapter (or a MyWay document) and we're all mostly volunteers so ... Youssef has got a point, though: \definefontfamily should pe

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Hans Hagen via ntg-context
On 1/6/2022 6:47 PM, Jean-Pierre Delange via ntg-context wrote: The question of funding computing tools is an issue : it is true in a private situation when you want to write a manuscript with versioning (you have to know how it works), but it is more relevant within an academic field of resea

[NTG-context] critical fun

2022-01-06 Thread Hans Hagen via ntg-context
Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred] % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] \starttext \dorecurse{10}{% \paralleltext {[een allereerst

Re: [NTG-context] critical fun

2022-01-06 Thread Hans Hagen via ntg-context
On 1/6/2022 10:36 PM, Henning Hraban Ramm via ntg-context wrote: Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context: Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred

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