[NTG-context] LuaTeX 1.18.0

2024-02-21 Thread luigi scarso
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] Luatex 1.17.0 announcement.

2023-05-27 Thread luigi scarso via ntg-context
(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
___


[NTG-context] Luatex 1.15.0 announcement.

2022-04-03 Thread luigi scarso via ntg-context
==
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] --luatex option failing

2021-05-28 Thread Pablo Rodriguez
On 5/28/21 12:00 PM, Hans Hagen wrote:
> On 5/28/2021 11:40 AM, jbf wrote:
>> [...]
>> As this may be an 'ignorant' kind of question, something I should really
>> know but don't, about paths and permissions, there may be someone else
>> on the list with time (in lockdown like I am) to put me right.
> you need help from a linux expert indeed

Just a comment. I also experienced problems in Linux with --luatex some
days ago.

I got everything right with current latest (2021.05.27 14:15).

I would erase the cache and try it again:

  mtxrun --script cache --erase && mtxrun --generate

I’m not a Linux expert at all. But this might help.

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] Luatex format error

2021-05-28 Thread Hans Åberg

> On 23 May 2021, at 23:41, Hans Hagen  wrote:
> 
> So this is not lmtx (which also has luatex) but the regular installation 
> right?

The error occurs when there is a newline before the \starttext, as in the 
attachment. Remove the initial newline, and it compiles with
  context line_bug.tex
 
A workaround is to give the name of the file at the prompt '**', but one will 
get another such prompt after the compile.




line_bug.tex
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 / 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] Luatex format error

2021-05-28 Thread Hans Åberg

> On 23 May 2021, at 23:41, Hans Hagen  wrote:
> 
> So this is not lmtx (which also has luatex) but the regular installation 
> right?

It works with
  mtxrun math_style.tex 
but not
  context math_style.tex
where the file math_style.tex only contains
\starttext
  \m{f = \beta}
\stoptext

It does not help with context --generate.




___
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] --luatex option failing

2021-05-28 Thread Hans Hagen

On 5/28/2021 11:40 AM, jbf wrote:
Still finding it very difficult to nail what the real problem is. You 
say: "An mtxrun --generate or even context --generate should work ok. if 
not there's something with permissions or paths or a missing file".


Neither of the --generate options make any difference, so it clearly has 
to come down to "permissions or paths or a missing file". I cannot see 
that it is permissions. Comparing permissions on both machines (one 
working with --luatex and one not) I cannot see any difference. Paths? 
The only thing I can see is that I also have (later in the path) a 
separate installation for mkiv... but surely that would not make a 
difference? So, a missing file??


I renamed the current folder called lmtx so it would not be recognised 
(called it lmtxx) and created a new lmtx folder into which I have 
installed a new version (and obviously it would still be in the path, 
since ~/Documents/lmtx/tex/texmf-linux-64/bin is already in the path).


So two questions: (1) Is it possible that having another version (mkiv) 
later in the path is causing the problem? (2) If a file is missing, what 
could it possibly be, given that I did a fresh install?


not really, because the location where the running bin is found is 
determining the root of the to be used tds .. (i assume your cache is in 
that tree, not in some /tmp although even then the hashed name should 
prevent clashes)


As this may be an 'ignorant' kind of question, something I should really 
know but don't, about paths and permissions, there may be someone else 
on the list with time (in lockdown like I am) to put me right.

you need help from a linux expert indeed

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] --luatex option failing

2021-05-28 Thread jbf
Still finding it very difficult to nail what the real problem is. You 
say: "An mtxrun --generate or even context --generate should work ok. if 
not there's something with permissions or paths or a missing file".


Neither of the --generate options make any difference, so it clearly has 
to come down to "permissions or paths or a missing file". I cannot see 
that it is permissions. Comparing permissions on both machines (one 
working with --luatex and one not) I cannot see any difference. Paths? 
The only thing I can see is that I also have (later in the path) a 
separate installation for mkiv... but surely that would not make a 
difference? So, a missing file??


I renamed the current folder called lmtx so it would not be recognised 
(called it lmtxx) and created a new lmtx folder into which I have 
installed a new version (and obviously it would still be in the path, 
since ~/Documents/lmtx/tex/texmf-linux-64/bin is already in the path).


So two questions: (1) Is it possible that having another version (mkiv) 
later in the path is causing the problem? (2) If a file is missing, what 
could it possibly be, given that I did a fresh install?


As this may be an 'ignorant' kind of question, something I should really 
know but don't, about paths and permissions, there may be someone else 
on the list with time (in lockdown like I am) to put me right.


Julian

On 28/5/21 5:15 pm, Hans Hagen wrote:

On 5/28/2021 7:13 AM, jbf wrote:

Hi list,

Not at all sure why this is happening. In my most recent install of 
lmtx (which works fine as lmtx) on Linux, I wanted to choose the 
--luatex option just to make a comparison between the mkiv output and 
lmtx.


The redirection part seems to work (... --script mtx-context --luatex 
myfile.tex --redirected), but no 'resolvers' follow. Instead I get 
mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'.


I have tried both luatextools --generate and mtxrun --generate, but 
neither of these fix the problem. Would someone know why this is not 
working? Or even better, how to fix it? I installed lmtx on another 
machine and have no problems using the --luatex option there, so the 
matter is not urgent for me, just puzzling! I do have a separate mkiv 
installation as well, but my understanding is that they would not 
conflict. LMTX contains everything that is needed.
In lmtx "mtxrun" and "context" are just links to "luametatex" and when 
called with a different name than "luametatex" they will try to locate 
scripts with their name in the same path (so there need to be 
mtxrun.lua and context.lua in that nin path). The mtxrun.lua file 
contains most lua libs so it can provide the same helpers as in 
context, when used as stand alone runner (so, instead if native lua 
one can just use mtxrun) while the context.lua script will locate 
mtx-context.lua and run that one. For that it needs the file database.


Forget about luatools .. gone for ages. An mtxrun --generate or even 
context --generate should work ok. if not there's somethign with 
permissions or paths or a missing file.


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] --luatex option failing

2021-05-28 Thread Hans Hagen

On 5/28/2021 7:13 AM, jbf wrote:

Hi list,

Not at all sure why this is happening. In my most recent install of lmtx 
(which works fine as lmtx) on Linux, I wanted to choose the --luatex 
option just to make a comparison between the mkiv output and lmtx.


The redirection part seems to work (... --script mtx-context --luatex 
myfile.tex --redirected), but no 'resolvers' follow. Instead I get 
mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'.


I have tried both luatextools --generate and mtxrun --generate, but 
neither of these fix the problem. Would someone know why this is not 
working? Or even better, how to fix it? I installed lmtx on another 
machine and have no problems using the --luatex option there, so the 
matter is not urgent for me, just puzzling! I do have a separate mkiv 
installation as well, but my understanding is that they would not 
conflict. LMTX contains everything that is needed.
In lmtx "mtxrun" and "context" are just links to "luametatex" and when 
called with a different name than "luametatex" they will try to locate 
scripts with their name in the same path (so there need to be mtxrun.lua 
and context.lua in that nin path). The mtxrun.lua file contains most lua 
libs so it can provide the same helpers as in context, when used as 
stand alone runner (so, instead if native lua one can just use mtxrun) 
while the context.lua script will locate mtx-context.lua and run that 
one. For that it needs the file database.


Forget about luatools .. gone for ages. An mtxrun --generate or even 
context --generate should work ok. if not there's somethign with 
permissions or paths or a missing file.


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
___


[NTG-context] --luatex option failing

2021-05-27 Thread jbf

Hi list,

Not at all sure why this is happening. In my most recent install of lmtx 
(which works fine as lmtx) on Linux, I wanted to choose the --luatex 
option just to make a comparison between the mkiv output and lmtx.


The redirection part seems to work (... --script mtx-context --luatex 
myfile.tex --redirected), but no 'resolvers' follow. Instead I get 
mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'.


I have tried both luatextools --generate and mtxrun --generate, but 
neither of these fix the problem. Would someone know why this is not 
working? Or even better, how to fix it? I installed lmtx on another 
machine and have no problems using the --luatex option there, so the 
matter is not urgent for me, just puzzling! I do have a separate mkiv 
installation as well, but my understanding is that they would not 
conflict. LMTX contains everything that is needed.


Julian

___
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] Luatex format error

2021-05-24 Thread Hans Åberg

> On 23 May 2021, at 23:41, Hans Hagen  wrote:
> 
> On 5/23/2021 9:28 PM, Hans Åberg wrote:
>> Using TexLive 2021, I got the error below. How to fix it? What input file 
>> should one give?
>> % context math_style.tex
>> resolvers   | formats | executing runner 'run luatex format': 
>> /usr/local/texlive/2021/bin/universal-darwin/luatex --jobname="math_style" 
>> --fmt=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt
>>  
>> --lua=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui
>>   --c:currentrun=1 --c:fulljobname="./math_style.tex" 
>> --c:input="./math_style.tex" --c:kindofrun=1 --c:maxnofruns=9 
>> --c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin"
>> This is LuaTeX, Version 1.13.2 (TeX Live 2021)
>>  system commands enabled.
>> **
>> Please type the name of your input file.
>> **
> So this is not lmtx (which also has luatex) but the regular installation 
> right?

% context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: 
/usr/local/texlive/2021/texmf-dist/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2021.03.05 19:11
mtx-context | main context file: 
/usr/local/texlive/2021/texmf-dist/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2021.03.05 19:11

% which context
/usr/local/texlive/2021/bin/universal-darwin/context

> Does that file have \starttext ... \stoptext ?

Yes, the example from another thread on math style.

\starttext
   \m{f = \beta}
\stoptext

> 
> There is something missing:
> 
>   ..cont-en.lui cont-yes.mkiv --c:currentrun=1
> 
> in mkiv the input is loaded indirectly (via cont-yes.mkiv) but in lmtx we 
> don't pass that one (not needed as we start up a bit different)

Should one use anything else than just 'context'?


___
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] Luatex format error

2021-05-23 Thread Hans Hagen

On 5/23/2021 9:28 PM, Hans Åberg wrote:

Using TexLive 2021, I got the error below. How to fix it? What input file 
should one give?


% context math_style.tex

resolvers   | formats | executing runner 'run luatex format': /usr/local/texlive/2021/bin/universal-darwin/luatex 
--jobname="math_style" 
--fmt=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt
 
--lua=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui
  --c:currentrun=1 --c:fulljobname="./math_style.tex" --c:input="./math_style.tex" --c:kindofrun=1 
--c:maxnofruns=9 --c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin"
This is LuaTeX, Version 1.13.2 (TeX Live 2021)
  system commands enabled.
