Re: [NTG-context] follow up

2019-04-02 Thread Christoph Reller
My two cents:

I don't believe that it is the CIDSet. Both fun.pdf and fun1.pdf have no
CIDSet (which is good).
The (relevant) differences between the two PDFs are:
- Different ToUnicode
- Different embedded font stream
- Minor differences in the font descriptor
It could be the ToUnicode: If preview is not able to parse the last entry
in the ToUnicode table then it may also drop this glyph in its display,
although ToUnicode is only relevant for text extraction.
It could be the font stream: In the CFF font file there is a CharSet table
that maps character-IDs to glyph-IDs. If preview cannot read the last entry
in this table (or the last glyph, glyph nr. 10) then it might drop it.
By bet is on the ToUnicode, because, usually, if viewers fail to read a
font file then they drop the entire font file and not single glyphs.

Anyway, both PDFs seem to be valid. But I wonder if the differences in the
font descriptor are legitimate (especially StemV):
Object 9 <-> 7: Different entry Ascent integer value: 1127 <-> 806 in font
descriptor dictionary.
Object 9 <-> 7: Different entry Descent integer value: -280 <-> -194 in
font descriptor dictionary.
Object 9 <-> 7: Different entry StemV integer value: 91 <-> 0 in font
descriptor dictionary.

Cheers,
Christoph

On Tue, Apr 2, 2019 at 10:16 PM Hans Hagen  wrote:

> On 4/2/2019 8:38 PM, Taco Hoekwater wrote:
> >
> >
> >> On 2 Apr 2019, at 17:11, Hans Hagen  wrote:
> >>
> >> On 4/2/2019 4:18 PM, Ulrike Fischer wrote:
> >>> Am Tue, 2 Apr 2019 15:58:18 +0200 schrieb Floris van Manen:
> > indeed on preview no x shows up but it does in other viewers
> >
> 
>  Not just the x.
>  In the second example the s will disappear, be shows up if you add
> some extra digits, and then dropping the 2
> >>> I don't have a mac and can't reproduce the problem. But the missing
> >>> char seems to be always the last one in the beginbfchar/endbfchar
> >>> list.
>  The OSX preview is flaky but i’d assume the output of both context
> version would be similar (enough)
> >>> The new context adds new lines inside the beginbfchar/endbfchar
> >>> block. Perhaps this confuses preview and it drops the last entry.
> >> it is indeed the last one that is the issue but changing spacing or
> adding dummies doesn't help
> >
> > More likely the problem it has is due to the omitted /CIDSet in the font
> descriptor.
> >
> > The error is in the display engine, not the text extractor (since
> cut work ok).
> > And that means the problem is almost certainly not the cmap. The only
> other non-trivial
> > difference I saw in the old vs. new pdf was that no longer present
> /CIDSet.
> >
> > Unf., generating one in the text editor is bit beyond me-on-the-could
> mode, so I can
> > not be certain of that although it seems likely (I checked with FF that
> the two glyphs
> > are indeed in the embedded font subset and in the exact slots the pdf
> says they have, so
> > that is also unlikely to be the problem.)
> ok, i'll check that tomorrow ... (cidsets are actually obsolete)
>
> 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] LMTX deeptextcommand issue

2019-04-02 Thread Hans Hagen

On 4/3/2019 12:35 AM, Jan Tosovsky wrote:


Is it what you propose? If so, I am still getting the same error.

then i need a complete mwe example

-
  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] LMTX deeptextcommand issue

