From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101747 Path: news.gmane.org!.POSTED!not-for-mail From: Vladimir Lomov Newsgroups: gmane.comp.tex.context Subject: Re: Emacs + latest beta Date: Wed, 29 Aug 2018 10:58:17 +0800 Message-ID: <20180829025817.GH762@smoon.vl-lomov.ru> References: <20180824022059.GC762@smoon.vl-lomov.ru> <20180824134827.GD762@smoon.vl-lomov.ru> <20180827040728.GF762@smoon.vl-lomov.ru> <20180828055731.GG762@smoon.vl-lomov.ru> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1716895747273148084==" X-Trace: blaine.gmane.org 1535511410 5507 195.159.176.226 (29 Aug 2018 02:56:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2018 02:56:50 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 29 04:56:46 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fuqez-0001DL-Oi for gctc-ntg-context-518@m.gmane.org; Wed, 29 Aug 2018 04:56:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7C83359F67; Wed, 29 Aug 2018 04:58:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.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 pSYZY2ExXK-w; Wed, 29 Aug 2018 04:58:31 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3DB9059F68; Wed, 29 Aug 2018 04:58:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 978E659F67 for ; Wed, 29 Aug 2018 04:58:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.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 GuwFmrPw7guN for ; Wed, 29 Aug 2018 04:58:29 +0200 (CEST) Original-Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id CDA4159F66 for ; Wed, 29 Aug 2018 04:58:19 +0200 (CEST) Original-Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 180DA183AB0 for ; Wed, 29 Aug 2018 05:58:19 +0300 (MSK) Original-Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id rgVyBnXA08-wJ187IW8; Wed, 29 Aug 2018 05:58:19 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1535511499; bh=D+2fXN0QQVdvQedntrY2tV9LtV3HguLMhhIX39hy3W4=; h=Date:From:To:Subject:Message-ID:References:In-Reply-To; b=OZfFM2QDUGFJH7nXaeGTnWvub6iXgclvVGr/4z+7p/RbfZYxg3UyiHVTv94VXPSpm qo4kSyBMOCrGWMYXaPxMKy1TP6OKCJRP4Kv6WzpH5J4zEnHpicQydoQMz7x1PwDH0N CZkcssO3wwHqvM2BLhXHG0avywLzL2xkDtbwUGGk= Original-Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xnl7bdo0UX-wI0OjP1t; Wed, 29 Aug 2018 05:58:18 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1535511498; bh=D+2fXN0QQVdvQedntrY2tV9LtV3HguLMhhIX39hy3W4=; h=Date:From:To:Subject:Message-ID:References:In-Reply-To; b=XAZVGtB8qlI+1UOb1HhT9Unq6s40P5sCcVlMohf9K+oS4T9CuUMfKoApg7o89GWzE w3flWDG39PvIWv+3mTgejFj9kMBVOAFxlQA1kP0Kz3M7bQCdFMmJOSnsN62u3AR32+ m78av1uZrrTk3FNUIPUGRImoFzbgzlPqbbAP+lCQ= Authentication-Results: smtp1o.mail.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: by smoon.vl-lomov.ru (Postfix, from userid 1000) id 420VgF0QkHz3hj35; Wed, 29 Aug 2018 10:58:17 +0800 (+08) Mail-Followup-To: Vladimir Lomov , mailing list for ConTeXt users In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:101747 Archived-At: --===============1716895747273148084== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PWfwoUCx3AFJRUBq" Content-Disposition: inline --PWfwoUCx3AFJRUBq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, ** Fabrice Couvreur [2018-08-28 11:18:58 +0200]: > Hi Vladimir, > I do not use Arch Linux repositories to install texlive 2018 packages Some texlive-* packages could be installed as dependencies of other packages. You may check if your system has any texlive package: $ pacman -Qs texlive > but I installed texlive 2018 "scheme-full" with tlmgr -gui in > /home/aragorn /texlive/2018. I then make regular updates in the same > way. No texlive traces in the \usr\share\ directory or elsewhere. I prefer to rely on package manager. > Standalone Context is also installed in my home directory. However, > Emacs is installed from the Arch Linux repositories and is located in > /usr/share/emacs. $ pacman -Qs emacs > So I have to add the path of texlive 2018 ? > Maybe you do not need to add the Context Standalone path ? > My ~/.profile file would be this : >=20 > source /home/aragorn/context/tex/setuptex > export PATH =3D $ PATH: /home/aragorn/texlive/2018/bin/x86_64-linux > export PATH =3D $ PATH: /home/aragorn /bin This part is a bit strange: - in message https://mailman.ntg.nl/pipermail/ntg-context/2018/092418.html you mentioned that commands run in terminal worked fine, but you invoked them by full path; - in the same message you set PATH in emacs as (setenv "PATH" "/home/aragorn/context/tex/texmf-linux-64/bin/:$PATH" t) (I have to admit that I didn't know it is possible to use '$PATH' in setenv), so it prepends path to context binary to PATH list. The above lines do opposite: they append path to context binary to the end of PATH list. The first line, 'source ...', helps here because 'setuptex' in turns prepend path to context binary to PATH. When you invoke 'context' in terminal (I assume it is bash shell) the shell searches program in current directory (depends on configuration) and then in PATH, the first wins. So to use context from ConTeXt standalone you may simply do $ export PATH=3D$HOME/context/tex/texmf-linux-64/bin:$PATH either in terminal or in ~/.profile. You may always check if this is true by runnig $ command -v context (for bash shell) or $ which context Returning to your problem. I looked closely again in messages with output from context and I don't understand what may cause the error. Seems that Emacs uses correct context (according to loading files). Could you show in full your ~/.emacs file? Do you use AUCTeX or bare Emacs? > Regards, > Fabrice >=20 [...] --- WBR, Vladimir Lomov --=20 Uncontrolled power will turn even saints into savages. And we can all be counted on to live down to our lowest impulses. -- Parmen, "Plato's Stepchildren", stardate 5784.3 --PWfwoUCx3AFJRUBq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQaopaKwcQWyz7yQfAHGfInzJc4BQUCW4YLwwAKCRAHGfInzJc4 Be/WAQDNUDxKbiJT2a+GhQSVR6xpDHQlaHgQ0TsB67AuGCGBAAEArXJJ4tN/j7Uh kaI+gsjTiUbdf8WjARRLncLvtofudws= =HWLO -----END PGP SIGNATURE----- --PWfwoUCx3AFJRUBq-- --===============1716895747273148084== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============1716895747273148084==--