[NTG-context] Guit meeting 2020

2020-09-11 Thread luigi scarso
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

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread luigi scarso
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 >

Re: [NTG-context] Installing on arm64

2020-06-10 Thread luigi scarso
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

Re: [NTG-context] Installing on arm64

2020-06-10 Thread luigi scarso
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

Re: [NTG-context] Checking existence of a macro (control sequence) by Lua

2020-05-27 Thread luigi scarso
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,

Re: [NTG-context] bug in \doifinset

2020-05-27 Thread luigi scarso
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. --

Re: [NTG-context] METAPOST: How do I get this 'max' cutafter to work?

2020-04-22 Thread luigi scarso
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

Re: [NTG-context] Question: Are there any ConTeXt aware scientific pulishers yet

2020-04-16 Thread luigi scarso
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

[NTG-context] Luatex 1.12.0 announcement.

2020-03-30 Thread luigi scarso
== 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

Re: [NTG-context] Quizz

2020-03-17 Thread luigi scarso
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

Re: [NTG-context] Quizz

2020-03-16 Thread luigi scarso
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

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-04 Thread luigi scarso
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) > >

Re: [NTG-context] Unicode 13 – save the \dodo!

2020-02-05 Thread luigi scarso
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

Re: [NTG-context] Transparency in PNGs becomes black in PDF/X

2019-12-20 Thread luigi scarso
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 > >

Re: [NTG-context] Bug: Segmentation fault

2019-12-11 Thread luigi scarso
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

Re: [NTG-context] Bug: Segmentation fault

2019-12-11 Thread luigi scarso
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

Re: [NTG-context] Bug: Segmentation fault

2019-12-10 Thread luigi scarso
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, > > > > T

Re: [NTG-context] Bug: Segmentation fault

2019-12-10 Thread luigi scarso
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

Re: [NTG-context] Bug: Segmentation fault

2019-12-10 Thread luigi scarso
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

Re: [NTG-context] PDF/A-3a attachment support query

2019-12-06 Thread luigi scarso
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

[NTG-context] NewComputerModern

2019-11-24 Thread luigi scarso
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.

Re: [NTG-context] R module

2019-11-24 Thread luigi scarso
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

Re: [NTG-context] ConTeXt as a service

2019-11-23 Thread luigi scarso
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

Re: [NTG-context] error, no format found with name: cont-en, aborting

2019-11-13 Thread luigi scarso
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

[NTG-context] MKIV: error, no format found with name: cont-en, aborting

2019-11-13 Thread luigi scarso
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

[NTG-context] Luatex 1.11.1 announcement

2019-10-28 Thread luigi scarso
== 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

Re: [NTG-context] ConTeXt groups supports "Public Money, Public Code"

2019-10-23 Thread luigi scarso
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

Re: [NTG-context] columns and footnotes

2019-10-21 Thread luigi scarso
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

Re: [NTG-context] LTMX crashes on OpenBSD 6.5 amd64

2019-10-20 Thread luigi scarso
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 ? --

Re: [NTG-context] PDF viewer poll

