Re: [NTG-context] bug in beta from 2019.05.25 10:45

2019-05-26 Thread Hans Hagen

On 5/26/2019 9:52 PM, Pablo Rodriguez wrote:

On 5/26/19 1:49 PM, Hans Hagen wrote:

On 5/26/2019 10:56 AM, Pablo Rodriguez wrote:

\starttext
  \input zapf
  \stoptext


no error here .. is that really the whole example?


It is the whole example.

I’m attaching the four files.

Just in case it might help,
What if you wipe the whole cache? I see you use luajittex. What with 
luatex?


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 / 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 beta from 2019.05.25 10:45

2019-05-26 Thread Pablo Rodriguez
On 5/26/19 1:49 PM, Hans Hagen wrote:
> On 5/26/2019 10:56 AM, Pablo Rodriguez wrote:
>> \starttext
>>  \input zapf
>>  \stoptext
>
> no error here .. is that really the whole example?

It is the whole example.

I’m attaching the four files.

Just in case it might help,

Pablo
--
http://www.ousia.tk
return {
 ["filename"]="untitled.tex",
 ["lastcontext"]="\
 \\shipoutscratchbox \
\
\\page_shipout_box #1->\\clf_shipoutpage #1\
  \\relax \\global \\setbox #1\\emptybox \\global \\deadcy...\
\\page_shipouts_normal ...hbox }}\\page_shipout_box \\shipoutscratchbox \
  \\else \\page_shipouts_ignor...\
\\page_boxes_shipout ...\\shipoutscratchbox \\box \\shipoutscratchbox }\
  \\fi \\setnextrealpageno \\th...\
\\page_otr_construct_and_shipout ..._shipout {\\page_boxes_constructed_page #1#2}\
  \\page_otr_flush_pending_co...\
\\page_sides_output_routine ->\\page_otr_command_side_float_output \
 \\ifconditional \\c_page_sides_short ...\
...\
l.3 \\stoptext\
",
 ["lastluaerror"]="...ce0dde776fb1556f32e/formats/luajittex/lpdf-ini-macro.lua:1029: attempt to call upvalue 'pdfsetpageresources' (a nil value)",
 ["lasttexerror"]="?",
 ["linenumber"]=1,
 ["luaerrorline"]="1029",
 ["offset"]=10,
}

untitled.pdf
Description: Adobe PDF document
open source > level 1, order 1, name '/home/ousia/ctxbeta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system  >
system  > ConTeXt  ver: 2019.05.25 10:45 MKIV beta  fmt: 2019.5.26  int: english/english
system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name '/home/ousia/ctxbeta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name '/home/ousia/ctxbeta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'untitled', input './untitled.xml', result 'untitled'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name 'untitled.tex'
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
open source > level 3, order 4, name '/home/ousia/ctxbeta/tex/texmf-context/tex/context/sample/common/zapf.tex'
close source> level 3, order 4, name '/home/ousia/ctxbeta/tex/texmf-context/tex/context/sample/common/zapf.tex'
backend > xmp > using file '/home/ousia/ctxbeta/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'

lua error   > lua error on line 1 in file untitled.tex:

...ce0dde776fb1556f32e/formats/luajittex/lpdf-ini-macro.lua:1029: attempt to call upvalue 'pdfsetpageresources' (a nil value)

1 >>  \starttext
2 \input zapf
3 \stoptext
4

\starttext
\input zapf
\stoptext
___
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] Fontloader

2019-05-26 Thread Hans Hagen

On 5/25/2019 9:46 PM, Herbert Voss wrote:

I had a problem with the fontloader and luatex.
I tried to run my test document with context
(latest minimal) to compare the output, but I failed.

The font LibertinusKeyboard-Regular.otf
https://ctan.org/tex-archive/fonts/libertinus-fonts/
uses ligatures especially for the keys above 0x
However, I cannot get it run with latest mkiv.
It is no problem with xetex. It should print only the
five keys and not the ones for every single letter.

Herbert

\font\keyboard=LibertinusKeyboard-Regular.otf
\starttext
\keyboard
Tab

Entf

Enter

Capslock

Windows

\stoptext

I'll look into it.

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 / 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 beta from 2019.05.25 10:45

2019-05-26 Thread Hans Hagen

On 5/26/2019 10:56 AM, Pablo Rodriguez wrote:

\starttext
 \input zapf
 \stoptext


no error here .. is that really the whole example?

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 / 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] Typesetting Markdown

2019-05-26 Thread Pablo Rodriguez
On 5/25/19 9:54 PM, Thangalin wrote:
>[...]
> For the document language, Pandoc provides language variables:
>
> https://pandoc.org/MANUAL.html#language-variables
> [...]
> Intermixing languages is also possible, as per the above link.

As far as I can remember, neither of them were available when I wrote
that (for ConTeXt, I mean).

I think that TeX output is the main problem in the development of
pandoc, because XML is so different from TeX.

But this is another issue and it doesn’t belong here.

Looking forward to seeing your sources and your output documents!

Pablo
--
http://www.ousia.tk
___
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 beta from 2019.05.25 10:45

2019-05-26 Thread Pablo Rodriguez
On 5/26/19 10:56 AM, Pablo Rodriguez wrote:
> [...]
> And here the error I get:
>
> lua error   > lua error on line 1 in file a.tex:
> ...ce0dde776fb1556f32e/formats/luajittex/lpdf-ini-macro.lua:1029:
>  attempt to call upvalue 'pdfsetpageresources' (a nil value)
>  1 >>  \starttext

BTW, I have just noticed that this only affects to MkIV, not to LMTX.

Pablo
--
http://www.ousia.tk
___
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] bug in beta from 2019.05.25 10:45

2019-05-26 Thread Pablo Rodriguez
Hi Hans,

here is my minimal sample:

\starttext
\input zapf
\stoptext

And here the error I get:

lua error   > lua error on line 1 in file a.tex:
...ce0dde776fb1556f32e/formats/luajittex/lpdf-ini-macro.lua:1029:
 attempt to call upvalue 'pdfsetpageresources' (a nil value)
 1 >>  \starttext
 2 \input zapf
 3 \stoptext

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
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
___