Re: [NTG-context] TeXGyre Heros on Firefox

2022-03-10 Thread juh+ntg-context--- via ntg-context
Am 10.03.22 um 15:57 schrieb Hans Hagen via ntg-context: mtxrun --script pdf --fonts hostsharing-vereinshandbuch.pdf the arial comes from an image Thanks! So many cool tools out there. :-) juh ___ If your questi

[NTG-context] processdatabasefile styling of table cells

2022-04-06 Thread juh+ntg-context--- via ntg-context
Hi all, I include tables via csv files like this \processdatabasefile[test][test.csv] I was able to style the tables with this: \setupTABLE [ split=yes, header=repeat, option=stretch, loffset=.5ex,roffset=.5ex] \setupTABLE [row] [odd] [background=color,backgroundcolor=hs-hellblau,] \setupTA

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread juh+ntg-context--- via ntg-context
Dear Albert! Am 05.06.22 um 16:15 schrieb Albert Krewinkel via ntg-context: Dear juh, juh via ntg-context writes: great to hear that, as my cooperative uses pandoc to produce print stuff with ConTeXt, we are always happy, when there are improvements. I'd love to learn more about your workf

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread juh+ntg-context--- via ntg-context
Am 06.06.22 um 01:52 schrieb Thangalin: I put together a multipart series about the process of going from Markdown to Pandoc to ConTeXt: https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/ This was on

Re: [NTG-context] Workshop at FrOSCon

2022-06-08 Thread juh+ntg-context--- via ntg-context
Am 08.06.22 um 07:43 schrieb Henning Hraban Ramm via ntg-context: Am 08.06.22 um 07:18 schrieb juh via ntg-context: For the Developer Room we need at least three people willing to attend the whole time at least for one day. If anyone would help me to organize a 2h-Bootstrap Workshop for ConTeXt

Re: [NTG-context] Workshop at FrOSCon

2022-06-21 Thread juh+ntg-context--- via ntg-context
Dear Andrej and others, Am 09.06.22 um 13:01 schrieb a badin via ntg-context: It's 4 hours by train for me to Bonn and I'm not sure whether I'm a good candidate to teach people context due to my low skill, but I can surely teach you how to install lmtx on windows if you like (we could call or st

Re: [NTG-context] Graphviz and ConTeXt

2022-06-24 Thread juh+ntg-context--- via ntg-context
Am 23.06.22 um 15:08 schrieb Taco Hoekwater: Hi, You could just convert these separately to pdf/svg/jpg/png and then load them as \externalfigure. I thought about this solution. You could also use the filter module to be able to take them inline into the ConTeXt code: Thanks for the hin

[NTG-context] Using alegreya typescript

2022-07-04 Thread juh+ntg-context--- via ntg-context
Dear all, for a long time I never had to used a custom typescript, but now I want to use the Alegreya font and found the typescript on contextgarden. https://wiki.contextgarden.net/Alegreya_Typescript The script seems to cover a lot of variations. https://wiki.contextgarden.net/Alegreya_Typ

Re: [NTG-context] Workshop at FrOSCon

2022-07-09 Thread juh+ntg-context--- via ntg-context
Am 21.06.22 um 09:37 schrieb juh+ntg-context--- via ntg-context: Thanks a lot for this offer. Due to my hesitation and my holidays I submitted the workshop after the deadline of the FrOSCon CFP so I guess that there won't be a ConTeXt workshop this time. But you never know, often dead

[NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)

2022-07-22 Thread juh+ntg-context--- via ntg-context
Dear all, the firefox pdf viewer has problems with at least two sans serif fonts. Using this mwe I get a bad display in ff with Gyre font and Alegreya Font. %\definefontfamily[mainfont][sans][AlegreyaSans] \definefontfamily[mainfont][sans][texgyreheros] \setupbodyfont [mainfont,12pt] \startdoc

Re: [NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)

2022-07-25 Thread juh+ntg-context--- via ntg-context
I reported the bug to Mozilla and they answered very fast. Sadly up too now without a good solution. They hint to LuaMetaTex as the cause of the problem. You can follow the discussion here. https://bugzilla.mozilla.org/show_bug.cgi?id=1781022 juh

Re: [NTG-context] ConTeXt meeting 2022 – please register!

2022-08-03 Thread juh+ntg-context--- via ntg-context
Dear Hraban, Am 03.08.22 um 10:50 schrieb Henning Hraban Ramm via ntg-context: Taco convinced me not to cancel the meeting due to a lack of participants, but I’d like to know why you (esp. if you attended previous meetings) decided not to come: short answer. The meeting is in the holidays of

[NTG-context] How to display these characters

