Re: [NTG-context] Emacs with context lmtx

2019-04-08 Thread Fabrice Couvreur
Hi Vladimir,
I use AUCTeX and I compile with the command C-c C-c. The configuration you
proposed for my .emacs file last time works perfectly. So I tried to do the
same thing with context lmtx and if I add this

("ConTeXt" "PATH = /home/viserion/data/context/tex/texmf-linux-64/bin: $
PATH context --purgeall% s"
 TeX-run-command nil t: help "Run context (LMTX)") TeX-command-list)
I get the message

For information about GNU Emacs and the GNU system, type C-h C-a.
File mode specification error: (wrong-type-argument symbolp (ConTeXt PATH =
/ home / viserion / data / context / tex / texmf-linux-64 / bin: $ PATH
context -purgeall% s TeX-run-command nil t : help Run context (LMTX)))

Fabrice

Le lun. 8 avr. 2019 à 14:01, Vladimir Lomov  a écrit :

> Hello,
> ** Fabrice Couvreur [2019-04-08 12:08:44 +0200]:
>
> > Hi,
> > I compile all my files with Emacs and standalone context. I would like to
> > compare context lmtx.
> > I added this in my .emacs file but it does not work.
>
> Does Emacs prints error messages? How do you run the command in Emacs?
> Do you use AUCTeX or not? What messages do you see in *Messages* buffer?
>
> >
> #
> > (eval-after-load "context"
> >   '(setq TeX-command-list
> >(cons '("ConTeXt"
> > "PATH=/home/viserion/context/tex/texmf-linux-64/bin:$PATH context
> > --purgeall %s"
> > TeX-run-command nil t :help "Run context (MarkIV)")
> > TeX-command-list)
> >("ConTeXt"
> > "PATH=/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH context
> > --purgeall %s"
> > TeX-run-command t t :help "Run context (LMTX)") t)
> > )
> >
> #
> >
> >
> > For information about GNU Emacs and the GNU system, type C-h C-a.
> > File mode specification error: (wrong-type-argument symbolp (ConTeXt
> > PATH=/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH context
> > --purgeall %s TeX-run-command t t :help Run context (LMTX)))
> >
> > Thank you.
> > Fabrice
>
> P.S. I didn't try lmtx yet, on my agenda.
>
> P.P.S. It might be more useful to discuss this topic on AUCTeX mailing
> list if you use AUCTeX.
>
> ---
> WBR, Vladimir Lomov
>
> --
> Nothing recedes like success.
> -- Walter Winchell
>
> ___
> 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] Expanding text across two table cells

2019-04-08 Thread Todd DeVries
On Mon, 08 Apr 2019 15:04 -06:00, Aditya Mahajan  wrote:
 
> Use nx=2 instead of n=2.

That works! Many thanks.

Todd
___
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] Expanding text across two table cells

2019-04-08 Thread Aditya Mahajan

On Mon, 8 Apr 2019, Todd DeVries wrote:


Hello,

I use a progress note format which contains information that doesn't change 
much from session to session. Items like date, location, people attending a 
session. I would like to include two longer items, a diagnostic field and info 
about guardianship at the end of a table. Both of these fields should span two 
cells in the table and wrap to the full width. Currently, they wrap to the 
width of the first table column. The cells appear to be spanned correctly, but 
the text does not extend. What am I missing?


Use nx=2 instead of n=2.

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
___


[NTG-context] Expanding text across two table cells

2019-04-08 Thread Todd DeVries
Hello,

I use a progress note format which contains information that doesn't change 
much from session to session. Items like date, location, people attending a 
session. I would like to include two longer items, a diagnostic field and info 
about guardianship at the end of a table. Both of these fields should span two 
cells in the table and wrap to the full width. Currently, they wrap to the 
width of the first table column. The cells appear to be spanned correctly, but 
the text does not extend. What am I missing?

Thank you for the assistance.

