[NTG-context] Feynman Diagrams

2023-04-11 Thread Gavin via ntg-context
Hi List,

I’m looking for a way to include Feynman diagrams in my ConTeXt documents. I’ve 
used feynMF/feynMP and TikZ-feynman with LaTeX in the past, but it doesn’t look 
like either works directly with ConTeXt. My diagrams are pretty basic (example 
below). Does anyone have a ConTeXt solution they like? If not, I’ll add it to 
my list of summer MetaPost projects.

Thanks!
Gavin



PastedGraphic-1.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Carlos via ntg-context
On Tue, Apr 11, 2023 at 05:57:30PM +0200, Hans Hagen via ntg-context wrote:
> On 4/11/2023 3:13 PM, Carlos via ntg-context wrote:
> 
> > But where is actually luametatex under the standalone sources
> just in the bin path

thanks Hans. 

Didn't have the time to look at et . Looking at a small display on
this system and sort of like going blind . 

Regarding old mkiv,  I didn't have the time to delve more into it,
but I think (couuld be wrong here) The script installation first-setup
for that old mkiv is not as straightforward as lmtx is, and to
top it off I had downloaded the modules only

With the former I had to manually create the dir temxf-linux-64
whereas with lmtx installation was smooth right after

that's why when I read the resolvers output I had pointed it out to
Aditya that it was looking over and over for that dir to no
avail (of course: the dir was never there; it was never created) 

Path is always a problem as you know. On gnu/linux bash init file means
nothing, as most likely a profile file that supersedes it sets it up
regardless of sessions and how many times logging off and rebooting ,
but the problem woudlnt' stop there as long as texmf is there

I can probably venture out and say that even then, even then… it doesn't
 mean nothing while texmf is still there .

what is mtxrun --script cache going to erase let alone /generate
while texmf is in place? the chances are nil, nada, iteración infinita

It's not going to happen. and an unknown script context.lua mtx-context.lua
will certainly pop up all over again

only after moving/removing texmf it'd go through or else it won't .

then yes

context --luatex --generate 
context --luatex --make 
or
context --make

p.s

and all of the above over a lucida sans that was my own misconfiguration 
that's hilarious :) 

Hans. sorry but I just couldn't stop thinking about it. All over a sans
font. Seriously. 


> 
> Hans
> 
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___
> 

-- 
Blinding speed can compensate for a lot of deficiencies.
-- David Nichols

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

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


Re: [NTG-context] Software upgrade for ntg and contextgarden server 6 April

2023-04-11 Thread Hans Hagen via ntg-context

On 4/11/2023 10:42 PM, Taco Hoekwater via ntg-context wrote:


In any case, today was the last of the big software update procedures (at least 
for the next year or so).

Thanks for doing 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-04-11 Thread Cron Daemon via ntg-context
rsync: getaddrinfo: rsync.pragma-ade.nl 873: Temporary failure in name 
resolution
rsync error: error in socket IO (code 10) at clientserver.c(139) 
[Receiver=3.2.7]
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] upload

2023-04-11 Thread Hans Hagen via ntg-context

Hi,

I just uploaded an update, the areas that were touched:

- math (font) improvements (with mikael, roadmap stuff, fixes, compact 
mode testing)

- text (font) improvements (with mikael, side track of math)
- experimental stuff wrt project structure (with alan, complex huge 
files; prelude to possible partial overhaul)

- some language details like labels (with tomas & students, ongoing)
- little thingies that probably no one will notice unless it's bugged

Hans


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

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


Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-11 Thread Denis Maier via ntg-context
Hard to tell, if you don't show us what you've tried so far.
In one of my setups I use the lua based approach described on page 86/87. But 
again, we'll probably need more information to figure it out.