**
Please type the name of your input file.
**
So this is not lmtx (which also has luatex) but the regular installation 
right?


Does that file have \starttext ... \stoptext ?

There is something missing:

   ..cont-en.lui cont-yes.mkiv --c:currentrun=1

in mkiv the input is loaded indirectly (via cont-yes.mkiv) but in lmtx 
we don't pass that one (not needed as we start up a bit different)


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
___


[NTG-context] Luatex format error

2021-05-23 Thread Hans Åberg
Using TexLive 2021, I got the error below. How to fix it? What input file 
should one give?


% context math_style.tex

resolvers   | formats | executing runner 'run luatex format': 
/usr/local/texlive/2021/bin/universal-darwin/luatex --jobname="math_style" 
--fmt=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt
 
--lua=/Users//Library/texlive/2021/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui
  --c:currentrun=1 --c:fulljobname="./math_style.tex" 
--c:input="./math_style.tex" --c:kindofrun=1 --c:maxnofruns=9 
--c:texmfbinpath="/usr/local/texlive/2021/bin/universal-darwin"
This is LuaTeX, Version 1.13.2 (TeX Live 2021) 
 system commands enabled.
**
Please type the name of your input file.
**


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

2021-04-02 Thread luigi scarso
==
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.

2021-03-28 Thread luigi scarso
==
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] LuaTeX and PDF.js

2021-01-08 Thread Vedran Miletić

08. 01. 2021. u 05:41, Aditya Mahajan piše:

On Fri, 8 Jan 2021, Hans Hagen wrote:


On 1/8/2021 12:39 AM, Vedran Miletić wrote:


It's whatever ConTeXt standalone has. I don't have any extra Lua installed:


--credits should mention the lua version


Should I see it on non-HiDPI as well? Because it seems it's there.


depends on what you consider (non) hdpi ... the positioning of glyphs
depends on font scale, rounding of stems and such (hints in fonts but
these get less relevant with high res displays), caching, inter glyph
corrections (that pdftex/luatex/...) put in the text stream to resync
within certain tolerances, etc ... (often a print is a better reference
as displays are seldom 600+ dpi) .. it's also why often expansion looks
bad on screen because even a sub percentage difference can give such
effects


Another way to see it is just zoom in on the PDF. If the artifacts go away on 
zooming in, then they are due to anti-aliasing.

Aditya

Thanks to both of you for the detailed explanations. Printed page shows 
no artifacts and neither does PDF.js when the text is zoomed. So it is 
an issue with anti-aliasing after all.


I'll report it to PDF.js and see what they tell me.

Regards,
Vedran

--
Vedran Miletić
vedran.miletic.net
___
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] LuaTeX and PDF.js

2021-01-07 Thread Aditya Mahajan
On Fri, 8 Jan 2021, Hans Hagen wrote:

> On 1/8/2021 12:39 AM, Vedran Miletić wrote:
> 
> > It's whatever ConTeXt standalone has. I don't have any extra Lua installed:
> 
> --credits should mention the lua version
> 
> > Should I see it on non-HiDPI as well? Because it seems it's there.
> 
> depends on what you consider (non) hdpi ... the positioning of glyphs 
> depends on font scale, rounding of stems and such (hints in fonts but 
> these get less relevant with high res displays), caching, inter glyph 
> corrections (that pdftex/luatex/...) put in the text stream to resync 
> within certain tolerances, etc ... (often a print is a better reference 
> as displays are seldom 600+ dpi) .. it's also why often expansion looks 
> bad on screen because even a sub percentage difference can give such 
> effects

Another way to see it is just zoom in on the PDF. If the artifacts go away on 
zooming in, then they are due to anti-aliasing.

Aditya___
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] LuaTeX and PDF.js

2021-01-07 Thread Vedran Miletić

On 07. 01. 2021. 23:01, Hans Hagen wrote:

what lua does your 2.08 have? if it's 5.2. then such small differences 
can be a side effect of lua (different number models), serialization 
of numbers (default accuracy), or maybe rounding in the lua=>tex font 
interface (there were some fixes iir), the number of digist that the 
backend uses, etc



It's whatever ConTeXt standalone has. I don't have any extra Lua installed:

$ luametatex --version
This is LuaMetaTeX, Version 2.08.11

Execute 'luametatex --credits' for credits and version details.

There is NO warranty. Redistribution of this software is covered by the 
terms

of the GNU General Public License, version 2 or (at your option) any later
version. For more information about these matters, see the file named 
COPYING

and the LuaTeX source.

Functionality : level 20210107
Support   : cont...@ntg.nl
Copyright : The Lua(Meta)TeX Team(s) (2005-2020+)

The LuaMetaTeX project is related to ConTeXt development. This macro package
tightly integrates TeX and MetaPost in close cooperation with Lua.

$ luatex --version
This is LuaTeX, Version 1.13.0 (TeX Live 2021/dev)

Execute  'luatex --credits'  for credits and version details.

There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2 or (at your option)
any later version. For more information about these matters, see the file
named COPYING and the LuaTeX source.

LuaTeX is Copyright 2020 Taco Hoekwater and the LuaTeX Team.


Typing lua gives command not found and texlua is system one.

anyhow, so what you see (in the file) is (per line) transform matrices 
that are slightly different so what you then see is rounding to the 
device pixels



Should I see it on non-HiDPI as well? Because it seems it's there.


Regards,

Vedran

i wouldn't loose sleep over it .. nowadays fonts also evolve and that 
gives larger differences


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
-



--
Vedran Miletić
vedran.miletic.net
___
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 and PDF.js

2021-01-07 Thread Vedran Miletić

Hello,

I compared latest ConTeXt standalone (LuaTeX 2.08) against TeX Live 2020 
(LuaTeX 1.12). The produced PDFs are:


https://miletic.net/lipsum-112.pdf
https://miletic.net/lipsum-208.pdf

Viewing them with Evince (and I assume Adobe Reader, I don't have it at 
hand to test) shows only minor differences in (horizontal) character 
spacing, which I would expect; the text looks reasonably good either 
way. However, viewing them with PDF.js shows a large difference:


https://miletic.net/lipsum-pdfjs-112.png
https://miletic.net/lipsum-pdfjs-208.png

As you can observe, b, m, n, p, and r (and possibly others) are moved 
slightly above other letters. Is this the expected behavior? If not, is 
this an issue with the way PDF.js is displaying the PDF or the way 
LuaTeX is producing it?


Thanks in advance.

Regards,
Vedran Miletić


--
Vedran Miletić
vedran.miletic.net

___
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] LuaTeX and PDF.js

2021-01-07 Thread Hans Hagen

On 1/8/2021 12:39 AM, Vedran Miletić wrote:


It's whatever ConTeXt standalone has. I don't have any extra Lua installed:


--credits should mention the lua version


Should I see it on non-HiDPI as well? Because it seems it's there.


depends on what you consider (non) hdpi ... the positioning of glyphs 
depends on font scale, rounding of stems and such (hints in fonts but 
these get less relevant with high res displays), caching, inter glyph 
corrections (that pdftex/luatex/...) put in the text stream to resync 
within certain tolerances, etc ... (often a print is a better reference 
as displays are seldom 600+ dpi) .. it's also why often expansion looks 
bad on screen because even a sub percentage difference can give such 
effects

 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] LuaTeX and PDF.js

2021-01-07 Thread Hans Hagen

On 1/7/2021 10:10 PM, Vedran Miletić wrote:

Hello,

I compared latest ConTeXt standalone (LuaTeX 2.08) against TeX Live 2020 
(LuaTeX 1.12). The produced PDFs are:


https://miletic.net/lipsum-112.pdf
https://miletic.net/lipsum-208.pdf

Viewing them with Evince (and I assume Adobe Reader, I don't have it at 
hand to test) shows only minor differences in (horizontal) character 
spacing, which I would expect; the text looks reasonably good either 
way. However, viewing them with PDF.js shows a large difference:


https://miletic.net/lipsum-pdfjs-112.png
https://miletic.net/lipsum-pdfjs-208.png

As you can observe, b, m, n, p, and r (and possibly others) are moved 
slightly above other letters. Is this the expected behavior? If not, is 
this an issue with the way PDF.js is displaying the PDF or the way 
LuaTeX is producing it?
what lua does your 2.08 have? if it's 5.2. then such small differences 
can be a side effect of lua (different number models), serialization of 
numbers (default accuracy), or maybe rounding in the lua=>tex font 
interface (there were some fixes iir), the number of digist that the 
backend uses, etc


anyhow, so what you see (in the file) is (per line) transform matrices 
that are slightly different so what you then see is rounding to the 
device pixels


i wouldn't loose sleep over it .. nowadays fonts also evolve and that 
gives larger differences


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
___


[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  \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] LuaTeX incompatible with Lua

2019-11-21 Thread Hans Hagen

On 11/21/2019 8:17 AM, Henri Menke wrote:

Dear list,

The following Lua script behaves differently when executed in Lua vs.
LuaTeX.

     print(os.execute("date"))

It seems that the definition of os_execute in loslibext.c was copied
over from Lua 5.1 and not adapted to newer versions.

     $ lua5.1 test.lua
     0
     $ lua5.2 test.lua
     true    exit    0
     $ lua5.3 test.lua
     true    exit    0
     $ texlua test.lua
     0
     $ luajit test.lua
     0
     $ texluajit test.lua
     0

As you can see from the example, this comes with the additional
complication that LuaJIT has Lua 5.1 behaviour and should also retain
that.
Indeed, the old interface was kept (also for compatibility reasons as 
lua is used for scripts in texlive etc).


If one used lua as well as luatex as lua engine for the same script one 
can write a wrapper if needed (I have been thinking of that on context 
but again it would also mean adapting older scripts laying around.)


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] LuaTeX incompatible with Lua

2019-11-20 Thread Henri Menke

Below I include a suggestion on how to do this sort of version agnostic.

Cheers, Henri

Live example on Wandbox:

https://wandbox.org/permlink/jEn9kNnPB0t5rwjP

---

#include 
#include 
#include 

#include 
#include 

static int (*lua_os_execute)(lua_State *L) = NULL;

static int os_execute(lua_State *L) {
// Do whatever
printf("Hello Hans!\n");

// Safeguard
assert(lua_os_execute != NULL);

// Return wrapped
return lua_os_execute(L);
}

LUAMOD_API int luaopen_oslibext(lua_State *L) {
lua_getglobal(L, "os");

// Get the address of the original function
if (lua_os_execute == NULL) {
lua_getfield(L, -1, "execute");
lua_os_execute = lua_tocfunction(L, -1);
lua_pop(L, 1);
}

// Push the new function to overwrite the old one
lua_pushcfunction(L, os_execute);
lua_setfield(L, -2, "execute");
return 1;
}