\startcomponent c_DATE_clientcode_progress
\project prj_cases
\startsection[title=Counseling Progress Note, reference=DATE_clientcode]
\placetable{Meeting Info}
{\bTABLE
\bTR
\bTD
\ptitle{Client Name}:~John Smith
\eTD
\bTD
\ptitle{Billing code}:~90834
\eTD
\eTR
\bTR
\bTD
\ptitle{Date}:~April 8, 2019
\eTD
\bTD
\ptitle{Start \& stop time}~12:00-13:00
\eTD
\eTR
\bTR
\bTD
\ptitle{Next appointment}:~April 15, 2019
\eTD
\bTD
\ptitle{Punctuality}:~On time.
\eTD
\eTR
\bTR
\bTD
\ptitle{Location of Service}:~Office
\eTD
\bTD
\ptitle{Those in attendance}:~Counselor and John
\eTD
\eTR
\bTR
\bTD[n=2]
\ptitle{Diagnosis}:~Adjustment Disorder, Unspecified (F43.20).
\eTD
\eTR
\bTR
\bTD[n=2]
\ptitle{Children: Location / availability of parent / 
guardian}:~Not applicable.
\eTD
\eTR
\eTABLE}

Todd DeVries
*Phone: (208) 847-5996*

“Everyone must believe in something. I believe I'll go canoeing.”

—  Henry David Thoreau
___
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] Missing modules crossref and pararef

2019-04-08 Thread Zenlima

(Sorry,.. missed an important AND and screwed up the meaning of the sentace :D )

Hi,

I am AND the great help of the mailing list that time are the developer of that 
two modules. The two modules are used on a daily base with MKIV without any 
issues. So why do you want to delete them?

I see the old module download got deleted.. I will provide them somehow later 
today and get back about this.


\startParagraph is dangerously close to (MkIV core) \startparagraph ...


That was done by purpose that time - and why is it dangerous for you?



Interesting, I never heard of these modules. But they were for MkII anyway and 
long gone; their wiki pages are from 2012, and I don’t know the user Zenlima.
What do you want to achieve? It’s probably possible without those modules.


In general: If you dont know something does not mean just delete it. My 
suggestion is to contact the developer of that modules first and ask for 
changes or updates. I am pretty sure that if you provided own work to the OSS 
world you are proud of it and does not want it be deleted respectlessly.

Ok that said: of course I like to update and better the modules - that is just normal software evolution. So please tell me, what part of that modules are mkii leftovers. 


Thanks
H.
___
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] Filterpages is broken in LMTX

2019-04-08 Thread Markus Finke

\setuppapersize [A5] [A4, landscape]

\setuparranging [2SIDE]



\starttext

\filterpages[test.pdf][1:6][]

\stoptext



Thank you,
Markus
___
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] Missing modules crossref and pararef

2019-04-08 Thread Zenlima

Hi,

I am the great help of the mailing list that time are the developer of that two 
modules. The two modules are used on a daily base with MKIV without any issues. 
So why do you want to delete them?

I see the old module download got deleted.. I will provide them somehow later 
today and get back about this.


\startParagraph is dangerously close to (MkIV core) \startparagraph ...


That was done by purpose that time - and why is it dangerous for you?



Interesting, I never heard of these modules. But they were for MkII anyway and 
long gone; their wiki pages are from 2012, and I don’t know the user Zenlima.
What do you want to achieve? It’s probably possible without those modules.


In general: If you dont know something does not mean just delete it. My 
suggestion is to contact the developer of that modules first and ask for 
changes or updates. I am pretty sure that if you provided own work to the OSS 
world you are proud of it and does not want it be deleted respectlessly.

Ok that said: of course I like to update and better the modules - that is just normal software evolution. So please tell me, what part of that modules are mkii leftovers. 


Thanks
H.
___
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] Ctx LMTX + Lua 5.4

2019-04-08 Thread Hans Hagen

On 4/8/2019 3:08 PM, Procházka Lukáš Ing. wrote:

Hello,

I'm using a custom .dll in Ctx (my own .dll written in C with some 
extensions to Lua).


Whenever Ctx started to use a newer version of Lua, I rebuilt the .dll 
with the appropriate version of lua*.dll.