> -Ursprüngliche Nachricht-
> Von: ntg-context  Im Auftrag von Keith
> McKay via ntg-context
> Gesendet: Montag, 10. April 2023 17:30
> An: mailing list for ConTeXt users 
> Cc: Keith McKay 
> Betreff: [NTG-context] Help with typesetting footnotes in an HTML
> document
> 
> Hi,
> 
> I have been puzzling over how to typeset footnotes in a HTML document,
> most elements have been relatively easy to typeset but I'm stumped with
> footnotes.  I have been studying the the xml manual in particular Chapter  7.4
> Cross Referencing, but I'm still struggling to get xmlsetups which come
> anywhere near working. Any hints  to a solution would be greatly
> appreciated.
> 
> Best Wishes
> 
> Keith McKay
> 
> %%%
> 
> Here is a snippet of the HTML document with footnotes
> 
> 
>     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd;>
> http://www.w3.org/1999/xhtml; xml:lang="en"> 
>    
> 
> 
>    ‘What is a weed? A plant whose virtues have
> not been discovered,’ wrote Ralph Waldo Emerson class="footnote"> data-fnref="53-1">. Those delicate crucifers with their
> manifold faces of four pink or lilac petals striated with veins of deeper
> lavender are the perfect introduction to flowers for children. So delicate and
> yet hardy.
>    I spend some of April abroad, travelling by road
> from an unseasonably snowy Austria (‘dieses Wetter ist verrückt!’ class="footnote"> data-fnref="53-2"> as an elderly lady exclaimed to me) to
> northern France, and when I come home, it’s to a landscape responding to
> substantially increased light levels and temperatures.
>    This was the early sixties. Like many thousands,
> we were rehoused from Maryhill in the heart of urban Glasgow to this
> peripheral housing scheme which completely changed the character of what
> had been a village. Within a decade those glasshouses were abandoned,
> glass broken in the frames, and a row of shops that included a chippy and a
> betting shop soon replaced them, betting ‘off’ licensed race-tracks having
> become legal in 1961.
>    
>      
>      
>    Emerson, R.W. (1878) Fortune of the Republic, p.3 quoted in
> Oxford Dictionary of Quotations, Rev Fourth Edition (1996).
>      
>      
>    ‘Crazy weather!’
>      
>      
>     href="http://www.independent.co.uk/sport/racing/our-national-love-affair-
> a-history-of-the-betting-shop-804966.html"
> data-url="http://www.independent.co.uk/sport/racing/our-national-love-
> affair-a-history-of-the-betting-shop-804966.html"> class="import-Hyperlink">http://www.independent.co.uk/sport/racing/our-
> national-love-affair-a-history-of-the-betting-shop-804966.html
> [accessed 11 Dec 2017]
>      
>    
> 
> 
> 
> %%
> 
> __
> _
> If your question is of interest to others as well, please add an entry to the
> Wiki!
> 
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-
> context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> __
> _
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-04-11 Thread Cron Daemon via ntg-context
receiving incremental file list
 ./
 ctan.lsr
 document-2.htm
 download-1.htm
 download-2.htm
 logo-ade.png
 logo-cts.png
 logo-pod.png
 rss.xml
 show-fil.pdf
 context/latest/
 context/latest/cont-mpd.zip
 context/latest/cont-ppc.zip
 context/latest/cont-sci.zip
 context/latest/cont-tmf.zip
 context/latest/cont-tst.7z
 context/latest/cont-tst.tar.xz
 context/latest/cont-tst.zip
 
 sent 100,972 bytes  received 21,076,534 bytes  3,850,455.64 bytes/sec
 total size is 448,193,982  speedup is 21.16


Running archiver:

New dir: /var/www/aanhet.net/context//htdocs/archives/context-2023-04-11.23
120359901   
/var/www/aanhet.net/context//htdocs/archives/context-2023-04-11.23/latest
126745317   
/var/www/aanhet.net/context//htdocs/archives/context-2023-04-11.23/current
247109314   
/var/www/aanhet.net/context//htdocs/archives/context-2023-04-11.23
247109314   total
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-04-11 Thread Cron Daemon via ntg-context
rsync: getaddrinfo: rsync.pragma-ade.nl 873: Temporary failure in name 
resolution
rsync error: error in socket IO (code 10) at clientserver.c(139) 
[Receiver=3.2.7]
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Hans Hagen via ntg-context

On 4/11/2023 3:13 PM, Carlos via ntg-context wrote:


But where is actually luametatex under the standalone sources

just in the bin path

Hans

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

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

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


Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-11 Thread Keith McKay via ntg-context

Fair comment Denis.

I decided to try the lookup based approach on pages 85 - 86 of the xml 
manual and my setups are based on those pages. I have to admit that I 
find the xml manual a wee bit difficult in places since xml is outside 
my expertise. I attach my tex and html files which should save some copy 
and pasting.


Thanks

Keith McKay

On 11/04/2023 14:51, denis.ma...@unibe.ch wrote:

Hard to tell, if you don't show us what you've tried so far.
In one of my setups I use the lua based approach described on page 86/87. But 
again, we'll probably need more information to figure it out.


-Ursprüngliche Nachricht-
Von: ntg-context  Im Auftrag von Keith
McKay via ntg-context
Gesendet: Montag, 10. April 2023 17:30
An: mailing list for ConTeXt users 
Cc: Keith McKay 
Betreff: [NTG-context] Help with typesetting footnotes in an HTML
document

Hi,

I have been puzzling over how to typeset footnotes in a HTML document,
most elements have been relatively easy to typeset but I'm stumped with
footnotes.  I have been studying the the xml manual in particular Chapter  7.4
Cross Referencing, but I'm still struggling to get xmlsetups which come
anywhere near working. Any hints  to a solution would be greatly
appreciated.

Best Wishes

Keith McKay

%%%

Here is a snippet of the HTML document with footnotes


http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd;>
http://www.w3.org/1999/xhtml; xml:lang="en"> 
    


    ‘What is a weed? A plant whose virtues have
not been discovered,’ wrote Ralph Waldo Emerson. Those delicate crucifers with their
manifold faces of four pink or lilac petals striated with veins of deeper
lavender are the perfect introduction to flowers for children. So delicate and
yet hardy.
    I spend some of April abroad, travelling by road
from an unseasonably snowy Austria (‘dieses Wetter ist verrückt!’ as an elderly lady exclaimed to me) to
northern France, and when I come home, it’s to a landscape responding to
substantially increased light levels and temperatures.
    This was the early sixties. Like many thousands,
we were rehoused from Maryhill in the heart of urban Glasgow to this
peripheral housing scheme which completely changed the character of what
had been a village. Within a decade those glasshouses were abandoned,
glass broken in the frames, and a row of shops that included a chippy and a
betting shop soon replaced them, betting ‘off’ licensed race-tracks having
become legal in 1961.
    
      
      
    Emerson, R.W. (1878) Fortune of the Republic, p.3 quoted in
Oxford Dictionary of Quotations, Rev Fourth Edition (1996).
      
      
    ‘Crazy weather!’
      
      
    http://www.independent.co.uk/sport/racing/our-national-love-affair-
a-history-of-the-betting-shop-804966.html"
data-url="http://www.independent.co.uk/sport/racing/our-national-love-
affair-a-history-of-the-betting-shop-804966.html">http://www.independent.co.uk/sport/racing/our-
national-love-affair-a-history-of-the-betting-shop-804966.html
[accessed 11 Dec 2017]
      
    



%%

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

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

FootnoteTest.tex
Description: TeX document







  ‘What is a weed? A plant whose virtues have not been discovered,’ wrote Ralph Waldo Emerson. Those delicate crucifers with their manifold faces of four pink or lilac petals striated with veins of deeper lavender are the perfect introduction to flowers for children. So delicate and yet hardy.
  I spend some of April abroad, travelling by road from an unseasonably snowy Austria (‘dieses Wetter ist verrückt!’ as an elderly lady exclaimed to me) to northern France, and when I come home, it’s to a landscape responding to substantially increased light levels and temperatures.
  This was the early sixties. Like many thousands, we were rehoused from Maryhill in the heart of urban Glasgow to this peripheral housing scheme which completely changed the character of what had been a village. Within a decade those glasshouses were abandoned, glass broken in the frames, and a row of shops that included a chippy and a betting shop soon replaced them, betting ‘off’ licensed race-tracks having become legal in 1961.
  


  Emerson, R.W. (1878) Fortune of the Republic, p.3 quoted in Oxford Dictionary of Quotations, Rev Fourth Edition (1996).


  ‘Crazy weather!’


  http://www.independent.co.uk/sport/racing/our-national-love-affair-a-history-of-the-betting-shop-804966.html [accessed 11 Dec 2017]

  


