Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread Michal Vlasák via ntg-context
On Wed Aug 24, 2022 at 11:32 PM CEST, Hans Hagen wrote: > On 8/24/2022 10:21 PM, Michal Vlasák via ntg-context wrote: > > > Or rather no solution would be needed at all, since the "mtxrun" and > > "context" wrapper commands and "texmfcnf.lua" files will be probably > > specific for each packaging

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread Hans Hagen via ntg-context
On 8/24/2022 10:21 PM, Michal Vlasák via ntg-context wrote: Or rather no solution would be needed at all, since the "mtxrun" and "context" wrapper commands and "texmfcnf.lua" files will be probably specific for each packaging target (different directories on different distros, and Unix vs

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread Michal Vlasák via ntg-context
On Tue Aug 23, 2022 at 3:11 AM CEST, Max Chernoff wrote: > > On Sunday, August 21st, 2022 at 7:13 PM, Michal Vlasák > gmail.com> wrote: > > > > > > There is documentation about how it can be used. I hope its obvious how > > > I got "texmf" (texmf-context.zip, unzip, delete some files I didn't

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread amano.kenji via ntg-context
That's great, bro. --- Original Message --- On Tuesday, August 23rd, 2022 at 7:13 PM, Aditya Mahajan via ntg-context wrote: > On Mon, 22 Aug 2022, amano.kenji via ntg-context wrote: > > > Wuh. That's a bit complex. > > > If you are packaging any flavor of TeX, you need to

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-23 Thread Aditya Mahajan via ntg-context
On Mon, 22 Aug 2022, amano.kenji via ntg-context wrote: > Wuh. That's a bit complex. If you are packaging any flavor of TeX, you need to understand TDS (TeX Directory Structure): https://tug.org/tds/ ConTeXt distributions are TDS compatible, but simplify certain aspects. Essentially,

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-23 Thread amano.kenji via ntg-context
> https://tug.org/TUGboat/tb34-3/tb108preining-distro.pdf Somebody needed to update TeX Live on Gentoo Linux. I'm going to read it. > From a developer perspective, this is essentially just the base ConTeXt > files, a modified texmfcnf.lua, and a fairly basic makefile. I'm going to read

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-23 Thread amano.kenji via ntg-context
> they are unlikely to spend much time making a package for a fairly unpopular > distro where the official installer already works. If someone adds something like installation.md to the root directory of ConTeXt source archive or git commit, anyone can read it and translate it into one's OS

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-22 Thread Max Chernoff via ntg-context
Hi Amano, > Wuh. That's a bit complex. Not really. From a user perspective, all that you need to run is make install From a developer perspective, this is essentially just the base ConTeXt files, a modified texmfcnf.lua, and a fairly basic makefile. > For distribution packages that

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-22 Thread Alan via ntg-context
Note that each system is different. - FreeBSD is posix and follows different packaging conventions from various linux distributions. - MacOS has MacPorts as well as Brew, different systems with different packaging conventions. etc. A package maintainer knows the requirements of the system being

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-22 Thread amano.kenji via ntg-context
Wuh. That's a bit complex. For distribution packages that depend on context for generation of PDF documents, having context as a system package is essential. And, distribution maintainers can make things work if they understand TeX directory structure and texmfcnf.lua. It comes down to care.

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-21 Thread Michal Vlasák via ntg-context
On Mon Aug 15, 2022 at 2:03 PM CEST, amano.kenji via ntg-context wrote: > TexLive has texmfcnf.lua that doesn't really work with texlive-context > installed by linux distributions. > > Arch Linux has its own patched version of texmfcnf.lua. > > It seems I'd be better off with a linux package for

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-20 Thread Hans Hagen via ntg-context
On 8/19/2022 3:18 PM, amano.kenji wrote: Okay. An installation guide for package distributors may appear in the future. But, it's not going to appear anytime soon. For now, I'm going to fix up texmfcnf.lua in Gentoo Linux texlive package for using stable releases of ConTeXt and use install.sh

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread amano.kenji via ntg-context
Okay. An installation guide for package distributors may appear in the future. But, it's not going to appear anytime soon. For now, I'm going to fix up texmfcnf.lua in Gentoo Linux texlive package for using stable releases of ConTeXt and use install.sh for testing the latest changes. ---

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread Hans Hagen via ntg-context
On 8/19/2022 3:03 PM, amano.kenji wrote: Wait. Are you actually saying that no one who has write access to ConTeXt source is going to write documentation that describes manual offline installation for package distributors? Not sure what you mean here but basically a (future) installation is:

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread Hans Hagen via ntg-context
On 8/19/2022 2:51 PM, amano.kenji wrote: You don't have to install anything. What I'm asking is documentation of offline installation instructions. Offline installation means downloading all required archives in advance and then installing them without internet access. Translation of what

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread amano.kenji via ntg-context
Wait. Are you actually saying that no one who has write access to ConTeXt source is going to write documentation that describes manual offline installation for package distributors? --- Original Message --- On Thursday, August 18th, 2022 at 5:16 PM, Hans Hagen wrote: > On 8/18/2022

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-19 Thread amano.kenji via ntg-context
You don't have to install anything. What I'm asking is documentation of offline installation instructions. Offline installation means downloading all required archives in advance and then installing them without internet access. Translation of what install.sh roughly does into a documentation

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread Hans Hagen via ntg-context
On 8/18/2022 4:08 PM, amano.kenji wrote: Sorry for spamming the list a little bit. If there was something like https://www.linuxfromscratch.org/lfs/view/stable/chapter06/ncurses.html for ConTeXt and luametatex (binary), then distribution maintainers can make packages for ConTeXt easily. I

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread amano.kenji via ntg-context
Sorry for spamming the list a little bit. If there was something like https://www.linuxfromscratch.org/lfs/view/stable/chapter06/ncurses.html for ConTeXt and luametatex (binary), then distribution maintainers can make packages for ConTeXt easily. I don't know TeX/TeXLive/kpathsea/ConTeXt

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread amano.kenji via ntg-context
Imagine installation instructions given by linux from scratch. install.sh is like `apt-get install ConTeXt`. Linux from scratch would document the following commands. ``` tar xf luametatex-2022.06.tar.xz cd /path/to/luametatex-2022.06 make cp luametatex /usr/bin tar xf context-2022.06.tar.xz

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread amano.kenji via ntg-context
I really don't understand how TexLive is installed. On Gentoo Linux, the code that handles TexLive installation is complex. I can't reuse code that I don't understand. I came from LaTeX background. I got sick of handling incompatible modules in LaTeX and decided to try ConTeXt. I had used

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread Alan via ntg-context
On Wed, 17 Aug 2022 17:42:18 +0200 Hans Hagen via ntg-context wrote: > sorry, i just can't spent time on all the possible variant ways of > installation .. that is up to volunteers OS distribution packages are the responsibility of maintainers. "Upstream" developers can, and do, respond to

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread amano.kenji via ntg-context
By the way, all POSIX-like opearting systems including BSDs and linux distributions share one way of making system packages. For all POSIX-like operating systems, a simple Makefile can build LuaMetaTex. Since each linux distribution may have a slightly different directory structure, it would

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread amano.kenji via ntg-context
Okay, TexLive will get ConTeXt LMTX. If TexLive was the official way to ship stable versions of ConTeXt, I am okay with having TexLive ConTeXt as a system package and using ConTeXt LMTX portable installer for testing bleeding edge features. Still, there are a few ways to ship latest changes in

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread Henning Hraban Ramm via ntg-context
Am 18.08.22 um 02:51 schrieb Max Chernoff via ntg-context: I think all that Amano is asking for is for older versions of the zips/binaries to be kept available. Right now, the only files available for download that I'm aware of are the latest versions. There's an archive at

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread Hans Hagen via ntg-context
On 8/18/2022 2:51 AM, Max Chernoff wrote: Hi Amano(?), Hans Can you make it easier to make an OS package for ConTeXt LMTX by releasing versioned (source) archives, including BUILD/INSTALL instructions in the versioned archives, and so on? I wish I could just extract a versioned binary

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-17 Thread Max Chernoff via ntg-context
> Hi Amano(?), Hans > > Can you make it easier to make an OS package for ConTeXt LMTX by > > releasing versioned (source) archives, including BUILD/INSTALL > > instructions in the versioned archives, and so on? I wish I could just > > extract a versioned binary archive into certain locations or

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-17 Thread Hans Hagen via ntg-context
On 8/17/2022 3:09 PM, amano.kenji wrote: * Will TexLive replace its own ConTeXt Mark IV with ConTeXt LMTX? at some point we will switch to lmtx and mkiv is than just there and can be used but basically it is frozen (already for a while, apart from fixes). * context lmtx binary installer

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-17 Thread amano.kenji via ntg-context
* Will TexLive replace its own ConTeXt Mark IV with ConTeXt LMTX? * context lmtx binary installer archive is not versioned. I can't use unversioned archives in OS packages. * Is it actually possible to present a separate override file for contextcnf.lua? If not, I would need to patch

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-16 Thread Hans Hagen via ntg-context
On 8/16/2022 1:43 PM, amano.kenji via ntg-context wrote: Even if I put the installation in an archive and make a linux package that installs the archive, I still have to modify contextcnf.lua which isn't intended to handle differing system-wide installation paths of various POSIX-like

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-16 Thread amano.kenji via ntg-context
Even if I put the installation in an archive and make a linux package that installs the archive, I still have to modify contextcnf.lua which isn't intended to handle differing system-wide installation paths of various POSIX-like operating systems. And, I don't really know * what the variables

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-16 Thread amano.kenji via ntg-context
The problem is that I read that ConTeXt Mark IV will be phased out in favor of ConTeXt LMTX. If TexLive ConTeXt is outdated, I will want to use ConTeXt LMTX. I want ConTeXt installed as a linux distribution package. I think LMTX should accommodate linux distributions as well as portable

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-16 Thread amano.kenji via ntg-context
http://lmtx.pragma-ade.nl/install-lmtx/texmf-context.zip is not versioned. If the file changes later, linux distributions refuse to use the file. I wish ConTeXt and LuaMetaTex were versioned and provided `offline` build instructions. The vast majority of programs are versioned and can be built

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread Max Chernoff via ntg-context
Okay, I'm seeing a few separate issues here. 1. Gentoo expects to compile everything from source. This isn't an option here since LuaMetaTeX doesn't have any source available (yet). So for the time being, you'll need to use the provided binaries. These support pretty much every

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread Alan Braslau via ntg-context
I believe that you are missing the point of LMTX. LMTX Context is intended to be a self-contained AND PORTABLE directory tree. It does not need system installation paths and such and is designed to happily co-exist with system installed TeX (using packages) or TeXlive or others, without

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread Bruce Horrocks via ntg-context
> On 15 Aug 2022, at 13:19, amano.kenji wrote: > > I was trying to translate instructions in install.sh and dependencies of > install.sh into shell commands in a Gentoo Linux package. > > Gentoo Linux downloads all dependencies and builds a package in a network > namespace where there is no

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread amano.kenji via ntg-context
From my perspective, a few optimizations for system installation need to happen for ConTeXt. contextcnf.lua needs to support system installation paths. Arch Linux texlive-core packages has its own patched version of texmfcnf.lua that sets TEXMFSYSVAR=/var/lib/texmf, TEXMFOS=/usr/share,

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread amano.kenji via ntg-context
I was trying to translate instructions in install.sh and dependencies of install.sh into shell commands in a Gentoo Linux package. Gentoo Linux downloads all dependencies and builds a package in a network namespace where there is no internet access. Thus, install.sh cannot be directly used in

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread Bruce Horrocks via ntg-context
> On 15 Aug 2022, at 13:03, amano.kenji via ntg-context > wrote: > > TexLive has texmfcnf.lua that doesn't really work with texlive-context > installed by linux distributions. > > Arch Linux has its own patched version of texmfcnf.lua. > > It seems I'd be better off with a linux package