With the latest (non-LMTX) Ctx, I used Lua53.dll from:

 http://www.w32tex.org/toolsw32/lua53lib.zip (THIS LINK IS NO MORE 
VALID!)

and
 https://www.tug.org/svn/texlive/trunk/Master/bin/win32/lua53.dll

(thanks Akira in the mailing thread "Building a custom .dll to work with 
ConTeXt (LuaTeX)").


I would like to "upgrade" my .dll to work with Ctx LMTX - where could I 
find the appropriate lua54lib.zip (.lib and Lua54.dll for Ctx LMTX)?
there is no such file; also, we will only provide crosscompiled static 
binaries


(you can just use regular luatex for your specific setup, or try ffi)

(at some point there will be an option to compile a local binary that 
exposes the lua interface functions)


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] Variable name in lua and lmtx

2019-04-08 Thread Hans Hagen

On 4/8/2019 2:47 PM, Otared Kavian wrote:

Hi Hans,

While testing the new LuaMetaTeX with an old project, I noticed that lmtx 
crashed when I had variables named « numéro »  and « prénom » as in

local n, numéro, email, Nom, prénom

When I changed these to

local n, numero, email, Nom, prenom

the file was typeset without problem.
So my question is: should one avoid using UTF characters in variable names now?

i'll enable 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] follow up

2019-04-08 Thread Jeong Dal
Dear Otared,

I checked the both cases in the terminal and found that there is no problem in 
the installation.
It call “mtxrun" in right place depending on MKIV or LMTX.

Actually, files which doesn’t need  files in texmf-local folder are compiled 
well in both installations.
The problem is occurred when the file tried to read files in texmf-local 
folder. 
In that case, if it is compiled well in MKIV, then it had a problem in LMTX and 
vice versa.
I didn’t try to use a symbolic link.

Since I don’t have any problem to compile files under LMTX so far, I will use 
LMTX mainly.
So I’ll left my previous problem for a while.

Thank you for your help.

Best regards,
Dalyoung



> Subject: Re: [NTG-context] follow up
> Message-ID:  >
> Content-Type: text/plain; charset="utf-8"
> 
> Dear Dalyoung,
> 
> Actually when you have added 
> 
>   export 
> PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin
> 
> either in your engine file (using TeXShop), or when typesetting from the 
> Terminal, then you don't need to use mtxrun --autogenerate in order to 
> typeset a file with LuaMetaTeX: you can just have
> 
>   /context-osx-64/tex/texmf-osx-64/bin/context myfile.tex
> 
> in this way you can use any mode you wish.
> 
> Or have I misunderstood the issue you are asking about?
> 
> Best regards: OK

___
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] serial letters

2019-04-08 Thread Henning Hraban Ramm
How would you approach serial letters, e.g. to all members of a club?
(Actually I need to send out donation receipts.)

I’d like to use the letter module, since my usual letter design is using it.

I can export the addresses to CSV, JSON, Lua tables or whatever or transfer 
them to a SQLite db.
Would it make more sense to read them in Lua and combine this data with a 
buffer, or to write a single tex file for every letter?
I know how to do the latter, but I’d like to learn a more ConTeXt-ish way.
Would it make sense to use the bibliographies module?

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] Ctx LMTX + Lua 5.4

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

Hello,

I'm using a custom .dll in Ctx (my own .dll written in C with some extensions 
to Lua).

Whenever Ctx started to use a newer version of Lua, I rebuilt the .dll with the 
appropriate version of lua*.dll.

With the latest (non-LMTX) Ctx, I used Lua53.dll from:

http://www.w32tex.org/toolsw32/lua53lib.zip (THIS LINK IS NO MORE 
VALID!)
and
https://www.tug.org/svn/texlive/trunk/Master/bin/win32/lua53.dll

(thanks Akira in the mailing thread "Building a custom .dll to work with ConTeXt 
(LuaTeX)").

I would like to "upgrade" my .dll to work with Ctx LMTX - where could I find 
the appropriate lua54lib.zip (.lib and Lua54.dll for Ctx LMTX)?

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

___
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] Variable name in lua and lmtx