int main(void) {
lua_State *L = luaL_newstate();
luaL_openlibs(L);
luaopen_oslibext(L);

if (luaL_dostring(L, "os.execute([[date]])") != 0) {
fprintf(stderr, "%s", lua_tostring(L, -1));
lua_pop(L, 1);
}

lua_close(L);
}

On 11/21/19 8:17 PM, Henri Menke wrote:

Dear list,

The following Lua script behaves differently when executed in Lua vs.
LuaTeX.

  print(os.execute("date"))

It seems that the definition of os_execute in loslibext.c was copied
over from Lua 5.1 and not adapted to newer versions.

  $ lua5.1 test.lua
  0
  $ lua5.2 test.lua
  true  exit0
  $ lua5.3 test.lua
  true  exit0
  $ texlua test.lua
  0
  $ luajit test.lua
  0
  $ texluajit test.lua
  0

As you can see from the example, this comes with the additional
complication that LuaJIT has Lua 5.1 behaviour and should also retain
that.

Cheers, Henri


___
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 incompatible with Lua

2019-11-20 Thread Henri Menke

Dear list,

The following Lua script behaves differently when executed in Lua vs.
LuaTeX.

print(os.execute("date"))

It seems that the definition of os_execute in loslibext.c was copied
over from Lua 5.1 and not adapted to newer versions.

$ lua5.1 test.lua
0
$ lua5.2 test.lua
trueexit0
$ lua5.3 test.lua
trueexit0
$ texlua test.lua
0
$ luajit test.lua
0
$ texluajit test.lua
0

As you can see from the example, this comes with the additional
complication that LuaJIT has Lua 5.1 behaviour and should also retain
that.

Cheers, Henri
___
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

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


[NTG-context] luatex-fonts-merged.lua broken?

2019-06-25 Thread Ulrike Fischer
Hans,

we think that luatex-fonts-merged.lua is broken: It contains in line
8594 

return characters.indicgroups

(from luatex-basics-chr.lua) and such a return statement is a
problem in a merged file. 


-- 
Ulrike Fischer 
https://www.troubleshooting-tex.de/

___
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 crash around page 1000

2019-04-12 Thread Akira Kakuto

The event manager says, that it is a stack exhaustion (0xc0fd,
STATUS_STACK_OVERFLOW).


Many thanks. I'll increase size of stack.

Best,
Akira

___
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] luatex crash around page 1000

2019-04-12 Thread Peter Rolf
Am 12.04.2019 um 07:36 schrieb Akira Kakuto:
>> 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.
>

I'm already on 64bit, so that won't help here.

The event manager says, that it is a stack exhaustion (0xc0fd,
STATUS_STACK_OVERFLOW).
The PDF is data driven and I need to call a lot of functions per page to
collect all components and values for a complete 'Mech. This seems to
sum up and I just run out of stack memory after around 1000 pages.

Screenshots from the event manager (application error), Process Explorer
(peak memory values) and an outdated version of the PDF can be found here

https://spideroak.com/browse/share/indiego/public/RogueTech/


Peter
___
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] luatex crash around page 1000

2019-04-12 Thread Hans Hagen

On 4/12/2019 7:36 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.
Indeed. Most memory or stack related overflows in the engine itself are 
reported.


Maybe running with the task manager open will reveal an increase of memory.

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] 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  pdf with an unusual image.

-- 
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 crash around page 1000

2019-04-12 Thread Akira Kakuto

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.

Best,
Akira

___
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] luatex crash around page 1000

2019-04-11 Thread Hans Hagen

On 4/11/2019 12:28 PM, Peter Rolf wrote:


I have a compilation problem with a data driven document.
This is what I get after around 12min (first run)...


I'm still puzzled by this 12 min ... so less than one page per second 
... do you need to process all that data each run? It's over a decade 
ago that I could start a run and come back after an enforced break to 
check. Is there some memory build up (swapping)? Is the speed linear?


\enabletrackers[pages.timing]

Will show the time spend per page.


[..]
pages   > flushing realpage 991, userpage 970, subpage 991
pages   > flushing realpage 992, userpage 971, subpage 992
pages   > flushing realpage 993, userpage 972, subpage 993
mtx-context | fatal error: return code: -1073741571


It compiles fine if I just use the first or second "half" of the data.
But as soon as I reach a certain amount of pages, it crashes.
An older version compiled fine with 958 users pages (977 total). Seems
that the data has reached a dimension that causes a resource problem.

Any advice? I looked into "texmf.cnf" and "texmfcnf.lua" for possible
bottlenecks, but I lack the knowledge what to change. And it simply
takes too much (run)time to just play around with some values.
I'll add a \showusage commands that reports some stats per page so that 
you can see what grows out of control.


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] luatex crash around page 1000

2019-04-11 Thread Hans Hagen

On 4/11/2019 12:28 PM, Peter Rolf wrote:

Hi,

I have a compilation problem with a data driven document.
This is what I get after around 12min (first run)...


that pretty slow ...


[..]
pages   > flushing realpage 991, userpage 970, subpage 991
pages   > flushing realpage 992, userpage 971, subpage 992
pages   > flushing realpage 993, userpage 972, subpage 993
mtx-context | fatal error: return code: -1073741571


It compiles fine if I just use the first or second "half" of the data.
But as soon as I reach a certain amount of pages, it crashes.
An older version compiled fine with 958 users pages (977 total). Seems
that the data has reached a dimension that causes a resource problem.

Any advice? I looked into "texmf.cnf" and "texmfcnf.lua" for possible
bottlenecks, but I lack the knowledge what to change. And it simply
takes too much (run)time to just play around with some values.
you can try to bump values (trial and error) but for some you need to 
remake the format


does lmtx also has that problem?

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
___


[NTG-context] luatex crash around page 1000

2019-04-11 Thread Peter Rolf
Hi,

I have a compilation problem with a data driven document.
This is what I get after around 12min (first run)...

[..]
pages   > flushing realpage 991, userpage 970, subpage 991
pages   > flushing realpage 992, userpage 971, subpage 992
pages   > flushing realpage 993, userpage 972, subpage 993
mtx-context | fatal error: return code: -1073741571


It compiles fine if I just use the first or second "half" of the data.
But as soon as I reach a certain amount of pages, it crashes.
An older version compiled fine with 958 users pages (977 total). Seems
that the data has reached a dimension that causes a resource problem.

Any advice? I looked into "texmf.cnf" and "texmfcnf.lua" for possible
bottlenecks, but I lack the knowledge what to change. And it simply
takes too much (run)time to just play around with some values.


Peter


>context --version
mtx-context | ConTeXt Process Management 1.02
mtx-context |
mtx-context | main context file:
r:/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2019.04.04 13:31

>luatex --version
This is LuaTeX, Version 1.10.0 (TeX Live 2019/W32TeX)
___
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] LuaTex on Windows PCs

2019-03-04 Thread Jan Tosovsky
On 2019-03-04 Hans Hagen wrote:
> On 3/4/2019 4:58 PM, Nigel King wrote:
> > IT do not seem to be able to install a working version of LuaTeX on PCs.
> > I have directed them to ConTeXt Garden but they have had no luck.
> >
> 
> https://wiki.contextgarden.net/ConTeXt_Standalone
> 
> download
> 
> http://minimals.contextgarden.net/setup/context-setup-mswin.zip
> http://minimals.contextgarden.net/setup/context-setup-win64.zip
> 
> unzip someplace, then run
> 
> first-setup.bat
> 

I suppose the problematic part is rsync here, which communicates via unusual 
port number 873. It is typically disabled in company environments.

I encountered this few years ago. Now I've found a workaround for this (but not 
tested):
https://www.poftut.com/specify-different-port-for-linux-rsync/

Jan

___
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] LuaTex on Windows PCs

2019-03-04 Thread Hans Hagen

On 3/4/2019 4:58 PM, Nigel King wrote:

Hi All,
I have been using ConTeXt on Macs for >20 years. Having written a 
particular piece of code for others to operate who have PCs, I am now 
stuck.


I upgraded to LuaTeX some time ago as recommended on this list.

IT do not seem to be able to install a working version of LuaTeX on PCs. 
I have directed them to ConTeXt Garden but they have had no luck.


Do any of you have guaranteed pointers to a simple installation on PCs? 
Simple editing and creating (from ConTeXt) the PDFs is all that is required.
The installation page really needs an update ... the starting point is 
here:


https://wiki.contextgarden.net/ConTeXt_Standalone

download

http://minimals.contextgarden.net/setup/context-setup-mswin.zip
http://minimals.contextgarden.net/setup/context-setup-win64.zip

unzip someplace, then run

first-setup.bat

etc

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


[NTG-context] LuaTex on Windows PCs

2019-03-04 Thread Nigel King
Hi All,
I have been using ConTeXt on Macs for >20 years. Having written a particular 
piece of code for others to operate who have PCs, I am now stuck. 

I upgraded to LuaTeX some time ago as recommended on this list.

IT do not seem to be able to install a working version of LuaTeX on PCs. I have 
directed them to ConTeXt Garden but they have had no luck.

Do any of you have guaranteed pointers to a simple installation on PCs? Simple 
editing and creating (from ConTeXt) the PDFs is all that is required.

Thanks
—
Nigel
ni...@nigelking.me.uk
m:07917 803879

___
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.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
___
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] LuaTeX manual is broken

2019-01-18 Thread Hans Hagen

On 1/18/2019 9:32 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
- Foxit 2.4.4.0911
- muPDF 1.12.0

Please fix.

i noticed that last night ... fixed in next upload (not today)

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] 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
> - Foxit 2.4.4.0911
> - muPDF 1.12.0
>

confirmed.

-- 
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 manual is broken

2019-01-18 Thread Henri Menke
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
- Foxit 2.4.4.0911
- muPDF 1.12.0

Please fix.

Cheers, Henri
___
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] [luatex] Luatex 1.09.0 announcement (following)

2018-10-26 Thread Werner LEMBERG

> We have a new pdf parser (pplib from Paweł Jackowski) that replaces
> poppler.  It is much smaller, a bit faster and it's written in
> pure C [...]

Is there a project page for pplib?  The source code of this library
contained in TeXLive is very, very uncommented – in particular, a
description of the API is completely missing, AFAICS.  It also comes
with overly long lines and extremely densely written C code; it almost
feels as if the original source has been written with cweb or
something like that.


Werner
___
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] [luatex] Luatex 1.09.0 announcement (following)

2018-10-25 Thread luigi scarso
On Thu, Oct 25, 2018 at 8:57 PM Werner LEMBERG  wrote:

>
> > We have a new pdf parser (pplib from Paweł Jackowski) that replaces
> > poppler.  It is much smaller, a bit faster and it's written in
> > pure C [...]
>
> Is there a project page for pplib?  The source code of this library
> contained in TeXLive is very, very uncommented – in particular, a
> description of the API is completely missing, AFAICS.  It also comes
> with overly long lines and extremely densely written C code; it almost
> feels as if the original source has been written with cweb or
> something like that.
>
there is a documentation under html
 luatex/tags/1.09.0/source/texk/web2c/luatexdir/luapplib/html

see
http://www.luatex.org/download.html
for the svn repo
-- 
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.09.0 announcement (following)

2018-10-25 Thread luigi scarso
Hi all,

At the context meeting we presented (and discussed) the state of luatex and
released 1.08 as a prelude to 1.09. Today we announce version 1.09.

We are gradually entering into a "bug fix / no more features"
mode. The goal is to have the beginning of "stable" luatex 1.10 for
next texlive 2019, and in our minds "stable" means "in the long term
like pdftex".

In practice this means that luatex comes with lua 5.3.4, that
luajittex uses luajit 2.1 beta3, and that context will assume and support
this setup for a long time. This also means that we will keep the lua
5.3.4 API. Issues with luajitex will be solved whenever it is
possible, but we expect that some platforms will not have luajittex
and  this is nothing new, as it already happens in texlive.

By going stable we also hope that those using the lua interfaces will
not be catched by surprises. The internals are predictable enough for
that.

We have a new pdf parser (pplib from Paweł Jackowski) that replaces
poppler.  It is much smaller, a bit faster and it's written in pure C
so it fits also well with our idea of "stable" wrt to the compiler
versions. It also removes a dependency on a large library set. We are
actively testing it but appreciate testing from "power users" (like
Hraban did at the ctx meeting). Of course our powerful buildbot farm
helps a lot in the process.

We will of course try to make the luatex manual better and further
document mkiv features. If you have suggestions for context, don't
hesitate to ask because we keep evolving.

We would like to stress the terms "gradually" and "beginning":
practically we think means that, at least for the next year, there
will be our "usual" cycle of intermediate bugfix releases, but at this
point we are quite sure that for the TeX users the core features are
both powerful and complete enough for a large set of useful
applications, and context is an example of such application.

At the same time, we are not stopping research and developing, if only
because the rest of the world is moving on. As usual the context
meeting is place where we will report the results.




Happy using,

Luigi & Hans
___
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.09.0 announcement

2018-10-23 Thread luigi scarso
==
LuaTeX 1.09 2018-10-23
==

(1) This is a release that fixed some bugs, and the latest
with lua 5.2.

(2) luaffi is still incomplete, so very likely there will be
a new release 1.09.1 before the next year.


The LuaTeX team
___
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] luatex on the garden

2018-08-31 Thread Hans Hagen

On 8/31/2018 8:56 PM, Pablo Rodriguez wrote:

On 08/31/2018 10:27 AM, Hans Hagen wrote:

[...]
A lot of work went into this release and we hope that it's worth it. I
will rmove some older code paths in a few weeks (less code that way) so
then beta's will assume the new binary is used.


Many thanks for the new LuaTeX, Hans.

I have used for a document (http://blog.ousia.tk/0005/#context-source),
which hashes (with both SHA512 and SHA256) 38 external files.

With the previous beta, it took about 160s to completely generate the
PDF output (always with --purgeall). With the current beta, it only took
9.9s, which is a huge improvement.
I know that this might be the most favorable case for the new LuaTeX
improvements, but this is even faster than using the external binaries
that the OS (Linux64 in this case) provides.

This faster compilation could be also decreased when LuaJIT includes
bitwise operators, couldn’t it be?


it's unlikely that that will happen (basically luajit stays 5.2 so 
eventualy we might have to drop it) but if you do some extensive testing 
you will notice that mkiv with luatex is not that much slower than 
luajittex on regular documents (definitely the gap is becoming less)


luajit(tex) has some built in knowledge about its bit functions so it 
can optimize them (just like math functions, which is why these 
calculating benchmarks work out so well)


in context we use bitwise operators in luatex and the bit functions when 
in luajittex (these operators are not used that frequently yet) and you 
don't want to know the details



Many thanks for your excellent work again,

Thanks.

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
___

[NTG-context] Luatex 1.08.0 announcement

2018-08-31 Thread luigi scarso
==
LuaTeX 1.08 2018-08-28
==


(1) This release is a prelude to 1.10, the next stable iteration of LuaTeX
after version 1.00.

(2) Lua 5.3 is now considered to be default and we might use 5.4 in version
1.10. There are no real functional changed expected. You still need to
rename
the binary for 5.3!

(3) Binary mode is no longer available in MPlib but it is still available in
stand alone MetaPost. This simplifies compilation and reduces dependencies.

(4) The dependency on Poppler for pdf image inclusion has been removed. We
now use a small dedicated library written by Pawel Jakowski. We no longer
need c++ compilers. We're in the process of making it behave well on all
platforms. It has been tested on intel platforms.

(5) We know that there can be some (alignment) issues with the arm platform
but these are looked into. Therefore, later this year we will release 1.09.
Version 1.10 is planned for TeXlive. We hope that ffi works ok on intel and
arm platforms at that point.

(6) There have been some extensions to the Lua libraries and some callbacks
have been added. Also, a few new primitives have been introduced. The
documentation mentions the stable extensions.

(7) There are the usual bug fixes and cleanups but there have been no real
fundamental changes in the API.

The LuaTeX team
___
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] luatex on the garden

2018-08-31 Thread Pablo Rodriguez
On 08/31/2018 10:27 AM, Hans Hagen wrote:
> [...]
> A lot of work went into this release and we hope that it's worth it. I 
> will rmove some older code paths in a few weeks (less code that way) so 
> then beta's will assume the new binary is used.

Many thanks for the new LuaTeX, Hans.

I have used for a document (http://blog.ousia.tk/0005/#context-source),
which hashes (with both SHA512 and SHA256) 38 external files.

With the previous beta, it took about 160s to completely generate the
PDF output (always with --purgeall). With the current beta, it only took
9.9s, which is a huge improvement.

I know that this might be the most favorable case for the new LuaTeX
improvements, but this is even faster than using the external binaries
that the OS (Linux64 in this case) provides.

This faster compilation could be also decreased when LuaJIT includes
bitwise operators, couldn’t it be?

Many thanks for your excellent work again,

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] luatex on the garden

2018-08-31 Thread Hans Hagen

Hi,

We now have a new version of luatex on the garden. This is the anual 
context meeting release which is a prelude to next years 1.10 version 
for texlive. The version number is 1.08 (as 1.09 will be out in a few 
months and mostly concerns some fixes needed for arm).


For the average user there are no real differences (luatex 1.10 will 
basically be functionality complete). Of course we use lua 5.3 (1.10 
might actually use 5.4). You can expect (depending on usage) a bit 
better performance as i wrapped some (yet) unsupported stuff into 
fallback functions.


Things to watch out for: context now uses a one-pass mp approach which 
so far worked ok (alan an i tested it in regular usage). This might 
boost performance in case where extensive mp embedding takes place.


Poppler is gone and replaced by pplib by Pawel Jakowski written for us. 
Currently he and luigi are finetuning the c code for portability. Users 
should not notice this (but it removes a dependency). More on some of 
the consequences later. It also makes the binary smaller.


The binary mode in mplib is not available in luatex. It has no real 
benefits (and is probably not used, not even by alan) apart from 
research. This removes a large dependency on foreign code (we try to 
minimlize that) and again makes the binary smaller. We might introduce 
64 bit scaled at some point (luigi will look into that next year).


There are some changes in terms of efficiency that kick in now. I only 
tested on my setup but it's probably ok. Don't expect drastic 
improvements wrr to average performsance from now on. For those on 
windows: i noticed a performance difference between the native and mingw 
binaries (with native being slower, mostly due to format saving and 
loading).


A lot of work went into this release and we hope that it's worth it. I 
will rmove some older code paths in a few weeks (less code that way) so 
then beta's will assume the new binary is used.


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
___

[NTG-context] luatex

2018-08-28 Thread Hans Hagen

Hi,

We're in the process of pushing a new luatex binary to the garden. It 
might be that context and luatex are out of sync (version checking 
stuff) but all will be well in a while.


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] luatex hangs with \placebookmarks

2018-05-12 Thread Joseph Canedo
Thanks for the fix in latest beta (05.12.2018).

De : Joseph Canedo
Envoyé le :mardi 24 avril 2018 13:00
À : mailing list for ConTeXt users
Objet :RE: luatex hangs with \placebookmarks

Just in case it helps if , openaction=FitWidth, focus=width] is commented out 
in first line, the hanging problem disappears.

De : Joseph Canedo
Envoyé le :lundi 23 avril 2018 18:56
À : mailing list for ConTeXt users
Objet :luatex hangs with \placebookmarks

Dear list,

I use 

$ context --version
mtx-context | ConTeXt Process Management 1.02
mtx-context | current version: 2018.04.19 15:53

With this simple attached MWE, I have luatex hanging in run 3. No idea what I 
am doing wrong.
In other cases I get a lua error (could not write a MWE yet that reproduces 
this) :

lua error   > lua error on line 0 in file :

...est/tex/texmf-context/tex/context/base/mkiv/lpdf-ano.lua:292: attempt to 
index a nil value

Thanks a lot
Best regards

Joseph



___
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] luatex hangs with \placebookmarks

2018-04-24 Thread Joseph Canedo
Just in case it helps if , openaction=FitWidth, focus=width] is commented out 
in first line, the hanging problem disappears.

De : Joseph Canedo
Envoyé le :lundi 23 avril 2018 18:56
À : mailing list for ConTeXt users
Objet :luatex hangs with \placebookmarks

Dear list,

I use 

$ context --version
mtx-context | ConTeXt Process Management 1.02
mtx-context | current version: 2018.04.19 15:53

With this simple attached MWE, I have luatex hanging in run 3. No idea what I 
am doing wrong.
In other cases I get a lua error (could not write a MWE yet that reproduces 
this) :

lua error   > lua error on line 0 in file :

...est/tex/texmf-context/tex/context/base/mkiv/lpdf-ano.lua:292: attempt to 
index a nil value

Thanks a lot
Best regards

Joseph


___
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 hangs with \placebookmarks

2018-04-23 Thread Joseph Canedo
Dear list,

I use 

$ context --version
mtx-context | ConTeXt Process Management 1.02
mtx-context | current version: 2018.04.19 15:53