2022-08-05 Thread juh+ntg-context--- via ntg-context
Dear all, I have this: \starttext \starttyping foo └── bar ├── baz │   └── index.html └── index.html \stoptyping \stoptext The source code is generated with the linux command "tree". The special characters which indicate the folder depth are not displayed. I guess that I coul

[NTG-context] underbar aligns badly

2022-08-25 Thread juh+ntg-context--- via ntg-context
Dear all, I fear I hit a bug or missed a change. \starttext \underbar{First line}\\ Second line. \stoptext With lmtx from 2022.07.24 the lines align fine. With current lmtx the first line has a small indent. Ciao! juh _

Re: [NTG-context] underbar aligns badly

2022-08-30 Thread juh+ntg-context--- via ntg-context
Dear Hans, thanks a lot, but... Am 27.08.22 um 08:54 schrieb Hans Hagen via ntg-context: On 8/27/2022 8:46 AM, Jan Ulrich Hasecke via ntg-context wrote: Hi all, can nobody confirm this bug? in: \protected\def\node_rules_direct#1%   {\groupedcommand {\dontleavehmode % this should not

Re: [NTG-context] underbar aligns badly

2022-08-31 Thread juh+ntg-context--- via ntg-context
Am 31.08.22 um 08:54 schrieb Mikael Sundqvist via ntg-context: Hi, On Wed, Aug 31, 2022 at 8:32 AM juh+ntg-context--- via ntg-context wrote: Dear Hans, thanks a lot, but... Am 27.08.22 um 08:54 schrieb Hans Hagen via ntg-context: On 8/27/2022 8:46 AM, Jan Ulrich Hasecke via ntg-context

[NTG-context] setupexternalfigures and resoĺution

2022-09-01 Thread 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? TIA juh _

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