2019-04-08 Thread Otared Kavian
Hi Hans,

While testing the new LuaMetaTeX with an old project, I noticed that lmtx 
crashed when I had variables named « numéro »  and « prénom » as in 

local n, numéro, email, Nom, prénom

When I changed these to

local n, numero, email, Nom, prenom

the file was typeset without problem. 
So my question is: should one avoid using UTF characters in variable names now?

Thanks in advance for your attention.
Best regards: OK
___
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] Missing modules crossref and pararef

2019-04-08 Thread Henning Hraban Ramm
Am 2019-04-08 um 12:45 schrieb Martin Hasoň :

> Hi all,
> 
> I want to use pararef and  crossref modules, but they are not present in the 
> ConTeXt installation. These modules also missing in output of install command 
> sh ./first-setup.sh --modules=all

Interesting, I never heard of these modules. But they were for MkII anyway and 
long gone; their wiki pages are from 2012, and I don’t know the user Zenlima.

\startParagraph is dangerously close to (MkIV core) \startparagraph ...

What do you want to achieve? It’s probably possible without those modules.

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
___


Re: [NTG-context] Emacs with context lmtx

2019-04-08 Thread Vladimir Lomov
Hello,
** Fabrice Couvreur [2019-04-08 12:08:44 +0200]:

> Hi,
> I compile all my files with Emacs and standalone context. I would like to
> compare context lmtx.
> I added this in my .emacs file but it does not work.

Does Emacs prints error messages? How do you run the command in Emacs?
Do you use AUCTeX or not? What messages do you see in *Messages* buffer?

> #
> (eval-after-load "context"
>   '(setq TeX-command-list
>(cons '("ConTeXt"
> "PATH=/home/viserion/context/tex/texmf-linux-64/bin:$PATH context
> --purgeall %s"
> TeX-run-command nil t :help "Run context (MarkIV)")
> TeX-command-list)
>("ConTeXt"
> "PATH=/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH context
> --purgeall %s"
> TeX-run-command t t :help "Run context (LMTX)") t)
> )
> #
> 
> 
> For information about GNU Emacs and the GNU system, type C-h C-a.
> File mode specification error: (wrong-type-argument symbolp (ConTeXt
> PATH=/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH context
> --purgeall %s TeX-run-command t t :help Run context (LMTX)))
> 
> Thank you.
> Fabrice

P.S. I didn't try lmtx yet, on my agenda.

P.P.S. It might be more useful to discuss this topic on AUCTeX mailing
list if you use AUCTeX.

---
WBR, Vladimir Lomov

-- 
Nothing recedes like success.
-- Walter Winchell


signature.asc
Description: PGP signature
___
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] Missing modules crossref and pararef

2019-04-08 Thread Martin Hasoň
Hi all,

I want to use pararef
 and
crossref  modules, but
they are not present in the ConTeXt installation. These modules also
missing in output of install command sh ./first-setup.sh --modules=all

Best regards
Martin Hasoň
___
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] Emacs with context lmtx

2019-04-08 Thread Fabrice Couvreur
Hi,
I compile all my files with Emacs and standalone context. I would like to
compare context lmtx.
I added this in my .emacs file but it does not work.

#
(eval-after-load "context"
  '(setq TeX-command-list
   (cons '("ConTeXt"
"PATH=/home/viserion/context/tex/texmf-linux-64/bin:$PATH context
--purgeall %s"
TeX-run-command nil t :help "Run context (MarkIV)")
TeX-command-list)
   ("ConTeXt"
"PATH=/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH context
--purgeall %s"
TeX-run-command t t :help "Run context (LMTX)") t)
)
#


For information about GNU Emacs and the GNU system, type C-h C-a.
File mode specification error: (wrong-type-argument symbolp (ConTeXt
PATH=/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH context
--purgeall %s TeX-run-command t t :help Run context (LMTX)))

Thank you.
Fabrice
___
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] context lmtx