2019-04-02 Thread Jan Tosovsky
On 2019-04-02 Hans Hagen wrote:
> On 4/2/2019 8:41 PM, Jan Tosovsky wrote:
> >
> > my document ends with the index
> >
> > \startbackmatter
> > \chapter{Rejstřík jmenný}
> > \start
> > \switchtobodyfont[8pt]
> > \placeindexname
> > \stop
> > \stopbackmatter
> > \startbackmatter
> > \chapter{Rejstřík věcný}
> > \start
> > \switchtobodyfont[8pt]
> > \placeindexsubject
> > \stop
> > \stopbackmatter
> >
> > At the beginning there is a condition for one word (kind of manual column
> > balancing) - but according to the log, see below, this seems to be an issue:
> > \newconditional\IndexState
> > \define[1]\IndexInternalCommand
> >
> >
> {\doifelse{#1}{Dolsko}{\global\settrue\IndexState}{\global\setfalse\IndexSt
> a
> > te}#1}
> >
> > \define[1]\IndexCommand
> >{\setfalse\IndexState
> > \setbox\scratchbox\hbox{#1}%
> > \ifconditional\IndexState
> >   \column
> > \fi
> > \box\nextbox}
> 
> does
> 
> \unexpanded\def\IndexCommand#1%
>{
> 
> work?

I've modified that block this way:

\newconditional\IndexState
%\define[1]\IndexInternalCommand
\unexpanded\def\IndexInternalCommand#1%
  
{\doifelse{#1}{Dolsko}{\global\settrue\IndexState}{\global\setfalse\IndexState}#1}

%\define[1]\IndexCommand
\unexpanded\def\IndexCommand#1%
  {\setfalse\IndexState
   \setbox\scratchbox\hbox{#1}%
   \ifconditional\IndexState
 \column
   \fi
   \box\nextbox}


Is it what you propose? If so, I am still getting the same error.

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] lmtx doesn't search texmf-local

2019-04-02 Thread Hans Hagen

On 4/2/2019 11:49 PM, Aditya Mahajan wrote:

On Wed, 3 Apr 2019, Henri Menke wrote:


On 3/04/19 10:19 AM, Taco Hoekwater wrote:

My guess: drop the '/opt/context-lmtx/bin' from your PATH.


That works, thank you.  Then install.sh has to be adjusted because it 
told me to


   export 
PATH=/opt/context-lmtx/tex/texmf-linux-64/bin:/opt/context-lmtx/bin:/opt/context-lmtx/tex/texmf-linux-64/bin:... 



The install.sh needs to have the /opt/context-lmtx/bin in the path 
because the install script (might) need the latest binary to work. The 
directory structure is almost similar to context standalone. So, I 
simply created a simple setuptex file to ease munging of paths.
nothing fundamental has changed in that department (nor will change 
drastically unless there is a good reason for it) .. if things don't 
work as expected i'll fix it of course


let me stress that, although there are changes (or pending ones) onder 
the hood, most components of context will just stay as they are (why 
reinvent wheels that turn smoothly)


for instance, font related code is also supposed to work with plain 
which in turn means work with luatex ... the same is true for file 
handling, process management etc ...


lmtx is supposed to be a drop in that context knows how to deal with, 
but with a whole lot of benefits (like running a bit better on Alan's 
refrigerator ... in fact, my thermostat/heating system really does run 
on luatex as does other domotica stuff)


(believe it or not but i occasionally do test lmtx in a small setup 
because computers don't get faster, virtualization has smaller setups, 
energy consumption matters, etc. ... hobyism of course)


one can alway swonder if we keep some ideas in our sleeves .. after all, 
there need to be progress occasionally ...


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] lmtx doesn't search texmf-local

2019-04-02 Thread Aditya Mahajan

On Wed, 3 Apr 2019, Henri Menke wrote:


On 3/04/19 10:19 AM, Taco Hoekwater wrote:

My guess: drop the '/opt/context-lmtx/bin' from your PATH.


That works, thank you.  Then install.sh has to be adjusted because it told me to

   export 
PATH=/opt/context-lmtx/tex/texmf-linux-64/bin:/opt/context-lmtx/bin:/opt/context-lmtx/tex/texmf-linux-64/bin:...


The install.sh needs to have the /opt/context-lmtx/bin in the path because 
the install script (might) need the latest binary to work. The directory 
structure is almost similar to context standalone. So, I simply created a 
simple setuptex file to ease munging of paths.


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] lmtx doesn't search texmf-local

2019-04-02 Thread Henri Menke
On 3/04/19 10:19 AM, Taco Hoekwater wrote:
> My guess: drop the '/opt/context-lmtx/bin' from your PATH.

That works, thank you.  Then install.sh has to be adjusted because it told me to

export 
PATH=/opt/context-lmtx/tex/texmf-linux-64/bin:/opt/context-lmtx/bin:/opt/context-lmtx/tex/texmf-linux-64/bin:...

Cheers, Henri

> 
> Best wishes,
> Taco
> 
>>> Op 2 apr. 2019 om 23:02 heeft Hans Hagen  het volgende 
>>> geschreven:
>>>
>>> On 4/2/2019 10:46 PM, Henri Menke wrote:
>>>
>>> resolvers | resolving | warning: no lua configuration files found
>>
>> ^
>>
>> -
>> 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
> ___
> 

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] lmtx doesn't search texmf-local

2019-04-02 Thread Taco Hoekwater
My guess: drop the '/opt/context-lmtx/bin' from your PATH.

Best wishes,
Taco

>> Op 2 apr. 2019 om 23:02 heeft Hans Hagen  het volgende 
>> geschreven:
>> 
>> On 4/2/2019 10:46 PM, Henri Menke wrote:
>> 
>> resolvers | resolving | warning: no lua configuration files found
> 
> ^
> 
> -
> 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] LMTX deeptextcommand issue

2019-04-02 Thread Hans Hagen

On 4/2/2019 8:41 PM, Jan Tosovsky wrote:

Dear All,

my document ends with the index

\startbackmatter
\chapter{Rejstřík jmenný}
\start
\switchtobodyfont[8pt]
\placeindexname
\stop
\stopbackmatter
\startbackmatter
\chapter{Rejstřík věcný}
\start
\switchtobodyfont[8pt]
\placeindexsubject
\stop
\stopbackmatter

At the beginning there is a condition for one word (kind of manual column
balancing) - but according to the log, see below, this seems to be an issue:
\newconditional\IndexState
\define[1]\IndexInternalCommand
  
{\doifelse{#1}{Dolsko}{\global\settrue\IndexState}{\global\setfalse\IndexSta

te}#1}

\define[1]\IndexCommand
   {\setfalse\IndexState
\setbox\scratchbox\hbox{#1}%
\ifconditional\IndexState
  \column
\fi
\box\nextbox}


does

\unexpanded\def\IndexCommand#1%
  {

work?


\defineregister[indexname][indexnames]
\setupregister[indexname][command=\Word, textcommand=\IndexCommand,
deeptextcommand=\IndexInternalCommand]

\defineregister[indexsubject][indexsubjects]
\setupregister[indexsubject][command=\Word]
\setupheadtext[indexname=Rejstřík jmenný]
\setupheadtext[indexsubject=Rejstřík věcný]


This worked in luatex 1.0.1, but in LMTX I am getting:

structures  > begin of sectionblock 'backpart'
structure   > sectioning > chapter @ level 2 : 0.1 -> Rejstřík jmenný
fonts   > defining > font 'palab', feature 'locl', script 'latn', no
language 'dflt'

tex error   > tex error on line 25 in file
D:/context-lmtx/tex/texmf-context/tex/context/base/mkiv/page-run.mkiv: ?

 [internal expandable lua function call]

\IndexInternalCommand ...\setfalse \IndexState }#1
   
\IndexCommand ...ate \setbox \scratchbox \hbox {#1

   }\ifconditional
\IndexStat...
\doapplyregisterentrycommand ...extcommand {#2
   \dostoptagged
\registerentry ...plyregisterentrycommand {#2}{#5}
   \fi \else \let
\currentreg...
l.25 }
 
...l.11633 \stop



15
16 \registerctxluafile{page-run}{}
17
18 \unprotect
19
20 \unexpanded\gdef\showprint{\dotripleempty\page_layouts_show_print}
21
22 \gdef\page_layouts_show_print[#1][#2][#3]% only english
23   {\setbuffer[crap]%
24   \unprotect
25 >>  \definepapersize[X][\c!width=4em, \c!height=6em]
26 \definepapersize[Y][\c!width=12em,\c!height=14em]
27 \setuppapersize[X,#1][Y,#2]
28 \setuplayout[#3]
29 \setuplayout[\v!page]
30 \framed
31   [\c!offset=\v!overlay,\c!strut=\v!no,
32\c!width=\paperwidth,\c!height=\paperheight]
33   {\ss ABC\par DEF}%
34   \protect
35\endbuffer


When I've seen that 'crap' and weird page dimensions, I thought it is part
of the April fool, like all that LMTX announcement.

This issue is not urgent, I was just curious how different the output is.

Thanks,

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
___




--

-
  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] lmtx doesn't search texmf-local

2019-04-02 Thread Hans Hagen

On 4/2/2019 10:46 PM, Henri Menke wrote:


resolvers | resolving | warning: no lua configuration files found


  ^

-
  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] Fwd: Announcing Season of Docs 2019

2019-04-02 Thread Mojca Miklavec
Hi,

This is just to let you know that Google started accepting applications for
organisations that want to participate in "Google season of docs", offering
stipends to technical writers to work full time on improving documentation
of open source projects.

See also a list of sample ideas:
https://developers.google.com/season-of-docs/docs/project-ideas
(but maybe some improvement of the writing tools could also count, I don't
know).

Participation is not limited to students this time.

Is any of the TeX user groups interested in participating?

Mojca


-- Forwarded message -
From: 'sttaylor' via Google Summer of Code Mentors List
Date: Mon, 11 Mar 2019 at 23:32

We’re delighted to announce the inaugural year of Season of Docs, a Google
program that fosters collaboration between open source projects and
technical writers. Season of Docs is similar to Summer of Code, but with a
focus on open source documentation and technical writers. Details are on
our website: g.co/seasonofdocs
.

Would you like to take part as an open source mentor in the inaugural year
of Season of Docs? Open source organizations can start thinking now about
the projects you’d like a technical writer to work on. Take a look at
the examples
of project ideas
. Reach
out to your community members to see who’d like to be a mentor for Season
of Docs. As a mentor, you don’t need technical writing skills. Instead,
you're a member of the open source organization who knows the value of good
documentation and who is experienced in open source processes and tools.
See the guidelines on working with a technical writer
.
Organization applications open on April 2, 2019. See the full timeline
 on the Season
of Docs website.

>From April 30, Technical writers can explore the list of participating open
source organizations and their project ideas. Technical writers bring their
skills in designing and developing documentation to the open source
organization. Technical writer applications open on April 30. The list of
accepted technical writing projects is announced on July 30.

Please do tweet and blog about Season of Docs if you’d like to share the
news. We want as many people to know about it as possible. We’ve provided
logos that you can download and some example content on the press page
.

We’re looking forward to an exciting pilot of the Season of Docs program!

If you have any questions about the program, please email us at
season-of-docs-supp...@googlegroups.com.

Best regards

Sarah Maddox, Andrew Chen and the Season of Docs 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] lmtx

2019-04-02 Thread Hans Hagen

On 4/2/2019 10:30 PM, Henri Menke wrote:


Hm.  But luatex is released under GPLv2 and I reckon luametatex is based on
luatex, i.e. it is a derived work which means that you legally *have* to
publish the source.
i publish when i feel ready to do (i.e. when it meets my quality 
criteria) ... arguments like the one above make me actually hate open 
source ...


... in case you wonder: we don't make (and never made) money on 
lua(meta)tex, in fact all this development has always costs us money, 
time, etc, etc, and i won't let whatever license spoil this game that 
until now always has been mostly fun and supporting user demand


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] lmtx doesn't search texmf-local

2019-04-02 Thread Henri Menke
Dear list,

I have installed LMTX into /opt/context-lmtx/ and placed my favourite fonts
into /opt/context-lmtx/tex/texmf-local/ as I also did in ConTeXt standalone.  I
would expect LMTX to find the newly installed otf files after regenerating the
file tree but that is not the case, see my terminal log below.  Do I have to do
it differently for LMTX?

Cheers, Henri

---

$ ls 
/opt/context-lmtx/tex/texmf-local/fonts/opentype/bh/lucidaot/LucidaBrightOT.otf 
/opt/context-lmtx/tex/texmf-local/fonts/opentype/bh/lucidaot/LucidaBrightOT.otf
$ mtxrun --generate
resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/opt/context-lmtx/bin'
resolvers   | resolving | variable 'SELFAUTODIR' set to '/opt/context-lmtx'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to '/opt'
resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to ''
resolvers   | resolving | variable 'TEXOS' set to 'context-lmtx'
resolvers   | resolving |
resolvers   | resolving | using configuration specification 
'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf-dist/web2c;selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/henri/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/opt/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/opt/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/opt/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/opt/texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/home/henri/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/opt/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/opt/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/opt/texmf-dist/web2c' from specification 
'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/opt/texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | warning: no lua configuration files found
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  |
mtxrun  | elapsed lua time: 0.011 seconds

$ mtxrun --find-file LucidaBrightOT.otf


___
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] Troubles with the \cldcontext command

2019-04-02 Thread Willi Egger
Dear Wolfgang!


thank you so much for your reply. I tried the test file and it works. tomorrow 
I will look further in a bigger environment.

Thanks and good night!

Willi

> On 2 Apr 2019, at 21:17, Willi Egger  wrote:
> 
> Hello!
> 
> I have the following code, which should manipulate the page number. However I 
> get an error:
> 
> 
> MWE:
> 
> \setuppapersize [A6] [A6]
> 
> \setuppagenumbering[location=none]
> 
> \startsetups [Pagenumber]
>  \doifrightpageelse
>{\cldcontext{"\letterpercent d",(\pagenumber+1)/2}}
>{}
> \stopsetups
> 
> \setupfootertexts [\directsetup{Pagenumber}]
> 
> \setupbodyfont [pagella,9pt]
> 
> 
> \starttext
> 
> \startstandardmakeup
>  Hello world!
> \stopstandardmakeup
> 
> \dorecurse{3}{TEST\page}
> 
> \stoptext
> 
> 
> Error:
> 
> 
> \cldcontext #1->\directlua {context(#1)}
> 
>  \ignorecrlf \directsetup {Pagenumber}
> {}{}{}
> \secondoftwoarguments #1#2->#2
> 
> \page_layouts_process_element_single_indeed ...#4}
>  \fi \endgroup 
> \page_layouts_process_element_single ...#1#2#3{#4}
>  \fi 
>  ...th {\hss \layoutelementparameter \c!middletext 
>  \hss }\kern -\makeupwidth ...
> 
> 
> What do i miss here? I am stumid…
> 
> Willi
> ___
> 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] lmtx

2019-04-02 Thread Henri Menke


On 3/04/19 9:19 AM, Hans Hagen wrote:
> On 4/2/2019 10:11 PM, Henri Menke wrote:
>>
>>
>> On 2/04/19 10:05 PM, Hans Hagen wrote:
>>> Hi,
>>>
>>> So, for those who hesitate to check out lmtx, here is some information.
>>>
>>> - In order to achieve long term stability context will use a lean and
>>> mean variant of luatex (although for now context will keep running on
>>> luatex too; i might drop support for luajittex). Eventually the source
>>> code will be part of the context distribution so that one can always
>>> compile a binary that matches an archived context version.
>>>
>>> - This version also permits us to experiment (even very extreme) without
>>> interupting the parent program luatex, which is now used by other macro
>>> packages too and therefore needs to be frozen in functionality. Some
>>> features might trickle back into luatex eventually (unless it breaks
>>> compatibility).
>>>
>>> - As a direct effect it means that context does a bit more: creating the
>>> pdf file (already most is done anyway in mkiv), dealing with font
>>> embedding, handling image inclusion, etc. For sure there can be issues
>>> with that but it has run on my machine already for quite a while.
>>>
>>> - It is hard to be conclusive about performance but for instance the
>>> luatex manual processes a bit faster with lmtx as does the test suite. A
>>> gain in performance on very demanding documents is also observed by Alan
>>> and Thomas. Normally one can expect a similar performance. However, the
>>> memory footprint could be a bit smaller.
>>>
>>> - The current somewhat hybrid codebase of context will stepwise be
>>> adapted so that at some point we can start experimenting with some
>>> pending ideas. (Which is why i sometimes answer "later this year".)
>>
>> Where can I find the C sources for the luametatex engine?
> nowhere ... as i mentioned these will become part of the context 
> distribution around the ctx meeting (when we also have the compile 
> infrastructure ready)

Hm.  But luatex is released under GPLv2 and I reckon luametatex is based on
luatex, i.e. it is a derived work which means that you legally *have* to
publish the source.

> 
> what we offer now is an experimental test release
> 
> 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] Troubles with the \cldcontext command

2019-04-02 Thread Wolfgang Schuster

Willi Egger schrieb am 02.04.19 um 21:17:

Hello!

I have the following code, which should manipulate the page number. However I 
get an error:


MWE:

\setuppapersize [A6] [A6]

\setuppagenumbering[location=none]

\startsetups [Pagenumber]
   \doifrightpageelse
 {\cldcontext{"\letterpercent d",(\pagenumber+1)/2}}
 {}
\stopsetups

[...]

What do i miss here? I am stumid…


I guess %d wasn’t the right way to round the number, you can use

\startsetups [Pagenumber]
  \doifoddpageelse
{\cldcontext{"\letterpercent.0f",(\pagenumber+1)/2}}
{}
\stopsetups

or

\startsetups [Pagenumber]
  \doifoddpageelse
{\cldcontext{"\letterpercent r",(\pagenumber+1)/2}}
{}
\stopsetups

Search in cld-mkiv.pdf for formatters to find more options.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] lmtx

