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

2022-08-09 Thread Henning Hraban Ramm via ntg-context
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. There is a simple LaTeX / plain TeX package [1] for this but I don't kn

Re: [NTG-context] regular online meet-up

2022-08-09 Thread Henning Hraban Ramm via ntg-context
Reminder: That’s today! CU l8r! Am 05.08.22 um 21:43 schrieb Henning Hraban Ramm via ntg-context: You’re invited to join next Wednesday, August 10th, 15:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke ConTeXt users of all levels are welcome! There will be no meet-up in

[NTG-context] parameters of (setup)externalfigure, conversions etc.

2022-08-11 Thread Henning Hraban Ramm via ntg-context
Hi Hans, yesterday you told me about the image conversions in grph-con.lua, and I tried to find out how to use them. Up to know I only knew "mp" for SVG images. I found I can use "gray.pdf" or "cmyk.pdf" to convert an image (JPG or PNG) to grayscale/CMYK, but the resolution isn’t used for do

Re: [NTG-context] OT: Angebotsanfrage für Erstellung von Logo und Namensschildern

2022-08-11 Thread Henning Hraban Ramm via ntg-context
Hi everyone, I’d like to file a tender for this but wouldn’t like to compete against anyone from our community – if you’re interested to do this, can we discuss it (off-list)? That would be nice. Hraban Am 11.08.22 um 17:09 schrieb Paul Menzel via ntg-context: [Excuse the German message. I am

Re: [NTG-context] OT: Angebotsanfrage für Erstellung von Logo und Namensschildern

2022-08-11 Thread Henning Hraban Ramm via ntg-context
Am 11.08.22 um 18:53 schrieb Henning Hraban Ramm via ntg-context: Hi everyone, I’d like to file a tender for this but wouldn’t like to compete against anyone from our community – if you’re interested to do this, can we discuss it (off-list)? That would be nice. Hraban Ok, I won’t, someone

[NTG-context] TIL: figure combinations

2022-08-11 Thread Henning Hraban Ramm via ntg-context
You probably know about combinations to place images side by side: \startcombination[3*1] {\externalfigure[cow]}{cow} {\externalfigure[mill]}{mill} {\externalfigure[hacker]}{hacker} \stopcombination Now, the widths aren’t calculated automatically. You could define them on your own: \start

[NTG-context] image with rounded corners

2022-08-12 Thread Henning Hraban Ramm via ntg-context
Hi, can ConTeXt make rounded image corners? Both of my approaches don’t work: \externalfigure[mill][ width=3cm, frame=on, corner=round,radius=1cm, backgroundcorner=round,backgroundradius=1cm, ] \defineoverlay[Mill][{% \externalfigure[mill][width=\overlaywidth] }] \framed[background=Mi

Re: [NTG-context] parameters of (setup)externalfigure, conversions etc.

2022-08-12 Thread Henning Hraban Ramm via ntg-context
Am 11.08.22 um 15:51 schrieb Henning Hraban Ramm via ntg-context: Hi Hans, yesterday you told me about the image conversions in grph-con.lua, and I tried to find out how to use them. Up to know I only knew "mp" for SVG images. I found I can use "gray.pdf" or "cmyk

Re: [NTG-context] image with rounded corners

2022-08-12 Thread Henning Hraban Ramm via ntg-context
Am 12.08.22 um 13:10 schrieb Wolfgang Schuster via ntg-context: Henning Hraban Ramm via ntg-context schrieb am 12.08.2022 um 10:57: Hi, can ConTeXt make rounded image corners? \setupexternalfigures[location=default] \starttext \startMPclip{rounded corner} clip currentpicture to

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

2022-08-18 Thread Henning Hraban Ramm via ntg-context
Am 18.08.22 um 02:51 schrieb Max Chernoff via ntg-context: I think all that Amano is asking for is for older versions of the zips/binaries to be kept available. Right now, the only files available for download that I'm aware of are the latest versions. There's an archive at context.aanhet.net/

Re: [NTG-context] Curling straight quotation marks

2022-08-24 Thread Henning Hraban Ramm via ntg-context
Am 24.08.22 um 02:13 schrieb Thangalin via ntg-context: Hey folks, I re-wrote the algorithm KeenWrite uses for curling straight quotes. The new algorithm is fairly robust with respect to North American and British English. Could use help finding edge cases: https://whitemagicsoftware.com/kee

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-26 Thread Henning Hraban Ramm via ntg-context
Am 26.08.22 um 22:00 schrieb Denis Maier via ntg-context: Hi, I need to typeset two poems side by side. Usually, I use the tabulate environment for typesetting parallel texts. However, for poems this does not quite work as tabulate does not seem to allow blanks between the stanzas. See MWE be

Re: [NTG-context] Understanding font errors

2022-08-26 Thread Henning Hraban Ramm via ntg-context
Am 26.08.22 um 22:22 schrieb Denis Maier via ntg-context: On 8/26/2022 10:07 PM, Denis Maier via ntg-context wrote: Hi, I've just noticed I'm getting error messages related to fonts: %% fonts > checking > char G (U+00047) in font '' with id 0:

[NTG-context] update old MP code

2022-09-01 Thread Henning Hraban Ramm via ntg-context
Hi, here’s a snippet of old Metapost code that I’d like to use in ConTeXt. I didn’t manage to update it to MetaFun – can you help me? Hraban - \setupbodyfont[plex,ss,8bp] \startreusableMPgraphic{moiree} % 1994 by Bogusław Jackowski (GUST) defaultfont := "\truefontname{Sans}"; pickup pencircl

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-01 Thread Henning Hraban Ramm via ntg-context
Am 01.09.22 um 10:44 schrieb juh+ntg-context--- via ntg-context: Hi, what is resolution meant to do? Whatever I insert as resolution, I get no change. \setupexternalfigure[location={default,local},resolution=30] \starttext \externalfigure[hacker] \stoptext What am I missing? The resolution

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-01 Thread Henning Hraban Ramm via ntg-context
Am 01.09.22 um 10:51 schrieb Henning Hraban Ramm via ntg-context: Am 01.09.22 um 10:44 schrieb juh+ntg-context--- via ntg-context: Hi, what is resolution meant to do? What am I missing? The resolution parameter is still not used by default ConTeXt, sorry. But you can use it with the

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-01 Thread Henning Hraban Ramm via ntg-context
Am 01.09.22 um 13:43 schrieb juh+ntg-context--- via ntg-context: Am 01.09.22 um 10:51 schrieb Henning Hraban Ramm via ntg-context: \loadluafile[grph-downsample] \doifmodeelse{print}{%  \def\Resolution{300} }{%  \def\Resolution{96} }% \setupexternalfigures[    %directory={./Logos,img

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-01 Thread Henning Hraban Ramm via ntg-context
Am 01.09.22 um 12:37 schrieb juh+ntg-context--- via ntg-context: Hi Hraban, Am 01.09.22 um 10:56 schrieb Henning Hraban Ramm via ntg-context: \startluacode local function downsampler(oldname, newname, resolution) if not resolution or resolution == "" then resolution = 7

Re: [NTG-context] update old MP code

2022-09-01 Thread Henning Hraban Ramm via ntg-context
Am 01.09.22 um 15:40 schrieb Taco Hoekwater: Adding grouping makes sense: def Moire(expr size)(text densities)= begingroup endgroup As that at least makes it an expression instead of a statement list. But also depthless() is never defined? Oops, I forgot to copy that part (confusing sourc

Re: [NTG-context] update old MP code

2022-09-01 Thread Henning Hraban Ramm via ntg-context
Am 01.09.22 um 18:45 schrieb Taco Hoekwater: On 1 Sep 2022, at 18:28, Henning Hraban Ramm via ntg-context wrote: Am 01.09.22 um 15:40 schrieb Taco Hoekwater: Adding grouping makes sense: def Moire(expr size)(text densities)= begingroup endgroup As that at least makes it an expression

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-02 Thread Henning Hraban Ramm via ntg-context
Am 02.09.22 um 10:39 schrieb Keith McKay via ntg-context: Thanks for this code Hraban. I tried this last night and it worked really well. I did have one stumbling block when I noticed that those image files with a space in their names were not found, however renaming  without a space solved the

[NTG-context] searching in the source browser

2022-09-05 Thread Henning Hraban Ramm via ntg-context
Hi, this is probably for Taco: Is there a possibility in the source browser to search for macros (\something) or anything containing dots (logs.errors)? Because neither “simple” nor with Lua patterns I get any results. E.g. I wanted to look for all trackers and/or directives. Hraban _

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Henning Hraban Ramm via ntg-context
Am 05.09.22 um 21:07 schrieb Pablo Rodriguez via ntg-context: On 9/5/22 20:28, Henning Hraban Ramm via ntg-context wrote: Hi, this is probably for Taco: Is there a possibility in the source browser to search for macros (\something) or anything containing dots (logs.errors)? Because neither

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Henning Hraban Ramm via ntg-context
Am 05.09.22 um 20:59 schrieb Wolfgang Schuster via ntg-context: Henning Hraban Ramm via ntg-context schrieb am 05.09.2022 um 20:28: Hi, this is probably for Taco: Is there a possibility in the source browser to search for macros (\something) or anything containing dots (logs.errors)? Because

Re: [NTG-context] How can I design a book cover with front cover, back cover, and spine?

2022-09-06 Thread Henning Hraban Ramm via ntg-context
Am 06.09.22 um 10:20 schrieb amano.kenji via ntg-context: Let's assume that I'm writing an A4 book. How can I design front cover, spine, and back cover of the book with ConTeXt? I've read many PDF files, but none that I can remember actually had book spine on it. Some had back cover. Most had

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

2022-09-07 Thread Henning Hraban Ramm via ntg-context
Don’t panic, all is well with the list. Nothing to do, nothing to see here. Taco included the mailing list in the message recipients of the cron demon in order to get notified of ConTeXt updates. Seems like there is a connection problem with the pragma servers, but it doesn’t affect the list.

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

2022-09-10 Thread Henning Hraban Ramm via ntg-context
Am 10.09.22 um 03:01 schrieb Cron Daemon via ntg-context: receiving incremental file list Now, this looks like an update! But when I run install.sh, I get: """ $ . install.sh mtx-install | provide valid server and instance If you want to run ConTeXt everywhere, you need to adapt the pat

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

2022-09-10 Thread Henning Hraban Ramm via ntg-context
Am 10.09.22 um 11:12 schrieb Hans Hagen via ntg-context: actually we only had lmtx.pragma-ade.nl but when i had to update the certificates for the sites i added the com address to the dns ... for some reason certbot had added extra entries with 301 in front of the regular configuration so i rem

Re: [NTG-context] How do I write a digital book that can become a physical book without a lot of modifications?

2022-09-10 Thread Henning Hraban Ramm via ntg-context
Am 10.09.22 um 14:43 schrieb amano.kenji via ntg-context: A digital book doesn't need to be double-sided. But, a physical book can be double-sided. Double-sidedness may require adjusting contents in many places. How can I write a digital book that doesn't have to be heavily modified in order

[NTG-context] meeting not online

2022-09-14 Thread Henning Hraban Ramm via ntg-context
Hi everyone who was interested in participating in the meeting remotely, I just recognized I forgot to include some addresses in the participants address, thus some information didn’t reach the adressees. The DSL connection here in Dreifelden is very weak and unreliable – even if streaming wo

Re: [NTG-context] meeting not online

2022-09-14 Thread Henning Hraban Ramm via ntg-context
At the moment, audio is working. Won't promise for how long. Who's interested, just stay logged in to BBB, and we'll see. Hraban ___ If your question is of interest to others as well, please add an entry to the Wik

Re: [NTG-context] meeting not online

2022-09-16 Thread Henning Hraban Ramm via ntg-context
We actually managed to stream most talks and still do using mobile phone connections. Hraban Am 14.09.22 um 10:11 schrieb Henning Hraban Ramm via ntg-context: At the moment, audio is working. Won't promise for how long. Who's interested, just stay logged in to BBB, and we'

[NTG-context] ConTeXt meeting 2023

2022-09-17 Thread Henning Hraban Ramm via ntg-context
The next meeting will take place on 2023-09-11 to 16, again in Sibřina near Prague. Save the date! In the hope of seeing you there, Hraban ___ If your question is of interest to others as well, please add an entry t

[NTG-context] ConTeXt news in the Fediverse

2022-09-20 Thread Henning Hraban Ramm via ntg-context
At the meeting we talked about raising visibility for ConTeXt and the context group. I created a Mastodon account for context group and will use it to share news and interesting stuff related to ConTeXt: https://fosstodon.org/@context (i.e. @cont...@fosstodon.org) Never heard about Mastodon?

[NTG-context] OT: Hubert Lampo

2022-09-22 Thread Henning Hraban Ramm via ntg-context
Hi, we (Dreiviertelhaus publishers) are considering to publish a German translation of some works of Flemish author Hubert Lampo. At the moment we need a copy of “De geheime Academie” (and maybe other works). If you have this at home and don’t need it anymore, we’d be glad to receive it (and pa

[NTG-context] PDF viewer

2022-09-22 Thread Henning Hraban Ramm via ntg-context
Hi all, I compiled a kind of wishlist what we need or look for in a new or enhanced open source PDF viewer, as discussed e.g. at the 2021 meeting. https://wiki.contextgarden.net/PDF_viewer I’d like to further the subject to find a developer (or a team) and make this a reality. (Of course I’d

Re: [NTG-context] PDF viewer

2022-09-23 Thread Henning Hraban Ramm via ntg-context
Am 23.09.22 um 02:47 schrieb Max Chernoff: I compiled a kind of wishlist what we need or look for in a new or enhanced open source PDF viewer, as discussed e.g. at the 2021 meeting. https://wiki.contextgarden.net/PDF_viewer Feel free to enhance the wiki page or discuss here. I think that pdf

[NTG-context] IBM Plex updates

2022-09-26 Thread Henning Hraban Ramm via ntg-context
Hi, just for information: There were new releases of the IBM Plex fonts recently: https://github.com/IBM/plex/releases They’re now at version 2.3. Some faces were annoyingly renamed (Semi Bold and Medium to SmBld and Medm). Hraban ___

Re: [NTG-context] About macro numberstriped ()

2022-09-28 Thread Henning Hraban Ramm via ntg-context
Am 28.09.22 um 15:29 schrieb Hans Hagen via ntg-context: On 9/28/2022 3:11 PM, Fabrice Couvreur via ntg-context wrote: PS : What is the exact meaning of the word "blobs" because my English is average ? in order to get 'lines' you need to fill the two opposing corners with "blobs of ink" Other

Re: [NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Henning Hraban Ramm via ntg-context
Am 29.09.22 um 06:10 schrieb Wolfgang Schuster via ntg-context: Max Chernoff via ntg-context schrieb am 29.09.2022 um 02:17: Babel/ngerman sets left/righthyphenmin to 2/2, but ConTeXt sets those to 3/3 for German. (The English default is 2/3). I don't speak German so I have no idea which is corr

Re: [NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Henning Hraban Ramm via ntg-context
Am 29.09.22 um 08:27 schrieb Arthur Rosendahl: On Thu, Sep 29, 2022 at 06:49:23AM +0200, Henning Hraban Ramm via ntg-context wrote: Thank you, Leah, Max and Wolfgang! I changed that immediately in all of my ongoing projects, but I don’t think we should change the default after all these years

[NTG-context] remote images

2022-10-03 Thread Henning Hraban Ramm via ntg-context
Hi, fetching images per URI was supported (and is also documented in the wiki), but with LMTX 2022.09.11 and one of \externalfigure[http://tug.org/images/logobw.jpg] or \externalfigure[https://picsum.photos/300/200] I only get the usual grey box. No error message. Do I need any setup, was th

[NTG-context] floats disturb grid setting

2022-10-03 Thread Henning Hraban Ramm via ntg-context
As soon as I use floats, text isn’t typeset on the grid any more: \setuppaper[A5] \setuplayout[grid=yes] \showframe\showgrid \setupexternalfigure[ location={local,global,default}, ] \starttext \samplefile{lorem} \startplacefigure[location=left,title=left]% \externalfigure[mill][width=.25\tex

Re: [NTG-context] floats disturb grid setting

2022-10-03 Thread Henning Hraban Ramm via ntg-context
Am 03.10.22 um 14:02 schrieb Henning Hraban Ramm via ntg-context: As soon as I use floats, text isn’t typeset on the grid any more: \setuppaper[A5] \setuplayout[grid=yes] \showframe\showgrid Oops, my bad: It must be "grid=on". But didn’t work "yes" in earli

Re: [NTG-context] remote images

2022-10-03 Thread Henning Hraban Ramm via ntg-context
Am 04.10.22 um 07:35 schrieb Max Chernoff: Hi Hraban, fetching images per URI was supported (and is also documented in the wiki), but with LMTX 2022.09.11 and one of \externalfigure[http://tug.org/images/logobw.jpg] or \externalfigure[https://picsum.photos/300/200] I only get the usual grey b

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

2022-10-04 Thread Henning Hraban Ramm via ntg-context
Am 04.10.22 um 12:53 schrieb Leah Neukirchen via ntg-context: Another data point: Brother B205 doesn't print it either. But would all of these use the same licensed PDF renderer... Print the test page of all these printers. Does it say something about the PDF/PostScript engine (RIP) and its ve

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

2022-10-04 Thread Henning Hraban Ramm via ntg-context
Am 04.10.22 um 14:59 schrieb Hans Hagen via ntg-context: On 10/4/2022 2:35 PM, Leah Neukirchen via ntg-context wrote: Are there any tools to analyze this CID font stream? You can browse the glyphs with full acrobat You can? Not with Acrobat Pro v9 or before. Hraban

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

2022-10-04 Thread Henning Hraban Ramm via ntg-context
Am 04.10.22 um 15:21 schrieb Angel M Alganza via ntg-context: On Tue, Oct 04, 2022 at 01:59:45PM +0200, Henning Hraban Ramm via ntg-context wrote: How do you send the files “directly” to the printer? Copy to lpt queue? In my case, as I explained in my original email, I plug in a USB drive

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

2022-10-04 Thread Henning Hraban Ramm via ntg-context
Am 04.10.22 um 18:11 schrieb Hans Hagen via ntg-context: it is hidden in preflight, some tiny entry in a menu "browse internal .." or so but as adobe loves to change user interfaces with each version i have no clue where you can find it Oops, I completely forgot that was part of Callas pdfInsp

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Henning Hraban Ramm via ntg-context
Am 06.10.22 um 13:37 schrieb Horacio Suárez via ntg-context: hello it is possible to list chapters and section as "alternative=c" and subsections as "alternative=d" in the same TOC? Did you try \setuplist[subsection][alternative=d] ? Hraban ___

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Henning Hraban Ramm via ntg-context
Am 06.10.22 um 15:24 schrieb Horacio Suárez via ntg-context: Not working, besides "[alternative=d]" apears on top of the first pdf page. This works for me: \setuppapersize[A7,landscape] \setuplist[alternative=c] \setuplist[subsection][alternative=d] \starttext \placecontent \hairline \s

Re: [NTG-context] \setuparranging values for perfect bound A5 on A3?

2022-10-09 Thread Henning Hraban Ramm via ntg-context
Am 09.10.22 um 02:29 schrieb Bruce Horrocks via ntg-context: I have a book to be perfect bound[1] and I'm trying to work out what imposition to use. The printer would like 4 A5 pages laid out on A3 e.g. +---+---+ | | | | a | b | | | | +---+---+ | | | | c | d | | | | +---+---+

[NTG-context] regular online meet-up

2022-10-09 Thread Henning Hraban Ramm via ntg-context
You’re invited to join on Wednesday, October 12th, 15:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://v34h.de/ctxmtg) ConTeXt users of all levels are welcome! Next meeting will be on November 9th. (Same blurb as every time:) [Howto] * No special sof

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-09 Thread Henning Hraban Ramm via ntg-context
Am 09.10.22 um 17:33 schrieb Leah Neukirchen via ntg-context: Hi, last week we had a long thread about non-printing PDF on this list and together with Hans I tracked down the issue and we found a fix. Since it changes some details of how PDFs are generated by LMTX, we'd like to test this change

Re: [NTG-context] startTEXpage on A4

2022-10-09 Thread Henning Hraban Ramm via ntg-context
Am 09.10.22 um 20:49 schrieb Leah Neukirchen via ntg-context: But that requires knowing the size in advance. Think of the labels in a museum that depend how long the description is. ;) Well, on the labels in the church museum (https://staurothek.de) in Limburg/Lahn, the text just stops if it

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-10 Thread Henning Hraban Ramm via ntg-context
Am 10.10.22 um 10:50 schrieb Keith McKay via ntg-context: Hi, I printed the file from my Apple mac mini M1 wirelessly to my HP Color LaserJet MFP M283fdw from Thunderbird, Adobe Acrobat DC, Skim and Texshop. The latter three were essentially identical and clear but that from Thunderbird was f

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-11 Thread Henning Hraban Ramm via ntg-context
Am 11.10.22 um 20:00 schrieb Leah Neukirchen via ntg-context: Hello, I noticed the following problem: \showframe \startluacode fonts.protrusions.vectors.pure[0x201C] = { 1, 1 } \stopluacode \definefontfeature[default][default][protrusion=pure] \setupalign[hanging] \starttext This text i

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Henning Hraban Ramm via ntg-context
Am 11.10.22 um 21:06 schrieb Leah Neukirchen: Henning Hraban Ramm via ntg-context writes: \setupdelimitedtext[quotation][method=font] That fixes both issues, thanks! Not sure where I should have learned this exists, however. ;) Oops, I answered only to Leah: I agree. Someone (Hans or

Re: [NTG-context] regular online meet-up

2022-10-12 Thread Henning Hraban Ramm via ntg-context
Reminder: That’s in less than 4 hours. Hoping to see you soon! Hraban Am 09.10.22 um 12:41 schrieb Henning Hraban Ramm via ntg-context: You’re invited to join on Wednesday, October 12th, 15:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://v34h.de

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

2022-10-13 Thread Henning Hraban Ramm via ntg-context
Am 13.10.22 um 19:41 schrieb Pablo Rodriguez via ntg-context: On 10/13/22 00:50, Max Chernoff via ntg-context wrote: On Wed, 2022-10-12 at 13:14 +0200, Leah Neukirchen wrote: [...] The last version of font-cff.lua should also copy the hinting-related values of the CFF properly (/BlueScale, /Ste

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Henning Hraban Ramm via ntg-context
Isn’t the tree-sitter parser enough for syntax highlighting in NeoVim? https://wiki.contextgarden.net/pm39_tree_sitter_parser https://github.com/pmazaitis/tree-sitter-context_en (I don’t use either and can’t help further.) Hraban

Re: [NTG-context] How to set the vertical spacing between a sequence of images?

2022-10-25 Thread Henning Hraban Ramm via ntg-context
Am 25.10.22 um 02:32 schrieb Joel via ntg-context: I have code like this which randomly pulls a page from `comic2.pdf` and displays it, scaled to fit \textwidth, then displays four more random pages afterwares. \starttext    \dorecurse{5}{             \placefigure[force, none]{}{\frame

[NTG-context] Undefined control sequence \bodyfontsizevariable

2022-10-30 Thread Henning Hraban Ramm via ntg-context
Latest LMTX, probably an error in mkxl/s-fonts-show.mkxl: \starttext \showbodyfont \showbodyfontenvironment % error! As you can see, the font class is called \quotation{\fontclass} and the bodyfont is typeset from \quotation{\fontname\font} in \the\globalbodyfontsize. \stoptext Hraban _

[NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Henning Hraban Ramm via ntg-context
This used to work: \definefontfallback[seguiFB] [file:seguisym.ttf] [0x0-0xF] [check=yes,force=no] \definetypeface [contextstart] [ss] [sans] [segoe] [default][fallbacks=seguiFB] (Intention is to take all missing characters from this symbol font.) But with current LMTX, I get

[NTG-context] is something wrong with the mailing list?

2022-10-30 Thread Henning Hraban Ramm via ntg-context
Hi again, I didn’t get any mails from ntg-context between 2022-10-26, 01:52 and my mails now. Was there no activity? (Maybe I was switched off due to bounced mails, because my provider had left outdate the ssl certificate of the mail server...) Hraban

Re: [NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Henning Hraban Ramm via ntg-context
Am 30.10.22 um 16:54 schrieb Hans Hagen via ntg-context: On 10/30/2022 4:43 PM, Henning Hraban Ramm via ntg-context wrote: This used to work: \definefontfallback[seguiFB]    [file:seguisym.ttf]    [0x0-0xF]    [check=yes,force=no] \definetypeface [contextstart] [ss] [sans]  [segoe

Re: [NTG-context] is something wrong with the mailing list?

2022-10-30 Thread Henning Hraban Ramm via ntg-context
Am 30.10.22 um 16:56 schrieb Gavin: Hi Hraban, It has been pretty quiet, but there were some posts on Oct 27. You could check the bottom of the web version to see if you have been missing activity. https://mailman.ntg.nl/pipermail/ntg-context/2022/date.html Of course, could have thought of t

[NTG-context] context --autopdf and --showdirectives

2022-10-31 Thread Henning Hraban Ramm via ntg-context
I’d like to configure the default behaviour of "context --autopdf"; since on my Mac I must always write "--autopdf=auto", otherwise context tries to call wine "sumatrapdf.exe" -reuse-instance -bg-color 0xCC instead of e.g. "open". There’s a hint about "directives_pdfview_method", so I wan

Re: [NTG-context] context --autopdf and --showdirectives

2022-11-02 Thread Henning Hraban Ramm via ntg-context
Am 01.11.22 um 23:22 schrieb Hans Hagen via ntg-context:  > * How can I configure the command for --autopdf ? (Something in texmfcnf.lua?) you can try to set it in the cnf: -- ["pdfview.method"]   = "sumatra", Oops, I didn’t see that line. But I can’t set it to "open" or

Re: [NTG-context] font features

2022-11-03 Thread Henning Hraban Ramm via ntg-context
Am 03.11.22 um 12:37 schrieb Thomas A. Schmitz via ntg-context: Hi, is there an easy way to get a list of all features that a font has and typeset a sample text to see the result of every single feature? There probably is, but I couldn't find anything... You get a lot of information with mtx

Re: [NTG-context] font features

2022-11-03 Thread Henning Hraban Ramm via ntg-context
Am 03.11.22 um 13:20 schrieb Henning Hraban Ramm via ntg-context: Am 03.11.22 um 12:37 schrieb Thomas A. Schmitz via ntg-context: You can also get font information via mtxrun --script server --start and then open the given address in your browser; AFAIR you get samples, but it doesn’t work

[NTG-context] \definemeasure / \dimexpr

2022-11-03 Thread Henning Hraban Ramm via ntg-context
I’m constantly struggling with dimension calculations. Is there anything I can read about the possibilities and limitations? e.g. with \definemeasure[PageWidth][132mm] none of the following works: \definemeasure[FlapWidth][0.8 * \measure{PageWidth}] \definemeasure[FlapWidth][.8\measure{PageWidth

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-03 Thread Henning Hraban Ramm via ntg-context
Am 03.11.22 um 21:51 schrieb Hans Hagen via ntg-context: On 11/3/2022 9:32 PM, Henning Hraban Ramm via ntg-context wrote: I’m constantly struggling with dimension calculations. Is there anything I can read about the possibilities and limitations? e.g. with \definemeasure[PageWidth][132mm

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-04 Thread Henning Hraban Ramm via ntg-context
Am 03.11.22 um 22:43 schrieb Henning Hraban Ramm via ntg-context: Am 03.11.22 um 21:51 schrieb Hans Hagen via ntg-context: On 11/3/2022 9:32 PM, Henning Hraban Ramm via ntg-context wrote: I’m constantly struggling with dimension calculations. Is there anything I can read about the

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-04 Thread Henning Hraban Ramm via ntg-context
Am 04.11.22 um 11:52 schrieb Herbert Voss via ntg-context: \definemeasure[FlapWidth][\measured{PageWidth} * 0.8] \definemeasure[FlapWidth][0.8\measured{PageWidth}] works Yes, thank you! That’s why I asked for the basics in my first post – which operators can I use how, in which order? In

[NTG-context] regular online meet-up

2022-11-05 Thread Henning Hraban Ramm via ntg-context
You’re invited to join on Wednesday, November 9th, 15:00 CET (UTC+1) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://v34h.de/ctxmtg) ConTeXt users of all levels are welcome! Next meeting will be on December 14th. (Same blurb as every time:) [Howto] * No special sof

[NTG-context] problem with Segoe Ui Symbol as fallback font

2022-11-07 Thread Henning Hraban Ramm via ntg-context
I’d like to set Segoe UI Symbol as fallback for all missing glyphs. But it doesn’t work, I get an error like registered function call [1145]: ...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:2339: attempt to perform arithmetic on a nil value (field 'depth') stack ... even if there’

Re: [NTG-context] New VSCode extension using ConTeXt Language server

2022-11-08 Thread Henning Hraban Ramm via ntg-context
Am 08.11.22 um 15:20 schrieb Ramkumar KB via ntg-context: Hello All, I have published the new VSCode Extension for ConTeXt, that I presented during the 2022 ConTeXt meeting - Thank you! I spread the good news on Mastodon: https://fosstodon.org/@context/109308910662669923 Hraban

Re: [NTG-context] regular online meet-up

2022-11-08 Thread Henning Hraban Ramm via ntg-context
Reminder: That is today. I’d like to learn more about dimensions/dimexpr – while I got my stuff working, I still don’t understand when/where/how I can use which calculations. Hraban Am 05.11.22 um 08:18 schrieb Henning Hraban Ramm via ntg-context: You’re invited to join on Wednesday

[NTG-context] overprinting black

2022-11-09 Thread Henning Hraban Ramm via ntg-context
I’m not sure if this ever worked, but at least in latest LMTX it doesn’t: """ \setupcolors[state=start,cmyk=yes,rgb=no,intent=overprint] \starttext \framed[ background=color, backgroundcolor=yellow, ]{\ss\bfd Black should always overprint. } \stoptext """ The black text and frame border

Re: [NTG-context] overprinting black

2022-11-09 Thread Henning Hraban Ramm via ntg-context
Am 09.11.22 um 17:22 schrieb Duncan Hothersall: Have you tried overprint=yes? I have that in old files which used to work under mkii. I must admit I haven't had the need to use overprinting since then, but I do recall that come colour handling wasn't ported across to mkiv or later. Thank you

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-13 Thread Henning Hraban Ramm via ntg-context
One problem left with dimensions that I can’t reproduce in a minimal example: I want to calculate the spine width of the cover from the number of content pages: \useexternalfigure[CONTENT][book.pdf] \getfiguredimensions[CONTENT] \definemeasure[SpineWidth][2mm + (0.135mm * \noffigurepages/2)]

Re: [NTG-context] \definemeasure / \dimexpr

2022-11-13 Thread Henning Hraban Ramm via ntg-context
Yes! Finally! Thank you, Wolfgang! Am 13.11.22 um 13:17 schrieb Wolfgang Schuster via ntg-context: Henning Hraban Ramm via ntg-context schrieb am 13.11.2022 um 11:37: \definemeasure[SpineWidth][2mm + (0.135mm * \noffigurepages/2)] You can try     \expanded{\definemeasure[SpineWidth

Re: [NTG-context] How to break margin notes across page breaks?

2022-11-16 Thread Henning Hraban Ramm via ntg-context
Am 16.11.22 um 03:52 schrieb Joel via ntg-context: How can I allow margin text to break across the page breaks? AFAIK this is not supported. But Hans might surprise us. Hraban ___ If your question is of interest t

[NTG-context] annotated equations

2022-11-17 Thread Henning Hraban Ramm via ntg-context
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? Hraban ___ I

Re: [NTG-context] annotated equations

2022-11-17 Thread Henning Hraban Ramm via ntg-context
Am 17.11.22 um 14:25 schrieb Hans Hagen via ntg-context: On 11/17/2022 1:46 PM, Henning Hraban Ramm via ntg-context wrote: Here’s an interesting example for annotated equations, done with LaTeX/TikZ: https://mastodon.social/@sibin/109349703357749846 Marei told me this is nothing individual

Re: [NTG-context] \setupmathematics oddity

2022-11-19 Thread Henning Hraban Ramm via ntg-context
Am 18.11.22 um 23:48 schrieb Alan Bowen via ntg-context: works as it should (no space after the “;” or the “,”). With the second and third versions of \setupmathematics there is an unwanted space after each punctuation mark. Oh, it’s a *space oddity*! :D (couldn’t resist) Hraban ___

Re: [NTG-context] thousand separator space

2022-11-21 Thread Henning Hraban Ramm via ntg-context
Am 21.11.22 um 23:08 schrieb Max Chernoff via ntg-context: The TeXbook recommends that you wrap the comma in curly braces $x = 1{,}000$ but there's probably a ConTeXt \setupxxx command that would have the same effect. Use \digits: https://wiki.contextgarden.net/Command/digits Hraba

Re: [NTG-context] Can I use \starthangaround?

2022-11-30 Thread Henning Hraban Ramm via ntg-context
Am 01.12.22 um 04:15 schrieb peter.hopcroft--- via ntg-context: \starthangaround is mentioned in these context garden wiki pages: https://wiki.contextgarden.net/CD_Booklet https://wiki.contextgarden.net/Unexpected_behavior When I try to use examples from these pages I get an error that \startha

Re: [NTG-context] two issues with variable fonts

2022-12-04 Thread Henning Hraban Ramm via ntg-context
Am 04.12.22 um 11:53 schrieb Hans Hagen via ntg-context: the fact that some were not processed relates to a 'fix' of a while back ... also keep in mind that the variable font code was written long ago when there were only a handful of experimental (and often somewhat buggy) fonts around showing

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

2022-12-05 Thread Henning Hraban Ramm via ntg-context
Am 05.12.22 um 09:05 schrieb 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 g

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Henning Hraban Ramm via ntg-context
Am 04.12.22 um 23:30 schrieb Joel via ntg-context: I can use this code to display page 5 from a PDF: \externalfigure[filename.pdf][page=5] I am making a teacher's guide for a workbook (workbook.pdf). I need to be able to display on the page all pages of a particular section. The teacher's gu

Re: [NTG-context] two issues with variable fonts

2022-12-06 Thread Henning Hraban Ramm via ntg-context
Am 06.12.22 um 19:56 schrieb Pablo Rodriguez via ntg-context: On 12/4/22 22:16, Henning Hraban Ramm via ntg-context wrote: [...] An increasing number of fonts in the Google repository is (becoming) variable. So far, I only used the additionally provided fixed versions... Hi Hraban, I have

Re: [NTG-context] Achieving different \cite styles

2022-12-09 Thread Henning Hraban Ramm via ntg-context
Am 09.12.22 um 04:42 schrieb Jethro Djan via ntg-context: Hello everyone I am interested in being able to cite in different ways. By analogy, I refer to the \texcite{}, \parencite{} and other options available with biblatex in LaTeX. How do I achieve something like \textcite{} in ConTeXt? P

[NTG-context] regular online meet-up

2022-12-12 Thread Henning Hraban Ramm via ntg-context
I nearly forgot: You’re invited to join on Wednesday, December 14th, 15:00 CET (UTC+1) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://v34h.de/ctxmtg) ConTeXt users of all levels are welcome! Next meeting will be on January 11th. (Same blurb as every time:) [Howto

Re: [NTG-context] Project structure with nested subfolders and shared environments.

2022-12-15 Thread Henning Hraban Ramm via ntg-context
Am 15.12.22 um 22:52 schrieb Pawel Urbanski via ntg-context: \usepath [{ Metadata }] Did you try without the spaces? I’d assume ConTeXt will look for a folder " Metadata " and not "Metadata". If this is just a template variable, you didn’t tell us about templating. And then it matters from w

Re: [NTG-context] Project structure with nested subfolders and shared environments.

2022-12-16 Thread Henning Hraban Ramm via ntg-context
Am 16.12.22 um 10:09 schrieb Pawel Urbanski via ntg-context: When I compile a document I switch to the SubSubFolder for the document file is in there. In my experience this won’t work. ConTeXt searches from the current folder (you can configure search paths, but I gave up on that, and you’d h

Re: [NTG-context] bottlenecks

2022-12-16 Thread Henning Hraban Ramm via ntg-context
Am 16.12.22 um 18:10 schrieb Hans Hagen via ntg-context: So the challenge is how to determine bottlenecks. Are there users on this list that have document runs of more than 10 seconds (as reference: the luametatex manual takes < 9 seconds for 350 pages and loads plenty fonts and has many tables

Re: [NTG-context] bottlenecks

2022-12-17 Thread Henning Hraban Ramm via ntg-context
Am 16.12.22 um 21:02 schrieb Hans Hagen via ntg-context: (2) This is a 720 page novel (first run with this LMTX version, some fonts were still uncached): mkiv lua stats  > runtime: 19.275 seconds, 720 processed pages, 720 shipped pages, 37.355 pages/second so what if you add to the top \e

[NTG-context] save the date: TUG 2023 14–16th of July in Bonn, Germany!

2022-12-19 Thread Henning Hraban Ramm via ntg-context
Not much more to say, it’s still only announced somewhat inofficially... Hoping to meet you there, Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-contex

<    1   2   3   4   5   6   >