2019-04-08 Thread Hans Hagen

Hi,

As some (and hopefully more) users are testing lmtx, here is some more 
information about what to watch for.


- There are no changes at the macro level that would not have occurred 
at some point when using luatex. For instance, if \pagewidth doesn't 
work, that is because it is now simply gone, while before it was a 
temporary compatibility hack. It is some backend related measure that 
did more good than bad and was never meant for users.


- In MkIV most of the backend code is done in Lua, and ConTeXt never 
used much of the engine. We now simply do all backend stuff in Lua. That 
also means that the pdf.* namespace is no longer supposed to be used at 
the user level. It might get hidden completely at some point, or maybe 
emulated to some extend but again, that was never meant to be a user 
level interface (in context).


- The same is true for images. I might decide to keep the img namespace 
but we have different mechanisms so again, img was never meant for user 
level usage (in context). In lmtx the engine is no longer really 
involved in image inclusion at all (so we went from 'some' to 'none' in 
context).


- Directions (there was some message about that) have a high level 
interface that should be used because there can be interferences 
otherwise (read: therefore no support for low level hacking). The 
directional model in luametatex has been overhauled and to what extent i 
will backport that to luatex is undecided (think of compatibility 
issues; it also depends on further experiments; and after all, it works 
ok in luatex) but that should not affect mkiv (and using luatex).


- Font handling was already under Lua control in context so nothing 
changed there apart from that also tfm loading is now delegated (but i 
suppose that not many users use tfm fonts). The new setup will provide 
some interesting new options that will be explored in the future but 
there we're talking of non-typical usage (for those wondering about 
generic usage of the font loader: we could always do some more in 
context so the generic usage is not affected.)


- Performance is in hit by all this because a lua backend is of course 
slower than native c but we gain a back in other areas, so overall 
performance is not touched (and actually a lot can be gained due to 
other side effects; the same is true for the memory footprint; now that 
luatex 1.10 is out I can also use some of its features.).


- Some problems reported (like clash in cache) are easy to solve. As are 
some more tricky things like the page injection mechanism, which just 
happens to depend on alternative low level backend code. I suppose more 
issues like those will show up in the coming weeks.


- Let me stress that deep down there is still the normal TeX engine, 
token handler, memory management, macro machinery at work and it will 
stay as such because nothing can beat the core tex performance. At the 
macro level context is rather optimized for using it and just in case 
one wonders if we could benefit from further luafication, the answer is 
'no' because as said, tex parsing (and expansion) is very fast, as is 
the grouping model (which is fundamental to tex). So, we have (and keep) 
the same hybrid lua, tex, mp model as we already have for over a decade. 
We use each language for what it is best.


- When all users have moved to luametatex i might clean up some code 
that now is kept around for compatibility (just because, the less code 
the better, and we can always make a frozen snapshot). But that is 
something that will go mostly unnoticed.


So, thanks for testing, and please keep testing,

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] Can not update Context Standalone

2019-04-08 Thread Fabrice Couvreur
Hi,
I just updated this morning and it works well now !
Fabrice

Le dim. 7 avr. 2019 à 13:23, Fabrice Couvreur 
a écrit :

> Hi,
> I have just updated context standalone and I get the following errors :
>
> When you want to use context, you need to initialize the tree by typing:
>
>   . /home/viserion/context/tex/setuptex
>
> in your shell or add
>   "/home/viserion/context/tex/texmf-linux-64/bin"
> to PATH variable if you want to set it permanently.
> This can usually be done in .bashrc, .bash_profile
> (or whatever file is used to initialize your shell).
>
> [viserion@archlinux context]$ mtxrun --generate
> bash: /home/viserion/bin/mtxrun: Aucun fichier ou dossier de ce type
> [viserion@archlinux context]$ context --make
> /home/viserion/texlive/2018/bin/x86_64-linux/context: ligne 2:
> /home/viserion/bin/mtxrun: Aucun fichier ou dossier de ce type
> [viserion@archlinux context]$
>
> Thanks
> Fabrice
>
___
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] luametatex : command not found

