ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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

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).