With this simple attached MWE, I have luatex hanging in run 3. No idea what I 
am doing wrong.
In other cases I get a lua error (could not write a MWE yet that reproduces 
this) :

lua error   > lua error on line 0 in file :

...est/tex/texmf-context/tex/context/base/mkiv/lpdf-ano.lua:292: attempt to 
index a nil value

Thanks a lot
Best regards

Joseph



test_section.tex
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 / 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.08

2018-04-19 Thread Hans Hagen

Hi,

We released luatex 1.08 beta which uses lua 5.3 and will be default on 
the garden as soon as mojca moves the bins to the right place. We don't 
expect many issues as we tested it for quite a while.


The context current works on both 1.07 and 1.08 but of course at some 
point the beta might evolve towards using 1.08 features. We're now 
stepping up to 1.09 for ourselves and will probably release that around 
the ctx meeting, which then leads to 1.10 for tex live 2019.


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
___

[NTG-context] Luatex 1.07.0 announcement

2018-04-19 Thread luigi scarso
==
LuaTeX 1.07 2018-01-17
==

(1) This release brings Lua 5.3 to LuaTeX. We have tested an experimental
version
for a few months and not encountered issues.

(2) If you use Lua 5.3 you should be aware of a few changes in the language
and
its implementation. Numbers are now either integers or floats but are cast
automatically.

(3) In some cases (e.g. string.format) there is a more strict check. A
float always
has a decimal appended when serialized, so 1 becomes 1.0 as string.

(4) We keep supporting the bit32 library on top of the new bit operators.
Be aware
of the fact that currently LuajitTeX does not have these operators.

(5) Performance of LuaTeX with Lua 5.3 can be slightly better than with 5.2
but this
really depends on your usage of Lua. In practice there should be no
slowdown.

(6) We are aware of possible substantial slowdown of string.format
depending on the
platform and compiler. This depends on Lua too and will be resolved in due
time.

(7) If you want to test with Lua 5.3 then have to build LuaTeX with
--lua53. Because
ConTeXt will switch to 5.3 after this release there will be binaries
available at the
ConTeXt garden.

(8) The 2018 TeXlive distribution will ship with LuaTeX using Lua 5.2 but
there will
likely be an additional binary LuaTeX53 available.

(9) From 2019 TeXlive will ship with LuaTeX and Lua 5.3 as default. We
provide --lua52
as build flag for a while. By then we might be looking at Lua 5.4 already.

(10) There are the usual patches and cleanups and a few small additions
(mentioned
in the manual) but there have been no fundamental changes in the API (apart
from
removing depricated and undocumented functionality).



The LuaTeX team
___
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] luatex binary is too old

2018-01-15 Thread luigi scarso
On Mon, Jan 15, 2018 at 9:12 PM, Mojca Miklavec
 wrote:
> On 15 January 2018 at 20:54, luigi scarso  wrote:
>> Il 15 gen 2018 20:52, "Mojca Miklavec" ha scritto:
>> On 15 January 2018 at 15:26, Mojca Miklavec wrote:
>>> On 15 January 2018 at 14:56, Hans Hagen wrote:
 On 1/15/2018 2:47 PM, Roger Mason wrote:
>
> : Your luatex binary is too old, you need at least version 1.05!
>
> Where do I get the updated luatex binary?
>
> I'm running on FreeBSD 10.3, 32 bit.

 Does that binary come from the garden too?
>>>
>>> I can take a look.
>>>
>>> It's quite possible that FreeBSD didn't get updated after the problems
>>> with firewalls and networks being shifted around at both ends.
>>
>> I tried to compile it, but it fails with
>>
>> In file included from
>> ../../../source/libs/poppler/poppler-src/poppler/Annot.cc:62:
>> In file included from
>> ../../../source/libs/poppler/poppler-src/poppler/PDFDoc.h:53:
>> ../../../source/libs/poppler/poppler-src/poppler/Form.h:271:79: error:
>> unknown type name 'time_t'
>>   SignatureInfo *validateSignature(bool doVerifyCert, bool
>> forceRevalidation, time_t validationTime);
>>
>> ^
>> ../../../source/libs/poppler/poppler-src/poppler/Form.h:534:79: error:
>> unknown type name 'time_t'
>>   SignatureInfo *validateSignature(bool doVerifyCert, bool
>> forceRevalidation, time_t validationTime);
>>
>> ^
>> 2 errors generated.
>>
>> Hm, trunk ?
>
> Are you suggesting to distribute LuaTeX trunk for everyone?
I mean if it's  trunk or tags/1.06.3

trunk is aligned with texlive
and last time I have compiled TeX Live revision 46275 built
2018-01-10T10:00:19+00:00 UTC
was ok for Linux .




-- 
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] luatex binary is too old

2018-01-15 Thread Mojca Miklavec
On 15 January 2018 at 20:54, luigi scarso  wrote:
> Il 15 gen 2018 20:52, "Mojca Miklavec" ha scritto:
> On 15 January 2018 at 15:26, Mojca Miklavec wrote:
>> On 15 January 2018 at 14:56, Hans Hagen wrote:
>>> On 1/15/2018 2:47 PM, Roger Mason wrote:

 : Your luatex binary is too old, you need at least version 1.05!

 Where do I get the updated luatex binary?

 I'm running on FreeBSD 10.3, 32 bit.
>>>
>>> Does that binary come from the garden too?
>>
>> I can take a look.
>>
>> It's quite possible that FreeBSD didn't get updated after the problems
>> with firewalls and networks being shifted around at both ends.
>
> I tried to compile it, but it fails with
>
> In file included from
> ../../../source/libs/poppler/poppler-src/poppler/Annot.cc:62:
> In file included from
> ../../../source/libs/poppler/poppler-src/poppler/PDFDoc.h:53:
> ../../../source/libs/poppler/poppler-src/poppler/Form.h:271:79: error:
> unknown type name 'time_t'
>   SignatureInfo *validateSignature(bool doVerifyCert, bool
> forceRevalidation, time_t validationTime);
>
> ^
> ../../../source/libs/poppler/poppler-src/poppler/Form.h:534:79: error:
> unknown type name 'time_t'
>   SignatureInfo *validateSignature(bool doVerifyCert, bool
> forceRevalidation, time_t validationTime);
>
> ^
> 2 errors generated.
>
> Hm, trunk ?

Are you suggesting to distribute LuaTeX trunk for everyone?

Anyway, the same problem happens with the latest TeX Live sources as well.

I added
   #include 
to poppler-src/poppler/Form.h after which the build proceeds, but
later fails again building ICU.

../../../libs/icu/icu-src/source/i18n/coll.cpp:157:28: error: pasting
formed 'u"Collator"', an invalid preprocessing token
: ICULocaleService(UNICODE_STRING_SIMPLE("Collator"))
   ^

Mojca
___
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] luatex binary is too old

2018-01-15 Thread luigi scarso
Il 15 gen 2018 20:52, "Mojca Miklavec"  ha
scritto:

On 15 January 2018 at 15:26, Mojca Miklavec wrote:
> On 15 January 2018 at 14:56, Hans Hagen wrote:
>> On 1/15/2018 2:47 PM, Roger Mason wrote:
>>>
>>> : Your luatex binary is too old, you need at least version 1.05!
>>>
>>> Where do I get the updated luatex binary?
>>>
>>> I'm running on FreeBSD 10.3, 32 bit.
>>
>> Does that binary come from the garden too?
>
> I can take a look.
>
> It's quite possible that FreeBSD didn't get updated after the problems
> with firewalls and networks being shifted around at both ends.

I tried to compile it, but it fails with

In file included from
../../../source/libs/poppler/poppler-src/poppler/Annot.cc:62:
In file included from
../../../source/libs/poppler/poppler-src/poppler/PDFDoc.h:53:
../../../source/libs/poppler/poppler-src/poppler/Form.h:271:79: error:
unknown type name 'time_t'
  SignatureInfo *validateSignature(bool doVerifyCert, bool
forceRevalidation, time_t validationTime);

  ^
../../../source/libs/poppler/poppler-src/poppler/Form.h:534:79: error:
unknown type name 'time_t'
  SignatureInfo *validateSignature(bool doVerifyCert, bool
forceRevalidation, time_t validationTime);

  ^
2 errors generated.

Mojca

___
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

___

Hm ,trunk ?
___
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] luatex binary is too old

2018-01-15 Thread Mojca Miklavec
On 15 January 2018 at 15:26, Mojca Miklavec wrote:
> On 15 January 2018 at 14:56, Hans Hagen wrote:
>> On 1/15/2018 2:47 PM, Roger Mason wrote:
>>>
>>> : Your luatex binary is too old, you need at least version 1.05!
>>>
>>> Where do I get the updated luatex binary?
>>>
>>> I'm running on FreeBSD 10.3, 32 bit.
>>
>> Does that binary come from the garden too?
>
> I can take a look.
>
> It's quite possible that FreeBSD didn't get updated after the problems
> with firewalls and networks being shifted around at both ends.

I tried to compile it, but it fails with

In file included from
../../../source/libs/poppler/poppler-src/poppler/Annot.cc:62:
In file included from
../../../source/libs/poppler/poppler-src/poppler/PDFDoc.h:53:
../../../source/libs/poppler/poppler-src/poppler/Form.h:271:79: error:
unknown type name 'time_t'
  SignatureInfo *validateSignature(bool doVerifyCert, bool
forceRevalidation, time_t validationTime);
  ^
../../../source/libs/poppler/poppler-src/poppler/Form.h:534:79: error:
unknown type name 'time_t'
  SignatureInfo *validateSignature(bool doVerifyCert, bool
forceRevalidation, time_t validationTime);
  ^
2 errors generated.

Mojca
___
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] luatex binary is too old

2018-01-15 Thread Roger Mason
Hans Hagen  writes:


>> : Your luatex binary is too old, you need at least version 1.05!
>>
>> Where do I get the updated luatex binary?
>>
>> I'm running on FreeBSD 10.3, 32 bit.
> Does that binary come from the garden too?
>
> Hans

Yes, I did not compile it myself, if that is what you are asking.

Cheers,
Roger
___
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] luatex binary is too old

2018-01-15 Thread Mojca Miklavec
On 15 January 2018 at 14:56, Hans Hagen wrote:
> On 1/15/2018 2:47 PM, Roger Mason wrote:
>>
>> : Your luatex binary is too old, you need at least version 1.05!
>>
>> Where do I get the updated luatex binary?
>>
>> I'm running on FreeBSD 10.3, 32 bit.
>
> Does that binary come from the garden too?

I can take a look.

It's quite possible that FreeBSD didn't get updated after the problems
with firewalls and networks being shifted around at both ends.

Mojca
___
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] luatex binary is too old

