From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/117405 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hans Hagen via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex Date: Tue, 11 Apr 2023 11:23:45 +0200 Message-ID: <665edf39-89c5-8c50-c70a-12c149473a8e@freedom.nl> References: <20230410235805.ahlty7ebnsxrpzgg@gmail.com> <20230410220155.364c55ed@boo.my.domain> <20230411091152.g2gzw2fazay6jdga@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21458"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Hans Hagen To: Carlos via ntg-context Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 11 11:24:14 2023 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.ntg.nl ([5.39.185.232]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pmAEX-0005Pz-Rl for gctc-ntg-context-518@m.gmane-mx.org; Tue, 11 Apr 2023 11:24:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 85FE81C00FC; Tue, 11 Apr 2023 11:23:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BuULSVmPQnov; Tue, 11 Apr 2023 11:23:49 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 830E31C1043; Tue, 11 Apr 2023 11:23:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B1EEC1C10EF for ; Tue, 11 Apr 2023 11:23:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i_20c_YWxAfD for ; Tue, 11 Apr 2023 11:23:46 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.233.34.18; helo=outbound.soverin.net; envelope-from=j.hagen@freedom.nl; receiver= Original-Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id BFA3C1C00FC for ; Tue, 11 Apr 2023 11:23:46 +0200 (CEST) Original-Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4PwgPt2c00z5c for ; Tue, 11 Apr 2023 09:23:46 +0000 (UTC) Original-Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4PwgPs51LFz6h for ; Tue, 11 Apr 2023 09:23:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1681205026; bh=ksmSnMcyMUDLCKporWcFqfGqowVXjjPUppVzoxu/FdY=; h=Date:Subject:To:References:From:In-Reply-To:From; b=cQR2K2z45yAKZaVTLzg5hrbY0YB4vNcqQ0I7RWvZ1yffLuPs3XKPHvGkDbKdWNPad AIqS3tZCNqEjmLvkJmbfQD4cdBHnWyTozPVh+v/MnzlrV+Qwl7tUV0apZeMnw59GnI 9/0drzek0jdmFMMQGs4punYNlFQ8Uxu5tZqZjrBI= ARC-Seal: i=1; s=default; d=freedom.nl; t=1681205026; a=rsa-sha256; cv=none; b=QSX8qxU6pLHy2wCBATSjnXPjGzeQd9aPvdDCMysU6+qtRMzUUe9MFJAQ9A4Xj2fk4sCedt KTEXdzyAeELA4um2H4N/LZOfkv8SAfpOI5fCAmnSghh36TyllSS6l6P998ABOSYAFPPb1T sJFMEbqp3EA3pWRXzU1J4DMQx/GVbjM= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1681205026; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gxizrTMGxIZAA0VqFOksZi6zcAe0oGgPxB7DAmEB37c=; b=d24SEFe79IFoPm/gEU77wCi4swwLoyr+IIaxNPM+vGhmR0YfDGkLOM3yMdmgVbXcfzyTt2 zObM6UdOQevPt4hEIfmytwJkc9bNylWGNKZ42UQQxQEc0bUyVHKExWjBnd+4fWIxBITfyM dvLifqRfbtk1XRfaVUash225zd2am4U= Content-Language: en-US X-Soverin-Authenticated: true In-Reply-To: <20230411091152.g2gzw2fazay6jdga@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.29 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:117405 Archived-At: 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.html readme-html.dir texmf-dist tlpkg > 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 mf mtxrun.lua texluac > bibtex extractbb kpsestat mf-nowin pdfetex tlmgr > context fmtutil kpsewhich mft pdflatex tlshell > context.lua fmtutil-sys latex mkindex pdftex updmap > dvilualatex fmtutil-user luahbtex mktexfmt pktogf updmap-sys > dviluatex gftodvi lualatex mktexlsr pktype updmap-user > dvipdfm gftopk luametatex mktexmf rungs xdvi > dvipdfmx gftype luaotfload-tool mktexpk simpdftex xdvi-xaw > dvipdft inimf luatex mktextfm tex xdvipdfmx > dvips initex makeindex mptopdf texhash > ebb kpseaccess man mtxrun texlua > > 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 ___________________________________________________________________________________