2022-09-01 Thread 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 = 72     end     local cmd = string.format(   [[gm convert -resample %ix%

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

2022-09-01 Thread 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},   conversion=lowres.jpg,   resolution=\Resolution, ] With the

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

2022-09-01 Thread juh+ntg-context--- via ntg-context
Am 01.09.22 um 15:04 schrieb 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

[NTG-context] ConTeXt Workshop at Chemnitzer Linuxtage

2022-12-15 Thread juh+ntg-context--- via ntg-context
Dear all, does anyone feels tempted to give a context workshop at the Chemnitzer Linuxtage next year in march? https://chemnitzer.linux-tage.de/2023/de/programm/call-for-lectures I made a workshop at FrOSCon this summer and could help. I might attend the Linuxtage myself but this is unsure.

[NTG-context] XRechnung

2023-11-10 Thread juh+ntg-context--- via ntg-context
Hi, does anyone produce the XML-based invoice called XRechnung with ConTeXt? I don't know if XRechnung is the european name or only used in Germany? juh ___ If your question is of interest to others as well, pleas

[NTG-context] Anyone working on a treesitter grammar?

2024-07-04 Thread juh+ntg-context--- via ntg-context
Dear all, no mention here https://tree-sitter.github.io/tree-sitter/ and searching for treesitter on the Wiki gives no match? Many texteditors have treesitter support builtin so having a ConTeXt grammar would be nice. TIA juh _

[NTG-context] Re: Anyone working on a treesitter grammar?

2024-07-04 Thread juh+ntg-context--- via ntg-context
Am 04.07.24 um 21:39 schrieb Henning Hraban Ramm: https://github.com/pmazaitis/tree-sitter-context_en Thanks a lot. Now, if you could explain me how to install this in Pulsar? I am struggling with emacs and neovim. Ciao! juh

[NTG-context] max function in spreadsheettable

2024-10-15 Thread juh+ntg-context--- via ntg-context
Dear all, I have a cell that calculates a value that may not be a negative value. If it is a negatiive value the cell should show zero. \startcell[style=normal] @ "0.2f EUR" $pauschale.eintag$ - ((D[row] * (0.2 * $pauschale.vororttag$)) + (E[row] * (0.4 * $pauschale.vororttag$)) + (F[row]

[NTG-context] Re: max function in spreadsheettable

2024-10-15 Thread juh+ntg-context--- via ntg-context
Am 15.10.24 um 12:42 schrieb Henning Hraban Ramm: I guess you know the cld-mkiv manual? I know that it is there. ;-) I'll try to reimplement the document with cld. First question: local sum = string.format("%0.2f", (0.3 * 100)) Gives 30.00 how do I get 30,00 juh

[NTG-context] configuring spitter (was: separatedlist with header repeating processing csv to table)

2024-10-08 Thread juh+ntg-context--- via ntg-context
Am 03.10.24 um 14:15 schrieb Wolfgang Schuster: begin example \setuplayout[tight] \setuppapersize[A8,landscape] \starttext \startbuffer[cattle] "Year","Cattle, total","Dairy cows" "2009","3968","1489" "2010","3975","1479" "2011","3885","1470" "2012","3879","1484" "2013","4000","1553" "20

[NTG-context] Re: configuring spitter

2024-10-08 Thread juh+ntg-context--- via ntg-context
Am 08.10.24 um 19:16 schrieb Wolfgang Schuster: You can change the separator when you create a custom splitter. local csvsplitter = utilities.parsers.rfc4180splitter{ separator = ";" } Thanks a lot. Just curious. I often wonder in pure ConTeXt when to use curly bracets and when square bracke

[NTG-context] Re: max function in spreadsheettable

2024-10-15 Thread juh+ntg-context--- via ntg-context
Am 15.10.24 um 21:58 schrieb Wolfgang Schuster: The function is documented in the "Context Lua documents" (cld-mkiv.pdf) manual. Indeed. Obviously I was way too tired yesterday. Thanks! ___ If your question is of int

[NTG-context] Re: serial letters

2024-11-11 Thread juh+ntg-context--- via ntg-context
Dear all, using this example below from 2019 to make a serial letter I get three pages. The second letter is split on page 2 and 3. Are there any new approaches to make serial letters? TIA juh Am 09.04.19 um 21:38 schrieb Wolfgang Schuster: \usemodule[letter] \setuplettersection   [openin

[NTG-context] separatedlist with header repeating processing csv to table

2024-10-02 Thread juh+ntg-context--- via ntg-context
Dear all, some years ago I asked about how to process a csv file in a table with repeating headers on following pages, but got no answer. https://www.mail-archive.com/ntg-context@ntg.nl/msg98903.html Now I am again working on this problem. I wonder if there is a better way to process csv fil

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-03 Thread juh+ntg-context--- via ntg-context
Am 02.10.24 um 13:49 schrieb Henning Hraban Ramm: Did you try split=repeat instead of split=yes? Yes. No change. I guess that the first line in csv is not marked as a table header, so that ConTeXt does not know what to repeat. juh

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-03 Thread juh+ntg-context--- via ntg-context
Am 02.10.24 um 14:29 schrieb Henning Hraban Ramm: Oh, and of course you need a \bTABLEhead, otherwise there’s nothing to repeat. That means AFAIK, the header can’t be part of the CSV, using this simple module. I tried to put the header into the before part of setupseparatedlist, but this does

[NTG-context] Re: max function in spreadsheettable

2024-10-15 Thread juh+ntg-context--- via ntg-context
Am 15.10.24 um 17:16 schrieb Hans Hagen via ntg-context: local sum = string.format("%0.2f", (0.3 * 100)) Gives 30.00 how do I get 30,00 local sum = string.formatters["%0.2M"](0.3 * 100) Thanks a lot, Hans. I can't find "string.formatters" and the format string %0.2M online or in the Lua-

[NTG-context] string.formatters (was: Re: max function in spreadsheettable)

2024-11-13 Thread juh+ntg-context--- via ntg-context
Am 15.10.24 um 17:16 schrieb Hans Hagen via ntg-context: On 10/15/2024 2:33 PM, juh+ntg-context--- via ntg-context wrote: local sum = string.formatters["%0.2M"](0.3 * 100) This does not work here with numbers with more than three digits. \starttext \startluacode context(string.

[NTG-context] Re: string.formatters

2024-11-14 Thread juh+ntg-context--- via ntg-context
Am 14.11.24 um 08:59 schrieb juh+ntg-context--- via ntg-context: \starttext \startluacode context(string.formatters["%0.2M"](1000)) \stopluacode \stoptext Gives 10.2000,00 context(string.formatters["%M"](1000)) Gives the right result. But I am

[NTG-context] Including SVG manipulating color or rewrite in MP

2024-12-12 Thread juh+ntg-context--- via ntg-context
Dear all, I have near to zero knowledge about MPgraphics, so I always use SVG files from various sources. I do something like this: \defineoverlay[pic][\externalfigure[form.svg][width=14em]] \defineframed [textcircledA] [ frame=off, strut=yes, rulethickness=0.0pt, backgro

[NTG-context] Re: Including SVG manipulating color or rewrite in MP

2024-12-14 Thread juh+ntg-context--- via ntg-context
ramed[align=normal,width=7cm,background=juh]{\samplefile{ward}} > >\setupMPvariables[juh][juhcolor=darkblue] > >\framed[align=normal,width=7cm,background=juh]{\samplefile{ward}} > >\stoptext > >On Thu, Dec 12, 2024 at 4:57 PM juh+ntg-context--- via ntg-context > wrote: >

[NTG-context] lmtx.pragma-ade.com down?

2024-12-19 Thread juh+ntg-context--- via ntg-context
Hi, I cannot download context neither ping lmtx.pragma-ade.com. juh ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/ma

[NTG-context] Clip an image with a svg

2025-01-03 Thread juh+ntg-context--- via ntg-context
Dear all, I found this example in the garden. \startMPclip{circleclip} clip currentpicture to fullcircle shifted (.5,.5) xscaled \width yscaled \height ; \stopMPclip \clip[nx=1,ny=1,mp=circleclip]{\externalfigure[hacker.png]} Aside from the fact that I failed to understand the shif

[NTG-context] Cannot build with newest context current version: 2024.11.01 19:19

2024-12-22 Thread juh+ntg-context--- via ntg-context
Dear all, I get this error with context from current version: 2024.11.01 19:19 1 >> \environment env-alegreya 2 \environment env-alegreya-trimsize5-8 3 \environment env-deutsch 4 \environment env-makeups 5 \environment env-umbruch 6 \environment env-heading-sans 7

[NTG-context] Re: Cannot build with newest context current version: 2024.11.01 19:19

2024-12-22 Thread juh+ntg-context--- via ntg-context
Addition: In an other project with mode specific buildings I have no problems with version 2024.09.25 11:53. juh ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] Re: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-05-11 Thread juh+ntg-context--- via ntg-context
Dear all, this was a very interesting thread, thanks a lot. After your recent discussion about accessibility I poke around a little and found that LibreOffice is doing a nice job. I was quite surprised as I rarely use it. I randomly created some documents, exported to pdf and tested against v

[NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore

2025-06-14 Thread juh+ntg-context--- via ntg-context
Dear Pablo, Am 13.06.25 um 16:00 schrieb Pablo Rodriguez via ntg-context: First, compile exactly this source (which is minimal also in resulting PDF code to be inspected [no text and no font]): \setupbackend [format=PDF/X-3:2002, intent={ISO Coated v2 300\letterpercent\space (ECI)

[NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore

2025-06-09 Thread juh+ntg-context--- via ntg-context
Am 05.06.25 um 18:45 schrieb Pablo Rodriguez via ntg-context: Patch: --- lpdf-fmt.lmt2025-06-05 18:35:30.016927969 +0200 +++ mkxl/lpdf-fmt.lmt 2025-06-05 18:36:27.670594638 +0200 @@ -260,6 +260,23 @@ return lower(file.basename(filename)) end +local function urls(url) +if

[NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore

2025-06-14 Thread juh+ntg-context--- via ntg-context
Dear Pablo, Am 14.06.25 um 17:15 schrieb Pablo Rodriguez via ntg-context: I have been able to reproduce your issue. Some bugs are tricky, write a comma after the closing parenthesis to define the (previous) option value for `intent`, such as in: \setupbackend[ format=PDF/X-3:2002, %Emp

[NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore

2025-06-03 Thread juh+ntg-context--- via ntg-context
Dear Pablo, Am 03.06.25 um 17:36 schrieb Pablo Rodriguez via ntg-context: my guess is that color profiles might be have been replaced. Here there might be some background: https://www.pragma-ade.com/general/manuals/standards.pdf#search=unset In any case, these are the profiles in current l

[NTG-context] Color Profile ISO Coated v2 300% (ECI) not found anymore

2025-06-03 Thread juh+ntg-context--- via ntg-context
Dear all, in ConTeXt ver: 2025.04.28 14:29 LMTX fmt: 2025.6.3 the color profile ISO Coated v2 300% (ECI) is not found anymore \setupbackend[ %format=PDF/X-1a:2001, %format=PDF/X-1a:2003, format=PDF/X-3:2002, %Empfehlung von Flyeralarm %format=PDF/X-3:2003, %format=PDF/X-4, %

[NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore

2025-06-12 Thread juh+ntg-context--- via ntg-context
Am 11.06.25 um 14:48 schrieb Hans Hagen: fixed in next upload (the file was zipped as text so it got this linefeed changing that is/was needed for unix but it's a binary file; actually that normalizing was needed decades ago but i'm not sure if it still is needed; for tex it doesn't matter if t

[NTG-context] Wiki down

2025-07-28 Thread juh+ntg-context--- via ntg-context
wiki : https://wiki.contextgarden.net seems to be down juh ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3

[NTG-context] List of invalid symbols

2025-08-04 Thread juh+ntg-context--- via ntg-context
Dear all, I am looking for a list of symbols that cause problems. There are several symbols that cause problems, eg. | --> \| I have to write a small script that converts all these symbols to avoid errors in a automatic build chain. TIA juh ___