2018-01-15 Thread Hans Hagen

On 1/15/2018 2:47 PM, Roger Mason wrote:

Hello,

I just updated ConTeXt:

context --version

resolvers   | trees | analyzing 'home:texmf'
resolvers   | globbing | confusing filename, name: 'README.txt', lower: 
'readme.txt', already: 'ReadMe.txt'
mtx-context | ConTeXt Process Management 1.02
mtx-context |
mtx-context | main context file: 
/opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2018.01.14 15:55

When I try to compile a file:

context --mode=manuscript --result=MineralsGemsMS.pdf --purgeall
MineralsGems.tex

I get this error:

: Your luatex binary is too old, you need at least version 1.05!

Where do I get the updated luatex binary?

I'm running on FreeBSD 10.3, 32 bit.

Does that binary come from the garden too?

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
___

[NTG-context] luatex binary is too old

2018-01-15 Thread Roger Mason
Hello,

I just updated ConTeXt:

context --version   
   

resolvers   | trees | analyzing 'home:texmf'
resolvers   | globbing | confusing filename, name: 'README.txt', lower: 
'readme.txt', already: 'ReadMe.txt'
mtx-context | ConTeXt Process Management 1.02
mtx-context |
mtx-context | main context file: 
/opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2018.01.14 15:55

When I try to compile a file:

context --mode=manuscript --result=MineralsGemsMS.pdf --purgeall
MineralsGems.tex

I get this error:

: Your luatex binary is too old, you need at least version 1.05!

Where do I get the updated luatex binary?

I'm running on FreeBSD 10.3, 32 bit.

Thanks for any help,
Roger
___
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] LuaTeX: Weird GC behaviour

2017-12-07 Thread Hans Hagen

On 12/7/2017 12:40 AM, Shreevatsa R wrote:

(Hope this gets threaded with the previous two messages...)

I was the one who asked the question
(https://tex.stackexchange.com/questions/404617). Another thing I'd
like to mention is that after a while `io.lines` simply returned nil,
and the second and third return values (error message and error code)
that io.lines is supposed to return in case of error were also nil.
Even if this issue is not perfectly fixed (i.e. even if io.lines
cannot be made to close the file descriptor when it reaches the end of
file), I think it would be preferable to throw a clear error when
there's a failure to open a new file, instead of silently (and in a
not 100% reproducible way) returning nil.
Ok, we can quit with an error but the message will be a bit different 
(as we have different code). The file gets now closed explicitly which 
doesn't guarantee collection but it looks ok so far. I never use 
io.lines so I can't really test in practice.


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] LuaTeX: Weird GC behaviour

2017-12-06 Thread Shreevatsa R
(Hope this gets threaded with the previous two messages...)

I was the one who asked the question
(https://tex.stackexchange.com/questions/404617). Another thing I'd
like to mention is that after a while `io.lines` simply returned nil,
and the second and third return values (error message and error code)
that io.lines is supposed to return in case of error were also nil.
Even if this issue is not perfectly fixed (i.e. even if io.lines
cannot be made to close the file descriptor when it reaches the end of
file), I think it would be preferable to throw a clear error when
there's a failure to open a new file, instead of silently (and in a
not 100% reproducible way) returning nil.
___
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] LuaTeX: Weird GC behaviour

2017-12-05 Thread Hans Hagen

On 12/5/2017 10:47 PM, Henri wrote:

Dear devs,

This was asked on TeX.SX: https://tex.stackexchange.com/questions/404617
The example below runs perfectly fine in the normal Lua interpreter, but 
crashes in texlua because
the maximum number of open file handles is exceeded.  This seems to be a 
peculiarity of io.lines in
texlua.  Is there anything special to the implementation of it in LuaTeX?

yes: it's wrapped in code that does some checking wrr to what is permitted

no: lua should collect the open handles but in your example there has 
not been a reason for collecting (hardly a memory demand)


i'll see if i can hack a solution

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
___

[NTG-context] LuaTeX: Weird GC behaviour

2017-12-05 Thread Henri
Dear devs,

This was asked on TeX.SX: https://tex.stackexchange.com/questions/404617
The example below runs perfectly fine in the normal Lua interpreter, but 
crashes in texlua because
the maximum number of open file handles is exceeded.  This seems to be a 
peculiarity of io.lines in
texlua.  Is there anything special to the implementation of it in LuaTeX?

Cheers, Henri



-- Create the file (once)
local filename = 'luatexfilelimit.txt'
local file = io.open(filename, "w")
file:write("hello world\n")
file:close()

-- Print its contents (many times)
for i = 1, 300 do
   print(string.format('Attempt %d', i))
   for line in io.lines(filename) do
  print(line)
   end
end

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

2017-10-30 Thread Henri
Are there any implications for the LuaJIT support?

LuaJIT is quite a bit faster than Lua which is why I always typeset my 
documents using luajittex.

On Mon, 2017-10-30 at 17:26 +0100, Hans Hagen wrote:
> Hi,
> 
> Luigi and I are currently looking into Lua 5.3 in combination with 
> LuaTeX. We have an experimental setup and all seems to work well, which 
> given the new number model of Lua is good news. Depending on how we 
> compile the binaries we either gain some speed or in the worst case 
> loose half the performance but that will be sorted out one of these days 
> as we know where to look.
> 
> For most users the consequences will be minimal but for those who use a 
> lot of Lua it makes sense to keep an eye on the subtle differences 
> between 5.2 and 5.3 which is why I post this.
> 
> For TeXLive we don't expect the switch before 2019 (so 2018 will ship 
> two binaries with the 5.2 one the official one) but for the context 
> distribution we will make the switch earlier so that we can test in real 
> situations.
> 
> 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
> ___
___
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] luatex

2017-10-30 Thread massi

> Luigi and I are currently looking into Lua 5.3 in combination with 
> LuaTeX. We have an experimental setup and all seems to work well,
> which 
> given the new number model of Lua is good news. Depending on how we 
> compile the binaries we either gain some speed or in the worst case 
> loose half the performance but that will be sorted out one of these
> days 
> as we know where to look.
> 

Does the integer subtype give significant performance gains when you
can use integers instead of floats?

What are the main reasons for the switch?
___
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

2017-10-30 Thread Hans Hagen

Hi,

Luigi and I are currently looking into Lua 5.3 in combination with 
LuaTeX. We have an experimental setup and all seems to work well, which 
given the new number model of Lua is good news. Depending on how we 
compile the binaries we either gain some speed or in the worst case 
loose half the performance but that will be sorted out one of these days 
as we know where to look.


For most users the consequences will be minimal but for those who use a 
lot of Lua it makes sense to keep an eye on the subtle differences 
between 5.2 and 5.3 which is why I post this.


For TeXLive we don't expect the switch before 2019 (so 2018 will ship 
two binaries with the 5.2 one the official one) but for the context 
distribution we will make the switch earlier so that we can test in real 
situations.


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
___

[NTG-context] LuaTeX 1.0.3 announcement

2017-02-18 Thread Akira Kakuto

Luigi has shown me a simple and useful application of ffi:


In the case of lua(jit)tex in W32TeX, which are used in
context, standard C libraries are linked statically.
Thus it is necessary to load a necessary DLL for standard
C functions, like the following meaningless example:

\starttext
$$
j0(1.765)=
\startluacode
ffi=require("ffi")
ffi.cdef[[
double _j0(double x);
]]
-- In the case of lua(jit)tex in W32TeX, C libraries are linked
-- statically. Thus it is necessary to load a necessary DLL.
local msvcrt=ffi.load("msvcrt")
tex.print(msvcrt._j0(1.765))
\stopluacode
$$
\stoptext

It is expected that Windows APIs in the following libs
can be used without loading DLL:

WSOCK32.dll
USER32.dll
ADVAPI32.dll
SHELL32.dll
GDI32.dll
KERNEL32.dll
WS2_32.dll

Best,
Akira

___
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] LuaTeX 1.0.3 announcement

2017-02-18 Thread Alan Braslau
On Sat, 18 Feb 2017 14:59:14 +0100
luigi scarso  wrote:

> On Sat, Feb 18, 2017 at 2:27 PM, Henri Menke 
> wrote:
> > On 02/18/2017 09:42 AM, luigi scarso wrote:  
> >> On Sat, Feb 18, 2017 at 9:11 AM, Henri Menke
> >>  wrote:  
> >>> On 02/17/2017 08:57 PM, luigi scarso wrote:
> >>> How can I use the FFI?  There is nothing in the latest docs.
> >>> Thanks for all the efforts!  
> >> luatex ffi is beyond the "experimental state", and aims to  be
> >> compatible with luatexjit ffi.  
> >
> > So it has the same interface?  There seems to be no documentation
> > about it in the most recent manual from luatex.org  
> yes, "aims to be compatible" means same interface and functionality,
> but there is still lot of work to do,
> apart the dynamic  loading of the library and the C parser.
> But it's usable for testing.
> 

Luigi has shown me a simple and useful application of ffi:

\startluacode

ffi=require("ffi")
ffi.cdef[[
double j0(double x);
double j1(double x);
double jn(double x);
-- ...
]]

\stopluacode

These libm functions can then be used in lua as:

ffi.C.j0(x)

for example.

In my case, I pass them to MetaPost as:

\startMPdefinitions

vardef jzero primary x =
  scantokens(lua("mp.quoted(ffi.C.j0(" & decimal x & "))"))
enddef ;

\stopMPdefinitions

This experimental code appears to work quite well.

Thank you Luigi and Hans!

Alan
___
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] LuaTeX 1.0.3 announcement

2017-02-18 Thread Hans Hagen

On 2/18/2017 2:27 PM, Henri Menke wrote:

On 02/18/2017 09:42 AM, luigi scarso wrote:

On Sat, Feb 18, 2017 at 9:11 AM, Henri Menke  wrote:

On 02/17/2017 08:57 PM, luigi scarso wrote:
How can I use the FFI?  There is nothing in the latest docs.  Thanks for all 
the efforts!

luatex ffi is beyond the "experimental state", and aims to  be
compatible with luatexjit ffi.


So it has the same interface?  There seems to be no documentation about it in 
the most recent manual from luatex.org


btw, context will never depend on libraries for functioning but it has 
support for ffi built in and there might be some additional helpers for 
glueing to libraries but libraries themselves will always be considered 
a liability i.e. if someone uses them in a workflow (which is fine) 
support for specific libraries will not be provided (unless context 
ships with some module that uses them which probably will happen but 
even then those libraries are considered black boxes so failures are 
outside the dev team responsibilities)


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] LuaTeX 1.0.3 announcement