2019-04-08 Thread Fabrice Couvreur
You only have to write  export PATH =
$HOME/data/context/tex/texmf-linux-64/bin:$ PATH

Le lun. 8 avr. 2019 à 10:04, Fabrice Couvreur 
a écrit :

> Hi Joseph,
> Yes I did it as with standalone context
> export PATH = $HOME/home/viserion/context/tex/texmf-linux-64/bin:$ PATH
> but writing this time
>
> export PATH = $HOME/home/viserion/data/context/tex/texmf-linux-64/bin:$
> PATH
> Thanks
> Fabrice
>
> Le dim. 7 avr. 2019 à 23:07, Joseph Canedo  a
> écrit :
>
>> Hi Fabrice,
>>
>>
>>
>> Have you added /home/viserion/data/context/tex/texmf-linux-64/bin to
>> your PATH environment variable?
>>
>>
>>
>> Joseph
>>
>>
>>
>> *De : *Fabrice Couvreur 
>> *Envoyé le :*dimanche 7 avril 2019 13:13
>> *À : *mailing list for ConTeXt users 
>> *Objet :*[NTG-context] luametatex : command not found
>>
>>
>>
>> Hi,
>> My system is unix and my platform is linux-64. I installed ConTeXt LMTX
>> as described, namely in my home and in the directory /data /context/
>> I then tried to compile but without success a file :
>>
>>
>>
>> [viserion@archlinux ~]$
>> /home/viserion/data/context/tex/texmf-linux-64/bin/context area.tex
>> mtx-context | run 1: luametatex
>> --fmt="/home/viserion/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en"
>> --jobname="area"
>> --lua="/home/viserion/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui"
>> --c:currentrun=1 --c:fulljobname="./area.tex" --c:input="./area.tex"
>> --c:kindofrun=1 --c:maxnofruns=9
>> --c:texmfbinpath="/home/viserion/data/context/tex/texmf-linux-64/bin"
>> "cont-yes.mkiv"
>>
>> sh: luametatex : commande introuvable
>> mtx-context | fatal error: return code: 32512
>> [viserion@archlinux ~]$
>>
>> Thanks
>>
>> Fabrice
>>
>>
>>
>> ___
>> 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-08 Thread Otared Kavian
Dear Dalyoung,

Actually when you have added 

export 
PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin

either in your engine file (using TeXShop), or when typesetting from the 
Terminal, then you don't need to use mtxrun --autogenerate in order to typeset 
a file with LuaMetaTeX: you can just have

/context-osx-64/tex/texmf-osx-64/bin/context myfile.tex

in this way you can use any mode you wish.

Or have I misunderstood the issue you are asking about?

Best regards: OK

