From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101731 Path: news.gmane.org!.POSTED!not-for-mail From: Vladimir Lomov Newsgroups: gmane.comp.tex.context Subject: Re: Emacs + latest beta Date: Tue, 28 Aug 2018 13:57:31 +0800 Message-ID: <20180828055731.GG762@smoon.vl-lomov.ru> References: <20180822123000.GA762@smoon.vl-lomov.ru> <20180824022059.GC762@smoon.vl-lomov.ru> <20180824134827.GD762@smoon.vl-lomov.ru> <20180827040728.GF762@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="===============7276170704866470324==" X-Trace: blaine.gmane.org 1535435759 9936 195.159.176.226 (28 Aug 2018 05:55:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 28 Aug 2018 05:55:59 +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 Tue Aug 28 07:55:55 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 1fuWyn-0002Qa-Me for gctc-ntg-context-518@m.gmane.org; Tue, 28 Aug 2018 07:55:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 59A0459390; Tue, 28 Aug 2018 07:57:46 +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 78P7OubpFrBE; Tue, 28 Aug 2018 07:57:45 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9F9BB59391; Tue, 28 Aug 2018 07:57:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0EB1C59391 for ; Tue, 28 Aug 2018 07:57:45 +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 plvpVwgqgrKo for ; Tue, 28 Aug 2018 07:57:44 +0200 (CEST) Original-Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 434BA59390 for ; Tue, 28 Aug 2018 07:57:34 +0200 (CEST) Original-Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 415D513464C1 for ; Tue, 28 Aug 2018 08:57:33 +0300 (MSK) Original-Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id HmcmxSIqgR-vX84tZqs; Tue, 28 Aug 2018 08:57:33 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1535435853; bh=AsTQSJsCsjT0SYcWwQGvgCy3YKh/PqUiTRmyP3xgDK4=; h=Date:From:To:Subject:Message-ID:References:In-Reply-To; b=IjTY2wtJuaTvm+gO+ssWpnJIiSZp+aCdr3CwvEl4lpi2t/m+JZcr7G7HvLmk2K12n p2Lq4mbIJH5rtG5+VZZT89E3Br6qgWbyq6buH6jcyzDHEwh4GWHGJsqD6keqrd8lgm zZ2zqoBcS3qFzaCRKbCiEddW6w+81GDgmnB7iu8o= Original-Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jwJoV9zRkl-vWpOqNfM; Tue, 28 Aug 2018 08:57:32 +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=1535435852; bh=AsTQSJsCsjT0SYcWwQGvgCy3YKh/PqUiTRmyP3xgDK4=; h=Date:From:To:Subject:Message-ID:References:In-Reply-To; b=R68cPTvyOI2AgbuazG5TbDOGeYCk+n7yLxILQ9C/TYvpC/GByHlqSUTbb9a98mJiS 0oXllGvNpCrsJD11WNi/RIQcyQWxBcdT1IUDfcega0lMgbOE2dguFg/bajH90wCs/P j4MYUm5Wy9ucCmPOSRz/VzwXQgKczYKn+0v+kVsI= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: by smoon.vl-lomov.ru (Postfix, from userid 1000) id 41zyhW35Vyz3hj35; Tue, 28 Aug 2018 13:57:31 +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:101731 Archived-At: --===============7276170704866470324== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k+G3HLlWI7eRTl+h" Content-Disposition: inline --k+G3HLlWI7eRTl+h Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, ** Fabrice Couvreur [2018-08-27 15:47:41 +0200]: > Le lun. 27 ao=FBt 2018 =E0 11:51, Fabrice Couvreur > a =E9crit : >=20 >> Hi Vladimir, >> I just made a new standalone context install and added this to my >> ~/.profile : source /home/aragorn/context/tex/setuptex >> It finally seems to work ! I'm glad it works for you though >> export PATH=3D$PATH:/home/aragorn/context/tex/texmf-linux-64/bin >> 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 don't understand how these lines help you. As you said you were able to typeset a sample document in terminal, so all settings in terminal (bash I presume) were fine, especially taking into account that 'setuptex' exports only PATH variable with correct path for Standalone ConTeXt. They might change environment from which Emacs is launched but again, you use full path to run context so they must be irrelevant here. In one of previous messages (https://www.mail-archive.com/ntg-context@ntg.nl/msg88742.html) you told that you use Archlinux, did you install texlive-* packages? Did you update your system? I use Archlinux and have not only ConTeXt standalone/suite and TeX Live (TUG) installed but also I have installed texlive-* packages from distribution repository and don't have any problem with the example either in terminal or Emacs(+AUCTeX), I suspect that your Emacs configuration might be the cause of the problem. > Hi Vladimir, > I just realized that does not work anymore > ! >=20 > (setq ConTeXt-mode-hook > (lambda () (setq TeX-command-extra-options "--purgeall"))) Why you insist on using hooks when you specify in full the custom target? Just add this option to the custom target: (eval-after-load "context" '(setq TeX-command-list (cons '("ConTeXt" "PATH=3D/usr/local/opt/context/tex/texmf-linux-64/= bin:$PATH context --purgeall %s" TeX-run-command nil t :help "Run context (MarkIV)") TeX-command-li= st)) ) > Thanks > Fabrice [...] --- WBR, Vladimir Lomov --=20 It is necessary for the welfare of society that genius should be privileged to utter sedition, to blaspheme, to outrage good taste, to corrupt the youthful mind, and generally to scandalize one's uncles. -- George Bernard Shaw --k+G3HLlWI7eRTl+h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQaopaKwcQWyz7yQfAHGfInzJc4BQUCW4TkRgAKCRAHGfInzJc4 BR3bAQCjKUOMQXZoXbj0gkz+fsI4BbvA8niIkktMQiYaGDEdlgD+ILehJ++hGgsb KY+pq1CPQz+jY0eAxIm7Oo5r5v9ukgs= =gmAt -----END PGP SIGNATURE----- --k+G3HLlWI7eRTl+h-- --===============7276170704866470324== 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 --===============7276170704866470324==--