* TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]
@ 2020-09-05 11:27 mylists
2020-09-09 12:46 ` Matthijs van der Wild
0 siblings, 1 reply; 3+ messages in thread
From: mylists @ 2020-09-05 11:27 UTC (permalink / raw)
To: ntg
Hi,
this is my first post to this mailinglist. I am no native speaker...
if something sound somehow ... I will try to give my best.... ;)
I am using GENTOO Linux, which compiles everything on the target
instead of pulling ready compiled, binary packages into the system.
I did a fresh install of Texlive 2020 via the package-manager
"emerge". On Gentoo this is handled via a "virtual package", which
can be configured beforehand to include or exclude certain parts.
I choose to get the HUGE package (incluing LaTeX, ConTeXt, plainTeX
and others).
After the installation I tried to typeset examples of a LaTeX- and
a plain TeX document, which works out of the box.
Then I tried a ConTeXt document and it fails:
context somefile.tex
gave me:
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
.
While searching the internet I found, that one has to run
mtxrun --generate
in advance.
Doing so mtxrun starts to index my whole harddisk starting with
my $HOME, from which I started it.
It reports A LOT of "confusing file"s....
I searched the installed TeXlive installation for context.lua
and mtx-context.lua -- they were installed and not "totally" missing.
So I tried/guessed to run
mtxrun --generate /usr/share/texmf-dist /usr/share/texlive-site
and the file under $HOME were no longer indexed.
context somefile.tex
gave me the above mentioned error still, though.
It "feels" like context does not respect setting made via
the configuration settings under /etc/texmf...
So I "hacked" (really, it was a crude hack/idea...nothing
more) TEXMF and inserted
export TEXMF=/usr/share/texmf-dist:/usr/share/texlive-site
into my shells RC-file, restarted the shell and
now
context somefile.tex
"worked"...:
Each time it seems to re-index parts of ???, reports a lot
of "confusing file"s but creates a valid looking pdf.
I think, the package setup provided by GENTOO has a problem
I want to help to fix that...but I have no clue, what the
real culprit is here...
Setting TEXMF this way feels like a random and accidentally
working hack and I already feel the next problem raising up
at the horizon...
Some additional problems:
tlmgr does not work
mtxrun partially does not find its own modules
mtxrun --variables
lists a LOT of unset environment variables
...
It looks like some basic and fundamental "initial" environment
variable is missing.
But I need a knowledgeable guru before I am able to get nearer
to the root of the culprit.
Thank you very much in advance for any help offered!
\cheers
Meino
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]
2020-09-05 11:27 TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...] mylists
@ 2020-09-09 12:46 ` Matthijs van der Wild
2020-09-09 16:28 ` mylists
0 siblings, 1 reply; 3+ messages in thread
From: Matthijs van der Wild @ 2020-09-09 12:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 4054 bytes --]
If I compare /usr/share/texmf-dist/web2c/texmfconf.lua with its counterpart
in Arch Linux, I found the differences in the following entries:
Gentoo:
> TEXMFSYSVAR = "selfautoparent:texmf-var",
> TEXMFOS = "selfautodir:",
> TEXMFDIST = "selfautoparent:texmf-dist",
> TEXMFSYSCONFIG = "selfautoparent:texmf-config",
>
Arch:
> TEXMFSYSVAR = "/var/lib/texmf",
> TEXMFOS = "selfautodir:share",
> TEXMFDIST = "selfautodir:share/texmf-dist",
> TEXMFSYSCONFIG = "/etc/texmf",
>
Changing the Gentoo file to its Arch equivalent fixes the issue after
running "mtxrun --generate". There may actually be a reason why this
configuration is different in Gentoo compared to Arch, but I haven't had
the time yet to look into it further.
On Sat, 5 Sep 2020 at 13:27, <mylists@posteo.de> wrote:
> Hi,
>
> this is my first post to this mailinglist. I am no native speaker...
> if something sound somehow ... I will try to give my best.... ;)
>
>
> I am using GENTOO Linux, which compiles everything on the target
> instead of pulling ready compiled, binary packages into the system.
>
> I did a fresh install of Texlive 2020 via the package-manager
> "emerge". On Gentoo this is handled via a "virtual package", which
> can be configured beforehand to include or exclude certain parts.
>
> I choose to get the HUGE package (incluing LaTeX, ConTeXt, plainTeX
> and others).
>
> After the installation I tried to typeset examples of a LaTeX- and
> a plain TeX document, which works out of the box.
>
> Then I tried a ConTeXt document and it fails:
>
> context somefile.tex
>
> gave me:
>
> mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
>
> .
>
> While searching the internet I found, that one has to run
>
> mtxrun --generate
>
> in advance.
>
> Doing so mtxrun starts to index my whole harddisk starting with
> my $HOME, from which I started it.
>
> It reports A LOT of "confusing file"s....
>
> I searched the installed TeXlive installation for context.lua
> and mtx-context.lua -- they were installed and not "totally" missing.
>
> So I tried/guessed to run
>
> mtxrun --generate /usr/share/texmf-dist /usr/share/texlive-site
>
> and the file under $HOME were no longer indexed.
>
> context somefile.tex
>
> gave me the above mentioned error still, though.
>
> It "feels" like context does not respect setting made via
> the configuration settings under /etc/texmf...
>
> So I "hacked" (really, it was a crude hack/idea...nothing
> more) TEXMF and inserted
>
> export TEXMF=/usr/share/texmf-dist:/usr/share/texlive-site
>
> into my shells RC-file, restarted the shell and
>
> now
>
> context somefile.tex
>
> "worked"...:
>
> Each time it seems to re-index parts of ???, reports a lot
> of "confusing file"s but creates a valid looking pdf.
>
> I think, the package setup provided by GENTOO has a problem
> I want to help to fix that...but I have no clue, what the
> real culprit is here...
>
> Setting TEXMF this way feels like a random and accidentally
> working hack and I already feel the next problem raising up
> at the horizon...
>
> Some additional problems:
>
> tlmgr does not work
>
> mtxrun partially does not find its own modules
>
> mtxrun --variables
>
> lists a LOT of unset environment variables
>
> ...
>
> It looks like some basic and fundamental "initial" environment
> variable is missing.
>
> But I need a knowledgeable guru before I am able to get nearer
> to the root of the culprit.
>
> Thank you very much in advance for any help offered!
>
> \cheers
> Meino
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 5783 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]
2020-09-09 12:46 ` Matthijs van der Wild
@ 2020-09-09 16:28 ` mylists
0 siblings, 0 replies; 3+ messages in thread
From: mylists @ 2020-09-09 16:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Matthijs,
thanks for your support. My first attempts to change the installation
accordingly failed unfortunately.
( I had tried to change /usr/share/texmf-dist/web2c/texmfcnf.lua )
What file/place would be the best to adapt these settings?
Cheers!
Meino
On 09/09 02:46, Matthijs van der Wild wrote:
> If I compare /usr/share/texmf-dist/web2c/texmfconf.lua with its counterpart
> in Arch Linux, I found the differences in the following entries:
>
> Gentoo:
>
> > TEXMFSYSVAR = "selfautoparent:texmf-var",
> > TEXMFOS = "selfautodir:",
> > TEXMFDIST = "selfautoparent:texmf-dist",
> > TEXMFSYSCONFIG = "selfautoparent:texmf-config",
> >
>
> Arch:
>
> > TEXMFSYSVAR = "/var/lib/texmf",
> > TEXMFOS = "selfautodir:share",
> > TEXMFDIST = "selfautodir:share/texmf-dist",
> > TEXMFSYSCONFIG = "/etc/texmf",
> >
>
> Changing the Gentoo file to its Arch equivalent fixes the issue after
> running "mtxrun --generate". There may actually be a reason why this
> configuration is different in Gentoo compared to Arch, but I haven't had
> the time yet to look into it further.
>
> On Sat, 5 Sep 2020 at 13:27, <mylists@posteo.de> wrote:
>
> > Hi,
> >
> > this is my first post to this mailinglist. I am no native speaker...
> > if something sound somehow ... I will try to give my best.... ;)
> >
> >
> > I am using GENTOO Linux, which compiles everything on the target
> > instead of pulling ready compiled, binary packages into the system.
> >
> > I did a fresh install of Texlive 2020 via the package-manager
> > "emerge". On Gentoo this is handled via a "virtual package", which
> > can be configured beforehand to include or exclude certain parts.
> >
> > I choose to get the HUGE package (incluing LaTeX, ConTeXt, plainTeX
> > and others).
> >
> > After the installation I tried to typeset examples of a LaTeX- and
> > a plain TeX document, which works out of the box.
> >
> > Then I tried a ConTeXt document and it fails:
> >
> > context somefile.tex
> >
> > gave me:
> >
> > mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
> >
> > .
> >
> > While searching the internet I found, that one has to run
> >
> > mtxrun --generate
> >
> > in advance.
> >
> > Doing so mtxrun starts to index my whole harddisk starting with
> > my $HOME, from which I started it.
> >
> > It reports A LOT of "confusing file"s....
> >
> > I searched the installed TeXlive installation for context.lua
> > and mtx-context.lua -- they were installed and not "totally" missing.
> >
> > So I tried/guessed to run
> >
> > mtxrun --generate /usr/share/texmf-dist /usr/share/texlive-site
> >
> > and the file under $HOME were no longer indexed.
> >
> > context somefile.tex
> >
> > gave me the above mentioned error still, though.
> >
> > It "feels" like context does not respect setting made via
> > the configuration settings under /etc/texmf...
> >
> > So I "hacked" (really, it was a crude hack/idea...nothing
> > more) TEXMF and inserted
> >
> > export TEXMF=/usr/share/texmf-dist:/usr/share/texlive-site
> >
> > into my shells RC-file, restarted the shell and
> >
> > now
> >
> > context somefile.tex
> >
> > "worked"...:
> >
> > Each time it seems to re-index parts of ???, reports a lot
> > of "confusing file"s but creates a valid looking pdf.
> >
> > I think, the package setup provided by GENTOO has a problem
> > I want to help to fix that...but I have no clue, what the
> > real culprit is here...
> >
> > Setting TEXMF this way feels like a random and accidentally
> > working hack and I already feel the next problem raising up
> > at the horizon...
> >
> > Some additional problems:
> >
> > tlmgr does not work
> >
> > mtxrun partially does not find its own modules
> >
> > mtxrun --variables
> >
> > lists a LOT of unset environment variables
> >
> > ...
> >
> > It looks like some basic and fundamental "initial" environment
> > variable is missing.
> >
> > But I need a knowledgeable guru before I am able to get nearer
> > to the root of the culprit.
> >
> > Thank you very much in advance for any help offered!
> >
> > \cheers
> > Meino
> >
> > ___________________________________________________________________________________
> > If your question is of interest to others as well, please add an entry to
> > the Wiki!
> >
> > maillist : ntg-context@ntg.nl /
> > http://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> > archive : https://bitbucket.org/phg/context-mirror/commits/
> > wiki : http://contextgarden.net
> >
> > ___________________________________________________________________________________
> >
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-09 16:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-05 11:27 TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...] mylists
2020-09-09 12:46 ` Matthijs van der Wild
2020-09-09 16:28 ` mylists
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).