ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: mylists@posteo.de
To: ntg <ntg-context@ntg.nl>
Subject: TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]
Date: Sat, 5 Sep 2020 13:27:23 +0200	[thread overview]
Message-ID: <20200905112723.udutgkv4lpanzeh7@solfire> (raw)

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
___________________________________________________________________________________

             reply	other threads:[~2020-09-05 11:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-05 11:27 mylists [this message]
2020-09-09 12:46 ` Matthijs van der Wild
2020-09-09 16:28   ` mylists

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200905112723.udutgkv4lpanzeh7@solfire \
    --to=mylists@posteo.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).