2019-10-16 Thread luigi scarso
> > mupdf started simple but I think it also grew in a weird > direction (large codebase, some reflow I think, a strange epub > substandard support, etc .. all pretty useless to me and I'm not sure > how optional it it ... so no longer as lightweight as it could be ...) >

Re: [NTG-context] PDF viewer poll

2019-10-15 Thread luigi scarso
On Sun, Oct 13, 2019 at 12:43 PM Henning Hraban Ramm wrote: > Hi, I’d like to update my list of (usable!) PDF viewers. > A recent android tablet 10" with HD display is quite ok with Adobe Reader and several others apps ( eg foxit pdf reader) EBookDroid is another app pdf +djvu reader , also

Re: [NTG-context] PDF viewer poll

2019-10-15 Thread luigi scarso
On Tue, Oct 15, 2019 at 10:21 AM Hans Hagen wrote: > > Most of my PDF debugging is done using 'mutool clean’ (especially with > the -d switch) and textmate / diff. > qpdf also has something like that (with comments of where the objects > come from) it's the qdf export : pdf -> qdf -> (edit

Re: [NTG-context] Error: your system "Linux aarch64" is not supported yet.

2019-09-27 Thread luigi scarso
On Fri, Sep 27, 2019 at 7:20 AM Mojca Miklavec < mojca.miklavec.li...@gmail.com> wrote: > (But I > could use the binaries from TL as a starting point.) > > well, something that works is better than nothing but of course one can always install a scheme from texlive. > That's either

[NTG-context] Error: your system "Linux aarch64" is not supported yet.

2019-09-26 Thread luigi scarso
..but aarch is in texlive already from while ... -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-09-13 Thread luigi scarso
On Fri, Sep 13, 2019 at 12:20 PM Robert Zydenbos wrote: > On 22. Aug 2019, at 18:17, Wolfgang Schuster < > wolfgang.schuster.li...@gmail.com> wrote: > > > A PDF with the wrong sorting order doesn't help when you can't show a > working minimal example to reproduce the problem. When you need more

Re: [NTG-context] Convert SVG to MetaPost

2019-08-12 Thread luigi scarso
On Mon, Aug 12, 2019 at 12:11 PM Jon Wong wrote: > Hi all, > > Is it possible to convert SVG to MetaPost? > > Currently, I have Bash scripts in my workflow to invoke Inkscape > (converting SVG to PDF). I don’t like to allow shell access to TeX. > > If I can convert SVG to MetaPost, I will gladly

Re: [NTG-context] grid+formulas: bug or expected behavior?

2019-07-26 Thread luigi scarso
Hi Luca, the size of your message was a bit over the 100KByte limit of the mailing list, but I have made an exception and approved it . But (everybody) please stay under 100KByte, space is a precious resource. -- luigi

[NTG-context] [OT] veraPDF v1.14

2019-07-18 Thread luigi scarso
https://www.pdfa.org/verapdf-1-14-released/ -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] [OT] rasperry 4

2019-06-26 Thread luigi scarso
On Mon, Jun 24, 2019 at 2:30 PM luigi scarso wrote: > just seen > https://www.raspberrypi.org/products/raspberry-pi-4-model-b/ > > I would like to know your impressions > > -- > luigi > more benchmarks https://www.tomshardware.com/reviews/raspberry-pi

Re: [NTG-context] [OT] rasperry 4

2019-06-25 Thread luigi scarso
On Tue, Jun 25, 2019 at 3:31 PM Rudolf Bahr wrote: > On Tue, Jun 25, 2019 at 10:15:29AM +1200, Henri Menke wrote: > > On 25/06/19 12:30 AM, luigi scarso wrote: > > > just seen > > > https://www.raspberrypi.org/products/raspberry-pi-4-model-b/ > > > > &g

Re: [NTG-context] [OT] rasperry 4

2019-06-25 Thread luigi scarso
On Tue, Jun 25, 2019 at 9:15 AM luigi scarso wrote: > > > https://wiki.ubuntu.com/ARM/RaspberryPi > 18.04.2 both 32bit and 64bit work > > I mean in raspberry 3B & 3B+, pi4 is slightly different : https://www.element14.com/community/docs/DOC-92641/l/raspberry-pi-4-mo

Re: [NTG-context] [OT] rasperry 4

2019-06-25 Thread luigi scarso
On Tue, Jun 25, 2019 at 12:15 AM Henri Menke wrote: > On 25/06/19 12:30 AM, luigi scarso wrote: > > just seen > > https://www.raspberrypi.org/products/raspberry-pi-4-model-b/ > > > > I would like to know your impressions > > Does it still need proprietary bi

[NTG-context] [OT] rasperry 4

2019-06-24 Thread luigi scarso
just seen https://www.raspberrypi.org/products/raspberry-pi-4-model-b/ I would like to know your impressions -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] Tagged PDF Best Practice Guide: Syntax

2019-06-14 Thread luigi scarso
https://www.pdfa.org/resource/tagged-pdf-best-practice-guide-syntax/ -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] No menu bar option for Adobe Reader

2019-05-01 Thread luigi scarso
On Sun, Apr 28, 2019 at 10:38 PM Paul Schalck wrote: > @luigi: Version 11. I know, it isn't supported anymore since October 2017. > https://linuxconfig.org/how-to-install-latest-adobe-acrobat-reader-dc-on-ubuntu-18-04-bionic-beaver-linux-with-wine seems to work, I have installed

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread luigi scarso
On Sun, Apr 28, 2019 at 9:42 PM Paul Schalck wrote: > > I use Acrord because I'm used to it and because I think it still has the > best subpixel rendering, at least in the Linux world (with Wine). Mozilla's > PDF.js comes close though. > which version of adobe reader are you using? -- luigi

Re: [NTG-context] luatex crash around page 1000

2019-04-12 Thread luigi scarso
On Fri, Apr 12, 2019 at 8:03 AM Akira Kakuto wrote: > > mtx-context | fatal error: return code: -1073741571 > > I suspect that may be a limitation in 32bit binary. > Try to install 64bit ConTeXt if you are using 32bit one > and your OS is 64bit. > > The other chance is the inclusion of a

Re: [NTG-context] Can't use MetaFun with mplib anymore

2019-03-14 Thread luigi scarso
On Thu, Mar 14, 2019 at 10:52 AM Hans Hagen wrote: > as currently the variable is isn't used we can also comment it > > > seems so I have commented the line, and all formats and the plain test run. -- luigi ___ If

Re: [NTG-context] Can't use MetaFun with mplib anymore

2019-03-14 Thread luigi scarso
On Thu, Mar 14, 2019 at 5:56 AM Henri Menke wrote: > > Dear list, > > Something has changed in MetaFun and it can no longer be used in plain > LuaTeX, > with neither of > > luatex test.tex > mtxrun --script plain test.tex > > This is the error: > > >> LUATEXFUNCTIONALITY > >>

Re: [NTG-context] (huge thanks) attaching files from links

2019-03-04 Thread luigi scarso
On Mon, Mar 4, 2019 at 10:09 PM Pablo Rodriguez wrote: > > PS: I wonder whether ConTeXt/LuaTeX might do my laundry, the dishes, > home cleaning or cooking... . > Yes --- it's called IoT https://meeting.contextgarden.net/2018/abstracts.shtml ConTeXt: unexpected usage Hans Hagen The

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread luigi scarso
On Mon, Mar 4, 2019 at 8:40 PM Pablo Rodriguez wrote: > On 3/4/19 7:33 PM, luigi scarso wrote: > > [...] > > what does > > $ luatex --credits > > say ? > > $ luatex --credits > This is LuaTeX, Version 1.09.2 (TeX Live 2019/dev) > [...] > Development i

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread luigi scarso
On Mon, Mar 4, 2019 at 7:27 PM Pablo Rodriguez wrote: > On 3/4/19 7:12 PM, luigi scarso wrote: > > [...] > > Sorry for the impatience (the feature is essential for me): when > could > > be the new version expected a beta or stable version of the ConTeXt >

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread luigi scarso
On Mon, Mar 4, 2019 at 6:48 PM Pablo Rodriguez wrote: > On 3/4/19 4:34 PM, luigi scarso wrote: > > On Thu, Feb 28, 2019 at 10:37 PM Hans Hagen wrote: > > > > On 2/28/2019 6:46 PM, Pablo Rodriguez wrote: > > > Dear list, > > > > >

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread luigi scarso
On Thu, Feb 28, 2019 at 10:37 PM Hans Hagen wrote: > On 2/28/2019 6:46 PM, Pablo Rodriguez wrote: > > Dear list, > > > Could anyone tell me what I am missing here? > it's bug in the engine ... as a workaround you can uncomment th etop > lines in util-sha and fall back on pure lua > > it should

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-03-01 Thread luigi scarso
On Fri, Mar 1, 2019 at 12:01 PM Mojca Miklavec < mojca.miklavec.li...@gmail.com> wrote: > On Fri, 1 Mar 2019 at 08:50, luigi scarso wrote: > > > ( forget the time, it's a zero-optimized binary (fast to compile)) > > It takes even longer for me with the binary from the

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread luigi scarso
On Fri, Mar 1, 2019 at 8:16 AM Mojca Miklavec < mojca.miklavec.li...@gmail.com> wrote: > On Fri, 1 Mar 2019 at 07:39, Mojca Miklavec wrote: > > On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote: > > > > > > Dear list, > > > > > > I just installed TeX Live 2019 pretest and running context --make >

Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread luigi scarso
On Fri, Mar 1, 2019 at 12:17 AM Henri Menke wrote: > Hm, it looks like the macro code hasn't been updated from 2018 yet, because > after fixing isfile it crashes when trying to load the old pdfe library. > > seems so. I have just tested luatex 1.10 against the latest zip and it's all ok. --

Re: [NTG-context] A strange request...

2019-02-20 Thread luigi scarso
On Wed, Feb 20, 2019 at 5:23 PM Willi Egger wrote: > Hi all, > > I am siting with a project of making a “dwarsligger”, you know these > books, printed on bible-thin-printing paper, which are about 12 x 8 cm. > One opens them while holding them ‘landscape’ with the spine on the top… > > Now

Re: [NTG-context] Macro in a macro with optional argument

2019-02-12 Thread luigi scarso
On Tue, Feb 12, 2019 at 8:27 AM Pierre-Francois Bonnefoi < bonnefoi...@gmail.com> wrote: > Hello, > > I try to define automatically some macros to include cliparts in my TikZ > drawings and I've defined the following macro : > > \def\clipart#1#2{% > \expandafter\def\csname

[NTG-context] Luatex 1.09.2 announcement

2019-01-30 Thread luigi scarso
== LuaTeX 1.09.2 2019-01-19 == This is a transitional release to LuaTeX 1.10 for TeX Live 2019 The LuaTeX team

Re: [NTG-context] New logo proposal

2019-01-30 Thread luigi scarso
On Wed, Jan 30, 2019 at 10:15 AM Floris van Manen wrote: > If TeX and Context are about typesetting beautiful readable typography, > the logos as presented do not reflect that thought per se. > At first glance is is a pile of incoherent letters and colours. > e.g. difficult to read and memorise.

Re: [NTG-context] textext with plain MetaFun

2019-01-21 Thread luigi scarso
On Mon, Jan 21, 2019 at 10:47 AM Henri Menke wrote: > On 1/21/19 10:40 PM, luigi scarso wrote: > > On Mon, Jan 21, 2019 at 8:57 AM Henri Menke > wrote: > > > >> Dear list, > >> > >> When I process the short MetaFun example > >&g

Re: [NTG-context] textext with plain MetaFun

2019-01-21 Thread luigi scarso
On Mon, Jan 21, 2019 at 8:57 AM Henri Menke wrote: > Dear list, > > When I process the short MetaFun example > > beginfig(1) > draw textext("MetaFun") ; > endfig; > end > > with plain MetaFun, i.e. > > mpost '' test.mp > > what does $> mpost -mem=metafun '\relax; tracingall;

Re: [NTG-context] LuaTeX manual is broken

2019-01-18 Thread luigi scarso
On Fri, Jan 18, 2019 at 9:33 AM Henri Menke wrote: > Dear devs, > > The LuaTeX manual hosted at > http://www.pragma-ade.nl/general/manuals/luatex.pdf is broken. All the > pages are offset in all the viewers I tested. I tried: > > - Evince 3.28.4 (uses cairo 1.15.10) > - PDF.js 2.0.943 > -

Re: [NTG-context] final thoughts on experiments with lua

2019-01-10 Thread luigi scarso
On Thu, Jan 10, 2019 at 12:11 PM Henning Hraban Ramm wrote: > > a Lua pairs table, the order can be arbitrary. > sure , the *default* __pairs gives pseudo-arbitrary order, but you can always use metatable: -- -- test.lua -- local _c,_t=0,{} local t = {} setmetatable(t, { __newindex =

Re: [NTG-context] final thoughts on experiments with lua

2019-01-10 Thread luigi scarso
On Thu, Jan 10, 2019 at 10:27 AM Schmitz Thomas A. < thomas.schm...@uni-bonn.de> wrote: > > > > On 10. Jan 2019, at 01:08, Hans Hagen wrote: > > > > it all depends on use ... if you can be more specific ... > > Hans, Luigi, > > thanks for your hints on list sorting - they are appreciated, but

Re: [NTG-context] final thoughts on experiments with lua

2019-01-09 Thread luigi scarso
On Wed, Jan 9, 2019 at 8:57 PM Thomas A. Schmitz wrote: > > One final thought: one limitation that I still find cumbersome to work > around is the fact that associative arrays ("pairs" in Lua speak) do not > have an order. When I analyze my texts, I want book numbers, chapters, > paragraphs

Re: [NTG-context] further experiments with lua

2019-01-09 Thread luigi scarso
On Wed, Jan 9, 2019 at 9:47 AM Hans Hagen wrote: > > so you need: > > require "char-ini" > > local s = "Ä" > > also if not characters then require("char-ini") end local s = "Ä" print(characters.uccode(s)) -- luigi

Re: [NTG-context] Update problems

2019-01-07 Thread luigi scarso
On Mon, Jan 7, 2019 at 6:47 PM Weber, Matthias wrote: > > I still don’t know what’s going on with PDF inclusion. The ones that cause > trouble are kind of old (from 2005), and I could “upgrade” > > fixing it now -- luigi

Re: [NTG-context] graphics

2018-12-13 Thread luigi scarso
On Thu, Dec 13, 2018 at 4:45 PM Alan Braslau wrote: > Of course, it is: > > double jn(int n,double x); > > and > > vardef jn(expr n, x) = scantokens(lua("mp.quoted( ffi.C.jn(" & decimal n & > "," & decimal x & "))")) enddef ; > > Alan > > (shows that I have yet to use jn ;-) > I often use this

Re: [NTG-context] graphics

2018-12-07 Thread luigi scarso
On Fri, Dec 7, 2018 at 9:06 AM Mikael P. Sundqvist wrote: > On Tue, Dec 4, 2018 at 6:03 PM Hans Hagen wrote: > > > > Hi, > > > > As most mechanism are reasonable okay now we can look into what future > > versions of ConteXt should provide in terms of functionality. The > > (luatex) engine is

Re: [NTG-context] 'figures.getinfo()' not to exit ConTeXt

2018-12-06 Thread luigi scarso
On Thu, Dec 6, 2018 at 11:54 AM Procházka Lukáš Ing. wrote: > Hello Luigi, > > BTW: Ctx tells me "attempt to call a nil value (global 'report')" on > "report("unknown file %a",fileone)" - do I have to enable/load something? > > should be something like local report = logs.reporter("my

Re: [NTG-context] 'figures.getinfo()' not to exit ConTeXt

2018-12-06 Thread luigi scarso
On Thu, Dec 6, 2018 at 11:17 AM Procházka Lukáš Ing. wrote: > Hello, > > I'm using the following code, mentioned here some time ago, to get some > info about PDF: > > > \startluacode > figures.getinfo = function(name, page) > if type(name) == "string" then > name = { name =

Re: [NTG-context] color check

2018-12-06 Thread luigi scarso
On Thu, Dec 6, 2018 at 10:55 AM Floris van Manen wrote: > while experimenting with the sample transparency color code > > > \definecolor [transparentred] [r=1,t=.5,a=1] > \definecolor [transparentblue] [b=1,t=.5,a=1] > \definecolor [solidyellow] [y=1,t=1,a=1] > > \starttext > > \startTEXpage >

Re: [NTG-context] graphics

2018-12-05 Thread luigi scarso
On Wed, Dec 5, 2018 at 1:37 PM Hans Hagen wrote: > On 12/5/2018 10:14 AM, Henri Menke wrote: > > ConTeXt already comes with a full XML parser. SVG is XML. It would be > > nice if it was possible to render some subset of SVG. > So what subset? ... Doing some shapes etc is doable but doing all is

Re: [NTG-context] graphics

2018-12-05 Thread luigi scarso
On Wed, Dec 5, 2018 at 10:15 AM Henri Menke wrote: > ConTeXt already comes with a full XML parser. SVG is XML. It would be > nice if it was possible to render some subset of SVG. > In the mean time, I think we should also consider Headless Chromium for SVG -> PDF (with --print-to-pdf )

Re: [NTG-context] PDF/A no longer compliant?

2018-11-30 Thread luigi scarso
On Fri, Nov 30, 2018 at 7:17 AM luigi scarso wrote: > > > On Fri, Nov 30, 2018 at 2:28 AM Rik Kabel > wrote: > >> On 11/4/2018 07:27, luigi scarso wrote: >> >> >> >> On Fri, Nov 2, 2018 at 7:06 PM Rik Kabel >> wrote: >> >>>

Re: [NTG-context] PDF/A no longer compliant?

2018-11-29 Thread luigi scarso
On Fri, Nov 30, 2018 at 2:28 AM Rik Kabel wrote: > On 11/4/2018 07:27, luigi scarso wrote: > > > > On Fri, Nov 2, 2018 at 7:06 PM Rik Kabel > wrote: > >> >> > it should be fixed in the next beta. > > > I am afraid it is not fixed. The compilation

Re: [NTG-context] Sources of Tutorial.text.pdf

2018-11-28 Thread luigi scarso
zione-LaTeX/dp/8854818097 ) here in Padua Luigi Scarso also lives, with whom I have known for years. > > it's also the hometown of Enrico Gregorio https://www.latex-project.org/news/2018/10/16/new-kids/ -- luigi _

Re: [NTG-context] Subformula numbering

2018-11-26 Thread luigi scarso
On Mon, Nov 26, 2018 at 8:40 AM adrien Licari wrote: > Hi everyone, > > I can't get cases subformula to work properly. My MWE, inspired from the > wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is : > > \starttext\placeformula\startformula > \startcases > \NC x

Re: [NTG-context] optical bounds with hanging diacritics

2018-11-25 Thread luigi scarso
On Sun, Nov 25, 2018 at 7:24 PM Pablo Rodriguez wrote: > Hans, > > I added lfbd values for GFS Didot (attached) to get hanging diacritics > in Greek. > > The attached PDF document is the optput from the following code: > the pdf is too big .. I have unlocked it for this time... -- luigi

Re: [NTG-context] PDF/A output fails validation

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 8:23 PM Rik Kabel wrote: > Still fails here, using the code you posted, with: > > > yes, the beta is not yet landed in the garden , still some issues with colored fonts -- luigi ___ If your

Re: [NTG-context] PDF/A output fails validation

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 12:45 AM luigi scarso wrote: > > > On Thu, Nov 22, 2018 at 12:38 AM Rik Kabel > wrote: > >> With the latest beta, PDF/A fails validation in a new way. >> >> Using the example document in the wiki >> <https://wiki.contextga

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 4:15 PM Ulrike Fischer wrote: > Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso: > > >> > >> A palette entry index value of 0x is a special case indicating > >> that the text foreground color (defined by a higher-

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 2:13 PM Ulrike Fischer wrote: > Am Thu, 22 Nov 2018 13:50:08 +0100 schrieb Hans Hagen: > > >> When I use this definitions I still get partly blue glyphs with this > >> preamble. Don't you get them? > > > well, i don't know what to expect > > Khaled mentioned this link

Re: [NTG-context] debug.getinfo

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 2:02 PM Procházka Lukáš Ing. wrote: > Hello, > > the function 'debug.getinfo' was removed? > > The following code: > > > \startluacode >print(debug.getinfo) > \stopluacode > > \starttext >A \cldcontext{tostring(debug.getinfo)} > \stoptext > > >

Re: [NTG-context] PDF/A output fails validation

2018-11-21 Thread luigi scarso
On Thu, Nov 22, 2018 at 12:38 AM Rik Kabel wrote: > With the latest beta, PDF/A fails validation in a new way. > > Using the example document in the wiki > , PDF/A-1a validation fails the > online validator [2]

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread luigi scarso
On Wed, Nov 21, 2018 at 7:04 PM Ulrike Fischer wrote: > Am Wed, 21 Nov 2018 18:46:44 +0100 schrieb Hans Hagen: > > > I'm not sure what yoy mwan with 0x as that's intercepted > > With this example (font from > https://github.com/alif-type/amiri/blob/master/AmiriQuranColored.ttf) > > a part of

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles

2018-11-21 Thread luigi scarso
On Wed, Nov 21, 2018 at 3:02 PM Jan U. Hasecke wrote: > Am 19.11.18 um 11:14 schrieb luigi scarso: > > > Perhaps this is still useful > > https://www.tug.org/TUGboat/tb31-3/tb99scarso.pdf > > Thanks a lot for the hint. > > I don't understand the equations

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles

2018-11-19 Thread luigi scarso
On Mon, Nov 19, 2018 at 10:57 AM Henning Hraban Ramm wrote: > > It would make sense to outsource color calculations to a color management > library like LittleCMS. > > yes. Perhaps this is still useful https://www.tug.org/TUGboat/tb31-3/tb99scarso.pdf -- luigi

Re: [NTG-context] Colormanagement

2018-11-09 Thread luigi scarso
On Fri, Nov 9, 2018 at 4:24 PM Jan U. Hasecke wrote: > Hi all, > > I defined some colors with \definecolor like this: > > \definecolor [myblue] [r=0.000, g=0.314, b=0.580, c=0.98, m=0.67, > y=0.03, k=0.12] > > \startnotmode[print] > \setupcolors[cmyk=no,rgb=yes] > \stopnotmode > >

Re: [NTG-context] PDF/A no longer compliant?

2018-11-04 Thread luigi scarso
On Fri, Nov 2, 2018 at 7:06 PM Rik Kabel wrote: > The example file in the wiki (at https://wiki.contextgarden.net/PDF/A) > no longer verifies as compliant PDF/A. VeraPDF rejects it, and > https://www.pdf-online.com/osa/validate.aspx complains: > > x107.pdf > Compliance pdfa-1b > Result Document

Re: [NTG-context] improving kannada script

2018-11-03 Thread luigi scarso
On Wed, Oct 31, 2018 at 4:03 PM luigi scarso wrote: > > > On Wed, Oct 31, 2018 at 4:01 PM Hans Hagen wrote: > >> On 10/31/2018 3:38 PM, luigi scarso wrote: >> >> > On Tue, Oct 30, 2018 at 11:22 AM luigi scarso > > <mailto:luigi.sca...@gmail.com>&g

Re: [NTG-context] PDF/A no longer compliant?

2018-11-03 Thread luigi scarso
On Sat, Nov 3, 2018 at 1:58 PM Leo Nikkilä wrote: > I’m afraid I don’t remember exactly which validator that was. I tried a > few such as veraPDF and Adobe Acrobat’s preflight verifier. > > I found one of the preflight output files from Acrobat (but not the input > document unfortunately) and

Re: [NTG-context] PDF/A no longer compliant?

2018-11-03 Thread luigi scarso
On Fri, Nov 2, 2018 at 9:03 PM Leo Nikkilä wrote: > I tried PDF/A a while back and noticed the XMP header has an extra byte > order mark which validators flagged as “??”. > > I’ve attached the patch I used to remove it, however I’m still on an old > version of ConTeXt so this might not apply

Re: [NTG-context] PDF/A no longer compliant?

2018-11-02 Thread luigi scarso
Il giorno ven 2 nov 2018, 19:06 Rik Kabel ha scritto: > The example file in the wiki (at https://wiki.contextgarden.net/PDF/A) > no longer verifies as compliant PDF/A. VeraPDF rejects it, and > https://www.pdf-online.com/osa/validate.aspx complains: > > x107.pdf > Compliance pdfa-1b > Result

Re: [NTG-context] improving kannada script

2018-11-02 Thread luigi scarso
On Fri, Nov 2, 2018 at 1:05 PM Ulrike Fischer wrote: > Am Fri, 2 Nov 2018 12:53:02 +0100 schrieb luigi scarso: > > > >> You could try https://github.com/khaledhosny/luahbtex. Khaled is > >> trying to marry luatex + harfbuzz there > > > sure, it's hardcod

Re: [NTG-context] improving kannada script

2018-11-02 Thread luigi scarso
On Fri, Nov 2, 2018 at 12:26 PM Ulrike Fischer wrote: > Am Fri, 2 Nov 2018 11:56:52 +0100 schrieb luigi scarso: > > > I am planning to play with a harfbuzz plugin to check them (sort of > tool) > > You could try https://github.com/khaledhosny/luahbtex. Khaled is >

Re: [NTG-context] improving kannada script

2018-11-02 Thread luigi scarso
On Fri, Nov 2, 2018 at 11:28 AM Ulrike Fischer wrote: > Am Wed, 31 Oct 2018 16:01:37 +0100 schrieb Hans Hagen: > > > > fyi, there will be an update for some set set of indic script later this > > year (most is done but it all relates to available time of those > involved) > > That's good news. I

Re: [NTG-context] improving kannada script

2018-10-31 Thread luigi scarso
On Wed, Oct 31, 2018 at 4:01 PM Hans Hagen wrote: > On 10/31/2018 3:38 PM, luigi scarso wrote: > > > On Tue, Oct 30, 2018 at 11:22 AM luigi scarso > <mailto:luigi.sca...@gmail.com>> wrote: > > > > > > > > On Tue, Oct 30, 2018 at 10:18 AM

  1   2   3   4   5   6   7   8   9   10   >