2017-02-18 Thread luigi scarso
On Sat, Feb 18, 2017 at 2:27 PM, Henri Menke  wrote:
> On 02/18/2017 09:42 AM, luigi scarso wrote:
>> On Sat, Feb 18, 2017 at 9:11 AM, Henri Menke  wrote:
>>> On 02/17/2017 08:57 PM, luigi scarso wrote:
>>> How can I use the FFI?  There is nothing in the latest docs.  Thanks for 
>>> all the efforts!
>> luatex ffi is beyond the "experimental state", and aims to  be
>> compatible with luatexjit ffi.
>
> So it has the same interface?  There seems to be no documentation about it in 
> the most recent manual from luatex.org
yes, "aims to be compatible" means same interface and functionality,
but there is still lot of work to do,
apart the dynamic  loading of the library and the C parser.
But it's usable for testing.

-- 
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] LuaTeX 1.0.3 announcement

2017-02-18 Thread Hans Hagen

On 2/18/2017 2:27 PM, Henri Menke wrote:

On 02/18/2017 09:42 AM, luigi scarso wrote:

On Sat, Feb 18, 2017 at 9:11 AM, Henri Menke  wrote:

On 02/17/2017 08:57 PM, luigi scarso wrote:
How can I use the FFI?  There is nothing in the latest docs.  Thanks for all 
the efforts!

luatex ffi is beyond the "experimental state", and aims to  be
compatible with luatexjit ffi.


So it has the same interface?  There seems to be no documentation about it in 
the most recent manual from luatex.org


indeed as there is enough on the web ... duplicating that makes no sense


For luajit ffi see
http://luajit.org/ext_ffi.html

The main difference with standard luajit is that by default jit.off()
in luajittex.



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




--

-
  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] LuaTeX 1.0.3 announcement

2017-02-18 Thread Henri Menke
On 02/18/2017 09:42 AM, luigi scarso wrote:
> On Sat, Feb 18, 2017 at 9:11 AM, Henri Menke  wrote:
>> On 02/17/2017 08:57 PM, luigi scarso wrote:
>> How can I use the FFI?  There is nothing in the latest docs.  Thanks for all 
>> the efforts!
> luatex ffi is beyond the "experimental state", and aims to  be
> compatible with luatexjit ffi.

So it has the same interface?  There seems to be no documentation about it in 
the most recent manual from luatex.org

> For luajit ffi see
> http://luajit.org/ext_ffi.html
> 
> The main difference with standard luajit is that by default jit.off()
> in luajittex.
> 

___
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] LuaTeX 1.0.3 announcement

2017-02-18 Thread luigi scarso
On Sat, Feb 18, 2017 at 9:11 AM, Henri Menke  wrote:
> On 02/17/2017 08:57 PM, luigi scarso wrote:
> How can I use the FFI?  There is nothing in the latest docs.  Thanks for all 
> the efforts!
luatex ffi is beyond the "experimental state", and aims to  be
compatible with luatexjit ffi.
For luajit ffi see
http://luajit.org/ext_ffi.html

The main difference with standard luajit is that by default jit.off()
in luajittex.

-- 
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] LuaTeX 1.0.3 announcement

2017-02-18 Thread Henri Menke
On 02/17/2017 08:57 PM, luigi scarso wrote:
> ==
> LuaTeX Release 1.0.3  was released 2017021514
> ==
> 
> This is a minor upgrade and probably this version will go on texlive.
> There are a couple
> of fixes and additions.
> - We added a few a few more helpers in the pdf namespace (like
> set|get]gentounicode,
>   [set|get]omitcidset and set|get]decimaldigits. Some helpers were
> moved from the tex
>   to the pdf namespace.
> 
> - We added a build_page_insert callback for inserts so that one can
> for instance adapt
>   spacing on demand.
> 
> - On the agenda has been some more control over word start and end in
> hyphenation and
>   this is now possible via hyphenationbounds. We also updated the
> manual with some more
>   details.
> 
> - An old tracker item with respect to control over spacing around math
> was revived and
>   has resulted in mathsurroundmode (one can wonder how useful this is).
> 
> - We improved the resolution detection in included jpeg images.
> 
> 
> - An ffi library has been added to luatex so that it is more in sync
> with luajittex. This
>   permits easy and flexible loading of libraries. Our policy is to
> make luatex as lean
>   as possible with no dependencies and this is a step towards that.
> Eventually we hope
>   to support all relevant platforms.

How can I use the FFI?  There is nothing in the latest docs.  Thanks for all 
the efforts!

> - The glue and skip register accessors have been improved as a step in
> freeing the user
>   from glue spec management.
> 
> - We added a few more getters and setters for nodes in order to get a
> more consistent
>   set.
> 
> - Irrelevant fields have been removed from the status table and an
> engine identifier
>   has been added.
> 
> - Of course there are numerous fixes and improvements but none of
> these have consequences
>   for the interfaces.
> 
> - The manual has been updated but will be improved over time.
> 
> 
> 
> 
> Have fun,
> Hans, Luigi, Taco
> ___
> 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
> ___
> 

___
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.0.3 announcement

2017-02-17 Thread luigi scarso
==
LuaTeX Release 1.0.3  was released 2017021514
==

This is a minor upgrade and probably this version will go on texlive.
There are a couple
of fixes and additions.
- We added a few a few more helpers in the pdf namespace (like
set|get]gentounicode,
  [set|get]omitcidset and set|get]decimaldigits. Some helpers were
moved from the tex
  to the pdf namespace.

- We added a build_page_insert callback for inserts so that one can
for instance adapt
  spacing on demand.

- On the agenda has been some more control over word start and end in
hyphenation and
  this is now possible via hyphenationbounds. We also updated the
manual with some more
  details.

- An old tracker item with respect to control over spacing around math
was revived and
  has resulted in mathsurroundmode (one can wonder how useful this is).

- We improved the resolution detection in included jpeg images.


- An ffi library has been added to luatex so that it is more in sync
with luajittex. This
  permits easy and flexible loading of libraries. Our policy is to
make luatex as lean
  as possible with no dependencies and this is a step towards that.
Eventually we hope
  to support all relevant platforms.

- The glue and skip register accessors have been improved as a step in
freeing the user
  from glue spec management.

- We added a few more getters and setters for nodes in order to get a
more consistent
  set.

- Irrelevant fields have been removed from the status table and an
engine identifier
  has been added.

- Of course there are numerous fixes and improvements but none of
these have consequences
  for the interfaces.

- The manual has been updated but will be improved over time.




Have fun,
Hans, Luigi, Taco
___
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] Luatex 1.0.0 announcement

2016-10-05 Thread Henning Hraban Ramm
> Version 1.0.0

Ahoi, I just saw that the LuaTeX website is a bit outdated. Would be good if 
you’d mention the current state.

Greetlings, Hraban
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Luatex 1.0.0 announcement

2016-09-27 Thread Pablo Rodriguez
On 09/27/2016 08:37 PM, luigi scarso wrote:
> Version 1.0.0
> 
> After some ten years of development and testing, today we have released
> LuaTeX 1.0.0! [...]
>
> Hans Hagen
> Hartmut Henkel
> Taco Hoekwater
> Luigi Scarso

Hans, Harmut, Taco and Luigi,

many thanks for the release and your awesome work!


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Luatex 1.0.0 announcement

2016-09-27 Thread luigi scarso
Version 1.0.0

After some ten years of development and testing, today we have released
LuaTeX 1.0.0! Instead of staying below one and ending up with versions
like 0.99.1234, we decided that the moment is there to show the TeX
audience that LuaTeX is stable enough to loose its beta status. Although
functionality has evolved and sometimes been replaced, we have been using
LuaTeX in production right from the start. Of course there are bugs
and for sure we will fix them.

Our main objective is to provide a variant of TeX that permits user
extensions without the need to adapt the inner workings. We did add a few
things here and there but they mostly relate to opening up the inner parts
and/or the wish to influence some hard coded behaviour. Via Lua we managed
to support modern functionality without bloating the code or adding more
and more dependencies on foreign code. In the process a stable and flexible
MetaPost library became part of the engine.

The functionality as present now will stay. We might open up some more
parts, we will stepwise clean up the code base while staying as close as
possible to the Knuthian original, we will try to document bits and pieces.
We might also experiment a bit with better isolation of the backend, and
simplify some internals. For that we might use the experimental version
but if we divert too much we may need to give that another name.

We want to thank all those who have tested the betas and helped to make
LuaTeX better.

Hans Hagen
Hartmut Henkel
Taco Hoekwater
Luigi Scarso
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] luatex-0.98.0 for linux?

2016-08-08 Thread Pablo Rodriguez
On 08/07/2016 02:28 PM, Mojca Miklavec wrote:
> On 7 August 2016 at 10:44, Pablo Rodriguez wrote:
>> Dear ConTeXt maintainers,
>>
>> would it be possible that ConTeXt Standalone for the linux platform had
>> the latest LuaTeX binaries?
>> [...]
>> Many thanks for your help,
> [...]
> But it would be wise to push Luigi to make an official release or at
> least to backport the fix.

Dear Mojca,

many thanks for your explanation on the administrativia for having
binaries in ConTeXt Standalone.

I will start a new thread requesting this.

Many thanks for your help,


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] luatex-0.98.0 for linux?

2016-08-07 Thread Mojca Miklavec
On 7 August 2016 at 10:44, Pablo Rodriguez wrote:
> Dear ConTeXt maintainers,
>
> would it be possible that ConTeXt Standalone for the linux platform had
> the latest LuaTeX binaries?
>
> Besides the update, I think it is important to confirm whether English
> hyphenation is fixed in the latest binary.
>
> The following sample:
>
> \starttext
> \hyphenatedword{schematic}
> \stoptext
>
> outputs "sc-he-matic" with luatex-0.95.0.
>
> Many thanks for your help,

I can probably come up with link to an up-to-date binary (I'm in the
process of setting up automatic builds on regular basis; just
side-tracked by my job and a few other hobbies).

But it would be wise to push Luigi to make an official release or at
least to backport the fix.

Mojca
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] luatex-0.98.0 for linux?

2016-08-07 Thread Pablo Rodriguez
Dear ConTeXt maintainers,

would it be possible that ConTeXt Standalone for the linux platform had
the latest LuaTeX binaries?

Besides the update, I think it is important to confirm whether English
hyphenation is fixed in the latest binary.

The following sample:

\starttext
\hyphenatedword{schematic}
\stoptext

outputs "sc-he-matic" with luatex-0.95.0.

Many thanks for your help,

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Luatex 0.95.0 announcement

2016-06-06 Thread luigi scarso
==
LuaTeX Release 0.95 for TeX Live 2016 was released 2016042515
==

