Re: [NTG-context] combinations

2021-05-13 Thread jbf
Wonderful Benny! Congrats on your first ever suggestion. I didn't need a caption so I had left it out, but I see that I now need at least an empty {} after each item for it to work. Thanks Julian On 14/5/21 2:30 pm, Benny Schurig wrote: {pic 1}

Re: [NTG-context] combinations

2021-05-13 Thread Benny Schurig
Hi Julian, for me first reply ever with a suggestion: You have to set a caption https://wiki.contextgarden.net/Command/startcombination That worked fine for me: \startplacefigure[location=here] \setupcombination[distance=0mm,after=] {\startcombination[2*1]

[NTG-context] combinations

2021-05-13 Thread jbf
Hi list, The following MWE is giving me two photos under each other, not beside each. What am I doing wrong? Julian \startplacefigure[location=here] \setupcombination[distance=0mm,after=] {\startcombination[2*1] {\externalfigure[res1.jpg][width=.4\textwidth]}

Re: [NTG-context] NotoColorEmoji - loca table not found

2021-05-13 Thread Jairo A. del Rio
El jue, 13 de may. de 2021 a la(s) 19:52, Adam Reviczky (revic...@gmail.com) escribió: > Thanks Jairo, > > That indeed works, should've read that it is bitmap only. > > I do get a white background though (MKIV), is that how the bitmap is > stored? > > In LuaLaTeX with Harfbuzz shaper as well as

Re: [NTG-context] NotoColorEmoji - loca table not found

2021-05-13 Thread Adam Reviczky
Thanks Jairo, That indeed works, should've read that it is bitmap only. I do get a white background though (MKIV), is that how the bitmap is stored? \definefontfeature[Emoji][default][sbix=yes] \starttext

Re: [NTG-context] NotoColorEmoji - loca table not found

2021-05-13 Thread Jairo A. del Rio
In ConTeXt LMTX this works just fine (try mtxrun --generate and context --make first): \definefontfeature[Emoji][default][sbix=yes] \starttext \definedfont[file:NotoColorEmoji.ttf*Emoji]\char"1F91D \stoptext However, when one tries to convert it with ImageMagick the following happens:

[NTG-context] NotoColorEmoji - loca table not found

2021-05-13 Thread Adam Reviczky
Hi, I am trying to use the 'handshake' character ( https://www.fileformat.info/info/unicode/char/1f91d/fontsupport.htm) from the Noto Color Emoji font ( https://github.com/googlefonts/noto-emoji/blob/main/fonts/NotoColorEmoji.ttf ). The following MWE gives an error: \starttext

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Aditya Mahajan
On Thu, 13 May 2021, Henning Hraban Ramm wrote: > My test file also includes the noise overlay after Jairo’s suggestions. Maybe > you want to implement that, too? > At the moment it still doesn’t respect the pen size, and the number of > patterns per path is fixed. I am not sure if simply

Re: [NTG-context] [installing lmtx on raspi400]

2021-05-13 Thread Floris van Manen
On 13/05/2021 22:39, Christian Prim wrote: I solved it following this (or a similar) solution: https://github.com/deltachat/deltachat-desktop/issues/1006#issue-498257133 That worked very well, thank you ! $

Re: [NTG-context] [installing lmtx on raspi400]

2021-05-13 Thread Christian Prim
In buster the libc6 is too old. You can switch to debian 11 or ubuntu as Hans said or you can add a newer glibc version. I had the same problem on a chromebook duet. I solved it following this (or a similar) solution: https://github.com/deltachat/deltachat-desktop/issues/1006#issue-498257133

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
> Am 13.05.2021 um 20:26 schrieb Thomas A. Schmitz : > > On 5/13/21 8:02 PM, Henning Hraban Ramm wrote: >> Unfortunately, the deviation of edge points is too big – try my attached >> test file. >> Strangely, if I include the MP code in a ConTeXt document, > > I find the discussion

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Thomas A. Schmitz
On 5/13/21 8:02 PM, Henning Hraban Ramm wrote: Unfortunately, the deviation of edge points is too big – try my attached test file. Strangely, if I include the MP code in a ConTeXt document, I find the discussion interesting. Could you send complete documents, like Aditya did? When I try to

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
> Am 13.05.2021 um 19:17 schrieb Aditya Mahajan : > > On Thu, 13 May 2021, Henning Hraban Ramm wrote: > >> >>> Am 13.05.2021 um 18:36 schrieb Aditya Mahajan : >>> Now I want to draw that path several times. If I understand it right, I can’t put that into "sketchdraw" because

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Aditya Mahajan
On Thu, 13 May 2021, Henning Hraban Ramm wrote: > > > Am 13.05.2021 um 18:36 schrieb Aditya Mahajan : > > > >> Now I want to draw that path several times. > >> > >> If I understand it right, I can’t put that into "sketchdraw" because that > >> leaves the end open for path additions like

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
> Am 13.05.2021 um 18:36 schrieb Aditya Mahajan : > >> Now I want to draw that path several times. >> >> If I understand it right, I can’t put that into "sketchdraw" because that >> leaves the end open for path additions like "withcolor". > > A slightly different approach is needed. See

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Aditya Mahajan
On Thu, 13 May 2021, Henning Hraban Ramm wrote: > > > Am 11.05.2021 um 18:02 schrieb Aditya Mahajan : > > > > Look at this old code on how hide such code behind a macro to have a clean > > interface: > > > > https://github.com/adityam/mp-sketch/blob/master/mp-sketch.mp > > Hi Aditya, > I’m

Re: [NTG-context] [installing lmtx on raspi400]

2021-05-13 Thread Hans Hagen
On 5/13/2021 2:08 PM, Floris van Manen wrote: No desktop system is complete before having a proper lmtx installed ;-) So with this OS version $ uname -a Linux rp400 5.10.17-v8+ #1414 SMP PREEMPT Fri Apr 30 13:23:25 BST 2021 aarch64 GNU/Linux $ hostnamectl    Static hostname: rp400

Re: [NTG-context] Variable OTF font resulting in invalid font due to stack overflow

2021-05-13 Thread Hans Hagen
On 5/12/2021 11:46 PM, Marcel Fabian Krüger wrote: Hi, recently we got an interesting bug report in luaotfload (the original report is at https://github.com/latex3/luaotfload/issues/184) which relates to the ConTeXt fontloader. Take the following ConTeXt example: \starttext

[NTG-context] mathscript in math mode

2021-05-13 Thread Fabrice Couvreur
Hi, Is it possible to run the macro in math mode ? Thank you Fabrice \usebodyfont [stix] \setupbodyfont[modern] \setupmathematics[stylealternative=calligraphic] \unexpanded\def\CScript#1#2{\start\switchtobodyfont[stixtwo] \m{{\mathscript{#1}}_{#2}}\stop}

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
> Am 12.05.2021 um 23:21 schrieb Jairo A. del Rio : >> Unfortunately, that’s the same pattern over and over. >> The randomization is only applied once. >> Good for footprints, bad for fuzzy patterns. >> > You only need to move "randomized" at the drawing stage: > > \starttext > \startMPpage >

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
> Am 11.05.2021 um 18:02 schrieb Aditya Mahajan : > > Look at this old code on how hide such code behind a macro to have a clean > interface: > > https://github.com/adityam/mp-sketch/blob/master/mp-sketch.mp Hi Aditya, I’m trying to include my additions into your code, but it doesn’t work.

[NTG-context] [installing lmtx on raspi400]

2021-05-13 Thread Floris van Manen
No desktop system is complete before having a proper lmtx installed ;-) So with this OS version $ uname -a Linux rp400 5.10.17-v8+ #1414 SMP PREEMPT Fri Apr 30 13:23:25 BST 2021 aarch64 GNU/Linux $ hostnamectl Static hostname: rp400 Icon name: computer Operating System: Debian

Re: [NTG-context] Variable OTF font resulting in invalid font due to stack overflow

2021-05-13 Thread Hans Hagen
On 5/12/2021 11:46 PM, Marcel Fabian Krüger wrote: Hi, recently we got an interesting bug report in luaotfload (the original report is at https://github.com/latex3/luaotfload/issues/184) which relates to the ConTeXt fontloader. Take the following ConTeXt example: \starttext

Re: [NTG-context] \char not working with private unicodes

2021-05-13 Thread Hans Hagen
On 5/13/2021 8:46 AM, Sergio Callegari wrote: On 5/11/2021 2:08 PM, Jairo A. del Rio wrote: Hi, list! Following this thread: https://tex.stackexchange.com/questions/596610/how-to-use-luatex-with-large-unicode-codepoint

[NTG-context] \char not working with private unicodes

2021-05-13 Thread Sergio Callegari
On 5/11/2021 2:08 PM, Jairo A. del Rio wrote: Hi, list! Following this thread: https://tex.stackexchange.com/questions/596610/how-to-use-luatex-with-large-unicode-codepoint , I tried to replicate