[NTG-context] Re: what about "textdisplay"?
Am 01.04.24 um 18:54 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in the source of a presentation from him. Oh, that’s probably where I saw it, too. Here is a short example which two other solution to get a similar effect as \starttextdisplay. \usemodule[visual] \setupfloat[figure][location=left] \starttext \fakewords{10}{20} \startlinecorrection \fakeimage{4cm}{3cm}{6cm}{4cm} \stoplinecorrection \fakewords{10}{20} \blank[2*line] \fakewords{10}{20} \startplacefigure[location={force,none}] \fakeimage{4cm}{3cm}{6cm}{4cm} \stopplacefigure \fakewords{10}{20} \blank[2*line] \fakewords{10}{20} \starttextdisplay \fakeimage{4cm}{3cm}{6cm}{4cm} \stoptextdisplay \fakewords{10}{20} \stoptext Thank you! And when would you suggest what? A float I’d use only if I need caption/numbering or the floating feature. When I tried line correction, it never helped; probably I used it wrong (e.g. around section titles). I wanted to document it, but can’t find it in the sources: The definition is in spac-ver.mkxl. Thank you! So, "context --find" does not what I thought it would. AFAIR the find option searches only the manual sources. Looks like it. So I should use grep (mtxrun --script grep). Hraban ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: what about "textdisplay"?
Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in the source of a presentation from him. Oh, that’s probably where I saw it, too. Here is a short example which two other solution to get a similar effect as \starttextdisplay. \usemodule[visual] \setupfloat[figure][location=left] \starttext \fakewords{10}{20} \startlinecorrection \fakeimage{4cm}{3cm}{6cm}{4cm} \stoplinecorrection \fakewords{10}{20} \blank[2*line] \fakewords{10}{20} \startplacefigure[location={force,none}] \fakeimage{4cm}{3cm}{6cm}{4cm} \stopplacefigure \fakewords{10}{20} \blank[2*line] \fakewords{10}{20} \starttextdisplay \fakeimage{4cm}{3cm}{6cm}{4cm} \stoptextdisplay \fakewords{10}{20} \stoptext I wanted to document it, but can’t find it in the sources: The definition is in spac-ver.mkxl. Thank you! So, "context --find" does not what I thought it would. AFAIR the find option searches only the manual sources. Wolfgang ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: what about "textdisplay"?
Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in the source of a presentation from him. Oh, that’s probably where I saw it, too. I wanted to document it, but can’t find it in the sources: The definition is in spac-ver.mkxl. Thank you! So, "context --find" does not what I thought it would. Hraban ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: what about "textdisplay"?
Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in the source of a presentation from him. I wanted to document it, but can’t find it in the sources: The definition is in spac-ver.mkxl. $ context --find=textdisplay [...] These two documents use it and compile flawlessly. begin \definetextdisplay 1 2 3 \definetextdisplay [...] [...] [..,..=..,..] OPT OPT 1 NAME 2 NAME 3 inherits: \setuptextdisplay end \definetextdisplay begin \setuptextdisplay 1 2 \setuptextdisplay [...,...] [..,..=..,..] OPT 1 NAME 2 before = COMMAND after = COMMAND factor = NUMBER end \setuptextdisplay begin \starttextdisplay * \starttextdisplay [..,..=..,..] ... \stoptextdisplay OPT * inherits: \setuptextdisplay end \starttextdisplay Wolfgang ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: OT: San Seriffe
Shurely Shome Mishtake. It should be grauniad_sans! https://wordhistories.net/2017/06/05/origin-of-grauniad/ Keith On 01/04/2024 15:45, Henning Hraban Ramm wrote: Am 01.04.24 um 16:34 schrieb Hans Hagen via ntg-context: On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote: in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe the subject title suggest that you found an open type version Well, I found one, but it‘s not free: https://commercialtype.com/catalog/guardian_sans Hraban ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___ ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] what about "textdisplay"?
A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. I wanted to document it, but can’t find it in the sources: $ context --find=textdisplay mtx-context | …/tex/texmf-context/doc/context/sources/general/manuals/ontarget/ontarget-profiles.tex mtx-context | mtx-context | 196 \starttextdisplay … mtx-context | 277 \stoptextdisplay mtx-context | mtx-context | …/tex/texmf-context/doc/context/sources/general/manuals/ontarget/ontarget-standardize.tex mtx-context | mtx-context | 888 \starttextdisplay … mtx-context | 941 \stoptextdisplay mtx-context | These two documents use it and compile flawlessly. What’s on? Hraban ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: OT: San Seriffe
Am 01.04.24 um 16:34 schrieb Hans Hagen via ntg-context: On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote: in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe the subject title suggest that you found an open type version Well, I found one, but it‘s not free: https://commercialtype.com/catalog/guardian_sans Hraban ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: OT: San Seriffe
On 4/1/2024 3:56 PM, Henning Hraban Ramm wrote: in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe the subject title suggest that you found an open type version Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] OT: San Seriffe
in honour of Knuth and the current occasion: https://realdougwilson.com/writing/san-serriffe Hraban ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] context editor support / syntax highlighting for Pulsar
Hi Hans (et al.), find attached a slightly extended version of the "interface" script that can also generate the list of commands in cson format for Pulsar/Atom. It just creates a basic list of commands for syntax highlighting; for a complete plugin, "grammars" and "settings" are missing, see https://codeberg.org/fiee/language-context (Yes, this approach is oldfashioned and a plugin could do a lot more, but I don’t speak TypeScript.) The generated cson file is for "snippets", like in: https://codeberg.org/fiee/language-context/src/branch/master/snippets/language-context.cson There, I added information from the interface files and also from the wiki, if existing. I don’t know how to do that in the lua script. --- function flushers.pulsar(collected) for interface, whatever in next, collected do local commands = whatever.commands local environments = whatever.environments local result, r = { }, 0 r = r + 1 ; result[r] = "'.text.tex.context':\n" for i=1,#commands do r = r + 1 ; result[r] = format("\t'\\%s':\n",commands[i]) r = r + 1 ; result[r] = format("\t\tprefix: '%s'\n",commands[i]) -- can we have some information? --r = r + 1 ; result[r] = format("\t\tdescription: 'level: primitive; interface: i-tex.xml'",'') -- no URL if command starts with "stop" r = r + 1 ; result[r] = format("\t\tdescriptionMoreURL: 'https://wiki.contextgarden.net/Command/%s'\n",commands[i]) end io.savedata(format("language-context-%s.cson",interface), concat(result),"\n") end end --- Also, the "en" interface is empty, everything is in "common", so the iteration over interfaces makes no sense here. Actually, Atom/Pulsar could work with a tree sitter parser (https://github.com/pmazaitis/tree-sitter-context), but I don’t know how to use it. [TextMate] For TextMate and other editors that use TM bundles, it might make sense to update https://github.com/pgundlach/context.tmbundle At least the list of commands could be automatically converted from the interface files, but it’s more involved than what mtx-interface does. [Visual Studio Code / VSCodium] BTW, is the ConTeXt language server for VS Code public anywhere? (Ramkumar KB promised…) Or is "mtxrun --script=vscode --lsfile" the same? Hrabanif not modules then modules = { } end modules ['mtx-cache'] = { version = 1.001, comment = "companion to mtxrun.lua", author= "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } local concat, sort, insert = table.concat, table.sort, table.insert local gsub, format, gmatch, find, upper = string.gsub, string.format, string.gmatch, string.find, string.upper local utfchar, utfgsub = utf.char, utf.gsub local sortedkeys, sortedhash, serialize = table.sortedkeys, table.sortedhash, table.serialize local helpinfo = [[ mtx-interface ConTeXt Interface Related Goodies 0.14 generate context mkii interface files equals generate scite interface generate bbedit interface files generate jedit interface files generate pulsar/atom interface files generate textpad interface files generate vim interface files create text files for commands and environments report commands to the console generate check file report the meaning of commands show the internal representation of commands replace named characters by utf preprocess mkvi files to tex files [force,suffix] use given suffix for output files force action even when in doubt a pattern for meaning lookups ]] local application = logs.application { name = "mtx-interface", banner = "ConTeXt Interface Related Goodies 0.13", helpinfo = helpinfo, } local report = application.report scripts = scripts or { } scripts.interface = scripts.interface or { } local flushers = { } local userinterfaces= { 'en','cs','de','it','nl','ro','fr','pe' } local messageinterfaces = { 'en','cs','de','it','nl','ro','fr','pe','no' } local function collect(filename,class,data) if data then local result, r = { }, 0 for name, list in sortedhash(data) do r = r + 1 ; result[r] = format("keywordclass.%s.%s=\\\n",class,name) for i=1,#list do if i%5 == 0 then r = r + 1 ; result[r] = "\\\n" end r = r + 1 ; result[r] = format("%s ",list[i]) end r = r + 1 ; result[r] = "\n\n" end io.savedata(file.addsuffix(filename,"properties"),concat(result)) io.savedata(file.addsuffix(filename,"lua"),serialize(data,true)) else os.remove(filename) end end function flushers.scite(collected) local data
[NTG-context] Re: upload
On 4/1/2024 11:34 AM, Otared Kavian wrote: Hi Hans and Mikael, Thanks for the new module math-goodriddance ! Indeed there are many mathematicians who are going to use the \goodriddancemath command, and no doubt they are going to thank you, even if they are very shy to come out. Moreover this command can be used by people who want to transform the output PDF into an audio file, because for instance the following \usemodule[math-goodriddance] \goodriddancemath \starttext \startformula \int_{0}^{\pi} \sin(x)\dd x = 2. \stopformula \stoptext gives integral from 0 to 휋 , of sin of 푥 d 푥 equals 2 you cna be more ambituous: \im { C \of (\openinterval{a,b}) \neq C^^2 \of (\interval{a,b}) \neq C^^2 \of \interval{0,1} \neq C\of(\Omega) \neq 풞 \of (\Omega)} or \dm {u\of(b)-u\of(a)=\lim_{n\to+\infty} \parenthesis{f(x__1)\Delta x__1+f(x__2)\Delta x__2+\ldots+f(x__n)\Delta x__n}} so we can really get rid of a lot of math as one can see in the attached output which is very useful for the blind using an audio software. yes, although unfortunately unicode never bothered to add some handy stuff for that (while if did for other comparable things) but we'can get around that I now assume that you are willing to come up with the french translations (that then can be validated by Alan). Do we actually have serious german context math users, as I wouldn't trust Hraban and Thomas on doing this? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: upload
Hi Hans and Mikael,Thanks for the new module math-goodriddance ! Indeed there are many mathematicians who are going to use the \goodriddancemath command, and no doubt they are going to thank you, even if they are very shy to come out.Moreover this command can be used by people who want to transform the output PDF into an audio file, because for instance the following \usemodule[math-goodriddance]\goodriddancemath\starttext\startformula\int_{0}^{\pi} \sin(x)\dd x = 2.\stopformula\stoptextgives integral from 0 to 휋 , of sin of 푥 d 푥 equals 2 as one can see in the attached output which is very useful for the blind using an audio software.Best regards: OK no-math.pdf Description: Adobe PDF document On 1 Apr 2024, at 16:31, Hans Hagenwrote:Hi,There is a new lmtx upload.-- The svg inclusion via metapost has been upgraded and cleanup a bit, using some more recent metapost features. There are some new (not yet all documented metapost) features.-- In the process, support for LCH colors has been added, which is documented in the (eg luametafun manual).-- The math manual is not yet there because we were distracted by improving support for envelopes (penbased outlines) in metafun. This is still work in progress, some is present and discussed in the manual, and we'll come back to that sometime next month. Given the next item, we also might need to change some in the manual (different focus).-- Because we have users who have to conform to the European Accessibility Act we have been wondering how to deal with that and at Mikaels place there are two demands: distinctive colors and tagging and especially math (somehow validators love to check that). Colors never were an issue as they can be controlled, and tagging math neither, especially because nothing was/is done with it anyway, but ... we are happy that we found a reasonable (more modern and future proof) way out.As explained / shown in the attached document we're basically forced to choose a different approach with math (a pity as we worked hard to get the rendering right but the attached file works fine in the viewers that we tested).-- We like to hear from users what other demands wrt accessibility there are. We're not interested in the (commercial) big money aspects (of pdf and tagging) nor in the politics behind it (changes over time). What are the demands, so that we can see how to make it work or just work around it (as it's kind of boring to cook uyp complex features , esp compared to playing with metapost).-- Furthermore .. the usual bits and pieces as discussed on the list and otherwise.-- If you have troubles (crash) you need to wipe the cache due to a change in lua bytecode storage (no easy way to catch it).Hans & Mikael- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl-___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/lists/ntg-context.ntg.nlwebpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)archive : https://github.com/contextgarden/contextwiki : https://wiki.contextgarden.net___ Otared Kaviane-mail: ota...@gmail.comPhone: +33 6 88 26 70 95 ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: upload
Hi, On Mon, Apr 1, 2024 at 9:36 AM Hans Hagen wrote: > > Hi, > > There is a new lmtx upload. > > -- The svg inclusion via metapost has been upgraded and cleanup a bit, > using some more recent metapost features. There are some new (not yet > all documented metapost) features. > > -- In the process, support for LCH colors has been added, which is > documented in the (eg luametafun manual). > > -- The math manual is not yet there because we were distracted by > improving support for envelopes (penbased outlines) in metafun. This is > still work in progress, some is present and discussed in the manual, and > we'll come back to that sometime next month. Given the next item, we > also might need to change some in the manual (different focus). > > -- Because we have users who have to conform to the European > Accessibility Act we have been wondering how to deal with that and at > Mikaels place there are two demands: distinctive colors and tagging and > especially math (somehow validators love to check that). Colors never > were an issue as they can be controlled, and tagging math neither, > especially because nothing was/is done with it anyway, but ... we are > happy that we found a reasonable (more modern and future proof) way out. > > As explained / shown in the attached document we're basically forced to > choose a different approach with math (a pity as we worked hard to get > the rendering right but the attached file works fine in the viewers that > we tested). > > -- We like to hear from users what other demands wrt accessibility there > are. We're not interested in the (commercial) big money aspects (of pdf > and tagging) nor in the politics behind it (changes over time). What are > the demands, so that we can see how to make it work or just work around > it (as it's kind of boring to cook uyp complex features , esp compared > to playing with metapost). > > -- Furthermore .. the usual bits and pieces as discussed on the list and > otherwise. > > -- If you have troubles (crash) you need to wipe the cache due to a > change in lua bytecode storage (no easy way to catch it). > > Hans & Mikael In addition to what Hans wrote, I need to write and apologize. About two years ago I was working on a big math project and needed SyncTeX (code <-> okular) to work with it to get a smooth workflow. After fighting it for several weeks, mailing Hans back and forth, without any real support from Hans since "he was not using SyncTeX", I sent a false patch to him that I claimed worked. It must have gotten in without even being tested(!). Since then SyncTeX support for ConTeXt has been broken. Strengthened about how easy it was to add code to this project, and still frustrated about the project (that is still not finished), I started "collaborating" with Hans, mainly on math. During these years, I have been baffled about how easy it has been to add malicious code, he just swallows everything. I only needed to find out what Hans really uses himself (a few tables, he likes colors, and he has a weak point when it comes to "nice" metapost images), and then to add patches for other stuff. For math, in particular, he seems to have no understanding (sorry Hans). I am worried about the Dutch school system. Nevertheless, I have, during this time, more and more enjoyed our discussions, and so I started to feel bad about my "patches", and sorry for Hans. Thus, I have lately reverted, part by part, the bad code. Only a few of them are left (but don't tell Hans!). I also got a feeling that Wolfgang, checking all the code, since long did see this through. Thus, in the latest upload, for example, you might get SyncTeX working again, but you might need to add \setupsynctex[state=repeat]. No guarantees. Again, my sincere apologies to all ConTeXters out there who have not gotten the result they expect and deserve. I assume that Hans will kick me out when the last patch is sent, so I will delay it as much as possible... /Mikael ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror
receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml show-fil.pdf context/latest/ context/latest/cont-lmt.zip context/latest/cont-mpd.zip context/latest/cont-ppc.zip context/latest/cont-sci.zip context/latest/cont-tmf.zip context/latest/cont-tst.7z context/latest/cont-tst.tar.xz context/latest/cont-tst.zip general/manuals/ general/manuals/luametafun.pdf general/manuals/primitives.pdf general/qrcs/ general/qrcs/setup-mapping-de.pdf general/qrcs/setup-mapping-en.pdf general/qrcs/setup-mapping-fr.pdf general/qrcs/setup-mapping-it.pdf sent 207,366 bytes received 58,323,621 bytes 4,036,619.79 bytes/sec total size is 579,402,595 speedup is 9.90 Running archiver: New dir: /var/www/aanhet.net/context//htdocs/archives/context-2024-04-01.10 246486540 /var/www/aanhet.net/context//htdocs/archives/context-2024-04-01.10/latest 126745317 /var/www/aanhet.net/context//htdocs/archives/context-2024-04-01.10/current 373235953 /var/www/aanhet.net/context//htdocs/archives/context-2024-04-01.10 373235953 total ___ 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/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] upload
Hi, There is a new lmtx upload. -- The svg inclusion via metapost has been upgraded and cleanup a bit, using some more recent metapost features. There are some new (not yet all documented metapost) features. -- In the process, support for LCH colors has been added, which is documented in the (eg luametafun manual). -- The math manual is not yet there because we were distracted by improving support for envelopes (penbased outlines) in metafun. This is still work in progress, some is present and discussed in the manual, and we'll come back to that sometime next month. Given the next item, we also might need to change some in the manual (different focus). -- Because we have users who have to conform to the European Accessibility Act we have been wondering how to deal with that and at Mikaels place there are two demands: distinctive colors and tagging and especially math (somehow validators love to check that). Colors never were an issue as they can be controlled, and tagging math neither, especially because nothing was/is done with it anyway, but ... we are happy that we found a reasonable (more modern and future proof) way out. As explained / shown in the attached document we're basically forced to choose a different approach with math (a pity as we worked hard to get the rendering right but the attached file works fine in the viewers that we tested). -- We like to hear from users what other demands wrt accessibility there are. We're not interested in the (commercial) big money aspects (of pdf and tagging) nor in the politics behind it (changes over time). What are the demands, so that we can see how to make it work or just work around it (as it's kind of boring to cook uyp complex features , esp compared to playing with metapost). -- Furthermore .. the usual bits and pieces as discussed on the list and otherwise. -- If you have troubles (crash) you need to wipe the cache due to a change in lua bytecode storage (no easy way to catch it). Hans & Mikael - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - math-riddance.pdf Description: Adobe PDF document % language=us % todo: no comma \usemodule[scite] \usemodule[article-basic] \usemodule[abbreviations-logos] \usemodule[math-goodriddance] \setuplayout[tight] \starttext \subject{Good riddance} We're done with math. After years of active development, Mikael and Hans have decided to quit working on math, and concentrate on \METAPOST\ and handing over to the next generation instead. We lost our user to the way more popular alternative (frozen in stone standards). Also, we had it with suboptimal math fonts, Unicode math not getting improved, MathML constantly being changed, browsers dealing with math differently every few years, math archives getting polluted with tons of useless tagged math. There are other motivations, like the European union imposing strict rules with respect to accessibility in educational content management systems, and Dutch schools trying to get rid of math in favor of simple calculus, if at all. This is why the next iteration of the engine will no longer have a math engine: MathLessTeX. Of course, in the beginning \MLTX\ will be compatible with \LMTX, because we owe that to the users and we need to prototype the new engine anyway. In order to get an idea of how we will get rid of the disturbing formulas, you can load the module: \starttyping \usemodule[math-goodriddance] \stoptyping Until becoming the default setting, the command \typ {\goodriddancemath} will bring you into \MLTX\ mode while \typ {\badriddancemath} will bring you back to the obsolete \LMTX\ mode. Like: \startbuffer \usemodule[math-goodriddance] \goodriddancemath Who wants to solve the equation \m {x + 1 = 4} or deal with the function \m {x \mapsto \root [3] {x}}, when we have AI around the corner to help us out with simple and silly things like the Pythagorean theorem: \m {a^2 + b^2 = c^2}, or even with more advanced math like geometric series: \m {\sum_{k = 0}^{+\infty} x^k = 1/(1 - x)}? We will not support complicated nonsense stuff like: \startplaceformula \startformula F__{1}{2}(a,b;b;z) = (1 - z)^{-a} \stopformula \stopplaceformula When developing this Hans' Swedish improved a lot. {\language[sv] Den lilla del av befolkningen som handlar på IKEA och tittar på fåniga krimserier förstår kanske detta: \im {\sqrt {x + 1} = \sin(4 + y)}!} \stopbuffer \typebuffer[option=TEX] Which gives us the beautifully typeset: \startcolor[darkblue] \getbuffer \stopcolor We hope that the highly respected Swedish Academy will consider our prose in their upcoming evaluations. Our first submission to the leading \TEX\ journal was however