2019-04-02 Thread Hans Hagen

On 4/2/2019 10:11 PM, Henri Menke wrote:



On 2/04/19 10:05 PM, Hans Hagen wrote:

Hi,

So, for those who hesitate to check out lmtx, here is some information.

- In order to achieve long term stability context will use a lean and
mean variant of luatex (although for now context will keep running on
luatex too; i might drop support for luajittex). Eventually the source
code will be part of the context distribution so that one can always
compile a binary that matches an archived context version.

- This version also permits us to experiment (even very extreme) without
interupting the parent program luatex, which is now used by other macro
packages too and therefore needs to be frozen in functionality. Some
features might trickle back into luatex eventually (unless it breaks
compatibility).

- As a direct effect it means that context does a bit more: creating the
pdf file (already most is done anyway in mkiv), dealing with font
embedding, handling image inclusion, etc. For sure there can be issues
with that but it has run on my machine already for quite a while.

- It is hard to be conclusive about performance but for instance the
luatex manual processes a bit faster with lmtx as does the test suite. A
gain in performance on very demanding documents is also observed by Alan
and Thomas. Normally one can expect a similar performance. However, the
memory footprint could be a bit smaller.

- The current somewhat hybrid codebase of context will stepwise be
adapted so that at some point we can start experimenting with some
pending ideas. (Which is why i sometimes answer "later this year".)


Where can I find the C sources for the luametatex engine?
nowhere ... as i mentioned these will become part of the context 
distribution around the ctx meeting (when we also have the compile 
infrastructure ready)


what we offer now is an experimental test release

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] follow up

2019-04-02 Thread Hans Hagen

On 4/2/2019 8:38 PM, Taco Hoekwater wrote:




On 2 Apr 2019, at 17:11, Hans Hagen  wrote:

On 4/2/2019 4:18 PM, Ulrike Fischer wrote:

Am Tue, 2 Apr 2019 15:58:18 +0200 schrieb Floris van Manen:

indeed on preview no x shows up but it does in other viewers



Not just the x.
In the second example the s will disappear, be shows up if you add some extra 
digits, and then dropping the 2

I don't have a mac and can't reproduce the problem. But the missing
char seems to be always the last one in the beginbfchar/endbfchar
list.

The OSX preview is flaky but i’d assume the output of both context version 
would be similar (enough)

The new context adds new lines inside the beginbfchar/endbfchar
block. Perhaps this confuses preview and it drops the last entry.

it is indeed the last one that is the issue but changing spacing or adding 
dummies doesn't help


More likely the problem it has is due to the omitted /CIDSet in the font 
descriptor.

The error is in the display engine, not the text extractor (since cut 
work ok).
And that means the problem is almost certainly not the cmap. The only other 
non-trivial
difference I saw in the old vs. new pdf was that no longer present /CIDSet.

Unf., generating one in the text editor is bit beyond me-on-the-could mode, so 
I can
not be certain of that although it seems likely (I checked with FF that the two 
glyphs
are indeed in the embedded font subset and in the exact slots the pdf says they 
have, so
that is also unlikely to be the problem.)

ok, i'll check that tomorrow ... (cidsets are actually obsolete)

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] lmtx

2019-04-02 Thread Henri Menke


On 2/04/19 10:05 PM, Hans Hagen wrote:
> Hi,
> 
> So, for those who hesitate to check out lmtx, here is some information.
> 
> - In order to achieve long term stability context will use a lean and 
> mean variant of luatex (although for now context will keep running on 
> luatex too; i might drop support for luajittex). Eventually the source 
> code will be part of the context distribution so that one can always 
> compile a binary that matches an archived context version.
> 
> - This version also permits us to experiment (even very extreme) without 
> interupting the parent program luatex, which is now used by other macro 
> packages too and therefore needs to be frozen in functionality. Some 
> features might trickle back into luatex eventually (unless it breaks 
> compatibility).
> 
> - As a direct effect it means that context does a bit more: creating the 
> pdf file (already most is done anyway in mkiv), dealing with font 
> embedding, handling image inclusion, etc. For sure there can be issues 
> with that but it has run on my machine already for quite a while.
> 
> - It is hard to be conclusive about performance but for instance the 
> luatex manual processes a bit faster with lmtx as does the test suite. A 
> gain in performance on very demanding documents is also observed by Alan 
> and Thomas. Normally one can expect a similar performance. However, the 
> memory footprint could be a bit smaller.
> 
> - The current somewhat hybrid codebase of context will stepwise be 
> adapted so that at some point we can start experimenting with some 
> pending ideas. (Which is why i sometimes answer "later this year".)

Where can I find the C sources for the luametatex engine?

> 
> Anyway, it might not look like it, but it is a conceptual change in how 
> context evolves.
> 
> 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] follow up

2019-04-02 Thread Floris van Manen
> More likely the problem it has is due to the omitted /CIDSet in the font 
> descriptor.
> 
> The error is in the display engine, not the text extractor (since cut 
> work ok).
> And that means the problem is almost certainly not the cmap. The only other 
> non-trivial
> difference I saw in the old vs. new pdf was that no longer present /CIDSet.
> 
> Unf., generating one in the text editor is bit beyond me-on-the-could mode, 
> so I can
> not be certain of that although it seems likely (I checked with FF that the 
> two glyphs
> are indeed in the embedded font subset and in the exact slots the pdf says 
> they have, so
> that is also unlikely to be the problem.)
> 