> On 5 Apr 2019, at 16:30, Jeong Dal  wrote:
> 
> 
> Dear Hans and Otared,
> 
> Thank you for your help.
> It is OK to use ConTeXt-LMTX in TeXShop and in Atom.
> 
> I’d like to compile it in LMTX mode or in MKIV mode without running "mtxrun 
> —geneate” when I change mode.
> Set path to absolute path of mtxrun in the setting doesn’t help.
> 
> Actually, it is not a problem of ConTeXt.
> 
> I’ll try it once more.
> 
> Thank you.
> 
> Best regards,
> 
> Dalyoung
> 
> 
>> 2019. 4. 5. 오후 7:00, ntg-context-requ...@ntg.nl 작성:
>> 
>> Send ntg-context mailing list submissions to
>>  ntg-context@ntg.nl
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>>  https://mailman.ntg.nl/mailman/listinfo/ntg-context
>> or, via email, send a message with subject or body 'help' to
>>  ntg-context-requ...@ntg.nl
>> 
>> You can reach the person managing the list at
>>  ntg-context-ow...@ntg.nl
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of ntg-context digest..."
>> 
>> 
>> Today's Topics:
>> 
>>  1. Re: How to update LMTX? (Hans Hagen)
>>  2. Re: follow up (Hans Hagen)
>>  3. Re: (no subject) (Hans Hagen)
>>  4. Re: follow up (Otared Kavian)
>> 
>> 
>> --
>> 
>> Message: 1
>> Date: Fri, 5 Apr 2019 00:20:32 +0200
>> From: Hans Hagen 
>> To: mailing list for ConTeXt users 
>> Subject: Re: [NTG-context] How to update LMTX?
>> Message-ID: <4ab6b1ec-62cd-90c8-0f54-b303f025c...@xs4all.nl>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>> 
>> On 4/5/2019 12:09 AM, Alan Braslau wrote:
>>> On Thu, 4 Apr 2019 23:11:42 +0200
>>> Hans Hagen  wrote:
>>> 
 (we just don't use rsync)
>>> 
>>> As rsync can be problematic for some locations
>>> (TCP port 873 blocked) without the ability to
>>> tunnel.
>> 
>> indeed, especially in schools
>> 
>>> http is most often open.
>> right and rsync is also very unix centric so on windows one has to use 
>> cygwin (bah) or a mingw version (hard to get); also the rsync protocol 
>> is sometimes updated so then you need matching versions
>> 
>> 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
>> -
>> 
>> 
>> --
>> 
>> Message: 2
>> Date: Fri, 5 Apr 2019 00:28:19 +0200
>> From: Hans Hagen 
>> To: mailing list for ConTeXt users 
>> Subject: Re: [NTG-context] follow up
>> Message-ID: <8f908232-5516-b2a7-df76-51eba0c51...@xs4all.nl>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>> 
>> On 4/5/2019 12:17 AM, Jeong Dal wrote:
>>> Dear Hans,
>>> 
>>> I have installed both ConTeXt LMTX and ConTeXt MKIV side by side.
>>> But I have a problem to run it.
>>> 
>>> If it is OK to run a file in LMTX environment, then I got a following 
>>> error when I run it in MKIV environment.
>>> “I can’t fine a file …../defFonts.tex” even though it is there.
>>> To resolve it, I run “mtxrun —generate” in MKIV.
>>> But it invoke the same type error in LMTX.
>>> Here are the command in Atom editor which I use to run it.
>>> 
>>> LMTX:
>>> source /Users/graph/ConTeXtLMTX/tex/setuptex;
>>> context {filePath}
>>> MKIV:
>>> source /Users/graph/ConTeXt/tex/setuptex;
>>> context {filePath}
>>> 
>>> I may avoid it by adding “mtxrun —generate” before compiling it.
>>> But it isn’t a good solution.
>>> I think that there is a better way to do this.
>>> Would you please tell me how to fix it or what is a better way?
>> Does
>> 
>> /mtxrun --autogenerate --script context --autopdf {filePath}
>> 
>> work in your editor?
>> 
>> 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
>> -
>> 
>> 
>> --
>> 
>> Message: 3
>> Date: Fri, 5 Apr 2019 00:37:27 +0200
>> From: Hans Hagen 
>> To: mailing list for ConTeXt users , Dmitry
>>  Starostin 
>> Subject: Re: [NTG-context] (no subject)
>> Message-ID: 

Re: [NTG-context] luametatex : command not found

2019-04-08 Thread Fabrice Couvreur
Hi Joseph,
Yes I did it as with standalone context
export PATH = $HOME/home/viserion/context/tex/texmf-linux-64/bin:$ PATH but
writing this time

export PATH = $HOME/home/viserion/data/context/tex/texmf-linux-64/bin:$
PATH
Thanks
Fabrice

Le dim. 7 avr. 2019 à 23:07, Joseph Canedo  a
écrit :

> Hi Fabrice,
>
>
>
> Have you added /home/viserion/data/context/tex/texmf-linux-64/bin to your
> PATH environment variable?
>
>
>
> Joseph
>
>
>
> *De : *Fabrice Couvreur 
> *Envoyé le :*dimanche 7 avril 2019 13:13
> *À : *mailing list for ConTeXt users 
> *Objet :*[NTG-context] luametatex : command not found
>
>
>
> Hi,
> My system is unix and my platform is linux-64. I installed ConTeXt LMTX as
> described, namely in my home and in the directory /data /context/
> I then tried to compile but without success a file :
>
>
>
> [viserion@archlinux ~]$
> /home/viserion/data/context/tex/texmf-linux-64/bin/context area.tex
> mtx-context | run 1: luametatex
> --fmt="/home/viserion/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en"
> --jobname="area"
> --lua="/home/viserion/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui"
> --c:currentrun=1 --c:fulljobname="./area.tex" --c:input="./area.tex"
> --c:kindofrun=1 --c:maxnofruns=9
> --c:texmfbinpath="/home/viserion/data/context/tex/texmf-linux-64/bin"
> "cont-yes.mkiv"
>
> sh: luametatex : commande introuvable
> mtx-context | fatal error: return code: 32512
> [viserion@archlinux ~]$
>
> Thanks
>
> Fabrice
>
>
>
> ___
> 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] ConTeXt does not respect custom TEXMFHOME location

