[NTG-context] TUG 2024: Hàn Thế Thành talk just now
https://www.youtube.com/c/texusersgroup ___ 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] TUG meeting live
https://youtube.com/c/texusersgroup Live from today until sunday -- luigi ___ 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] Building OpenType math fonts
https://github.com/notofonts/math/blob/main/documentation/building-math-fonts/index.md by Khaled Hosny -- luigi ___ 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] Zed editor
https://zed.dev/ It supports Tree-sitter. -- luigi ___ 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] https://behdad.org/text2024/
https://behdad.org/text2024/ A lot of stuff. -- luigi ___ 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: Japanese
[probably off-topic , my apologies ] For a project in my spare time (i.e. no deadlines) I am collecting all kind of info I can find on the net (so free/non free fonts, books , specs, images raster /vectorial..whatever) on the Kaiti (楷体) or “Regular style” https://fonts.google.com/knowledge/type_in_china_japan_and_korea/type_classification_in_cjk_chinese Any help would be greatly appreciated; there are no secrets, so we can use this ml or write to me privately, as you prefer. -- luigi ___ 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: Japanese
On Wed, 28 Feb 2024 at 20:53, Emanuel Han via ntg-context < ntg-context@ntg.nl> wrote: > Thank you all for your suggestions and contributions to the wiki. > > I don't intend to nag, but when looking at what ConTeXt is producing, I > need to state that the result is still far away from a properly typeset > Japanese text. > > So the nihongo script which comes with ConTeXt handles *line breaks / > line wrapping*. But the line break rules defined in it need a rework, > because they don't follow the standards. The standards are documented here: > https://www.w3.org/TR/jlreq/#possibilities_for_linebreaking_between_characters > , and all affected characters are listed here: > https://www.w3.org/TR/jlreq/tables/table_en3.pdf > > We have different rules, depending what kind of character is surpassing > the text width (or is in its last position). > > Rule 1: > > Before closing brackets, closing quotation marks, iteration marks, the > Prolonged sound mark and small Kana, line breaking is prohibited. > > ’”)〕]}〉》」』】ヽヾゝゞ々ーぁぃぅぇぉァィゥェォっゃゅょッャュョ etc. > > The actual programmed behaviour by the nihongo script is that, if in the > position which exceeds the line width, these characters jump to the next > line and take the previous character with them. If they're in the last > position of the line, they stay where they are. This behaviour is correct. > > Rule 2: > > After opening Brackets and opening quotation marks, line breaking is > prohibited (but not before). > > ‘“(〔[{〈《「『【 > > The actual programmed behaviour by the nihongo script is that these > characters jump to the next line and take the previous character with them. > This behaviour is wrong. They should jump to the next line without taking > the previous character with them, just like any regular character. The > difference to a regular character is that they jump already when still > within the line length, and they're in the last position of the line. The > correct behaviour can be seen in LibreOffice Writer in action. > > Rule 3: > > Comma (tōten), full width comma, full stop > > 、,。 > > The actual programmed behaviour by the nihongo script is that, if in the > position which exceeds the line width, these characters jump to the next > line and take the previous character with them. This behaviour is wrong. > They have to be put back to the end of the previous line, but beyond the > specified line length. (JIS Z 8125) (Search for "Line adjustment by hanging > punctuation" under https://www.w3.org/TR/jlreq/ ) > If they're in the last position of the line, they stay where they are. The > correct behaviour can be seen in LibreOffice Writer in action. > > Rules 4, 5, ...: > > Combinations of inseparable characters... (see > https://www.w3.org/TR/jlreq/#possibilities_for_linebreaking_between_character > ) and eventually more, which I didn't test. > > It might be useful to define three scripts nihongo_loose, nihongo_strict > and nihongo_very_strict which each implement one of the 3 cases described > here: https://www.w3.org/TR/jlreq/#addendum_a > > According the *line gap* (Otared uses \setupwhitespace[big], which is > exceeding common line gaps), I'd like to quote from > https://www.w3.org/TR/jlreq/ : > > *It is common that the line gap for the kihon-hanmen is set to a value > between half-em spacing and the one em spacing of the character frame used > for the kihon-hanmen. Half-em spacing can be chosen in cases where the line > length is short, but one em spacing or close to it is more appropriate when > the line length is longer than 35 characters.* > > I like the standard line gap which is provided by ConTeXt, which is > equivalent to \setupwhitespace*[0pt]*. Even when using ruby, it works > well. I found the best voffset for ruby to be -1.7ex. > > The *line adjustment* provided by ConTeXt by default is not meeting the > needs for Japanese (and Chinese) text, which follow a grid pattern. > Especially the last line of a paragraph is squeezed, which is "hurting the > eye". > > When characters need to jump to the next line due to previously discussed > line breaking rules, ConTeXt seems to apply "Line adjustment by > inter-character spacing expansion", which is a valid method according to > https://www.w3.org/TR/jlreq/#line_adjustment , although "Line adjustment > by inter-character spacing reduction" is preferred. > > The last point which ConTeXt is missing, when talking about Japanese > typesetting, is vertical writing. > > I know, this is a lot of work. Hopefully we can achieve with joint efforts > to make ConTeXt Japanese ready. > > If I happen to have made false statements, please accept my apology. I > tried to be of help as far as I could. I grew up in Japan and know more or > less how typeset text should look like. > > Emanuel > > It would be nice if you can put your notes above into https://wiki.contextgarden.net/Chinese_Japanese_and_Korean or in general improve/maintain that page (e.g. the links about the fonts are broken at the moment) Perhaps with
[NTG-context] LuaTeX 1.18.0
The upcoming version 1.18.0 has some changes that are not compatible with previous versions but should only apply in kpse mode: 1) the debug library is disabled; can be enabled with --luadebug 2) os.rename os.remove and lfs library functions are checked from kpse to see if the path is legal I'm sure some packages that use debug won't work without --luadebug at least. LuaLaTeX should be ok, and also ConTeXt mkiv should be ok. -- luigi ___ 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
On Wed, 14 Feb 2024 at 13:47, Hans Hagen wrote: > > Hi, > > as we're around texlive code freeze time we're also in upload mode > > - i uploaded a new lmtx > - i also added linux and windows 32 bin (as it seems to have users) > > - we're now using lua 5.5 which has one restriction (was already > announced a while ago): hm, I don't see lua 5.5 around ... perhaps Lua 5.4.5 ? -- luigi ___ 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: Using plain TeX commands in ConTeXt
On Wed, 24 Jan 2024 at 16:55, Shiv Shankar Dayal < shivshankar.da...@gmail.com> wrote: > Thanks for correcting me, Wolfgang. I meant only TeX commands not plan TeX > macros. > > TeX primitives ? -- luigi ___ 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: context version 20240118 (was: "Registerhaltigkeit")
On Thu, 18 Jan 2024 at 13:00, Thomas Meyer wrote: > What is going on? > > Yesterday I got a perfect on-grid-written document! > But today, with the newest context-version (20240118) all changed for the > worse. > > I may not get a reply to this e-mail either! > > > Am 17.01.24 um 20:57 schrieb Thomas Meyer: > > Got it. > > Was it with a huge attachment (> 100KB)? In this case I could have rejected it . -- luigi ___ 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: After Compiling the Context test, there was no PDF.
On Tue, 16 Jan 2024 at 12:49, Shiv Shankar Dayal < shivshankar.da...@gmail.com> wrote: > Please paste line no. 238 of your input file. > > On Tue, Jan 16, 2024 at 4:11 PM Ursula Hermann < > ursula.herm...@univie.ac.at> wrote: > >> Dear List, >> >> >> >> After Compiling in the Folder: >> >> >> >> This is LuaMetaTeX, Version 2.10.11 initex >> >> (C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont- >> en.mkxl(context.mkxl(syst-ini.mkxl >> ! Undefined control sequence. >> >> \immutable\defcsname\tocharacter >> \tabasciicode \endcsname {\ } % \def\^^I{\ } tab >> > maybe I am wrong, but this looks like an error of syst-ini.mkxl around line 3238 (I cannot update now ) -- luigi ___ 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] Limit of the size of the email message is 100KB.
Hi all, the ml has (as always as far as I can remember) the limit of 100KB for the maximum size of the message. I have noticed that lately several messages are over the limit, and all I can do is write to the sender and discard the message, and this could happen a couple of days later the message has been received. So...just stay within the limit, if you can. -- luigi ___ 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] Modernizing Parametric type design A case study of Nupuram Malayalam typeface
https://typoday.in/spk_papers/Santhosh_Thottingal_Typoday2023.pdf and https://twitter.com/santhoshtr/status/1577596445917470722 Long live to metapost & metafont (& mflua :-) :-) :-) ) -- luigi ___ 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: list of modules: need changes/testing/response
On Wed, 30 Aug 2023 at 20:18, Henning Hraban Ramm wrote: > Hi all, esp. module authors! > > I went through the list of modules on https://modules.contextgarden.net/ > (dl/) and the list that controls module installation for “--script > install-modules". > > I removed all font-related modules from the list (not yet from the > garden), since they’re probably all obsolete & outdated. > Consider publishing typescripts in the wiki. > > > The following modules don’t adhere to the necessary structure and need > changes: > * t-handlecsv (2023, Pablo) > * metaducks (2021, Jairo) > * presvoz (2023, Pablo) > All of them have a name directory on top of the TDS (tex, doc). > If you used a git checkout URL, please try again, for me it worked today. > > > Several modules need testing if they still work and make sense. > If their authors are present, I’d appreciate a comment if we should keep > them. I’d like to delete at least everything older than 10 years. > > * grph-downsample.lua (2019) is known to fail in current LMTX >(I hope for an integrated solution during the meeting.) >t-degrade (2018) is AFAIK an older version of it – delete? > > * high (2018) and pret-c (2018) are syntax highlighters. >Are they better than the vim and scite modules? >Does it make sense to keep/update them? > > * t-gm (2015, Luigi) > * t-gs (2015, Luigi) > gm should be included in lmtx / mkiv by means of luaffi. I cannot maintain them, you can drop them or wait for the expiration date of 2025. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] MAPS nr 53
An unmissable issue of MAPS, totally dedicated to MetaPost by Taco. Once free I will put it in the mp repository. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?
On Sun, 18 Jun 2023 at 21:56, Hans Hagen via ntg-context wrote: > On 6/18/2023 8:37 PM, Carlos via ntg-context wrote: > > On Sat, Jun 17, 2023 at 06:53:06PM +0200, Hans Hagen via ntg-context > wrote: > >> What is PFC data? > > > > The glyph containers on a table-based SFNT format > > So just shapes or pieces of shapes? > > https://hal.science/hal-02112905v1/file/article-yannis.pdf -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] knuth
On Mon, 5 Jun 2023 at 15:18, Alan Braslau via ntg-context < ntg-context@ntg.nl> wrote: > > On 04/06/23 04/06/23, 15:57, Berend de Boer via ntg-context wrote: > >> Probably some on this list already checked how well chatgpt answers > >> questions about domains one knows well and then probably noted that in > >> spite of impressive wording, one can run into quite incorrect answers. > > > > I've been using it for ConTeXt, and to be honest, it works amazingly > > well. It hallucinates sometimes, but it's such a time saver. > > Maybe someone should try asking it to write documentation/manuals? > > As a teacher, we are accustomed to seeing Google/Wikipedia/etc. > cut-and-paste nonsense; now, this nonsense appears more polished, and > our students are none the wiser. Saves them time, too! ;-) > > Who said: "the best way to economize thought is not to think at all"? > not all is bad: sometimes a textual description can replace a formalized notation, e.g. https://fosstodon.org/@t...@mathstodon.xyz/110250604086213386 I can imagine similar examples with tables. Of course a very high level text is often ambiguous (as some kind of formalized grammars, after all) but the example shows that in these cases it is better to fix something already almost ok than to typeset it from scratch. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] knuth
On Thu, 1 Jun 2023 at 11:45, Hans Hagen via ntg-context wrote: > Hi, > > Probably some on this list already checked how well chatgpt answers > questions about domains one knows well and then probably noted that in > spite of impressive wording, one can run into quite incorrect answers. > > One can get really stupid responses about tex and friends, but also can > get impressive exmapled when asked for. (I'm still planning a wrap up of > some.) > > That said, one should read: > >https://cs.stanford.edu/~knuth/chatGPT20.txt > > and this makes a pretty nice new sample file: > > It's amazing how the confident tone lends credibility to all of that > made-up nonsense. Almost impossible for anybody without knowledge > of the book to believe that those "facts" aren't authorititative > and well researched. > you can happily include the email that I have sent to you that declares that *you* are the author of MFlua and *I* have nothing to do with it (chatgpt3: as far as I know, the overall number of users+developers of MFLua in the entire solar system is exactly 1 -- me -- at least from 10 years) . For a moment I was even convinced that it was true. On the other hand, I am pretty sure that it will be able to generate perfect lualatex files for articles, reports, and later books. How and when it's more a matter of interest rather than capabilities. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Luatex 1.17.0 announcement.
(Sorry for the delay, I wanted to be sure that building phase was over) == LuaTeX 1.17.0 2023-04-29 == - A breaking backward compatibility change: by default the socket library is not enabled . The new option --socket enable the socket library as before, as also --shell-escape (without --shell-restricted); --nosocket, --no-socket , --safer disabled the library, and they have the priority in case of conflicting options. The mime library is always available; socket.sleep and socket.gettime are duplicated as os.socketsleep and os.socketgettime, both always available. The new os.kpsepopen replace io.popopen in kpse mode (i.e. when kpse_init is not zero) as it was before but the permission now cannot be changed anymore with kpse.check_permission . The function os.kpsepopen follows the same restrictions as io.popen . Thanks to Max Chernoff for debugging. --luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] [ update message ]
On Sun, 7 May 2023 at 16:05, Hans Hagen via ntg-context wrote: > On 5/7/2023 3:18 PM, vm via ntg-context wrote: > > running the sh install.sh script to update to the latest version i get a > > message: > > > > /home/vm/context/tex/texmf-linux-64/bin/luatex: unrecognized option > > '--socket' > > > > there is probably a reason for it, context seems to compile just fine. > ah, ok, so that luatex update even broke the context updater (i didn't > realize that luatex would quit on an unknown option instead of just > ignoring it) > indeed is what happens in this case : luatex emits a message and continues (as the email says: "...context seems to compile just fine.") --socket is a new option for luatex 1.17.0, where sockets are disabled by default . -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] PDF 2.0 standard documents now free
On Thu, 6 Apr 2023 at 09:02, Hans Hagen via ntg-context wrote: > On 4/6/2023 8:07 AM, luigi scarso via ntg-context wrote: > > > > > > On Thu, 6 Apr 2023 at 07:54, Henning Hraban Ramm via ntg-context > > mailto:ntg-context@ntg.nl>> wrote: > > > > Am 05.04.23 um 20:09 schrieb Hans Hagen via ntg-context: > > > On 4/5/2023 7:48 PM, Henning Hraban Ramm via ntg-context wrote: > > >> Forwarding from Mastodon: > > >> > > >> Adobe, Apryse, Foxit and PDFAssociation have partnered up and > made > > >> ISO32000-2 2020 (aka PDF 2.0), > > >> ISO/TS 32001 (Extensions to Hash Algorithm Support in ISO > > 32000-2) and > > >> ISO/TS 32002 (Extensions to Digital Signatures in ISO 32000-2) > > >> available as sponsored papers ... so **FREE**. > > >> Follow the links below; no valid email (or address) necessary: > > >> https://www.pdfa.org/sponsored-standards/ > > <https://www.pdfa.org/sponsored-standards/> > > > kind of interesting thatthe one from adobe is version 1 and the > > other one 2 > > > > > > i'll wait till it's really free .. currently it still costs EUR > > 0, so > > > one has to fill in some cart / form > > > > You can put in arbitrary data and then download. > > I don’t think it will become any more free. > > > > > > indeed, but then: why don't we put them on the wiki site / another > > free site ? > > > Any legal restrictions ? > > Probably okay as long as one doesn't resell it for EUR 0 ... > > It all looks a bit weird to me anyway "sponsored standards" esp with > sponsors mentioned on the cover instead of in thanks 'introduction'. > > What happens when the sponsors withdraw? How does that legally work with > distributing? What is there are updates (unlikely anyway). > > Indeed: here pdfa sells to you some books (at 0€ , but it's always a sale) and as a general rule you cannot put them on a public site for a free download -- and this is the case , in my opinion. So one has to fill the form with real data (personal or company), because you are agreeing on a sale. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] PDF 2.0 standard documents now free
On Thu, 6 Apr 2023 at 07:54, Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > Am 05.04.23 um 20:09 schrieb Hans Hagen via ntg-context: > > On 4/5/2023 7:48 PM, Henning Hraban Ramm via ntg-context wrote: > >> Forwarding from Mastodon: > >> > >> Adobe, Apryse, Foxit and PDFAssociation have partnered up and made > >> ISO32000-2 2020 (aka PDF 2.0), > >> ISO/TS 32001 (Extensions to Hash Algorithm Support in ISO 32000-2) and > >> ISO/TS 32002 (Extensions to Digital Signatures in ISO 32000-2) > >> available as sponsored papers ... so **FREE**. > >> Follow the links below; no valid email (or address) necessary: > >> https://www.pdfa.org/sponsored-standards/ > > kind of interesting thatthe one from adobe is version 1 and the other > one 2 > > > > i'll wait till it's really free .. currently it still costs EUR 0, so > > one has to fill in some cart / form > > You can put in arbitrary data and then download. > I don’t think it will become any more free. > > indeed, but then: why don't we put them on the wiki site / another free site ? Any legal restrictions ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] update / punctuation / math
On Sun, 2 Apr 2023 at 13:57, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> wrote: > On 4/2/23 11:19, luigi scarso via ntg-context wrote: > > On Sun, 2 Apr 2023 at 11:06, Mikael Sundqvist via ntg-context > > mailto:ntg-context@ntg.nl>> wrote: > > > > If you talk about the math font, I do not see what you mean. Daniel > > has worked a lot on his fonts, and they now work well. > > > > > > indeed the body font is not concrete opentype math but it looks very > > similar at first sight > > Hi Luigi, > > according to type-imp-concrete.mkiv, Concrete-Math.otf seems to be only > used for the math font. > > > here evince & mupdf are quite ok (evince somewhat bolder than mupdf), > > Well, evince displays it wrong (this is an already known issue with fake > bold fonts in evince/poppler, reported years ago > [https://gitlab.freedesktop.org/poppler/poppler/-/issues/645]). > > hm, 4years ago, quite old... and this is not a fake bold, this is an instance of a variable font. But yes, it seems that evince still has the same problem. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] update / punctuation / math
On Sun, 2 Apr 2023 at 10:35, luigi scarso wrote: > > > On Sat, 1 Apr 2023 at 10:28, Hans Hagen via ntg-context < > ntg-context@ntg.nl> wrote: > >> Hi, >> >> > As a side note (it's 2 april now) > the concrete font of the pdf is not rendered well both on web and t on > win/linux desktop . > No surprise, I did some experiments with mflua years ago and my > results had the same problem. > getting old... the pdf doesn't look so bad as I was used to remember https://meeting.contextgarden.net/2017/talks/2017-09-14-luigi-mflua/slides.pdf So yes , it's the instance of the variable font. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] update / punctuation / math
On Sun, 2 Apr 2023 at 11:06, Mikael Sundqvist via ntg-context < ntg-context@ntg.nl> wrote: > > If you talk about the math font, I do not see what you mean. Daniel > has worked a lot on his fonts, and they now work well. > indeed the body font is not concrete opentype math but it looks very similar at first sight (of course... ). I was deceived because I remember its shapes quite well (C ,g a ). > > If you talk about the text font, Hans changed the concrete typescript > so that it uses the variable "mono" Latin modern instead of the > concrete text font that comes from Computer modern unicode. But the > font is also boldened slightly, and perhaps that is what causes your > problem (It did look weird on my phone for half a second or so before > it "got normal"). In okular I see no problems. > > here evince & mupdf are quite ok (evince somewhat bolder than mupdf), okular looks not so good. They all have a caching-something, after the first zooms the pdf is rendered differently. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] update / punctuation / math
On Sat, 1 Apr 2023 at 10:28, Hans Hagen via ntg-context wrote: > Hi, > > As a side note (it's 2 april now) the concrete font of the pdf is not rendered well both on web and t on win/linux desktop . No surprise, I did some experiments with mflua years ago and my results had the same problem. Is it a known issue? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] ConTeXt features in pandoc 3
On Mon, 23 Jan 2023 at 08:30, juh via ntg-context wrote: > > For my own writing I was using Markdown --> Pandoc --> ConTeXt for quite > a while and was happy with it, too. Recently I switched to Org-Mode as I > started to use org-roam to organize my Zettelkasten and want to make use > of the org-mode TODO workflow states to organize the writing process. I > use org-pandoc to export from org-mode/emacs to context. I can also use > ox-context but I have difficulties to customize it to my needs. > > The main problem is that both org-pandoc and ox-context are developed by > very few people. My lisp knowledge is very limited so I have to stick > with what is there. > > Having a solid pipe from the first ideas to the print pdf would be nice. > For now I would say that the exports from org-mode are the weak element > in the chain. But if they fail I can export to Markdown and do the last > steps via Markdown --> Pandoc. > > That said I have to confess that I do more sophisticated layout things > like flyers in pure ConTeXt as it is much faster. > It would be very nice to have a paper / wiki / whatever ... about your workflow Markdown --> Pandoc --> ConTeXt using Org-Mode. In these cases, having "a working workflow" to start with is much better than nothing. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] atan2 function
On Fri, 14 Oct 2022 at 14:58, Taco Hoekwater via ntg-context < ntg-context@ntg.nl> wrote: > > > > On 14 Oct 2022, at 14:26, Alan Braslau via ntg-context < > ntg-context@ntg.nl> wrote: > > > > Are you using MP in scaled integer or in doubleprecision mode? > > > > I have not looked into the MP angle operator code, but my suspicion is > that it is based on some super-clever John Hobby scheme optimized for > scaled integer calculations. > > The scaled version of “angle” is a handwritten approximation in web, not > using > any math library. I really doubt that that code is faster than calling > atan2() > on a modern machine, but I’ve kept it in because using a lib might give > slightly > different results. > iirc, in metapost the whole scaled number system has no dependency from any external math library (I have not checked the lmtx source yet). ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] PDF viewer
On Thu, Sep 22, 2022 at 8:08 PM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > 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 > > slightly off-topic 1) gs has a new pdf viewer https://www.ghostscript.com/blog/pdfi.html but of course I think that they push on mupdf 2) EBookDroid - PDF & DJVU Reader is a very nice pdf viewer for android, especially on 10" tablets. It's based on mupdf. It seems that mupdf is more suited to be embedded into / used for embedding other programs: latest mupdf (1.20, iirc) has a js console and I think you can interact with the viewer -- sort of the js console of the browser; I haven't seen how yet, perhaps you can add objects on the fly to the documents, in this case one can think of embedding a small luatex (no harms, after all mupdf it's already a big binary) and add (pdf)objects by scripting. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)
On Mon, Jul 25, 2022 at 7:52 PM Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> wrote: > > Sadly, as already reported, LuaTeX doesn’t work on Linux anymore. > > hm at least luatex on x86-64 is still ok, as far as I know. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Luatex 1.15.0 announcement.
== LuaTeX 1.15.0 2021-12-31 == New primitive \matheqdirmode. By default the short skip detection is not adapted to r2l typesetting and that hasn't been the case since the start of the project. Changing it could break hacks that users came up with but when you set \matheqdirmode to a positive value direction will be taken into account. Several bug fixes (see ChangeLog). -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] LuaMetaLa(!)TeX
On Sun, Feb 13, 2022 at 11:33 AM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > WTF, someone wrote a LaTeX format for LuaMetaTeX already 3 years ago: > https://github.com/zauguin/luametalatex > > > sure -- he is not "someone", we know Marcel . -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] XMP metadata schema yields invalid PDF/A
On Sat, Feb 5, 2022 at 1:33 PM luigi scarso wrote: > > > On Sat, Feb 5, 2022 at 1:28 PM Karl Pettersson > wrote: > >> >> > >> > From what I understand, ConTeXt applies a custom Dublin Core schema >> > containing just a redefinition of dc:description, which is not coherent >> > with how dc:description is written by the application. >> > >> > This patch to lpdf-pda.xml removes the validation error. >> > >> >> Sorry, diff the other way round according to diff original new. >> > > indeed.. > Ok, now I see. Need to check some things . > -- > luigi > Following https://www.pdfa.org/wp-content/until2016_uploads/2011/08/pdfa_metadata-2b.pdf I think we should replace Text with Lang Alt -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] XMP metadata schema yields invalid PDF/A
On Sat, Feb 5, 2022 at 1:28 PM Karl Pettersson wrote: > > > > > From what I understand, ConTeXt applies a custom Dublin Core schema > > containing just a redefinition of dc:description, which is not coherent > > with how dc:description is written by the application. > > > > This patch to lpdf-pda.xml removes the validation error. > > > > Sorry, diff the other way round according to diff original new. > indeed.. Ok, now I see. Need to check some things . -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] XMP metadata schema yields invalid PDF/A
On Sat, Feb 5, 2022 at 9:48 AM Karl Pettersson wrote: > > Attach metadata xml for the non-validating and validating example > (extraced with `pdfinfo -meta | xmllint format -`) in the > Github issue. > > Here is a reference to the description element. Note that only > description seems to be redefined, not title. > it's not redefined -- it's dropped. And this is ok. You can also check with FOO TITLE and again it's valid. But https://www.iso.org/obp/ui/#iso:std:iso:19005:-1:ed-1:v2:cor:1:v1:en and https://www.iso.org/obp/ui/#iso:std:iso:19005:-1:ed-1:v2:cor:2:v1:en:tab:1 suggest that dc:description and dc:title are of the same type, which is coherent with XMPSpecificationPart1.pdf as in https://github.com/adobe/XMP-Toolkit-SDK/tree/main/docs I.e. these are correct -- but Subject must agree with dc:description TITLE At least, this is what I understand. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] XMP metadata schema yields invalid PDF/A
On Fri, Feb 4, 2022 at 11:11 PM Karl Pettersson via ntg-context < ntg-context@ntg.nl> wrote: > On Fri, Feb 04, 2022 at 10:25:27PM +0100, Hans Hagen via ntg-context wrote: > > On 2/4/2022 7:29 PM, Karl Pettersson via ntg-context wrote: > > > Hi > > > > > > PDF/A files generated using ConTeXt fail validation with veraPDF, and > > > the reason seems to be that the dc:description metadata is defined with > > > the wrong type in the embedded XMP extension schema. > > > > > > > https://tex.stackexchange.com/questions/632380/generate-pdf-a-with-context > > > > > > https://github.com/veraPDF/veraPDF-library/issues/1224 > > > > > > I can reproduce the problem using TeX Live 2021 (MkIV 2021.03.05). The > > > definition seems to be controlled by this code. > > > > > > > https://source.contextgarden.net/tex/context/base/mkiv/lpdf-pua.xml?search=rdf#l81 > > so "dc:description" is not permitted? it is mentioned in > > > > > https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/elements/1.1/description > > > > (btw it never failed before) > > The description element is permitted, but the problem seems to be that > its valueType is defined as Text in the embedded schema, while the > metadata element in the PDF has an embedded xml:lang="x-default"> structure. > > > https://github.com/veraPDF/veraPDF-library/issues/1224#issuecomment-1029932963 > > (I suppose the reference to "title" in the issue comment should be > "description".) > > Validating with veraPDF <1.20 does not raise the error. The validation > seems to have changed for redefined types in that version. > > > https://github.com/veraPDF/veraPDF-library/blob/integration/RELEASENOTES.md#validation I am missing something here... true FOO makes a valid pdf 3a with verapdf 1.20.1. But dc:description is like dc:title, so where we are redefining dc:description as Text ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] XMP metadata schema yields invalid PDF/A
On Fri, Feb 4, 2022 at 10:26 PM Hans Hagen via ntg-context < ntg-context@ntg.nl> wrote: > On 2/4/2022 7:29 PM, Karl Pettersson via ntg-context wrote: > > Hi > > > > PDF/A files generated using ConTeXt fail validation with veraPDF, and > > the reason seems to be that the dc:description metadata is defined with > > the wrong type in the embedded XMP extension schema. > > > > > https://tex.stackexchange.com/questions/632380/generate-pdf-a-with-context > > > > https://github.com/veraPDF/veraPDF-library/issues/1224 > > > > I can reproduce the problem using TeX Live 2021 (MkIV 2021.03.05). The > > definition seems to be controlled by this code. > > > > > https://source.contextgarden.net/tex/context/base/mkiv/lpdf-pua.xml?search=rdf#l81 > > so "dc:description" is not permitted? it is mentioned in > > > https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/elements/1.1/description > > and also in XMPSpecificationPart1.pdf https://github.com/adobe/XMP-Toolkit-SDK/tree/main/docs dc:description Language Alternative DCMI definition: An account of the resource. XMP addition: XMP usage is a list of textual descriptions of the content of the resource, given in various languages. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Critical Editions?
On Fri, Jan 7, 2022 at 6:25 PM hanneder--- via ntg-context < ntg-context@ntg.nl> wrote: > > Probably the situation in South Asian Studies (Indology) is peculiar. > As I indicated, there are mostly no budgets for book typesetting in > Indology and > I know of no real expert for typesetting in this field. In other > words, the authors > have do it themselves, usually in Word etc., but some do use TeX etc. > Our publications > series (Indologica Marpurgensia) is, for instance, all done with > LaTeX, as are my publications > with Harrassowitz, which is the largest publisher in our field in > Germany. There is no institution > offering typesetting of Sanskrit editions, because there is no > commercial interest in it and I > think there is no expertise for this (especially when Indian scripts > are used instead of transliteration). > > Journals are different. Indological journals published by Brill use > TeX internally, which is convenient, > but most others know only Word (->InDesign). That is the situation, > frustrating in a way, but it also > gives some freedom for using TeX (and, sadly, creating one's own > dilettantic designs). > > Jürgen > perhaps this can be interesting https://www.tatzetwerk.nl/ (seen them at a context meeting years ago) -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Critical Editions?
On Wed, Jan 5, 2022 at 12:54 PM Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> wrote: > On 1/5/22 9:43 AM, luigi scarso via ntg-context wrote: > > [...] > > quite old (2014), but perhaps still interesting: > > embedding of a tei-xml into a tagged pdf > > https://www.guitex.org/home/images/ArsTeXnica/AT018/teitagged.pdf > > Luigi, > > if you allow me a comment (or even a suggestion), an English version of > that article updated to LMTX wouuld be of huge help to the rest of us. > yeah, but unfortunately I have no time now. It's for luatex with poppler -- now we have pplib -- and not lmtx, so not so useful I guess. But you can try with $>pdftotext -layout teitagged.pdf and translate teitagged.txt with google. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Critical Editions?
On Wed, Jan 5, 2022 at 12:00 AM Jean-Pierre Delange via ntg-context < ntg-context@ntg.nl> wrote: > Thomas, > Even if I am an occasional user of CTX (mainly class courses for beginners > and sophomore or by trying to write samples of what it is possible to > achieve with it), and if I think I am aware about what can do CTX or what > it cannot do, I didn't know that you wrote a wiki page on TEI-XML with > ConTeXt : even if I am interested by clever printing and issues with > multi-languages texts topics, I ignored your precious piece of work. I was > interested by the questions of Pr. Jürgen Hanneder, because even if I don't > know a word of Sanskrit, it is allways a true pain to begin with technical > requisits when your real job is to think about the problematic meaning of > ancients or less ancients texts. You precise clearly what I think about > University mores, and J. Hanneder tell us his problems, which all of us > know. > There are, for people who are working on Ancient Greek, Latin, Middle Age > texts or Sanskrit (or whatever) some commercial tools which seem do the > work : but technical efficiency asks allways money. I know of a company > that works for a publisher, whose service is to code some Perl with text > formatted in LaTeX and XML, in order to produce a display on screen and a > printout on paper, until the page which presents the cover of the book and > the summary of the contents, as well as its ISBN code, its price and the > quantity of books in stock. > quite old (2014), but perhaps still interesting: embedding of a tei-xml into a tagged pdf https://www.guitex.org/home/images/ArsTeXnica/AT018/teitagged.pdf -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE
On Mon, Aug 30, 2021 at 12:48 PM Rainer J.H. Brandt via ntg-context < ntg-context@ntg.nl> wrote: > luigi scarso via ntg-context writes: > > > > On Fri, Aug 27, 2021 at 10:35 AM Rainer J.H. Brandt via ntg-context < > > > > ntg-context@ntg.nl> wrote: > > > > > The TeXlive documentation says that ConTeXt uses TEXMFCACHE, > > > > > which uses the default $TEXMFSYSVAR;$TEXMFVAR in my texmf.cnf. > > > > > My TEXMFSYSVAR is /var/opt/texlive, but ConTeXt doesn't use it. > > > > > hm, my > > $> mtxrun --variables > > says > > resolvers | lists | TEXMFCACHE > > resolvers | lists | env: unset > > resolvers | lists | var: TEXMFCACHE > > resolvers | lists | exp: > > selfautoparent:texmf-var;home:.texlive2021/texmf-var > > > > and it's ok. So perhaps your selfautoparent it's not ok. > > I will check that. > > But, as I said, my texmf.cnf sets TEXMFCACHE to $TEXMFSYSVAR;$TEXMFVAR, > and TEXMFSYSVAR is /var/opt/texlive. Why is that ignored? > look at texmfcnf.lua -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE
On Mon, Aug 30, 2021 at 11:49 AM Rainer J.H. Brandt via ntg-context < ntg-context@ntg.nl> wrote: > Hello Luigi, > > you asked: > > On Fri, Aug 27, 2021 at 10:35 AM Rainer J.H. Brandt via ntg-context < > > ntg-context@ntg.nl> wrote: > > > > > Dear experts, > > > > > > I want to use ConTeXt MkIV as supplied by TeXlive 2021. > > > After installation, I ran "mtxrun --generate". > > > I also tried "context --generate". > > > Both create output in the wrong place. > > > > > > The TeXlive documentation says that ConTeXt uses TEXMFCACHE, > > > which uses the default $TEXMFSYSVAR;$TEXMFVAR in my texmf.cnf. > > > My TEXMFSYSVAR is /var/opt/texlive, but ConTeXt doesn't use it. > > > Instead, it creates /opt/texmf-var and creates its output there. > > > I don't understand why it used that path; I've never used or configured > > > it. > > > > > > How can I convice ConTeXt to use TEXMFSYSVAR? > > > [...] > > > > What does > > $> tlmgr conf > > say ? > > The output is appended below and looks reasonable. In particular, it shows > that I installed under /opt/local/share/texlive and doesn't mention the > "mtxrun --generate" output path /opt/texmf-var at all. > > Please note that I don't use tlmgr and also that I didn't use the TeX Live > installer. I built the binaries from their sources and then installed > the rest from the texmf archive file. I use other engines on a daily basis, > mostly pdflatex, and they work flawlessly. > > Thanks, Rainer > > hm, my $> mtxrun --variables says resolvers | lists | TEXMFCACHE resolvers | lists | env: unset resolvers | lists | var: TEXMFCACHE resolvers | lists | exp: selfautoparent:texmf-var;home:.texlive2021/texmf-var and it's ok. So perhaps your selfautoparent it's not ok. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE
On Fri, Aug 27, 2021 at 10:35 AM Rainer J.H. Brandt via ntg-context < ntg-context@ntg.nl> wrote: > Dear experts, > > I want to use ConTeXt MkIV as supplied by TeXlive 2021. > After installation, I ran "mtxrun --generate". > I also tried "context --generate". > Both create output in the wrong place. > > The TeXlive documentation says that ConTeXt uses TEXMFCACHE, > which uses the default $TEXMFSYSVAR;$TEXMFVAR in my texmf.cnf. > My TEXMFSYSVAR is /var/opt/texlive, but ConTeXt doesn't use it. > Instead, it creates /opt/texmf-var and creates its output there. > I don't understand why it used that path; I've never used or configured > it. > > How can I convice ConTeXt to use TEXMFSYSVAR? > > Or is this a question for the TeXlive folks? > > Thanks for looking at this. > What does $> tlmgr conf say ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt exporter for Org Mode
On Tue, Aug 10, 2021 at 10:01 AM Jason Ross via ntg-context < ntg-context@ntg.nl> wrote: > Hello, > > I have developed a ConTeXt exporter for Org Mode. It is available at > https://github.com/Jason-S-Ross/ox-context > > The exporter provides custom environments for each Org Mode entity > in an effort to make customization easier, in contrast to the Pandoc > exporter which uses built-in environments for document elements. > > I appreciate any feedback. > Perhaps just add a README.md that explains how to install it, and a short example. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] lmtx upload
On Thu, Jun 24, 2021 at 7:29 PM Hans Hagen wrote: > Hi, > > I uploaded a new version. I got sidetracked by an experiment. We can > read from zip files, but as I had some tar archives I wondered if we > could read from them. They happened to be compressed. It uses an already > present infrastructure (early mkiv I played a bit with reading from zip > files). > > libarchive looks quite useful http://libarchive.org/ (see https://docs.microsoft.com/en-us/virtualization/community/team-blog/2017/20171219-tar-and-curl-come-to-windows ) -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .
On Thu, Jun 17, 2021 at 11:33 AM luigi scarso wrote: > > > On Wed, Jun 16, 2021 at 10:53 PM Alan Braslau > wrote: > >> On Wed, 16 Jun 2021 17:14:22 +0200 >> luigi scarso wrote: >> >> > > Did you try this one? >> > > >> > > http://www.xpdfreader.com/download.html >> > >> > >> > I doesn't workunder ubuntu 20.04 >> > libicudata.so.56 => not found >> > I have libicudata.so.66 >> >> The ubuntu package must be built incorrectly, for I have >> /usr/local/lib/libicudata.so.69 >> and xpdf works fine (freebsd). >> >> Alan >> > > > Hm, I think you have libicui18n.so.56 installed somewhere or your copy is > using the "69" version. > > $> export LD_DEBUG=all; ./xpdf &>out ; unset LD_DEBUG > says > 1525647: file=libicui18n.so.56 [0]; needed by > /tmp/xpdf/xpdf/XpdfReader-linux64-4.03/lib/libQt5Core.so.5 [0] > 1525647: find library=libicui18n.so.56 [0]; searching > : > : > : > 1525647: > ./xpdf.bin: error while loading shared libraries: libicui18n.so.56: cannot > open shared object file: No such file or directory > > OK, in my case it seems that I don't need the libQt*so under lib/. So I have renamed it as _lib, and now xpdf runs ok. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .
On Wed, Jun 16, 2021 at 10:53 PM Alan Braslau wrote: > On Wed, 16 Jun 2021 17:14:22 +0200 > luigi scarso wrote: > > > > Did you try this one? > > > > > > http://www.xpdfreader.com/download.html > > > > > > I doesn't workunder ubuntu 20.04 > > libicudata.so.56 => not found > > I have libicudata.so.66 > > The ubuntu package must be built incorrectly, for I have > /usr/local/lib/libicudata.so.69 > and xpdf works fine (freebsd). > > Alan > Hm, I think you have libicui18n.so.56 installed somewhere or your copy is using the "69" version. $> export LD_DEBUG=all; ./xpdf &>out ; unset LD_DEBUG says 1525647: file=libicui18n.so.56 [0]; needed by /tmp/xpdf/xpdf/XpdfReader-linux64-4.03/lib/libQt5Core.so.5 [0] 1525647: find library=libicui18n.so.56 [0]; searching : : : 1525647: ./xpdf.bin: error while loading shared libraries: libicui18n.so.56: cannot open shared object file: No such file or directory -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .
On Tue, Jun 15, 2021 at 9:00 PM Hans Hagen wrote: > On 6/15/2021 8:47 PM, luigi scarso wrote: > > > > > > On Tue, Jun 15, 2021 at 8:29 PM Hans Hagen > <mailto:j.ha...@xs4all.nl>> wrote: > > > > On 6/15/2021 7:53 PM, Alan Braslau wrote: > > > On Tue, 15 Jun 2021 13:07:04 +0200 > > > Hans Hagen mailto:j.ha...@xs4all.nl>> wrote: > > > > > >> the windows mupdf viewer is somewhat crippled (no selection) but > > >> searching for something shows the right bbox > > > > > > I do not know about Windows ports, but mupdf and mupdf-gl differ, > not > > > only in their rendering but also in their keystrokes and mouse > > bindings. > > > > > > mupdf-gl (the advanced one) uses opengl, but unfortunately it breaks > > when the drivers are updated; > > mupdf uses x11, and it's much more stable. > > To be honest, under ubuntu okular and evince are still better than mupdf. > Did you try this one? > > http://www.xpdfreader.com/download.html I doesn't workunder ubuntu 20.04 libicudata.so.56 => not found I have libicudata.so.66 -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .
On Tue, Jun 15, 2021 at 8:29 PM Hans Hagen wrote: > On 6/15/2021 7:53 PM, Alan Braslau wrote: > > On Tue, 15 Jun 2021 13:07:04 +0200 > > Hans Hagen wrote: > > > >> the windows mupdf viewer is somewhat crippled (no selection) but > >> searching for something shows the right bbox > > > > I do not know about Windows ports, but mupdf and mupdf-gl differ, not > > only in their rendering but also in their keystrokes and mouse bindings. > mupdf-gl (the advanced one) uses opengl, but unfortunately it breaks when the drivers are updated; mupdf uses x11, and it's much more stable. To be honest, under ubuntu okular and evince are still better than mupdf. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .
On Tue, Jun 15, 2021 at 9:13 AM Hans Hagen wrote: > On 6/15/2021 12:21 AM, Richard Mahoney wrote: > > Thank you very much for this Hans. And especially for resolving > > what looks like quite a complex issue in next to no time. > > > > As it happens I've found LMTX just fine for "production", so long as > > I keep copies of a few versions that I know are working well. > > > > I settled on SciTE a long time ago and tend to keep a few start > > up scripts that make reverting to a previous version simple: > > > > -r-x-- 1 rbm49 rbm49 210 Dec 20 16:54 SciTE-start-lmtx-20200920.sh > > -r-x-- 1 rbm49 rbm49 210 Jun 13 22:04 SciTE-start-lmtx-20210509.sh > > -rwx-- 1 rbm49 rbm49 210 Jun 15 08:50 SciTE-start-lmtx-latest.sh > > btw, When testing your example I noticed that sumatra pdf (which i use > as viewer) doesn't handle selecting the cjk text well. I looked at the > source (on github) and get the impression that it might be some font > bbox issue (these asian fonts have hugee bboxes); (also old) acrobat and > browsers do fine as does an old windows okular I have installed. > > Does anyone know of a minimalistic mupdf based pdf viewer that has a > decent gui but not all this (semi) epub, xps, reflow, etc stuff on > board? Just the mupdf pdf core. > perhaps the mupdf app for android. Another one is evince for windows: https://portableapps.com/apps/office/evince_portable -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Incorrect sorting in \completelistofabbreviations for numbers
On Thu, Jun 10, 2021 at 11:39 AM Markus Brandt < markus.bra...@sit.tu-darmstadt.de> wrote: > yes, seems like they are sorted by tag. But that’s not useful, since you > cannot use numbers in a tag. This tag is just the workaround for > abbreviations that include numbers. > > > \abbreviation[0123]{123}{One, Two, and Three} \abbreviation{ABC}{A, B, and C} \abbreviation{ZYX}{Z, Y, and X} \starttext \csname 0123\endcsname \completelistofabbreviations[criterium=all] \stoptext -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Incorrect sorting in \completelistofabbreviations for numbers
On Thu, Jun 10, 2021 at 11:08 AM Markus Brandt < markus.bra...@sit.tu-darmstadt.de> wrote: > Hi everyone, > > I think I've found a sorting bug in \completelistofabbreviations in the > latest LMTX (and probably also MKIV). When using this minimal example > > \abbreviation[OTT]{123}{One, Two, and Three} > \abbreviation{ABC}{A, B, and C} > \abbreviation{ZYX}{Z, Y, and X} > > \starttext > \completelistofabbreviations[criterium=all] > \stoptext > > I get > > ABCA, B, and C > 123One, Two, and Three > ZYXZ, Y, and X > > Numbers should go before letters. Do you know any workaround/fix for > that? > aren't they sorted by the tag ? By default the synonim is the tag; only the first one has an explicit tag (OTT) so the order is ABC, OTT, ZXY, which looks ok. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] LMTX install
Il Dom 23 Mag 2021, 12:14 jbf ha scritto: > Then something is not making sense (to me). > > .bashrc clearly shows: export > PATH=$PATH:/home/me/bin/context/tex/texmf-linux-64/bin, so does that not > mean that bin can be found via the path? So why does 'context > myfile.tex' not work? > > If I run a full path (. > /home/me/bin/context/tex/texmf-linux-64/bin/mtxrun context myfile.tex) I > get the message 'cannot execute binary file' and yet mtxrun is > executable. I checked. Clearly I am making a basic error, but cannot > work out what. > > Julian In general I always set export PATH=:$PATH > -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \char not working with private unicodes
On Tue, May 11, 2021 at 3:41 PM Taco Hoekwater wrote: > > > > On 11 May 2021, at 15:16, Hans Hagen 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 > < > https://tex.stackexchange.com/questions/596610/how-to-use-luatex-with-large-unicode-codepoint>, > I tried to replicate it in ConTeXt. Both LMTX and LMTX fail to display the > right symbol and, as it's discussed in the linked page, there's an offset > by 14. Is this intentional (in ConTeXt)? A bug? Minimal (non-)working > example: > >> %Font available here: https://materialdesignicons.com/ < > https://materialdesignicons.com/> > >> \starttext > >> \definedfont[file:materialdesignicons-webfont.ttf]\char"F1372\relax > >> \stoptext > > You need to employ a sense of humour for that font: > > > > \starttext > >\definefontfeature[materialicons][default][rlig=yes] > >\definedfont[file:materialiconsregular.ttf*materialicons] > >baby_changing_station > > \stoptext > > That only works with the regular font, not with the webfont version from > the ‘easy download’ > link (it is cool, though :)). > > But that is not the issue. The issue is that you have this super-useful > page online: > > https://pictogrammers.github.io/@mdi/font/5.4.55/ > > another link for the records, just in case https://www.nerdfonts.com -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Adjusting parameters for a single page
On Tue, May 11, 2021 at 10:29 AM wrote: > -Ursprüngliche Nachricht- > > Von: Hans Hagen > > Gesendet: Dienstag, 11. Mai 2021 00:13 > > An: mailing list for ConTeXt users ; Maier, Denis > > Christian (UB) > > Betreff: Re: [NTG-context] Adjusting parameters for a single page > > > > On 5/10/2021 5:15 PM, denis.ma...@ub.unibe.ch wrote: > > > Hi everyone, > > > > > > I know it is possible to make local changes by enclosing text in > > > \start \stop pairs to make local changes. Then, there are also > > > commands that only affect the next/current paragraph, such as > \looseness. > > > > > > But is there a similar mechanism for page-layout changes? For example > > > your penalty settings allow widows and orphans, but on one particular > > > page you want to change the penalties. Or, you use > > > \setupalign[height], but on one page you want to use > > > \setupalign[bottom] instead. Is there a way to do this ? > > it works per paragraph so then you need to adapt it for a specific > paragraph > > So, that means you cannot make changes to a page, but only to paragraph. > If a paragraph goes over page boundaries, you cannot add stretch or shrink > interlinespace for just one page... correct? > this looks more a otr technique, e.g. https://www.tug.org/TUGboat/tb11-1/tb27salomon.pdf (or grep the context code for otr) -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] simpleslides gives 'input stack overflow'
On Sun, May 9, 2021 at 11:25 PM Adam Reviczky wrote: > Hi, > > Looks like it is a problem with "StartPage" and "StopPage" in metapost. > > I get the same error with any MP graphic using those commands. > > More minimal example (without simpleslides) as per the wiki: > https://wiki.contextgarden.net/Cover_Pages > > colors > 'rgb' color space is supported > colors > 'cmyk' color space is supported > fonts > preloading latin modern fonts (second stage) > fonts > 'fallback modern-designsize rm 12pt' is loaded > metapost> initializing instance 'metafun:1' using format 'metafun' > and method 'default' > metapost> loading 'metafun' as > '/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method > 'default' > metapost> initializing number mode 'scaled' > input stack overflow > mtx-context | fatal error: return code: 256 > > Commenting out "StartPage" and "StopPage" compiles. > > mtx-context | current version: 2021.05.09 17:14 > This is LuaTeX, Version 1.14.0 > Development id: 7438 > it should be ok now in Development id: 7439 (just for the records) -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to write readable source files?
On Sat, Apr 24, 2021 at 11:53 AM Jan U. Hasecke wrote: > > Hi all, > > how do you format your ConTeXt source files? > > I recently discovered prettier which reformats source files for > different markup > and programming languages such as html, markdown, json etc. > > There are some other tools around but I don't find anything for ConTeXt. > > Do you know of any prettifying tool? > > Is there a best practice for ConTeXt source files, at all? > > you should consider that in TeX (but also in Python, for example) spaces matter. Sometimes unwanted results are triggered by unseen blanks, and they are hard to discover. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug: missing Lua API in binaries
On Sat, Apr 24, 2021 at 1:33 AM Sylvain Hubert wrote: > You're right, I just checked the symbols of luatex and they contain all > the APIs of lua 5.3. > So I guess the problem is specific to luametatex and the latest context. > > > but in any case you should compile against the luatex headers, not the > stock lua 5.3.6. > > Does luatex have dedicated headers different from the ones for stock lua? > There are some small differences, because we had to harmonize luajit and lua . -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug: missing Lua API in binaries
On Fri, Apr 23, 2021 at 10:08 PM Sylvain Hubert wrote: > Dear Devs, > > Sorry if this is not the best place for reporting bugs. > > I'm trying to use the lpeglabel library written in C and delivered as > lpeglabel.so. > > $ ls > testlabel.lua lpeglabel.so > $ cat testlabel.lua > require("lpeglabel") > > The ConTeXt binary cannot load the library because it lacks certain Lua > API: > > $ context --forcecld --permitloadlib testlabel.lua > ... > fatal lua error: > registered function call [1542]: > ...tx/tex/texmf-context/tex/context/base/mkiv/l-package.lua:348: error > loading module 'lpeglabel' from file './lpeglabel.so': > ./lpeglabel.so: undefined symbol: lua_gettop > > hm, lua_gettop is a global symbol in latest luatex, it's not undefined... > > nor does LuaTeX: > $ luatex -luaonly testlabel.lua > error loading module 'lpeglabel' from file './lpeglabel.so': > ./lpeglabel.so: undefined symbol: lua_getiuservalue > > lua_getiuservalue is in lua 5.4 API, luatex is lua 5.3.6 API but in any case you should compile against the luatex headers, not the stock lua 5.3.6. I don't know lpeglabel, but luatex has the lpeg embedded and perhaps it can clash with the library. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Luatex 1.13.1 announcement.
== LuaTeX 1.13.1 2021-04-02 == Fixed an unwanted space in btex etex in metapost, introduced after a patch for troff. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Luatex 1.13.0 announcement.
== LuaTeX 1.13.0 2021-03-12 == This is the release for TeX live 2021. Callback for nesting level used in tracingmacros. It is is a variant of \tracingstacklevels by Petr Olsak implemented in pdftex and xetex. Two TeX January 2021 DEK buglet fixes (H.Hagen) Mark math glyphs as protected (in order to prevent processing as text in base mode). Removed width/ic compensation for traditional math code path. When restricted system commands is enabled os.setenv has no effect. Minor clean-up and bugs fixed (see ChangeLog) -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] composing commands
On Fri, Feb 5, 2021 at 11:47 PM Hans Hagen wrote: > > never call a diaeresis an umlaut and vise versa ... hm latin is vice versa (or versa vice) italian is viceversa english is vice versa https://forvo.com/word/vice_versa/ I think that the latin one is the classic (or "restituta") pronunciation, the ecclesiastic should be more or less like the italian . -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] midi
On Thu, Feb 4, 2021 at 4:16 AM Fabrice L wrote: > > I usually do images ; if you or the list ever want to see more, the site > https://art-aleatoire.com is to show my work, and all you can see there > is made by me using 100% MetaFun, with sometimes the help of you and the > list, and all the time the help of your wonderful MetaFun manual. I’m often > so much impressed by what could be done with a couples of lines of MetaFun > code; life is made from DNA, art (perhaps illustrations would be a better > world) could be made by the MetaFun « randomized » function. > > « art-aleatoire » is french, and can be translated to « random art ». So > the function I use the most in MetaFun is « randomized » ! > > https://www.contextfreeart.org/index.html So the next challenge is implementing CFDG with lpeg... and then post to gigapixels https://artsandculture.google.com/project/gigapixels -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] dutch calendars 3 months
On Tue, Jan 5, 2021 at 1:14 PM Taco Hoekwater wrote: > > > Being Dutch, I never realised there was such a thing as a “Dutch > calendar”. > > These are just calendars? What makes them “Dutch” from an Italian > viewpoint? > > Best wishes, > Taco > > The reference site treccani says https://www.treccani.it/vocabolario/olandese/ Calendario o., quello formato da 12 o 6 fogli contenenti ciascuno uno o due mesi con i giorni disposti in colonna, che si appende alla parete. So, a wall calendar with 12 or 6 sheets, each one within one or two months, but the canonical form is with 12 sheets with the previous month on the left, the current month at the center and the next month on the right, each one with the days in a single column. Of course there are now many variations, but the canonical form is the better one. I don't know the origin of the term. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] dutch calendars 3 months
I guess this is a challenge for Willi : a module to typeset "dutch calendars" as in https://www.calendari.it/ (I am not involved at all with the site, it's the first I have found ) I like the slim version, with 3 months, the saint(s) of the day, the moon phases, the week number, the day from the beginning and to the end of the year -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Off-topic: Struggles with LPEG grammar
On Mon, Dec 21, 2020 at 2:36 PM Taco Hoekwater wrote: > > > > On 21 Dec 2020, at 14:08, Mojca Miklavec > wrote: > > > > Dear Taco, > > > > On Mon, 21 Dec 2020 at 13:46, Taco Hoekwater wrote: > >>> On 21 Dec 2020, at 13:16, Mojca Miklavec wrote: > >>> > >>> My only explanation would be that perhaps "^1" is so greedy that the > >>> rest of the pattern doesn't get found. But I don't want to believe > >>> that explanation. > >> > >> Which (of course) means that that is exactly what happens ;) > >> > >> The ones that match are > >> > >> ababbb (a (ba+bb) b) => r4 r1(r3(r5 r4) r2(r5 r5)) r5 > >> abbbab (a (bb+ba) b) => r4 r1(r2(r5 r5) r3(r5 r4)) r5 > >> > >> With the ^1, in the “bb” cases the first “b” eats all three “b”s: > >> > >> ababbb fails the r5 at the end > >> > >> abbbab fails the first r2 already (since the second r5 therein never > happens) > > > > Is this a deliberate choice, a limitation of the grammar > > expressiveness, some misuse on my side that could/should/needs to be > > implemented in a different way, or does it count as a "bug" on the > > lpeg side? > > > > For example, I wouldn't expect a regexp "b+b" to fail on "bbb" just > > because "b+" would eat all three "b"s at once (the regexp "b+b" in > > fact finds "bbb", and I would expect a less-than-totally-greedy hit > > with lpeg as well). Or is my reasoning wrong here? > > PEGs are greedy by design, which is a consequence of the fact that PEGS do > not backtrack, which goes back to the underlying assumptive rule of PEGs > that there is one (and only one!) ‘correct’ way to parse the input. > Allowing backtracking destroys that assumption and by doing so would > complicate the system to a level that would make it comparable to PCRE > (with all the associated penalties on processing speed and a much greater > codebase). > greedy vs non-greedy is one of the things that I always keep in mind when I start with lpeg, and regularly I fail to apply -- because I think in the "perl regex way". Anyway, http://www.gammon.com.au/lpeg has some good lines: e.g. this one (from the lpeg site) find the pattern anywhere in the line: function anywhere (p) return lpeg.P { p + 1 * lpeg.V(1) } end print (lpeg.match (anywhere ("dog"), target)) -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Install Problems with 64 bit ARM Linux
On Sat, Nov 28, 2020 at 11:18 AM Hans Hagen wrote: > looks nice (specs and such) indeed, maybe as a next tablet (i haven't > tested tex on the very old nexus in a while); probably a little faster > than the rpi 4 > these also look interesting e.g. https://tinker-board.asus.com/prod_tinker-board-2s.html -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] new upload
On Thu, Nov 26, 2020 at 6:10 PM Hans Hagen wrote: > On 11/26/2020 6:07 PM, luigi scarso wrote: > > > > > > Il Gio 26 Nov 2020, 18:00 Hans Hagen > <mailto:j.ha...@xs4all.nl>> ha scritto: > > > > On 11/26/2020 5:10 PM, luigi scarso wrote: > > > > > > > > > On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen > <mailto:j.ha...@xs4all.nl> > > > <mailto:j.ha...@xs4all.nl <mailto:j.ha...@xs4all.nl>>> wrote: > > > > > > Of course, if they care about luatex cs support they > > > could send an M1 mini to Mojca for the compile farm for some > real > > > testing. > > > > > > > > > very likely luatex will run full native on M1 on next texlive, > > following > > > http://www.tug.org/mactex/aboutarm.html > > <http://www.tug.org/mactex/aboutarm.html> > > > <http://www.tug.org/mactex/aboutarm.html > > <http://www.tug.org/mactex/aboutarm.html>> > > that's with universal binaries (as happened before when apple > switched > > from powerpc to intel) > > > > > > Full native: > > """ > > Full native Arm support will arrive with MacTeX-2021 next spring. > > """ > > sure, but by using a unversal bin: > it's not bad, 13MB (or less, due the shared data) vs 6.5MB for downloading is still acceptable for the user. Of course for the provider it doubles the space, but I fear that this cannot be avoided for the next five years. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] new upload
Il Gio 26 Nov 2020, 18:00 Hans Hagen ha scritto: > On 11/26/2020 5:10 PM, luigi scarso wrote: > > > > > > On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen > <mailto:j.ha...@xs4all.nl>> wrote: > > > > Of course, if they care about luatex cs support they > > could send an M1 mini to Mojca for the compile farm for some real > > testing. > > > > > > very likely luatex will run full native on M1 on next texlive, following > > http://www.tug.org/mactex/aboutarm.html > > <http://www.tug.org/mactex/aboutarm.html> > that's with universal binaries (as happened before when apple switched > from powerpc to intel) Full native: """ Full native Arm support will arrive with MacTeX-2021 next spring. """ -- luigi > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] new upload
On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen wrote: > Of course, if they care about luatex cs support they > could send an M1 mini to Mojca for the compile farm for some real testing. > very likely luatex will run full native on M1 on next texlive, following http://www.tug.org/mactex/aboutarm.html -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Guit meeting 2020
GuIT (Gruppo Utilizzatori Italiani di TeX, official Italian TUG) is pleased to announce the GuITmeeting 2020, the 17th edition of the Italian conference on TeX, LaTeX and digital typography.   The conference, organized by GuIT and Sissa Medialab srl of Trieste, will be held online on the 31st of October 2020. Attending the conference is free of charge and it does not require registration. A link to follow the oral presentations will be published shortly on the conference official page. Authors willing to give an oral presentation are kindly requested to send their proposals in the form of a full article (in English or Italian) to arstexn...@guitex.org by the 18th of October 2020. Notification of acceptance will be sent by the 25th of October 2020. The accepted papers will be published, after a peer-review process, in the autumn issue of ArsTeXnica, the Italian journal of TeX, LaTeX. The LaTeX template for preparing the article and further details can be found at www.guitex.it/en/collabora-autori We look forward to hearing from you! https://www.guitex.org/home/en/guit-meeting-2020 A note about peer-review: at https://www.anvur.it/attivita/classificazione-delle-riviste/classificazione-delle-riviste-ai-fini-dellabilitazione-scientifica-nazionale/elenchi-di-riviste-scientifiche-e-di-classe-a/ under A. Elenco delle riviste scientifiche at area 10 (Scienze dell'antichità, filologico-letterarie e storico-artistiche / Antiquities, philology, literary studies, art history) and area 11 (Scienze storiche, filosofiche, pedagogiche e psicologiche / History, philosophy, education sciences). there is a list of scientific journals, and there also ARS TEXNICA Articles are considered valid starting from 1 january 2016. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Commands with arguments before in ConTeXt
On Sun, Jun 28, 2020 at 10:48 PM Jairo A. del Rio wrote: > I've read the following is not possible in TeX > > \def#1\macro{blabla#1} > > where arguments come before. The only partial exceptions are commands like > \atop or \over, which are in fact primitives. Is there a way to do this in > ConTeXt? > > you can build a lpeg and parse the your "extended tex" source, obtaining a valid tex source. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing on arm64
On Wed, Jun 10, 2020 at 9:07 PM Hans Hagen wrote: > On 6/10/2020 7:47 PM, luigi scarso wrote: > > > > > > On Wed, Jun 10, 2020 at 7:27 PM Hans Hagen > <mailto:j.ha...@xs4all.nl>> wrote: > > > > On 6/10/2020 7:07 PM, Lutz Haseloff wrote: > > > I think, there is simply no rule for aarch64 in install.sh > > > > > > I now patched it in a better way. > > > > ok > > > > > The binaries for aarch64 work like a charm on my device, a Samsung > > > Galaxy A50 Smartphone. > > Does that really work well? I suppose the cpu and mem is ok, but how > > about the disk. How do you edit on such a device? > > > > > > doable from years already... > > use termux > > https://play.google.com/store/apps/details?id=com.termux=it > > to run and compile, > > to cross-compile you need to setup a tool chain for android using ndk. > sure, i remember running a binary on the nexus made by harald years ago > but i think i had to root the device first > no need to root the device with termux. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Installing on arm64
On Wed, Jun 10, 2020 at 7:27 PM Hans Hagen wrote: > On 6/10/2020 7:07 PM, Lutz Haseloff wrote: > > I think, there is simply no rule for aarch64 in install.sh > > > > I now patched it in a better way. > > ok > > > The binaries for aarch64 work like a charm on my device, a Samsung > > Galaxy A50 Smartphone. > Does that really work well? I suppose the cpu and mem is ok, but how > about the disk. How do you edit on such a device? > doable from years already... use termux https://play.google.com/store/apps/details?id=com.termux=it to run and compile, to cross-compile you need to setup a tool chain for android using ndk. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Checking existence of a macro (control sequence) by Lua
On Thu, May 28, 2020 at 12:43 AM wrote: > Off-topic: your email are always marked as spam by my gmail . Are you sure that your address setup is ok ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug in \doifinset
On Wed, May 27, 2020 at 11:28 PM Pablo Rodriguez wrote: > > Without commas, lists are harder both to read and to write (at least, to > me). > > what about \starttext \startTEXpage[offset=1em] \doifinsetelse{i7}{% i4,% i5,% i7,% } {yes}{no} \stopTEXpage \stoptext here seems to work. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] METAPOST: How do I get this 'max' cutafter to work?
On Wed, Apr 22, 2020 at 9:30 AM Taco Hoekwater wrote: > > In contrast, intersectionpoint finds the first intersection on the > non-reversed paths, which > is the base of the arrowhead. > > IIrc , it's the first in shuffle order @ Incidentally, if the given cubics intersect more than once, the process just sketched will not necessarily find the lexicographically smallest pair $(t_1,t_2)$. The solution actually obtained will be smallest in ``shuffled order''; i.e., if $t_1=(.a_1a_2\ldots a_{16})_2$ and $t_2=(.b_1b_2\ldots b_{16})_2$, then we will minimize $a_1b_1a_2b_2\ldots a_{16}b_{16}$, not $a_1a_2\ldots a_{16}b_1b_2\ldots b_{16}$. Shuffled order agrees with lexicographic order if all pairs of solutions $(t_1,t_2)$ and $(t_1',t_2')$ have the property that $t_1___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Question: Are there any ConTeXt aware scientific pulishers yet
On Thu, Apr 16, 2020 at 9:08 AM Henning Hraban Ramm wrote: > > > > Am 15.04.2020 um 22:52 schrieb denis.maier.li...@mailbox.org: > > I’m using a Python script to convert DOCX to ConTeXt. c# under linux is also a valid option. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Luatex 1.12.0 announcement.
== LuaTeX 1.12.0 2020-03-15 == This is the release for TeX live 2020. --shell-restricted now forbids loading of dso (dll/so object) Scaled virtual font Aadditional primitives \eTeXglue[stretch|shrink]order for querying order the etex way. Extra features runtoks tex.getmodenames() (as these can differ per engine/version) Permit nested runtoks in more complex situations of nesting (HH) More accurate and correct test for tex.[set|get]math Minor clean-up and bugs fixed -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Quizz
On Tue, Mar 17, 2020 at 9:40 AM Hans Hagen wrote: > > I have no problem coming up with additional styles of code for remote > learning and student support but it has to have some 'direction' and not > be too random. > > one constrain could be "it works under google chrome > Version 79.0.3945.130" At least some it's some grade of cross platforms, as chrome seems to be quite ubiquitous . Kind of least common denominator. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Quizz
On Mon, Mar 16, 2020 at 11:14 AM Hans Hagen wrote: > On 3/15/2020 10:34 AM, Fabrice Couvreur wrote: > > Hi, > > With the Coronavirus pandemic, my school will close like all the others. > > We chose to work with Microsoft Teams. I know how to file Math exercises > > written with ConteXt and export to pdf format. Is it possible with > > ConteXt to create interactive Quizz? > it should be doable (in the past we've made those with choice, fill in > etc questions) but one problem with pdf is that there has been > introduced some restrictions, for instance one cannot save in the reader > so one then need to run a server that picks up the filled in stuff and > regenerates a pdf file ... no big deal but i must admit that i don't > have that code (if at all) around in loadable module form > In google chrome this seems to work, apart the choice fields (the choice selected has the red frame but it has no mark inside): https://martin-thoma.com/images/2012/02/pdf-form.pdf -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Quick question about dual output pdf and epub
On Wed, Mar 4, 2020 at 9:51 AM Hans Hagen wrote: > > (in the meantime i actually gave away my ebook reader ... now i wait > till color shows up in e-ink which might give me a reason to play a bit > more) > > https://news.lenovo.com/pressroom/press-releases/lenovo-unveils-preview-worlds-first-foldable-pc-thinkpad-x1-family/ > sound quite interesting -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unicode 13 – save the \dodo!
On Wed, Feb 5, 2020 at 10:38 AM Arthur Reutenauer < arthur.reutena...@normalesup.org> wrote: > > Just for the record: it is not true at all that Unicode is “mostly > emojis” nowadays. Even today, the vast majority of characters added > each year is 90% non-emoji. I make this point at every ConTeXt meeting > I attend, but it really seems nobody is listening ;-) > I was. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Transparency in PNGs becomes black in PDF/X
On Fri, Dec 20, 2019 at 11:00 AM Peter Rolf wrote: > Hi Hraban, > > PDF/X-1a:2001 doesn't support transparency. You have to use PDF/X-4(p) > for that (the first X variant that supports transparency). > PDF/A-2|3 may also be an option. These formats also support transparency. > > > Peter > > confirmed, this is ok. \setupbackend[format=PDF/X-4p] \starttext \externalfigure[esel_kl.png] \stoptext > -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug: Segmentation fault
On Wed, Dec 11, 2019 at 12:10 AM Hans Hagen wrote: > On 12/11/2019 12:03 AM, luigi scarso wrote: > > I guess that we have to check if catcodetable -1 is already defined... > i already sent you a patch, probbaly also ok for trunk > Committed revision 7235. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug: Segmentation fault
On Wed, Dec 11, 2019 at 1:28 AM Henri Menke wrote: > In this case I wanted to generate the thin space (\,). My expectation > (which worked elsewhere) was that full expansion will turn "\string\\," > into "\\," where the two backslashes have catcode 12 and will not be > expanded further. Then the Lua string will turn the escape sequence \\ > into a single backslash, therefore ending up with \, in the Lua string. > > \directlua{token.set_macro("foo","\relax")} (gdb) x/7c str 0x59376c18: 13 '\r' 101 'e' 108 'l' 97 'a' 120 'x' 32 ' ' 0 '\000' (gdb) p lstr $24 = 6 where \foo is \foo=macro: ->#!. vs \directlua{token.set_macro("foo",[==[\relax]==])} (gdb) x/8c str 0x59376ea8: 92 '\\' 114 'r' 101 'e' 108 'l' 97 'a' 120 'x' 32 ' ' 0 '\000' (gdb) p lstr $25 = 7 \foo=macro: ->\relax . Another example is \directlua{token.set_macro("foo","\medskip")}\show\foo which gives the error: invalid escape sequence near '"^^Kskip \m'. vs \directlua{token.set_macro("foo",[==[\medskip]==])}\show\foo which gives \foo=macro: ->\vskip \medskipamount . Your example: \directlua{token.set_macro("foo","\string\\,")}\show\foo gives (gdb) x/3c str 0x593765a8: 92 '\\' 44 ',' 0 '\000' (gdb) p lstr $29 = 2 \foo=macro: ->BAD,. vs \directlua{token.set_macro("foo",[==[\,]==])}\show\foo (gdb) x/20c str 0x59376908: 92 '\\' 109 'm' 115 's' 107 'k' 105 'i' 112 'p' 32 ' ' 92 '\\' 0x59376910: 116 't' 104 'h' 105 'i' 110 'n' 109 'm' 117 'u' 115 's' 107 'k' 0x59376918: 105 'i' 112 'p' 32 ' ' 0 '\000' (gdb) p lstr $31 = 19 \foo=macro: ->\mskip \thinmuskip . -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug: Segmentation fault
On Wed, Dec 11, 2019 at 12:10 AM Hans Hagen wrote: > On 12/11/2019 12:03 AM, luigi scarso wrote: > > > > > > On Tue, Dec 10, 2019 at 9:27 PM Henri Menke > <mailto:henrime...@gmail.com>> wrote: > > > > Dear devs, > > > > The example below crashes LuaTeX with a segmentation fault. It is > > reproducible > > with LuaTeX 1.10.1 7143 and LuaTeX 1.11.2 7226. To this end I built > > 7226 from > > source with --debugopt to get a backtrace, which can be found below > > as well. > > > > Cheers, Henri > > > > --- > > > > \directlua{token.set_macro(-1, "foo","\string\\,")} > > \show\foo > > \foo > > \bye > > > > > > I guess that we have to check if catcodetable -1 is already defined... > i already sent you a patch, probbaly also ok for trunk > yes, seen > but one needs to be careful as fo rinstance \string\foo is seen as > oo so often one also needs to escape properly > I always start with [==[ ... ]==] ie \directlua{token.set_macro(-1, [==[foo]==],[==[\string\\,]==])} gdb reports this [==[\string\\,]==] string as "," which is an array of char of length 3 ie {'\\','\\',','} With \directlua{token.set_macro(-1, [==[foo]==],"\string\\,")} gdb reports "\\," ie {'\\','\,'} I always check which one is the correct one... -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug: Segmentation fault
On Tue, Dec 10, 2019 at 9:27 PM Henri Menke wrote: > Dear devs, > > The example below crashes LuaTeX with a segmentation fault. It is > reproducible > with LuaTeX 1.10.1 7143 and LuaTeX 1.11.2 7226. To this end I built 7226 > from > source with --debugopt to get a backtrace, which can be found below as > well. > > Cheers, Henri > > --- > > \directlua{token.set_macro(-1, "foo","\string\\,")} > \show\foo > \foo > \bye > I guess that we have to check if catcodetable -1 is already defined... -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug: Segmentation fault
On Tue, Dec 10, 2019 at 9:27 PM Henri Menke wrote: > Dear devs, > > The example below crashes LuaTeX with a segmentation fault. It is > reproducible > with LuaTeX 1.10.1 7143 and LuaTeX 1.11.2 7226. To this end I built 7226 > from > source with --debugopt to get a backtrace, which can be found below as > well. > > confirmed, we will see asap (btw, I use --debug ie CFLAGS="-g -O0" because it's hard to follow the flow of optimized code) -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF/A-3a attachment support query
On Fri, Dec 6, 2019 at 4:26 PM Peter Rolf wrote: > > So we have only basic support for "PDF/A-3a", the more advanced features > of that format are not supported yet. The main problem here is the > lacking PDF/A documentation (ISO pay wall). > A complete installation of verapdf has a very detailed "documentation" (sort of, it's embedded in the code) based on the ISO standard. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] NewComputerModern
https://ctan.org/pkg/newcomputermodern """ This is a new assembly of Computer Modern fonts plus glyphs for non latin alphabets which are considered compatible in style to CM fonts. The fonts contain Latin and accented Latin letters and combinations, Greek (monotonic and polytonic), and Cyrillic. """ -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] R module
On Sun, Nov 24, 2019 at 4:12 AM Aditya Mahajan wrote: > On Sat, 23 Nov 2019, Fabrice L wrote: > > Thanks for your answer. I did not know about the filter module. I had a > > look; the module is powerful… but complex to install. > > Why do you say so? If you are using context-minimals, then this can be > installed like any other module. If you are using texlive, then can be > installed using tlmgr. > I argue that talking of a ffi binding of R is out-of-question ... -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt as a service
On Sat, Nov 23, 2019 at 1:02 PM Henning Hraban Ramm wrote: > > Don’t exaggerate. Or maybe your company didn’t think about which tags are > really necessary. > A proper configuration that doesn’t allow nonsense, even if users paste > text from Word documents, is not such a big effort. > > I can’t remember which JS editor I used >10 years ago for the editorial > system of a city magazine, but I remember I only allowed a few tags > (authors weren’t allowed to use font and color settings) and also run a > HTML cleaner before saving. It was an effort until it worked, but not that > much. > another link: https://coko.foundation/ https://coko.foundation/product-suite/ -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] error, no format found with name: cont-en, aborting
On Wed, Nov 13, 2019 at 3:11 PM Henning Hraban Ramm wrote: > contextjit or context —jit doesn’t work any more. Use just context. > I have just updated mkiv mtx-context | current version: 2019.11.12 23:58 and contextjit works. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] MKIV: error, no format found with name: cont-en, aborting
sent from cont...@rik.users.panix.com Note from admin: the email is in defer state because "Message body is too big: 159549 bytes with a limit of 100 KB" I have kept the initial part. " Dear list, Since the 20191029 update I have not been able to create a document via MKIV, suffering from the subject error message (error, no format found with name: cont-en, aborting). I have tried cache clearing, regeneration, and complete fresh installs. None work. I suspect it is something on my system, but cannot think of a relevant change except possibly a Win10-64 system update. Attached is the log from the latest install try (with filenames of copied files removed). LMTX has no problems. All suggestions welcome. -- Rik Kabel "" ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Luatex 1.11.1 announcement
== LuaTeX 1.11.1 2019-10-28 == First release of luahbtex / luajithbtex, luatex / luajittex with harfbuzz. Small bug fixes, code clean up and a couple of new primitives to match eTeX. A new callback lua.getcodepage() for diagnostic purposes. *** DROPPED the "page_objnum_provider" callback, replaced with "page_order_index". *** See ChangeLog and the manual. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt groups supports "Public Money, Public Code"
On Wed, Oct 23, 2019 at 12:14 PM Henning Hraban Ramm wrote: > Hi all, > > the previous board of your ConTeXt group decided to support the campaign > of Free Software Foundation Europe, “Public Software? Public Code!” (see > https://publiccode.eu/), and we finally got confirmed. > > the site say PUBLIC MONEY PUBLIC CODE (as in the subject) not “Public Software? Public Code!” -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] columns and footnotes
On Mon, Oct 21, 2019 at 8:24 AM Henning Hraban Ramm wrote: > Hi again, > I’m testing columns again, and before I publish an article on the subject, > I’d like to check with you. > Best, Hraban > Hi Hraban, the attachment are >100K, I have made an exception but please try to stay under 100K next time. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] LTMX crashes on OpenBSD 6.5 amd64
On Sun, Oct 20, 2019 at 12:22 PM Hans Hagen wrote: > On 10/20/2019 11:11 AM, Damien Thiriet wrote: > > Hi, > > > > > > As I wrote yesterday, I have crashes on LTMX, openbsd6.5-amd64. > > LTMX version: > > > Bus error (core dumped) > could be pplib related Can you check also luatex mkiv ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___