I’m not familiar with the internals of pdf files.

When i use firefox as pdf viewer, the font information seems to go void in the 
new version (fun1.pdf).








fun.pdf
Description: Adobe PDF document


fun1.pdf
Description: Adobe PDF document




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Troubles with the \cldcontext command

2019-04-02 Thread Willi Egger
Hello!

I have the following code, which should manipulate the page number. However I 
get an error:


MWE:

\setuppapersize [A6] [A6]

\setuppagenumbering[location=none]

\startsetups [Pagenumber]
  \doifrightpageelse
{\cldcontext{"\letterpercent d",(\pagenumber+1)/2}}
{}
\stopsetups

\setupfootertexts [\directsetup{Pagenumber}]

\setupbodyfont [pagella,9pt]


\starttext

\startstandardmakeup
  Hello world!
\stopstandardmakeup

\dorecurse{3}{TEST\page}

\stoptext


Error:


\cldcontext #1->\directlua {context(#1)}

 \ignorecrlf \directsetup {Pagenumber}
 {}{}{}
\secondoftwoarguments #1#2->#2
  
\page_layouts_process_element_single_indeed ...#4}
  \fi \endgroup 
\page_layouts_process_element_single ...#1#2#3{#4}
  \fi 
 ...th {\hss \layoutelementparameter \c!middletext 
  \hss }\kern -\makeupwidth ...


What do i miss here? I am stumid…

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] lmtx

2019-04-02 Thread Taco Hoekwater

Hi,

> On 2 Apr 2019, at 11:05, Hans Hagen  wrote:
> 
> - It is hard to be conclusive about performance but for instance the luatex 
> manual processes a bit faster with lmtx as does the test suite. A gain in 
> performance on very demanding documents is also observed by Alan and Thomas. 
> Normally one can expect a similar performance. However, the memory footprint 
> could be a bit smaller.

For sure the ConTeXt now loads and initialises a lot faster. With that trivial 
issue.tex test 
file by Arthur I get these timings (after a few ‘warmup’ runs).

MkIV (This is LuaTeX, Version 1.09.3 (TeX Live 2019/dev)):

mkiv lua stats  > stored bytecode data: 444 modules (0.445 sec), 93 tables 
(0.021 sec), 537 chunks (0.466 sec)
...
mkiv lua stats  > runtime: 0.888 seconds, 1 processed pages, 1 shipped pages, 
1.126 pages/second
system  | total runtime: 1.391 seconds
real0m1.646s
user0m1.476s
sys 0m0.115s


LMTX:

mkiv lua stats  > stored bytecode data: 456 modules (0.243 sec), 93 tables 
(0.016 sec), 549 chunks (0.259 sec)
...
mkiv lua stats  > runtime: 0.559 seconds, 1 processed pages, 1 shipped pages, 
1.789 pages/second
system  | total runtime: 0.655 seconds of 0.725 seconds
real0m0.731s
user0m0.601s
sys 0m0.084s


Impressive!

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] follow up

2019-04-02 Thread Taco Hoekwater


> On 2 Apr 2019, at 17:11, Hans Hagen  wrote:
> 
> On 4/2/2019 4:18 PM, Ulrike Fischer wrote:
>> Am Tue, 2 Apr 2019 15:58:18 +0200 schrieb Floris van Manen:
 indeed on preview no x shows up but it does in other viewers
 
>>> 
>>> Not just the x.
>>> In the second example the s will disappear, be shows up if you add some 
>>> extra digits, and then dropping the 2
>> I don't have a mac and can't reproduce the problem. But the missing
>> char seems to be always the last one in the beginbfchar/endbfchar
>> list.
>>> The OSX preview is flaky but i’d assume the output of both context version 
>>> would be similar (enough)
>> The new context adds new lines inside the beginbfchar/endbfchar
>> block. Perhaps this confuses preview and it drops the last entry.
> it is indeed the last one that is the issue but changing spacing or adding 
> dummies doesn't help

More likely the problem it has is due to the omitted /CIDSet in the font 
descriptor. 

The error is in the display engine, not the text extractor (since cut 
work ok).
And that means the problem is almost certainly not the cmap. The only other 
non-trivial
difference I saw in the old vs. new pdf was that no longer present /CIDSet. 

Unf., generating one in the text editor is bit beyond me-on-the-could mode, so 
I can
not be certain of that although it seems likely (I checked with FF that the two 
glyphs
are indeed in the embedded font subset and in the exact slots the pdf says they 
have, so 
that is also unlikely to be the problem.)

Best wishes,
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
___


[NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Jan Tosovsky
Dear All,

my document ends with the index

\startbackmatter
\chapter{Rejstřík jmenný}
\start
\switchtobodyfont[8pt]
\placeindexname
\stop
\stopbackmatter
\startbackmatter
\chapter{Rejstřík věcný}
\start
\switchtobodyfont[8pt]
\placeindexsubject
\stop
\stopbackmatter

At the beginning there is a condition for one word (kind of manual column
balancing) - but according to the log, see below, this seems to be an issue:
\newconditional\IndexState
\define[1]\IndexInternalCommand
 
{\doifelse{#1}{Dolsko}{\global\settrue\IndexState}{\global\setfalse\IndexSta
te}#1}

\define[1]\IndexCommand
  {\setfalse\IndexState
   \setbox\scratchbox\hbox{#1}%
   \ifconditional\IndexState
 \column
   \fi
   \box\nextbox}

\defineregister[indexname][indexnames]
\setupregister[indexname][command=\Word, textcommand=\IndexCommand,
deeptextcommand=\IndexInternalCommand]

\defineregister[indexsubject][indexsubjects]
\setupregister[indexsubject][command=\Word]
\setupheadtext[indexname=Rejstřík jmenný]
\setupheadtext[indexsubject=Rejstřík věcný]


This worked in luatex 1.0.1, but in LMTX I am getting:

structures  > begin of sectionblock 'backpart'
structure   > sectioning > chapter @ level 2 : 0.1 -> Rejstřík jmenný
fonts   > defining > font 'palab', feature 'locl', script 'latn', no
language 'dflt'

tex error   > tex error on line 25 in file
D:/context-lmtx/tex/texmf-context/tex/context/base/mkiv/page-run.mkiv: ?

 [internal expandable lua function call]
   
\IndexInternalCommand ...\setfalse \IndexState }#1
  
\IndexCommand ...ate \setbox \scratchbox \hbox {#1
  }\ifconditional
\IndexStat...
\doapplyregisterentrycommand ...extcommand {#2
  \dostoptagged 
\registerentry ...plyregisterentrycommand {#2}{#5}
  \fi \else \let
\currentreg...
l.25 }

...l.11633 \stop
   

15 
16 \registerctxluafile{page-run}{}
17 
18 \unprotect
19 
20 \unexpanded\gdef\showprint{\dotripleempty\page_layouts_show_print}
21 
22 \gdef\page_layouts_show_print[#1][#2][#3]% only english
23   {\setbuffer[crap]%
24   \unprotect
25 >>  \definepapersize[X][\c!width=4em, \c!height=6em]
26 \definepapersize[Y][\c!width=12em,\c!height=14em]
27 \setuppapersize[X,#1][Y,#2]
28 \setuplayout[#3]
29 \setuplayout[\v!page]
30 \framed
31   [\c!offset=\v!overlay,\c!strut=\v!no,
32\c!width=\paperwidth,\c!height=\paperheight]
33   {\ss ABC\par DEF}%
34   \protect
35\endbuffer


When I've seen that 'crap' and weird page dimensions, I thought it is part
of the April fool, like all that LMTX announcement.

This issue is not urgent, I was just curious how different the output is.

Thanks,

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] Welcome to LMTX

2019-04-02 Thread Mojca Miklavec
V tor., 2. apr. 2019 19:35 je oseba Paul Hoffman 
napisala:

> It doesn't work for me:
>
> 
> # sh install.sh
> /usr/local/lmtx/bin/mtxrun: /lib/libm.so.6: version `GLIBC_2.23' not found
> (required by /usr/local/lmtx/bin/mtxrun)
>

This should be fixed once we set up the automatic builds on the build farm.

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] Welcome to LMTX

2019-04-02 Thread Paul Hoffman
On Tue, Apr 02, 2019 at 04:41:40PM +0200, Hans Hagen wrote:
> On 4/2/2019 3:15 PM, Paul Hoffman wrote:
> >On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
> >>The average user will probably not notice many differences but nevertheless,
> >>when you are in for something new, you can give it a try:
> >>
> >>  http://www.pragma-ade.nl/install.htm
> >
> >I would love to try LMTX, but all of my computers are 32-bit.  Is there
> >any chance of a 32-bit compile for Linux?
> I tried to compile one but have no clue if it works so you need to check it.

It doesn't work for me:


# sh install.sh
/usr/local/lmtx/bin/mtxrun: /lib/libm.so.6: version `GLIBC_2.23' not found 
(required by /usr/local/lmtx/bin/mtxrun)
cp: cannot stat '/usr/local/lmtx/tex/texmf-linux/bin/mtxrun': No such file or 
directory
cp: cannot stat 
'/usr/local/lmtx/tex/texmf-context/scripts/context/lua/mtxrun.lua': No such 
file or directory
cp: cannot stat 
'/usr/local/lmtx/tex/texmf-context/scripts/context/lua/mtx-install.lua': No 
such file or directory

If you want to run ConTeXt everywhere, you need to adapt the path, like:

  export 
PATH=/usr/local/lmtx/tex/texmf-linux/bin:/usr/local/lmtx/bin:/usr/local/lmtx/tex/texmf-linux/bin:/root/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/qt/bin:/usr/local/rvm/bin:/usr/share/texmf/bin:/net/sw/bin

If you run from an editor you can specify the full path to mtxrun:

  /usr/local/lmtx/tex/texmf-linux/bin/mtxrun --autogenerate --script context 
--autopdf ...

The following settings were used:

  server   : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl
  instance : install-lmtx
  extras   :
  ownpath  : /usr/local/lmtx
  platform : linux


And here's what ldd reports:


# ldd -v bin/mtxrun
bin/mtxrun: /lib/libm.so.6: version `GLIBC_2.23' not found (required by 
bin/mtxrun)
linux-gate.so.1 (0xe000)
libm.so.6 => /lib/libm.so.6 (0xb71bf000)
libdl.so.2 => /lib/libdl.so.2 (0xb71ba000)
libc.so.6 => /lib/libc.so.6 (0xb702e000)
/lib/ld-linux.so.2 (0xb778d000)

Version information:
bin/mtxrun:
libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
libc.so.6 (GLIBC_2.15) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.7) => /lib/libc.so.6
libc.so.6 (GLIBC_2.17) => /lib/libc.so.6
libc.so.6 (GLIBC_2.11) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3.4) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libm.so.6 (GLIBC_2.23) => not found
libm.so.6 (GLIBC_2.1) => /lib/libm.so.6
libm.so.6 (GLIBC_2.0) => /lib/libm.so.6
/lib/libm.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
/lib/libdl.so.2:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libc.so.6:
ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2


I don't think I can upgrade glibc, however -- I'm stuck on Slackware 
14.1 for now.

Oh well, it's no big deal for me.

Paul.

-- 
Paul Hoffman 
___
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] Fwd: BachoTeX 2019 for latecomers

2019-04-02 Thread Taco Hoekwater
Hi all,

For your consideration: see the message below.

Best wishes,
Taco


Begin doorgestuurd bericht:

> Van: "Jerzy.Ludwichowski" 
> Datum: 2 april 2019 om 00:42:57 CEST
> Aan: LUG boards 
> Onderwerp: BachoTeX 2019 for latecomers
> Antwoord aan: lug-boa...@ifi.uio.no
> 
> Dear Friends,
> 
> please forward the message below to your members.
> 
> Many thanks -- Jerzy
> 
> Dear Texies,
> 
> this is no April Fools' Day news: the deadline for both the
> registrations and contributions (Author! Author!) is extended
> until April 10 2019.
> 
> The BachoTeX 2019 site is at http://www.gust.org.pl/bachotex/2019-en.
> There you can easily find the registration form, the call for papers,
> information for authors, and the current, constantly updated,
> conference program content.
> 
> Don't waste time, don't waste the opportunity. Hurry!
> 
> Jerzy Ludwichowski
> (for the Organizing and Program Committees)
> 
___
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] index "compress" option / collapsing of page numbers

2019-04-02 Thread Hans Hagen

On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote:

Ahoi,

with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s 
great.

But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 
becomes 1ff.

Is it possible to configure it that way?

it should not be too hard to program but, it being german problem:

- you have to come up with an example
- wolfgang has to come up with a proper keyword (compress=?)

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] follow up

2019-04-02 Thread Hans Hagen

On 4/2/2019 5:56 PM, Aditya Mahajan wrote:

To me, it seems like an error in pgfplots (I think that instead of 
\mostrecent, the error message should use 
`\pgfkeysvalueof{/pgfplots/compat/mostrecent}`) and is easily fixable by 
setting `\let\mostrecent=\relax` before loading pgfplots.


if i grep the pgf path then indeed there are files with forward slashes 
and in few plaes with backslashes


What is interesting is that for some reason the error message does not 
show up in ConTeXt MkIV. I couldn't make a minimal example to show the 
difference between the two.
maybe a different file is loaded based on some check ... hard to see 
with so many files loaded


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] follow up

2019-04-02 Thread Aditya Mahajan

On Mon, 1 Apr 2019, Hans Hagen wrote:


Hi,

We have worked furiously all day kicking-out extra code, and are pleased 
to present a lean-and-mean version of luatex with your favorite ConTeXt. 
Same good taste but only half the calories and a new name: luametatex 
and ConTeXt LMTX. No more Mk-whatever, no more dependencies for we can 
now stand on our own. Of course, good-old luatex and MkIV (as well as 
MkII) will continue to coexist and be maintained. However, now you will 
be able to run ConTeXt lmtx on your smart thermostat or on your 
refrigerator for the Internet of Things - the dawn of a new era!


I get an error when using pgfplots:

\usemodule[pgfplots]

\starttext
Hello
\stoptext

gives

tex error   > tex error on line 1 in file 
/opt/luametatex/tex/texmf-modules/tex/generic/pgf/libraries/decorations/pgflibrarydecorations.pathreplacing.code.tex: 
! Undefined control sequence


 ... set (\string \pgfplotsset {compat=\mostrecent
  }).

The error is coming from the following code in 
pgfplotssysgeneric.code.tex:



   \pgfplots@message{Package pgfplots notification 'compat/show suggested 
version=true': document has been generated with the most recent feature 
set (\string\pgfplotsset{compat=\mostrecent}).^^J}%


where \pgfplot@message is defined as:

\def\pgfplots@message#1{%
 \immediate\write16{#1}%
}%

To me, it seems like an error in pgfplots (I think that instead of 
\mostrecent, the error message should use 
`\pgfkeysvalueof{/pgfplots/compat/mostrecent}`) and is easily fixable by 
setting `\let\mostrecent=\relax` before loading pgfplots.


What is interesting is that for some reason the error message does not 
show up in ConTeXt MkIV. I couldn't make a minimal example to show the 
difference between the two.


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] follow up

2019-04-02 Thread Hans Hagen

On 4/2/2019 4:18 PM, Ulrike Fischer wrote:

Am Tue, 2 Apr 2019 15:58:18 +0200 schrieb Floris van Manen:


indeed on preview no x shows up but it does in other viewers



Not just the x.
In the second example the s will disappear, be shows up if you add some extra 
digits, and then dropping the 2


I don't have a mac and can't reproduce the problem. But the missing
char seems to be always the last one in the beginbfchar/endbfchar
list.


The OSX preview is flaky but i’d assume the output of both context version 
would be similar (enough)


The new context adds new lines inside the beginbfchar/endbfchar
block. Perhaps this confuses preview and it drops the last entry.
it is indeed the last one that is the issue but changing spacing or 
adding dummies doesn't help


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] follow up

2019-04-02 Thread Hans Hagen

On 4/2/2019 4:18 PM, Ulrike Fischer wrote:

Am Tue, 2 Apr 2019 15:58:18 +0200 schrieb Floris van Manen:


indeed on preview no x shows up but it does in other viewers



Not just the x.
In the second example the s will disappear, be shows up if you add some extra 
digits, and then dropping the 2


I don't have a mac and can't reproduce the problem. But the missing
char seems to be always the last one in the beginbfchar/endbfchar
list.


The OSX preview is flaky but i’d assume the output of both context version 
would be similar (enough)


The new context adds new lines inside the beginbfchar/endbfchar
block. Perhaps this confuses preview and it drops the last entry.
Hm, so it has a bad parser then? Could be. I can remove those lines as 
test.


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] follow up

2019-04-02 Thread Hans Hagen

On 4/2/2019 3:58 PM, Floris van Manen wrote:

indeed on preview no x shows up but it does in other viewers



Not just the x.
In the second example the s will disappear, be shows up if you add some extra 
digits, and then dropping the 2

The OSX preview is flaky but i’d assume the output of both context version 
would be similar (enough)
different backend code so there can be differences ... i have no clue 
what matters in the case of preview


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] Welcome to LMTX

2019-04-02 Thread Hans Hagen

On 4/2/2019 3:15 PM, Paul Hoffman wrote:

On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:

The average user will probably not notice many differences but nevertheless,
when you are in for something new, you can give it a try:

  http://www.pragma-ade.nl/install.htm


I would love to try LMTX, but all of my computers are 32-bit.  Is there
any chance of a 32-bit compile for Linux?
I tried to compile one but have no clue if it works so you need to check 
it.


-
  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] follow up

2019-04-02 Thread Ulrike Fischer
Am Tue, 2 Apr 2019 15:58:18 +0200 schrieb Floris van Manen:

>> indeed on preview no x shows up but it does in other viewers
>> 
> 
> Not just the x.
> In the second example the s will disappear, be shows up if you add some extra 
> digits, and then dropping the 2

I don't have a mac and can't reproduce the problem. But the missing
char seems to be always the last one in the beginbfchar/endbfchar
list.

> The OSX preview is flaky but i’d assume the output of both context version 
> would be similar (enough)

The new context adds new lines inside the beginbfchar/endbfchar
block. Perhaps this confuses preview and it drops the last entry. 



-- 
Ulrike Fischer 
http://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
___


Re: [NTG-context] follow up

2019-04-02 Thread Floris van Manen
> indeed on preview no x shows up but it does in other viewers
> 

Not just the x.
In the second example the s will disappear, be shows up if you add some extra 
digits, and then dropping the 2

The OSX preview is flaky but i’d assume the output of both context version 
would be similar (enough)

.F


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] follow up

2019-04-02 Thread Hans Hagen

On 4/2/2019 3:12 PM, Floris van Manen wrote:
With osx preview? How small can you make that test (try removing 
characters) till it shows up ok.


yes, OSX 10.11.6 preview
Most likely an issue with OSX preview.
The pdf show correct on Ubuntu

indeed on preview no x shows up but it does in other viewers

\nopdfcompression

\setupbodyfont [termes,10pt]

\startTEXpage
x
\stopTEXpage

as acrobat doesn't complain (and it complains pretty fast) i can't do 
much about it


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Welcome to LMTX

2019-04-02 Thread Paul Hoffman
On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
> The average user will probably not notice many differences but nevertheless,
> when you are in for something new, you can give it a try:
> 
>  http://www.pragma-ade.nl/install.htm

I would love to try LMTX, but all of my computers are 32-bit.  Is there 
any chance of a 32-bit compile for Linux?

Thanks in advance,

Paul.

-- 
Paul Hoffman 
___
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] follow up

2019-04-02 Thread Floris van Manen
> With osx preview? How small can you make that test (try removing characters) 
> till it shows up ok.

yes, OSX 10.11.6 preview
Most likely an issue with OSX preview.
The pdf show correct on Ubuntu

.F


the error will stay all the way down:

\starttext
conText
\stoptext






\starttext
conTest
\stoptext




\starttext
conTest 123
\stoptext




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Tue, Apr 02, 2019 at 01:43:09PM +0200, Mojca Miklavec wrote:
> Off-list: please try to remove the old/regular installation from path,
> just for the test; it's probably interfering and you get one
> executable from one path and the other one from another.

Success!
Yes, both executables must have interfered. Now it works with the long command 
as well with the
short "context" one.

Thank you Hans and Mojca!

Rudolf
___
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] Welcome to LMTX

2019-04-02 Thread Hans Hagen

On 4/2/2019 2:42 PM, Rudolf Bahr wrote:

On Tue, Apr 02, 2019 at 01:38:15PM +0200, Hans Hagen wrote:


"ls -l ./context-lmtx/tex/texmf-linux-64/bin/" gives the following:

lrwxrwxrwx 1 sam sam  10 Apr  2 09:15 context -> luametatex
-rw-r--r-- 1 sam sam1315 Apr  2 09:15 context.lua
-rwxr--r-- 1 sam sam 2798240 Apr  2 09:15 luametatex
lrwxrwxrwx 1 sam sam  10 Apr  2 09:15 mtxrun -> luametatex
-rw-r--r-- 1 sam sam  684787 Apr  2 09:15 mtxrun.lua




what happens if you just copy luametatex to mtxrun and context



Doing so, "ls -l /home/sam/context-lmtx/tex/texmf-linux-64/bin" now shows:

-rwxr--r-- 1 sam sam 2798240 Apr  2 14:23 context
-rw-r--r-- 1 sam sam1315 Apr  2 09:15 context.lua
-rwxr--r-- 1 sam sam 2798240 Apr  2 09:15 luametatex
-rwxr--r-- 1 sam sam 2798240 Apr  2 14:23 mtxrun
-rw-r--r-- 1 sam sam  684787 Apr  2 09:15 mtxrun.lua

You can see, that "context" and "mtxrun" both have the same length (2798240).

"/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script 
context --autopdf ABCD-Helmstedt-Lauf.tex" still gives:


maybe

mtxrun --verbose ...

gives a clue



mtx-context | run 1: luametatex 
--fmt="/home/sam/context-lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en" 
--jobname="ABCD-Helmstedt-Lauf" 
--lua="/home/sam/context-lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui" 
--c:autopdf --c:currentrun=1 --c:fulljobname="./ABCD-Helmstedt-Lauf.tex" --c:input="./ABCD-Helmstedt-Lauf.tex" --c:kindofrun=1 
--c:maxnofruns=9 --c:texmfbinpath="/home/sam/context-lmtx/tex/texmf-linux-64/bin" "cont-yes.mkiv"

sh: 1: luametatex: not found
mtx-context | fatal error: return code: 32512
-

and "context ABCD-Helmstedt-Lauf.tex" runs the old mkiv context. That is ok.


actually not, it should run new lmtx when it's indeed the context 
equivalent to luametatex



Rudolf




--

-
  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] follow up

2019-04-02 Thread Hans Hagen

On 4/2/2019 2:40 PM, Floris van Manen wrote:
There seems to be some subtle differences in the pdf output when 
comparing the old and new context


Hm. Apart from a bit more efficient output there should be no real 
fundamental differences.



This is the context input:

\usemodule [vim]
\setuppapersize [A4]
\setuplayout [
   backspace=10mm,
   topspace=25mm,
   width=190mm,
   header=0mm,
   footer=0mm,
   height=240mm,
]

\setupheader [state=empty, no]
\setupbodyfontenvironment [default] [em=italic]
\definefontfamily [myfamily] [serif] [TeX Gyre Termes]
\setupbodyfont [myfamily, 10pt]
\definefontsize [e]
\definebodyfontenvironment [default] [e=3.5]
\starttext
\strut\vfill
\startalign[center]
{\tfe conText is fun}
\blank[10mm]
{\em ( ijver & vlijt 8+ )}

\stopalign
\vfill\strut
\stoptext


this is the old version
this is the new output
With osx preview? How small can you make that test (try removing 
characters) till it shows up ok.


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] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Tue, Apr 02, 2019 at 01:38:15PM +0200, Hans Hagen wrote:
> > 
> > "ls -l ./context-lmtx/tex/texmf-linux-64/bin/" gives the following:
> > 
> > lrwxrwxrwx 1 sam sam  10 Apr  2 09:15 context -> luametatex
> > -rw-r--r-- 1 sam sam1315 Apr  2 09:15 context.lua
> > -rwxr--r-- 1 sam sam 2798240 Apr  2 09:15 luametatex
> > lrwxrwxrwx 1 sam sam  10 Apr  2 09:15 mtxrun -> luametatex
> > -rw-r--r-- 1 sam sam  684787 Apr  2 09:15 mtxrun.lua


> what happens if you just copy luametatex to mtxrun and context
> 

Doing so, "ls -l /home/sam/context-lmtx/tex/texmf-linux-64/bin" now shows:

-rwxr--r-- 1 sam sam 2798240 Apr  2 14:23 context
-rw-r--r-- 1 sam sam1315 Apr  2 09:15 context.lua
-rwxr--r-- 1 sam sam 2798240 Apr  2 09:15 luametatex
-rwxr--r-- 1 sam sam 2798240 Apr  2 14:23 mtxrun
-rw-r--r-- 1 sam sam  684787 Apr  2 09:15 mtxrun.lua

You can see, that "context" and "mtxrun" both have the same length (2798240).

"/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script 
context --autopdf ABCD-Helmstedt-Lauf.tex" still gives:


mtx-context | run 1: luametatex 
--fmt="/home/sam/context-lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en"
 --jobname="ABCD-Helmstedt-Lauf" 
--lua="/home/sam/context-lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui"
 --c:autopdf --c:currentrun=1 --c:fulljobname="./ABCD-Helmstedt-Lauf.tex" 
--c:input="./ABCD-Helmstedt-Lauf.tex" --c:kindofrun=1 --c:maxnofruns=9 
--c:texmfbinpath="/home/sam/context-lmtx/tex/texmf-linux-64/bin" "cont-yes.mkiv"

sh: 1: luametatex: not found
mtx-context | fatal error: return code: 32512
-

and "context ABCD-Helmstedt-Lauf.tex" runs the old mkiv context. That is ok.

Rudolf
___
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] follow up

2019-04-02 Thread Floris van Manen
There seems to be some subtle differences in the pdf output when comparing the 
old and new context

This is the context input:

\usemodule [vim]
\setuppapersize [A4]
\setuplayout [
  backspace=10mm,
  topspace=25mm,
  width=190mm,
  header=0mm,
  footer=0mm,
  height=240mm,
]

\setupheader [state=empty, no]
\setupbodyfontenvironment [default] [em=italic]
\definefontfamily [myfamily] [serif] [TeX Gyre Termes]
\setupbodyfont [myfamily, 10pt]
\definefontsize [e]
\definebodyfontenvironment [default] [e=3.5]
\starttext
\strut\vfill
\startalign[center]
{\tfe conText is fun}
\blank[10mm]
{\em ( ijver & vlijt 8+ )}

\stopalign
\vfill\strut
\stoptext


this is the old version

this is the new output





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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] follow up

2019-04-02 Thread Hans Hagen

On 4/2/2019 1:49 PM, Jeong Dal wrote:

Dear Hans and Alan,

First, thanks for your wonderful work!
I followed your instruction to install ConTeXt LMTX.
For the record, I wrote what I did.  Any comment is welcome to improve 
my installation.


- create directory: ConTeXtLMTX
- download install files.
- run “sudo sh ./install.sh”
- after a long lists, installation is done without errors.
The following settings were used:
server   : lmtx.contextgarden.net 
,lmtx.pragma-ade.com 
,lmtx.pragma-ade.nl 

   instance : install-lmtx
   extras   :
   ownpath  : /Users/graph/ConTeXtLTMX
   platform : osx-64

- I copied my local files from “texmf-local” in ConTeXt MKIV and run mtxrun
- Recently, I am using Atom as an editor. I installed “process-pallete” 
packge and create a command as following:

source /Users/graph/ConTeXtLMTX/tex/setuptex;
context {filePath}
- At the first run, I got "permission denied” message.
/Users/graph/ConTeXtLTMX/tex/texmf-osx-64/bin/luametatex: Permission denied
- So I change the permission of luametatex as 755.


hm, that should be done by the installer (Alan is on osx so maybe he knows)


- After that I tested the sample file which is given in the installation.pdf
- Also there is no error when I compile my file which is good in ConTeXt 
MKIV.
- However, there is no simpleslide module. Of course, there is no 
"module/third” folder. Thus I couldn’t compile a file in screen mode.


these have to come from the garden (will be done later) ... for the 
moment, just copy texmf-modules from another installation to the lmtx 
tex root and regenerate the file database



I hope that I have done it right. I have a question.
Is it better to use"/Users/graph/ConTeXtLTMX/tex/texmf-osx-64/bin/mtxrun 
--autogenerate --script context --autopdf …" instead of “context 
{filePath}"?


both work but --autogenerate will remake formats etc when needed after 
an update



Thank you for reading.

Best regards,

Dalyoung




Hi,

We have worked furiously all day kicking-out extra code, and are pleased
to present a lean-and-mean version of luatex with your favorite ConTeXt.
Same good taste but only half the calories and a new name: luametatex
and ConTeXt LMTX. No more Mk-whatever, no more dependencies for we can
now stand on our own. Of course, good-old luatex and MkIV (as well as
MkII) will continue to coexist and be maintained. However, now you will
be able to run ConTeXt lmtx on your smart thermostat or on your
refrigerator for the Internet of Things - the dawn of a new era!

Stay tuned,

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




--

-
  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] follow up

2019-04-02 Thread Jeong Dal
Dear Hans and Alan,

First, thanks for your wonderful work!
I followed your instruction to install ConTeXt LMTX.
For the record, I wrote what I did.  Any comment is welcome to improve my 
installation.

- create directory: ConTeXtLMTX
- download install files.
- run “sudo sh ./install.sh”
- after a long lists, installation is done without errors.
The following settings were used:
  server   : 
lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl
  instance : install-lmtx
  extras   : 
  ownpath  : /Users/graph/ConTeXtLTMX
  platform : osx-64

- I copied my local files from “texmf-local” in ConTeXt MKIV and run mtxrun
- Recently, I am using Atom as an editor. I installed “process-pallete” packge 
and create a command as following:
source /Users/graph/ConTeXtLMTX/tex/setuptex; 
context {filePath} 
- At the first run, I got "permission denied” message.
/Users/graph/ConTeXtLTMX/tex/texmf-osx-64/bin/luametatex: Permission denied
- So I change the permission of luametatex as 755.
- After that I tested the sample file which is given in the installation.pdf
- Also there is no error when I compile my file which is good in ConTeXt MKIV.
- However, there is no simpleslide module. Of course, there is no 
"module/third” folder. Thus I couldn’t compile a file in screen mode.

I hope that I have done it right. I have a question.
Is it better to use"/Users/graph/ConTeXtLTMX/tex/texmf-osx-64/bin/mtxrun 
--autogenerate --script context --autopdf …" instead of “context {filePath}"?

Thank you for reading.

Best regards,

Dalyoung


> 
> Hi,
> 
> We have worked furiously all day kicking-out extra code, and are pleased 
> to present a lean-and-mean version of luatex with your favorite ConTeXt. 
> Same good taste but only half the calories and a new name: luametatex 
> and ConTeXt LMTX. No more Mk-whatever, no more dependencies for we can 
> now stand on our own. Of course, good-old luatex and MkIV (as well as 
> MkII) will continue to coexist and be maintained. However, now you will 
> be able to run ConTeXt lmtx on your smart thermostat or on your 
> refrigerator for the Internet of Things - the dawn of a new era!
> 
> Stay tuned,
> 
> Alan and 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
___


Re: [NTG-context] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Tue, Apr 02, 2019 at 12:11:00PM +0200, Thomas A. Schmitz wrote:
> On 02.04.19 11:34, Rudolf Bahr wrote:
> > whereis mtxrun gives:
> > mtxrun: /home/sam/context/tex/texmf-linux-64/bin/mtxrun
> > 
> > whereis context gives:
> > context: /usr/local/context /home/sam/context/tex/texmf-linux-64/bin/context
> 
> Hmm - you're still using your old context, it should say
> /home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun
> 
> Which shell are you running?


I'm running "bash" shell.

Rudolf
___
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] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Tue, Apr 02, 2019 at 12:50:40PM +0200, Hans Hagen wrote:
> i assume that you have an independent install, i.e. not write lmtx over an
> existing one .. your bin path should only have
> 
> luametatex
> mtxrun  -> luametatex
> context -> luametatex
> mtxrun.lua
> context.lua
> 
> nothing more (in non lmtx installations mtxrun is actually a copy of
> mtxrun.lua)
> 
> Hans
> 


Yes, independent installation!

"ls -l ./context-lmtx/tex/texmf-linux-64/bin/" gives the following:

lrwxrwxrwx 1 sam sam  10 Apr  2 09:15 context -> luametatex
-rw-r--r-- 1 sam sam1315 Apr  2 09:15 context.lua
-rwxr--r-- 1 sam sam 2798240 Apr  2 09:15 luametatex
lrwxrwxrwx 1 sam sam  10 Apr  2 09:15 mtxrun -> luametatex
-rw-r--r-- 1 sam sam  684787 Apr  2 09:15 mtxrun.lua

Rudolf
___
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] Welcome to LMTX

2019-04-02 Thread Thomas A. Schmitz

On 02.04.19 11:34, Rudolf Bahr wrote:

whereis mtxrun gives:
mtxrun: /home/sam/context/tex/texmf-linux-64/bin/mtxrun

whereis context gives:
context: /usr/local/context /home/sam/context/tex/texmf-linux-64/bin/context


Hmm - you're still using your old context, it should say 
/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun


Which shell are you running?
___
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] Welcome to LMTX

2019-04-02 Thread Hans Hagen

On 4/2/2019 12:01 PM, Rudolf Bahr wrote:

On Tue, Apr 02, 2019 at 11:41:08AM +0200, Hans Hagen wrote:

On 4/2/2019 11:34 AM, Rudolf Bahr wrote:


Could it have something to do with the lack of lua5.4 in my PC? lua5.3 and 
lua5.2
are installed.

No, there are no such depencies. All is built in the binary. (The whole idea
is to be independent of what eslse is installed.)

Does it work in a console?

Hans



What do you mean exactly? All my context invoking is done in a console (and not 
within an
editor or whatelse).

BTW, what will be the short command in invoking lmtx-context? When I do "context 
prog.tex"
I'm still invoking my mkiv context.
i assume that you have an independent install, i.e. not write lmtx over 
an existing one .. your bin path should only have


luametatex
mtxrun  -> luametatex
context -> luametatex
mtxrun.lua
context.lua

nothing more (in non lmtx installations mtxrun is actually a copy of 
mtxrun.lua)


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] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Tue, Apr 02, 2019 at 11:41:08AM +0200, Hans Hagen wrote:
> On 4/2/2019 11:34 AM, Rudolf Bahr wrote:
> 
> > Could it have something to do with the lack of lua5.4 in my PC? lua5.3 and 
> > lua5.2
> > are installed.
> No, there are no such depencies. All is built in the binary. (The whole idea
> is to be independent of what eslse is installed.)
> 
> Does it work in a console?
> 
> Hans
>

What do you mean exactly? All my context invoking is done in a console (and not 
within an
editor or whatelse).

BTW, what will be the short command in invoking lmtx-context? When I do 
"context prog.tex"
I'm still invoking my mkiv context.

Rudolf



___
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] index "compress" option / collapsing of page numbers

2019-04-02 Thread Henning Hraban Ramm
Ahoi,

with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s 
great.

But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 
becomes 1ff.

Is it possible to configure it that way?


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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] Cascaded description

2019-04-02 Thread Procházka Lukáš Ing .

Hello,

I'm trying to get nested descriptions (using "tab") to form a "cascade". The 
result should look like:

AAA ababababababab
ababababababab

BBB ababababab
ababababab

CCC ababab
ababab

<--> indent (margin?) of the first nested description in relation to its parent
 should equal width of parent's head (+ distance?), i.e. width of "AAA ",

<--> indent (margin?) of the second nested description in relation to its 
parent
 should equal width of parent's head (+ distance?), i.e. width of "BBB 
",

<--> so it should be width of "AAA " + 'width of "BBB " in total.

I'm not able to achieve this. My code so far is (and I also played with various 
combinations of alternative, margin, hang, indent...):


\starttext
  A

  \bgroup
\setuptab[headstyle={\bold\tt},sample=123,width=fit,alternative=left]
  \starttab{abc}
\input knuth

\starttab{def}
  \input knuth

\stoptab
  \stoptab
  \egroup

  \bgroup
\setuptab[headstyle={\bold\tt},sample=123456,width=fit,alternative=hanging]
  \starttab{ghijkl}
\input knuth

\starttab{mnopqr}
  \input knuth

\stoptab
  \stoptab
  \egroup
\stoptext


- Paragraphs of "abc" and "def": size of indentation of the paragraphs is good in relation to width 
of head, but paragraph "def" is not "cascaded".

- Paragraphs "ghijkl" and "mnopqr" are "cascaded" well; but width of (margin?) 
is any - it is not related to the width of the sample text.

So how to combine both approaches to get the desired result?

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS: 
nrpt3sn | IČO: 40763439
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

2~.mkiv
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] Welcome to LMTX

2019-04-02 Thread Hans Hagen

On 4/2/2019 11:34 AM, Rudolf Bahr wrote:


Could it have something to do with the lack of lua5.4 in my PC? lua5.3 and 
lua5.2
are installed.
No, there are no such depencies. All is built in the binary. (The whole 
idea is to be independent of what eslse is installed.)


Does it work in a console?

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] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
> > On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
> > >   http://www.pragma-ade.nl/install.htm
> > > 
> > /home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate 
> > --script context --autopdf ABCD-Helmstedt-Lauf.tex
> > 
> > and got:
> > 
> > sh: 1: luametatex: not found
> > mtx-context | fatal error: return code: 32512

> Did you use the installer? I assume so. What happens if you just add
> /home/sam/context-lmtx/tex/texmf-linux-64/bin to your path?
> 
> There is a rather fundamental difference between a regular luatex/mkiv setup
> and luametatex/lmtx:
> 
> - in lmtx we only have one program, nothing else gets installed, there is no
> jit variant (and there will never be as we move on with lua: we use lua 5.4
> here)
> 
> - mtxrun and context are both (on all platforms) symlinks to luametatex (can
> you check that? the installer should manage that)
> 
> - when installing there are no dependencies on other programs so missing
> programs cannot be a reason for a failed install
> 
> (Mojca will set up the garden and that will then be the primary source; the
> installer which is also the updater already know this.)
> 
> Hans

Hi Hans,

thank you for your response.

Yes, I did use the installer and followed the advice under "Linux 64 bit".

After having 

export 
PATH="/home/sam/context-lmtx/tex/texmf-linux-64/bin:/home/sam/context/tex/texmf-linux-64/bin:$PATH"
 as well as

export 
PATH="/home/sam/context-lmtx/tex/texmf-linux-64/bin:/home/sam/context-lmtx/bin:/home/sam/context-lmtx/tex/texmf-linux-64/bin:"

in my .bashrc and not forgotten "source ~/.bashrc" ofcourse :-)

my (old) mkiv context runs well:

context ABCD-Helmstedt-Lauf.tex

but

/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script 
context --autopdf ABCD-Helmstedt-Lauf.tex

fails still with

sh: 1: luametatex: not found
mtx-context | fatal error: return code: 32512


Could it have something to do with the lack of lua5.4 in my PC? lua5.3 and 
lua5.2
are installed.

whereis mtxrun gives:
mtxrun: /home/sam/context/tex/texmf-linux-64/bin/mtxrun

whereis context gives:
context: /usr/local/context /home/sam/context/tex/texmf-linux-64/bin/context

Rudolf
___
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] lmtx

2019-04-02 Thread Hans Hagen

Hi,

So, for those who hesitate to check out lmtx, here is some information.

- In order to achieve long term stability context will use a lean and 
mean variant of luatex (although for now context will keep running on 
luatex too; i might drop support for luajittex). Eventually the source 
code will be part of the context distribution so that one can always 
compile a binary that matches an archived context version.


- This version also permits us to experiment (even very extreme) without 
interupting the parent program luatex, which is now used by other macro 
packages too and therefore needs to be frozen in functionality. Some 
features might trickle back into luatex eventually (unless it breaks 
compatibility).


- As a direct effect it means that context does a bit more: creating the 
pdf file (already most is done anyway in mkiv), dealing with font 
embedding, handling image inclusion, etc. For sure there can be issues 
with that but it has run on my machine already for quite a while.


- It is hard to be conclusive about performance but for instance the 
luatex manual processes a bit faster with lmtx as does the test suite. A 
gain in performance on very demanding documents is also observed by Alan 
and Thomas. Normally one can expect a similar performance. However, the 
memory footprint could be a bit smaller.


- The current somewhat hybrid codebase of context will stepwise be 
adapted so that at some point we can start experimenting with some 
pending ideas. (Which is why i sometimes answer "later this year".)


Anyway, it might not look like it, but it is a conceptual change in how 
context evolves.


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] Welcome to LMTX

2019-04-02 Thread Arthur Reutenauer
On Tue, Apr 02, 2019 at 10:19:36AM +0200, Hans Hagen wrote:
> Ah, so should one make it a full path link then (if possible)?

  No, it doesn’t make any difference, the binary is found anyway.  The
problem is that mtx-context itself calls luametatex, so it needs to be
in the path.

Best,

Arthur
___
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] Welcome to LMTX

2019-04-02 Thread Hans Hagen

On 4/2/2019 10:07 AM, Arthur Reutenauer wrote:

On Tue, Apr 02, 2019 at 09:57:40AM +0200, Rudolf Bahr wrote:

I run cautiously the full path

/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script 
context --autopdf ABCD-Helmstedt-Lauf.tex

and got:

sh: 1: luametatex: not found


   That’s because the luametatex binary (to which mtxrun actually only is
a symbolic link) is in the same directory.  You really need to add that
location to your PATH.
Ah, so should one make it a full path link then (if possible)? It would 
make the tree not moveable so better not imo.


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] Welcome to LMTX

2019-04-02 Thread Hans Hagen

On 4/2/2019 9:57 AM, Rudolf Bahr wrote:

On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:

  http://www.pragma-ade.nl/install.htm

Of course you should keep your current installation too. We're sure that
there will be issues so when you run into unexpected surprises, you can
blame us ...


Hello All,

I run cautiously the full path

/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script 
context --autopdf ABCD-Helmstedt-Lauf.tex

and got:

sh: 1: luametatex: not found
mtx-context | fatal error: return code: 32512
Did you use the installer? I assume so. What happens if you just add 
/home/sam/context-lmtx/tex/texmf-linux-64/bin to your path?


There is a rather fundamental difference between a regular luatex/mkiv 
setup and luametatex/lmtx:


- in lmtx we only have one program, nothing else gets installed, there 
is no jit variant (and there will never be as we move on with lua: we 
use lua 5.4 here)


- mtxrun and context are both (on all platforms) symlinks to luametatex 
(can you check that? the installer should manage that)


- when installing there are no dependencies on other programs so missing 
programs cannot be a reason for a failed install


(Mojca will set up the garden and that will then be the primary source; 
the installer which is also the updater already know this.)


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] Welcome to LMTX

2019-04-02 Thread Arthur Reutenauer
On Tue, Apr 02, 2019 at 09:57:40AM +0200, Rudolf Bahr wrote:
> I run cautiously the full path
> 
> /home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script 
> context --autopdf ABCD-Helmstedt-Lauf.tex
> 
> and got:
> 
> sh: 1: luametatex: not found

  That’s because the luametatex binary (to which mtxrun actually only is
a symbolic link) is in the same directory.  You really need to add that
location to your PATH.

Best,

Arthur
___
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] Welcome to LMTX

2019-04-02 Thread Rudolf Bahr
On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
>  http://www.pragma-ade.nl/install.htm
> 
> Of course you should keep your current installation too. We're sure that
> there will be issues so when you run into unexpected surprises, you can
> blame us ...

Hello All,

I run cautiously the full path

/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script 
context --autopdf ABCD-Helmstedt-Lauf.tex

and got:

sh: 1: luametatex: not found
mtx-context | fatal error: return code: 32512

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