2019-04-08 Thread Hans Hagen

On 4/8/2019 6:47 AM, Johannes Hermann wrote:

Hello mailinglist,

I have a problem with ConTeXt (Texlive 2019) and setting a custom
location of TEXMFHOME.
After installation I end up with a /usr/local/texlive/2019/texmfcnf.lua
as follows:

return {
   content = {
     variables = {
   TEXMFHOME = "~/.texlive2019/texmf",
     },
   },
}

Now when I place my custom version of publ-aut.lua in the appropriate
subfolder it is not used.
Although this works when default TEXMFHOME is used.

Is this behavior known or is this a bug?

did you remake the file database


-
  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] Is t-vim still available in LMTX?

2019-04-08 Thread Hans Hagen

On 4/8/2019 9:38 AM, seasoul wrote:

Dear List,

I just installed LMTX and start to use. I found t-vim is not installed 
even I use "modules = all”. So is t-vim still supported and could be 
used as usual? Or there is the plan to develop a core function to pretty 
printing?
installing modules comes later (when the garden installation is up and 
running) ... for now just copy your texmf-modules tree to the lmtx tree 
and remake the file database


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] Is t-vim still available in LMTX?

2019-04-08 Thread seasoul
Dear List,

I just installed LMTX and start to use. I found t-vim is not installed even
I use "modules = all”. So is t-vim still supported and could be used as
usual? Or there is the plan to develop a core function to pretty printing?
-- 
Yours Sincerely
Diego
___
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] ConTeXt does not respect custom TEXMFHOME location

2019-04-08 Thread Johannes Hermann
Hello mailinglist,

I have a problem with ConTeXt (Texlive 2019) and setting a custom
location of TEXMFHOME.
After installation I end up with a /usr/local/texlive/2019/texmfcnf.lua
as follows:

return {
  content = {
    variables = {
  TEXMFHOME = "~/.texlive2019/texmf",
    },
  },
}

Now when I place my custom version of publ-aut.lua in the appropriate
subfolder it is not used.
Although this works when default TEXMFHOME is used.

Is this behavior known or is this a bug?

Johannes

___
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] Layer failure with LMTX

2019-04-08 Thread Hans Hagen

On 4/8/2019 12:21 AM, Rik Kabel wrote:

List,

The following example works as expected with MKIV but fails for me with 
LMTX.


\setuppapersize[A7]
\setuppagenumbering [location=]

\definelayer [pageNumber][
   x=\dimexpr\pagewidth-\cutspace\relax,
   y=\topspace,
   width=\pagewidth,
   height=\pageheight,
  ]

\startsetups [setupPage]
 \setlayer[pageNumber]
 {\hskip\leftmargindistance
   \inframed[frame=off,leftframe=on,loffset=1em]{\userpage}}
\stopsetups

\setupbackgrounds[page]
  [setups=setupPage,
   background=pageNumber]
\starttext
\page[empty]
\stoptext
use the official interface variables \paperwidth and \paperheight ... 
\pagewidth and \pageheight were never user variables (so you were lucky 
till now)


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
___