[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-04-11 Thread Cron Daemon via ntg-context
rsync: getaddrinfo: rsync.pragma-ade.nl 873: Temporary failure in name 
resolution
rsync error: error in socket IO (code 10) at clientserver.c(139) 
[Receiver=3.2.7]
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Software upgrade for ntg and contextgarden server 6 April

2023-04-11 Thread Taco Hoekwater via ntg-context
Hi,

So … the server now runs Ubuntu 22.04. Jay!

This was a much harder upgrade though. Various things were wrong, and are 
likely still a bit wrong in places. Robbert had to rescue the network 
configuration that went missing completely after the upgrade (requiring a trip 
to the data center). Various packages have been discontinued by our linux 
distribution, including the version of the mailing list software that we use 
(so that had to be installed manually). The new version of php is much stricter 
than the old version (so some website hacks were also needed). Et cetera. It 
has been a “process” ...

The basic functionality appears to be back online, although the web interface 
to the mailing lists does not work yet (we will try to fix that tomorrow). But 
there are likely to be small problems with other services still. Please *do* 
let me know if you notice something odd!

In any case, today was the last of the big software update procedures (at least 
for the next year or so).

Best wishes,
Taco and Jules and Robbert




> On 6 Apr 2023, at 18:20, Taco Hoekwater  wrote:
> 
> If you notice anything wrong, please warn either me personally or 
> ntg-ser...@ntg.nl. 
> 
> Unless major problems develop, we will continue the update process on Tuesday 
> afternoon. 



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


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

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


[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-04-11 Thread Cron Daemon via ntg-context
rsync: getaddrinfo: rsync.pragma-ade.nl 873: Temporary failure in name 
resolution
rsync error: error in socket IO (code 10) at clientserver.c(139) 
[Receiver=3.2.7]
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Carlos via ntg-context
On Tue, Apr 11, 2023 at 12:20:32PM +0200, Hans Hagen via ntg-context wrote:
> On 4/11/2023 12:00 PM, Carlos via ntg-context wrote:
> 
> > and belongs to TeX Live?
> 
> well, i suppose there is a non-empty copy in texlive but an empty one can go
> indeed
> 
> > > > Here we go! Back to point A where we were at before
> > > as alan pointed out: just install with the lmtx installer in a path 
> > > separate
> > > from tex live, set the path and you're done; don't try to mix texlive 
> > > with a
> > > adapted of standalone, texlive has its own context package and updates 
> > > etc;
> > > keep them separated
> > 
> > alright. That's fine. That's what I thought.
> > 
> > So copy over the mtxrun binary on texmf-linux-64/bin to context and call it 
> > a
> > day?
> as long as the five mentioned files are there (and best hand mtxrun, context
> and luametatex the same so use links) ... luametatex is the engine as well
> as stub runner (runs the luatex file in the same path with the same name and
> suffix lua)
> 

I was just going over path just to make sure that the TeX Live
infrastructure would not return anything from
/opt/texlive/2023/bin/x86_64-linux/ as it doing before

thank you for the clarification but where is luametatex  on the
standalone sources
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___
> 

-- 
Stinginess with privileges is kindness in disguise.
-- Guide to VAX/VMS Security, Sep. 1984

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

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


Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Carlos via ntg-context
On Tue, Apr 11, 2023 at 12:20:32PM +0200, Hans Hagen via ntg-context wrote:
> On 4/11/2023 12:00 PM, Carlos via ntg-context wrote:
> 
> > and belongs to TeX Live?
> 
> well, i suppose there is a non-empty copy in texlive but an empty one can go
> indeed
> 
> > > > Here we go! Back to point A where we were at before
> > > as alan pointed out: just install with the lmtx installer in a path 
> > > separate
> > > from tex live, set the path and you're done; don't try to mix texlive 
> > > with a
> > > adapted of standalone, texlive has its own context package and updates 
> > > etc;
> > > keep them separated
> > 
> > alright. That's fine. That's what I thought.
> > 
> > So copy over the mtxrun binary on texmf-linux-64/bin to context and call it 
> > a
> > day?
> as long as the five mentioned files are there (and best hand mtxrun, context
> and luametatex the same so use links) ... luametatex is the engine as well
> as stub runner (runs the luatex file in the same path with the same name and
> suffix lua)
> 

thank you for the clarification. I was going over path to make sure that
anything under /opt/texlive/2022/bin/x86_64-linux/ returns no binaries from
there 

But where is actually luametatex under the standalone sources

> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___
> 

-- 
As soon as we started programming, we found to our surprise that it wasn't
as easy to get programs right as we had thought.  Debugging had to be
discovered.  I can remember the exact instant when I realized that a large
part of my life from then on was going to be spent in finding mistakes in
my own programs.
-- Maurice Wilkes, designer of EDSAC, on programming, 1949

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

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


Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Hans Hagen via ntg-context

On 4/11/2023 12:00 PM, Carlos via ntg-context wrote:


and belongs to TeX Live?


well, i suppose there is a non-empty copy in texlive but an empty one 
can go indeed



Here we go! Back to point A where we were at before

as alan pointed out: just install with the lmtx installer in a path separate
from tex live, set the path and you're done; don't try to mix texlive with a
adapted of standalone, texlive has its own context package and updates etc;
keep them separated


alright. That's fine. That's what I thought.

So copy over the mtxrun binary on texmf-linux-64/bin to context and call it a
day?
as long as the five mentioned files are there (and best hand mtxrun, 
context and luametatex the same so use links) ... luametatex is the 
engine as well as stub runner (runs the luatex file in the same path 
with the same name and suffix lua)


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

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

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


Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Carlos via ntg-context
On Tue, Apr 11, 2023 at 11:23:45AM +0200, Hans Hagen via ntg-context wrote:
> On 4/11/2023 11:11 AM, Carlos via ntg-context wrote:
> 
> > Hello Alan, my PATH is set to:
> > 
> > PATH=/home/ce/context-install/bin:/home/ce/context-install/tex/texmf-linux-64/bin:/opt/texlive/2023/bin/x86_64-linux:$PATH;
> >  export PATH
> 
> what is that first path doing there
> 

okay. Let's remove it. The second one wouldn't hurt it I guess, right?
and it's needed.

> > Do we actually need to list all kpsea variable here ?? fine
> 
> doesn't hurt .. also because they can be set badly at the os level (you
> really don't want to knwo when has be encountered in the 20th century)
> 

:) 

> > Here are some of them, which are really irrelevant by the way, but just
> > adding info
> > 
> > $ kpsewhich --var-value TEXMFROOT
> > /opt/texlive/2023
> > $ kpsewhich --var-value TEXMFDIST
> > /opt/texlive/2023/texmf-dist
> > $ kpsewhich --var-value TEXMFLOCAL
> > /opt/texlive/texmf-local
> > 
> > Now let's take a peek inside the TeX Live infrastructure-only,  shall
> > we? (just for additional info as TeX Live is ocnsidered one of the
> > many scripts out there, right?  One is interested in the standalone in
> > the end)
> > 
> > LICENSE.CTAN   bin install-tl.log   texmf-config  
> > texmfcnf.lua
> > LICENSE.TL doc.htmlreadme-html.dir  texmf-disttlpkg
> > README index.html  readme-txt.dir   texmf-var
> > README.usergroups  install-tl  release-texlive.txt  texmf.cnf
> 
> that si texlive, not standalone
> 
> > that texmfcnf.lua only holds
> > 
> > return {
> >content = {
> >  variables = {
> >  },
> >},
> > }
> > 
> > which is useless
> 
> and harmless (somethign old texlive)
> 
> > so, no bueno. Not when the aim is to install a fully functional context
> > standalone
> > 
> > Now let's take a peek instide and see the binaries
> > 
> > afm2tfm  etex  kpsereadlink mfmtxrun.lua  texluac
> > bibtex   extractbb kpsestat mf-nowin  pdfetex tlmgr
> > context  fmtutil   kpsewhichmft   pdflatextlshell
> > context.lua  fmtutil-sys   latexmkindex   pdftex  updmap
> > dvilualatex  fmtutil-user  luahbtex mktexfmt  pktogf  updmap-sys
> > dviluatexgftodvi   lualatex mktexlsr  pktype  
> > updmap-user
> > dvipdfm  gftopkluametatex   mktexmf   rungs   xdvi
> > dvipdfmx gftypeluaotfload-tool  mktexpk   simpdftex   xdvi-xaw
> > dvipdft  inimf luatex   mktextfm  tex xdvipdfmx
> > dvipsinitexmakeindexmptopdf   texhash
> > ebb  kpseaccessman  mtxruntexlua
> > 
> > Do you see that context and context.lua out there, right? That's
> > only after running tlmgr and installing it, so no bueno, because in
> > the meantime there's no texmfcnf.lua around
> 
> comes from the tex live base package ... harmless, just takes bytes (only
> luatex, luametatex, context, mtxrun, context.lua and mtxrun.lua matter)
> 
> > Then again, remember in the current state I actually don't have
> > texmfcnf.lua for the simple reason that first-setup.sh never provided
> > it, correct?
> 
> aditya pointer that out (and it's one of the files that one doesn't want to
> be overwritten anyway)
> 

For clarification, Do you mean the file that consists of 

-- the distributed file (.../texlive//texmf-dist/web2c/texmfcnf.lua).
-- And include *only* your changed values, not a copy of the whole thing!

return { 
  content = {
variables = {
},
  },
}

and belongs to TeX Live? 

> > Here we go! Back to point A where we were at before
> as alan pointed out: just install with the lmtx installer in a path separate
> from tex live, set the path and you're done; don't try to mix texlive with a
> adapted of standalone, texlive has its own context package and updates etc;
> keep them separated

alright. That's fine. That's what I thought. 

So copy over the mtxrun binary on texmf-linux-64/bin to context and call it a
day? 

> 
> Hans
> 
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___
> 

-- 
"We invented a 

Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Hans Hagen via ntg-context

On 4/11/2023 11:11 AM, Carlos via ntg-context wrote:


Hello Alan, my PATH is set to:

PATH=/home/ce/context-install/bin:/home/ce/context-install/tex/texmf-linux-64/bin:/opt/texlive/2023/bin/x86_64-linux:$PATH;
 export PATH


what is that first path doing there


Do we actually need to list all kpsea variable here ?? fine


doesn't hurt .. also because they can be set badly at the os level (you 
really don't want to knwo when has be encountered in the 20th century)



Here are some of them, which are really irrelevant by the way, but just
adding info

$ kpsewhich --var-value TEXMFROOT
/opt/texlive/2023
$ kpsewhich --var-value TEXMFDIST
/opt/texlive/2023/texmf-dist
$ kpsewhich --var-value TEXMFLOCAL
/opt/texlive/texmf-local

Now let's take a peek inside the TeX Live infrastructure-only,  shall
we? (just for additional info as TeX Live is ocnsidered one of the
many scripts out there, right?  One is interested in the standalone in
the end)

LICENSE.CTAN   bin install-tl.log   texmf-config  texmfcnf.lua
LICENSE.TL doc.htmlreadme-html.dir  texmf-disttlpkg
README index.html  readme-txt.dir   texmf-var
README.usergroups  install-tl  release-texlive.txt  texmf.cnf


that si texlive, not standalone


that texmfcnf.lua only holds

return {
   content = {
 variables = {
 },
   },
}

which is useless


and harmless (somethign old texlive)


so, no bueno. Not when the aim is to install a fully functional context
standalone

Now let's take a peek instide and see the binaries

afm2tfm  etex  kpsereadlink mfmtxrun.lua  texluac
bibtex   extractbb kpsestat mf-nowin  pdfetex tlmgr
context  fmtutil   kpsewhichmft   pdflatextlshell
context.lua  fmtutil-sys   latexmkindex   pdftex  updmap
dvilualatex  fmtutil-user  luahbtex mktexfmt  pktogf  updmap-sys
dviluatexgftodvi   lualatex mktexlsr  pktype  updmap-user
dvipdfm  gftopkluametatex   mktexmf   rungs   xdvi
dvipdfmx gftypeluaotfload-tool  mktexpk   simpdftex   xdvi-xaw
dvipdft  inimf luatex   mktextfm  tex xdvipdfmx
dvipsinitexmakeindexmptopdf   texhash
ebb  kpseaccessman  mtxruntexlua

Do you see that context and context.lua out there, right? That's
only after running tlmgr and installing it, so no bueno, because in
the meantime there's no texmfcnf.lua around


comes from the tex live base package ... harmless, just takes bytes 
(only luatex, luametatex, context, mtxrun, context.lua and mtxrun.lua 
matter)



Then again, remember in the current state I actually don't have
texmfcnf.lua for the simple reason that first-setup.sh never provided
it, correct?


aditya pointer that out (and it's one of the files that one doesn't want 
to be overwritten anyway)



Here we go! Back to point A where we were at before
as alan pointed out: just install with the lmtx installer in a path 
separate from tex live, set the path and you're done; don't try to mix 
texlive with a adapted of standalone, texlive has its own context 
package and updates etc; keep them separated


Hans

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

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

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


Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Carlos via ntg-context
On Mon, Apr 10, 2023 at 10:01:55PM -0600, Alan Braslau via ntg-context wrote:
> On Mon, 10 Apr 2023 20:51:58 -0400 (EDT)
> Aditya Mahajan via ntg-context  wrote:
> 
> > Did you source the `setuptex` script, which sets the correct path.
> 
> My PATH is set to
> PATH=./context/tex/texmf-freebsd-amd64/bin:/home/MyAccount/context/tex/texmf-freebsd-amd64/bin:...
> 
> If my current working directory ("./") is a project that contains its
> very own subdirectory ./context/, then this is used to typeset the
> project. If not, it falls back on my own general standalone
> $HOME/context/, and if that does not exist, then it falls back on, say,
> a systemwide TeXlive installation.
> 
> This is all that is needed to have many versions coexist.
> 
> Alan

Hello Alan, my PATH is set to:

PATH=/home/ce/context-install/bin:/home/ce/context-install/tex/texmf-linux-64/bin:/opt/texlive/2023/bin/x86_64-linux:$PATH;
 export PATH

because not by going by TeX Live infrastructure only, but rather
by standalone resolvers that's exactly what the additional steps to
install that very same  standalone required, a folder
texmf-linux-64/bin, which it's pretty much self-explanatory 

And I already mentioned the above earlier 

Again

Do we actually need to list all kpsea variable here ?? fine

Here are some of them, which are really irrelevant by the way, but just
adding info

$ kpsewhich --var-value TEXMFROOT
/opt/texlive/2023
$ kpsewhich --var-value TEXMFDIST
/opt/texlive/2023/texmf-dist
$ kpsewhich --var-value TEXMFLOCAL
/opt/texlive/texmf-local

Now let's take a peek inside the TeX Live infrastructure-only,  shall
we? (just for additional info as TeX Live is ocnsidered one of the
many scripts out there, right?  One is interested in the standalone in
the end)

LICENSE.CTAN   bin install-tl.log   texmf-config  texmfcnf.lua
LICENSE.TL doc.htmlreadme-html.dir  texmf-disttlpkg
README index.html  readme-txt.dir   texmf-var
README.usergroups  install-tl  release-texlive.txt  texmf.cnf

that texmfcnf.lua only holds 

return { 
  content = {
variables = {
},
  },
}

which is useless

so, no bueno. Not when the aim is to install a fully functional context
standalone

Now let's take a peek instide and see the binaries 

afm2tfm  etex  kpsereadlink mfmtxrun.lua  texluac
bibtex   extractbb kpsestat mf-nowin  pdfetex tlmgr
context  fmtutil   kpsewhichmft   pdflatextlshell
context.lua  fmtutil-sys   latexmkindex   pdftex  updmap
dvilualatex  fmtutil-user  luahbtex mktexfmt  pktogf  updmap-sys
dviluatexgftodvi   lualatex mktexlsr  pktype  updmap-user
dvipdfm  gftopkluametatex   mktexmf   rungs   xdvi
dvipdfmx gftypeluaotfload-tool  mktexpk   simpdftex   xdvi-xaw
dvipdft  inimf luatex   mktextfm  tex xdvipdfmx
dvipsinitexmakeindexmptopdf   texhash
ebb  kpseaccessman  mtxruntexlua

Do you see that context and context.lua out there, right? That's
only after running tlmgr and installing it, so no bueno, because in
the meantime there's no texmfcnf.lua around

Then again, remember in the current state I actually don't have
texmfcnf.lua for the simple reason that first-setup.sh never provided
it, correct?

So, wwith that in mind and in place, even that context binary from TeX
Live infrastructure as shown before is a known fact that texmfcnf.lua
is nowhere to be found

So let me see if I can copy one from an otherwise fully functional TeX Live
with almost 5g of space taken over and copy it over to this TeX Live 
infrastrcutre so
everything checks out in the end 

What happens then is not really surprising

If I were to copy over a copy that I found elsewhere over to web2c
of the TeX Live-infrastructure-only installation,  this is what happens:

$ context --generate --luatex
mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

Here we go! Back to point A where we were at before


> 
> P.S. It can be a good practice to keep a ConTeXt standalone version
> associated with each project, which can be "frozen" with the project,
> assuring that the sources can always be typeset in the future "as is".
> 
> P.P.S. This per-project ./context/ subdirectory can include multiple
> tex/texmf-system-architecture subdirectories and the project shared
> between different machines, all in happy coexistence. (Hans told me a
> while ago that they all use unique luametatex caches.)
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 

Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Hans Hagen via ntg-context

On 4/11/2023 1:58 AM, Carlos via ntg-context wrote:

I'm just following some of the standalone installation instructions
as per the wiki alongside  a TeX Live installation,  but there are a
few things that don't add up or I can't seem to add them up :).

first, while I was trying to mtxrun --generate it returned

/usr/bin/env texlua no such file or directory

So I thought heck, perhaps by creating a symbolic link we'll call it
a day, but that wasn't enough, nope.


That # line will go away or change because per 2023 we assume that the 
script is run by luametatex and we're in a sort of transition



This is is circa 21st century ladies and gentlemen!


And tex survived more that 4 decades so ... it operates in an eco system 
(tds, installations) ... todays fashion is not yesterdays and tomorrows



so I thought, alright, since there seems ot be a a problem with texlua,
let's also add it to path somehow.


i'm not sure what you installed but the stand alone installer installs 
luametatex / luatex and therefore has


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

in the same path (the links are stubs, not uncommon in the tex world 
where they are also used to launch macro packages like latex)


it can't be more portable and simple than that, is efficient and works 
ok unless one wants some different setup, and spend time on that



So with that out of the way, we'll move on to the next step and change
to a directory and try to call out mtxrun --generate again

It returns:


> ...


But this is the catch. I don't have texmfcnf.lua anymore . Not on
the TeX Live installation anyway if that might've ever materialize
as a question


maybe that was not copied? the fact that we need a configuration and 
file database is also pretty much the way a tex installation works (with 
allits resources)



If I were to invoke an mtxrun --script cache --erase
Of course and going solely by the above the part whenever it says
resolvers   | resolving | looking for regular 'texmfcnf.lua'
on given path '/home/ce/context/bin/texmf/web2c' from specification
'selfautoloc:/texmf/web2c'

wont' find it anywhere because that dir does not exist.


should be there with the installer; if one just installs the 'zip' it 
has to come from elsewhere (like texlive, where actually most lives in 
texmf-dist) and one has to copy a configuration file to there



But remember that earlier, adding bin to path was necessary to avoid
/usr/bin/env texlua no such file or directory message

But even now while trying to find plain.tex I've come to the conclusion
that it needs it or else fails altogether

The problem is that I don't have plain.tex though.

As a matter of fact the TeX Live installation I currently have,
plain tex is nowhere to be seen, heck, not even latex but only a
handful set of fmtutil fmtuitl-sys mktexfmt and updmap updmap-sys
and the whole remainder of kpathsea but then again this in practice
would not even be needed if at all.


indeed, context doesn't rely on fmtutil etc


In other words, only the TeX Live infrastructure needed which shouldn't
be a problem, right?

But itis: a problem that is.

Besides. The reason I mentioned it is only to serve reference material
, but that's it.

to recap, mtxrun looks for a texmfcnf.lua (which I don't have) and
also for a plain.tex which I don't have either, and also presumably
for a contextcnf.lua (which I have) but the script concept is not so
smart, and finishes off with a final note that says warning: no lua
configuration files found. No shit Sherlock!

Of course it can't find it, because it doesn't exist,

resolvers   | resolving | looking for fallback 'contextcnf.lua' on
given path '/home/ce/texmf/web2c' from specification 'home:texmf/web2c'

But at this point and without sugar coating it, the standalone
installation of context proves to be a chore more problematic than
waiting to install over 5gb of TeX Live alone.


hm, worked for quite a while for users; and did you try oen from

https://www.pragma-ade.com/install.htm


The only thing that the installation instructions got right from
the start was the part about running the script with all modules.

I'll probably… and eventually will try to install the whole TeX
Live. But going solely by what the current TeX Live on my machine
looks like, , with just the infrastcucture, while anything mtx was
dropped like a hot potato really, it's a predicament...


not sure what you mean here .. mtxrun was not dropped, tl 2313 just 
moved on to lmtx which is even less demanding (unless one starts moveing 
files around in the tex infrastruture and then expects stuff to keep 
working)



-- Systems programmers are the high priests of a low cult.
-- R.S. Barton


dunno, don't know any of them


-- Real computer scientists don't write code.  They occasionally
tinker with `programming systems', but those are so high level that
they hardly count (and rarely count accurately; precision is for