This is the official frozen TeXlive 2016 version and
a prerelease of the stable 1.0 version.

- deleted 'beta' from the luatex_version_string
- glues now have gluespec merged in (idem math and insert)
- registers are still glue specs
- the spec field in glues are gone
- extra tex.setglue and tex.setmuglue
- obsolete dvi related dir fields removed



Have fun,
Hans, Luigi, Taco
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] LuaTeX finds font, mtxrun --fonts does not list it?

2016-05-30 Thread Wolfgang Schuster

Sandra Snan 
30. Mai 2016 um 14:25
For some reason, it just started working today. After all this time. I
have no idea what was going on.
\definefontfamily[jeans][sans][file:futuralt]
and then referring to to the font family "jeans" later on.
Looks great, too.
The font declaration is still wrong and it’s more likely you get Latin 
Modern Sans
in your document which is used as fallback when the requested sans serif 
font

wasn’t found.

You can see in the attached document the output from the following example.
Only the first font defintion loads Futura, the third falls back to 
Latin Modern

because there is no font with the name “file:futura”.

\definefontfamily[realfutura][ss][Futura]
\definefontfamily[fakefutura][ss][Latin Modern Sans]
\definefontfamily[filefutura][ss][file:futura]

\starttext

\switchtobodyfont[realfutura]Is this Futura or Latin Modern Sans?

\switchtobodyfont[fakefutura]Is this Futura or Latin Modern Sans?

\switchtobodyfont[filefutura]Is this Futura or Latin Modern Sans?

\stoptext

Wolfgang


futura.pdf
Description: Adobe PDF document
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] LuaTeX finds font, mtxrun --fonts does not list it?

2016-05-30 Thread Sandra Snan
For some reason, it just started working today. After all this time. I
have no idea what was going on.
\definefontfamily[jeans][sans][file:futuralt]
and then referring to to the font family "jeans" later on.
Looks great, too.

Sandra

Sandra Snan  writes:

> Wolfgang Schuster  writes:
>
>>> Am 28.05.2015 um 11:37 schrieb Sandra Snan :
 what happens if you put file: before a name?
>>> \definefontfamily[futura][sans][file:futuralt]
>>
>> Don’t use the “file:” prefix in the third argument.
>
> I don't understand this exchange.
>
>>> \setuppapersize[A4, portrait][A4, portrait]
>>
>> There is no “portrait” keyword for the \setuppapersize and you can also drop 
>> this line because ConTeXt uses A4 as default paper size.
>
> I was working from a template for A7 landscape that's why this was still
> in there.
>
> But a lot of the other stuff is just cargo-culted cruft and voodoo that
> has accumulated over the years of only rarely making new templates.
> Thank you for helping me clear it out.
>
> Here is the file now:
>
> % interface output=luatex
> \setuppagenumbering[location=]
> \setuplanguage[sv][leftquote=›,rightquote=‹,leftquotation=»,rightquotation=«]
> \mainlanguage [sv]
> \definefontfamily[futura][sans][Futura LT]
> \definefontfamily [praise][serif][junicode]
> \setupalign[justified,hanging,hz]
> \setupbodyfont[praise]
> \setuphead[section][style={\switchtotypeface[futura]}]
> \starttext
> $body$
> \stoptext
>
> % Still no luck with the Futura.
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Luatex 0.90.0 announcement

2016-05-05 Thread Mojca Miklavec
On 5 May 2016 at 12:18, Mojca Miklavec wrote:
> On 29 March 2016 at 18:07, Henman wrote:
>> Is the newly released version you mention below, already (or will it be)
>> available in the newest stand-alone download for ConteXt?
>
> Don't you get 0.95.0 already? Which architecture are you interested in?
>
> It is not impossible that I misconfigured something and the server was
> down for quite a while, but if you really need an older version, you
> can get it from our SVN (I'll send you a link).

I'm sorry. I got that email shown in the inbox because Luigi answered
(but I didn't notice Luigi's reply). I only now noticed that the
question is old and probably no longer relevant.

Mojca
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Luatex 0.90.0 announcement

2016-05-05 Thread luigi scarso
On Thu, May 5, 2016 at 12:18 PM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> On 29 March 2016 at 18:07, Henman wrote:
> > Is the newly released version you mention below, already (or will it be)
> > available in the newest stand-alone download for ConteXt?
>
> Don't you get 0.95.0 already? Which architecture are you interested in?
>

It was an old email... see my answer.


-- 
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Luatex 0.90.0 announcement

2016-05-05 Thread Mojca Miklavec
On 29 March 2016 at 18:07, Henman wrote:
> Is the newly released version you mention below, already (or will it be)
> available in the newest stand-alone download for ConteXt?

Don't you get 0.95.0 already? Which architecture are you interested in?

It is not impossible that I misconfigured something and the server was
down for quite a while, but if you really need an older version, you
can get it from our SVN (I'll send you a link).

Mojca
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Luatex 0.90.0 announcement

2016-05-05 Thread luigi scarso
On Tue, Mar 29, 2016 at 6:07 PM, Henman  wrote:

> Is the newly released version you mention below, already (or will it be)
> available in the newest stand-alone download for ConteXt?


Sorry for delay, we were busy with the texlive deadline.
Luatex beta-0.90.0 was the release for texlive 2016, but we were able to go
until 0.95.0 aka "preview of "1.0 (no more beta).
This release should be available now, on the usual server.


-- 
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Luatex 0.90.0 announcement

2016-05-05 Thread Henman
Is the newly released version you mention below, already (or will it be) 
available in the newest stand-alone download for ConteXt?


On 03/29/2016 06:35 AM, luigi scarso wrote:

LuaTeX Release 0.90.0 was released 2016032512


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Luatex 0.95.0 error with bidi and Hebrew

2016-05-01 Thread Hans Hagen

On 5/1/2016 8:19 AM, Akira Kakuto wrote:

Code:
...

My installation, or is this a bug?


Confirmed.  By testing i, your example is compiled:

if i then  -- line 1205 in font-otj.lua
   local leftkern = i.leftkern
   if leftkern and leftkern ~= 0 then
   setfield(prev,"replace",newkern(leftkern)) -- maybe also leftkern
   end
end


i'll add that test

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Luatex 0.95.0 error with bidi and Hebrew

2016-05-01 Thread Akira Kakuto

Code:
...

My installation, or is this a bug?


Confirmed.  By testing i, your example is compiled:

if i then  -- line 1205 in font-otj.lua
   local leftkern = i.leftkern
   if leftkern and leftkern ~= 0 then
   setfield(prev,"replace",newkern(leftkern)) -- maybe also leftkern
   end
end

Best,
Akira

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Luatex 0.95.0 error with bidi and Hebrew

2016-04-30 Thread Rik Kabel

Version information:

   ConTeXt  ver: 2016.04.30 18:59 MKIV beta  fmt: 2016.4.30  int:
   english/english
   luajittex, 0.95.0 and luatex, 0.95.0

   running on Windows 10 x64

Error message:

   error:
   ...eXt/tex/texmf-context/tex/context/base/mkiv/font-otj.lua:1205:
   attempt to index local 'i' (a nil value)
   tex error   > tex error on line 7 in file
   C://Users/rik/Desktop/comp_body.tex: ?

Code:

   \setupdirections [bidi=global]
   \definefont [hebrew] [default] [lang=heb,ccmp=yes,script=hebr]
   \definefont [Hebrew] [sileotsr*hebrew sa .9]
   \starttext
 \startparagraph
  Hebrew : {\Hebrew רִ}
 \stopparagraph
   \stoptext

When the first line is removed, or the value of bidi changed to on, no 
error is thrown.


A single-font version of the code, for fonts that have Hebrew glyphs, 
fails with some fonts (libertine shown below), but works with others, 
for example, dejavu sans.


Code:

   \setupdirections [bidi=global]
   \setupbodyfont[libertine]
   \starttext
 \startparagraph
  Hebrew : רִ
 \stopparagraph
   \stoptext

My installation, or is this a bug?

--
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Luatex 0.90.0 announcement

2016-03-29 Thread luigi scarso
==
LuaTeX Release 0.90.0 was released 2016032512
==

This is the version that will go on TeX Live 2016

- mostly small bug fixes
- a few setters/getters added to the pdf namespace (were in the tex one
before)
- a few patches to the lua interface macros
- a bit more control over protrusion edges
- no fundamental changes


As usual,
the archives can be downloaded from supelec:

https://foundry.supelec.fr/projects/luatex/

You could also check out the sources via anonymous svn:
 svn co --username anonsvn --password anonsvn
https://foundry.supelec.fr/svn/luatex/tags/beta-0.90.0

Bugs and feature requests can be added to the issue tracker at

   http://tracker.luatex.org



Have fun,
Hans, Luigi, Taco
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Luatex 0.89.0 announcement

2016-02-06 Thread luigi scarso
==
Luatex Release 0.89.0 was released 2016020500
==

No fundamental changes, just some fixes / improvements (and of course new
bugglets).

- New backend things:
 \pdfvariable pkfixeddpi = integer % > 0 : use only default dpi (so one can
do with one high res instance)
 \pdfvariable ignoreunknownimages = integer % > 0 : ignore missing and
inject something empty (to be used with care)
  and one can do this:
 \edef\foo{\pdfvariable foo}
 \def \oof{foo}
 \ifx\foo\oof don't fool me\fi
 (side effect of no longer aborting on missing, so one implement a catch)




As usual,
the archives can be downloaded from supelec:

https://foundry.supelec.fr/projects/luatex/

You could also check out the sources via anonymous svn:

  svn co --username anonsvn --password anonsvn  \
  https://foundry.supelec.fr/svn/luatex/tags/beta-0.87.0

Bugs and feature requests can be added to the issue tracker at

   http://tracker.luatex.org

When you use context or latex you need an updated format. The latest
version of
context can be fetched from the context garden, latex from ctan. For latex
you can contact David and Joseph as they are dealing with the update.


Have fun,
Hans, Luigi, Taco
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Luatex 0.88.0 announcement

2016-01-18 Thread luigi scarso
==
Luatex Release 0.88.0 was released 2016011500
==

This is a next step upto 0.90 and it has the following changes:

- mostly small bug fixes

- a few setters/getters added to the pdf namespace (were in the tex one
before)

- The current libraries under libs are now:
  * poppler-0.40.0
  * mpfr-3.1.3
  * luajit-2.1.0-beta1
  * gmp-6.1.0
  * zziplib-0.13.62
  * zlib-1.2.8
  * lua52-5.2.4
  * pixman-0.32.8
  * libpng-1.6.21
  * cairo-1.14.6


Have fun,
The luatex team
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

  1   2   3   4   5   6   7   8   >