Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-04-05 Thread Carlos via ntg-context
On Sun, Apr 02, 2023 at 10:41:53AM +0200, Hans Hagen via ntg-context wrote:
> On 4/1/2023 11:21 PM, Carlos via ntg-context wrote:
> > On Fri, Mar 31, 2023 at 10:22:49PM +0200, Hans Hagen via ntg-context wrote:
> > > On 3/31/2023 10:08 PM, Carlos via ntg-context wrote:
> > > 
> > > > > sure, why should it, you want lucida so better quit with an error than
> > > > > kicking in some font; actually cmr math fonts have been obsoleted for 
> > > > > way
> > > > > over a decade by latin modern math fonts in 32 bit font engines
> > > 
> > > Font loading and processing time can be mosty neglected so these 16 
> > > seconds
> > > come from something else, maybe there are ways to trace file access. 
> > > Another
> > > possibility is that your fonts are not cached in which case every run will
> > > involve parsing the otf / ttf and producing whatever resources needed
> > > (normally cached).
> > 
> > interesting. Earlier as the output was showing
> > 
> > > mkiv lua stats  > loaded patterns: en::1, load time: 0.000
> > > mkiv lua stats  > loaded fonts: 4 files: lucidabrightregular.otf, 
> > > lucidasansregular.otf, latinmodern-math.otf, lmroman10-regular.otf
> > 
> > you asked
> > 
> > > so why not use lucida math fonts?
> > 
> > which is a valid question but nevertheless unsettling in that 
> > lmodern-regular may nat have been called out. I fully understand the 
> > inclusion of a latinmodern-math in it as a lucidamath was not previously 
> > available but I ponder at the idea and involuntary implementation  of 
> > having lmroman along the pack. Why? If this is TeX doings, or misdoings 
> > (depending how one looks at it), it clearly shows to me that TeX also 
> > restricts my freedom to use whatever font I may deem necessary. Don't you 
> > think? You can probably disagree with me here, or anyone from the TeX 
> > community can, but the roman last was imposed deliberately upon. Someoe may 
> > also give a lengthy explanation but that would be just hogwash in thee very 
> > end .
> 
> The fact that a file is loaded doesn't mean that it is used. In fact there
> is some fallback loading going on because explaining when nothing gets
> typeset or why \nullfont is used which results in missing chars messages is
> a waste of time.
> 
> It has nothing to do with restrictions: tex will load any font you want it.
> But for instance when you turn on some tracing the macro package can load a
> font it needs. Indirectly you get what you ask for.
> 

You're right about that. My mistake. Somehow monospaced had been previously 
defined and I hadn't even noticed it . 

I think I got it (sort of) figured for what I want it so far.

The latest stats are

mkiv lua stats  > loaded fonts: 5 files: latinmodern-math.otf, 
lucidabrightdemiitalic.otf, lucidabrightitalic.otf, lucidabrightregular.otf, 
lucidasansregular.otf
mkiv lua stats  > font engine: otf 3.133, afm 1.513, tfm 1.000, 17 instances, 
10 shared in backend, 3 common vectors, 7 common hashes, load time 0.413 
seconds 
mkiv lua stats  > math tweaking time: 0.162 seconds, 24 math goodie tables

which is pretty much what I was looking for, except the math font issue. Thank 
you! 

While I was trying to play with it a bit, I noticed a problem with the tfb and 
tfc resizing  in math mode

The only mention of anything similar happened back in 2009 (but then again this 
was with mkii). There may be more similar issues in the list. I just didn't 
have the time to look for it.

https://www.mail-archive.com/ntg-context@ntg.nl/msg40224.html

But anyhow, the following did the trick , which I found it convenient really. 
But I don't use math mode, although someone else might, it's intuitive, and 
does the job 

\startmidaligned
$\tfc a + \overbracket{b + c} + \underbracket{d + e} + \doublebracket{f + g} + 
h$
\stopmidaligned

\startformula
\int_{\infty}
\stopformula
 


> I bet you didn't explicitly ask for e.g. english hyphentation patterns
> either but still got them, but tex will happily let you use polish ones
> instead.
> 
> Of course the best remedy against any automatism is to just start with
> initex and implement from scratch.
> 
> In the above case: just add \type {foo} and you might see another font you
> didn't ask for / set up.
> 
> > > > I was actually thinking to ask you about that, and by falling back to 
> > > > cmr math font that perhaps would expedite loading time along the way.
> > > 
> > > These fonts are small (only huge cjk fonts with tens of thousands of 
> > > glyphs
> > > or fonts with hundreds of accumulated features might have some impact but
> > > even then not in the final embedding stage).
> > 
> > Yeah. I guess.
> > 
> > I can also have
> > 
> > mkiv lua stats  > loaded patterns: en::1, load time: 0.000
> > mkiv lua stats  > loaded fonts: 3 files: lucidabrightmathsymbol.ttf, 
> > lucidanewmathitalic.ttf, lucidabrightregular.otf
> > mkiv lua stats  > font engine: otf 3.133, afm 1.513, tfm 1.000, 6 
> > instances, 3 shared in backend, 1 common 

Re: [NTG-context] How to use noto sans math font?

2023-04-05 Thread Mikael Sundqvist via ntg-context
Hi,

No intend to be complete or so (not by computer either, so could not look
into it), it was just for a test a while back. But it could serve as a
start.

/Mikael

Den ons 5 apr. 2023 12:07Li Yanrui (李延瑞) via ntg-context 
skrev:

> Hi,
>
> I try to use the Noto Sans Math fnt which can be downloaded from
> https://fonts.google.com/noto/specimen/Noto+Sans+Math
>
> But I use it like the following
>
> \definefontfamily[myfonts][rm][latin modern roman]
> \definefontfamily[myfonts][mm][noto sans math]
> \setupbodyfont[myfonts,rm,12pt]
> \starttext
> Test Noto Sasn Math Fonts
> \startformula
> a^2 \quad \sqrt{a}
> \stopformula
> \stoptext
>
> I get the errors `Math error: parameter 'supshiftup' with id 51 in style 0
> is not set'.
>
> Is there some method to solve it?
>
>
> --
> Best regards,
>
> Li Yanrui
>
> ___
> 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
>
> ___
>


type-imp-noto.mkiv
Description: Binary data


230320-2.mkxl
Description: Binary data
___
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] Software upgrade for ntg and contextgarden server 6 April

2023-04-05 Thread Taco Hoekwater via ntg-context
Hi all,

Tomorrow an attempt to upgrade the software on the ntg.nl / 
server-nl.contextgarden.nl server will be made. 

This means that various services will probably be offline for a while during 
the afternoon (CET timezone). Affected will be the NTG website, all the @ntg.nl 
mailing lists, the ConTeXt wiki, and some other subsites of contextgarden.net. 

We expect to the outage to last a few hours at most.

I do not have an exhaustive list of potentially affected services and lists, so 
this message is sent out to the two largest mailing lists on the server. If you 
know of some other person or group that is likely going to be worried about a 
few hours of outage, please forward this message to them.

Best wishes,
Taco


— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)


___
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] How to use noto sans math font?

2023-04-05 Thread 李延瑞
Hi,

I try to use the Noto Sans Math fnt which can be downloaded from
https://fonts.google.com/noto/specimen/Noto+Sans+Math

But I use it like the following

\definefontfamily[myfonts][rm][latin modern roman]
\definefontfamily[myfonts][mm][noto sans math]
\setupbodyfont[myfonts,rm,12pt]
\starttext
Test Noto Sasn Math Fonts
\startformula
a^2 \quad \sqrt{a}
\stopformula
\stoptext

I get the errors `Math error: parameter 'supshiftup' with id 51 in style 0
is not set'.

Is there some method to solve it?


-- 
Best regards,

Li Yanrui
___
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] PDF 2.0 standard documents now free

2023-04-05 Thread Henning Hraban Ramm via ntg-context

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/



Have fun,
Hraban
(@cont...@fosstodon.org, @fiee@literatur.social)
___
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

2023-04-05 Thread 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


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://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] How to use noto sans math font?

2023-04-05 Thread 李延瑞
Mikael Sundqvist via ntg-context  于2023年4月5日周三 18:26写道:

> Hi,
>
> No intend to be complete or so (not by computer either, so could not look
> into it), it was just for a test a while back. But it could serve as a
> start.
>
> /Mikael
>

Hi Mikael,

Thanks for your reply. I used the typescript you provided but still get the
error as below

  Math error: parameter 'supshiftup' with id 51 in style 2 is not set


-- 
Best regards,

Li Yanrui
___
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] How to use noto sans math font?

2023-04-05 Thread Mikael Sundqvist via ntg-context
Hi,

On Thu, Apr 6, 2023 at 2:56 AM Li Yanrui (李延瑞) via ntg-context
 wrote:
>
>
>
> Mikael Sundqvist via ntg-context  于2023年4月5日周三 18:26写道:
>>
>> Hi,
>>
>> No intend to be complete or so (not by computer either, so could not look 
>> into it), it was just for a test a while back. But it could serve as a start.
>>
>> /Mikael
>
>
> Hi Mikael,
>
> Thanks for your reply. I used the typescript you provided but still get the 
> error as below
>
>   Math error: parameter 'supshiftup' with id 51 in style 2 is not set

OK. I see the link to google fonts above. I am not sure they have the
latest version. There were lots of fixes in this font recently (in
particular I think a math table was added, so that the font really is
identified as a math font, but I might be wrong about that). The one I
used was downloaded from

https://github.com/notofonts/math/releases/tag/NotoSansMath-v2.539

and that still seems to be the latest. I now compiled my file again,
and still no error here.

/Mikael
___
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] How to use noto sans math font?

2023-04-05 Thread 李延瑞
Mikael Sundqvist via ntg-context  于2023年4月6日周四 13:00写道:

> Hi,
>
> On Thu, Apr 6, 2023 at 2:56 AM Li Yanrui (李延瑞) via ntg-context
>  wrote:
> >
> >
> >
> > Mikael Sundqvist via ntg-context  于2023年4月5日周三
> 18:26写道:
> >>
> >> Hi,
> >>
> >> No intend to be complete or so (not by computer either, so could not
> look into it), it was just for a test a while back. But it could serve as a
> start.
> >>
> >> /Mikael
> >
> >
> > Hi Mikael,
> >
> > Thanks for your reply. I used the typescript you provided but still get
> the error as below
> >
> >   Math error: parameter 'supshiftup' with id 51 in style 2 is not set
>
> OK. I see the link to google fonts above. I am not sure they have the
> latest version. There were lots of fixes in this font recently (in
> particular I think a math table was added, so that the font really is
> identified as a math font, but I might be wrong about that). The one I
> used was downloaded from
>


That font is indeed not the latest. I use the font you provided and no
problem now. Thank you very much!

-- 
Best regards,

Li Yanrui
___
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

2023-04-05 Thread Henning Hraban Ramm via ntg-context

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.

Hraban

___
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
___