From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/103895 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Emacs with context lmtx Date: Tue, 9 Apr 2019 00:58:46 +0200 Message-ID: References: <20190408115424.GG846@smoon.vl-lomov.ru> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0998927260718021669==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="91346"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users , Vladimir Lomov Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 09 01:01:14 2019 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 esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hDdGL-000Ncx-Sd for gctc-ntg-context-518@m.gmane.org; Tue, 09 Apr 2019 01:01:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C4B45118BEA; Tue, 9 Apr 2019 01:00:43 +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 giehRdpSf5Eq; Tue, 9 Apr 2019 01:00:41 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A5F08118BE6; Tue, 9 Apr 2019 01:00:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DB266118BE6 for ; Tue, 9 Apr 2019 01:00:39 +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 KqcFOJcxf1Lz for ; Tue, 9 Apr 2019 01:00:38 +0200 (CEST) Original-Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C834B118BE3 for ; Tue, 9 Apr 2019 01:00:38 +0200 (CEST) Original-Received: by mail-wr1-f43.google.com with SMTP id k17so18298207wrx.10 for ; Mon, 08 Apr 2019 16:00:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=0Wsjm3rhXgPbh8GV/pHTKNT7pQ/GzrsLuCODZ6UQxLc=; b=VQi81NMdnK731Lo6zNxqW0t0a7yAjjljH20rsDEgL10T/Zjt7h56CEpjUmNEvf48Wl BYgib1yOYXaD9IY5lY4cpAJIbzFMjRooqESdoHPO0Z2irt0iUWWbEhk/0JpiMnNLdLW4 0wzal6PE7YXer6a7xQEqlz9dZL7pui7DsD3RgZM1ZOR48JgWqtXDM05mILGV2nJzA8Ef spS8kgml2OLxOxim5sUp2ygpuR4G8BJEL+O36tTs3p/aHPsuLuLvhgCzK8Yk0i9K2JNp 1bdqgBlflceqsNPtaaOYDkA31z9U8Nx9iOC7cno/bCo5AcSwho/J6w/fy4Gid4cCNEtL yPFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=0Wsjm3rhXgPbh8GV/pHTKNT7pQ/GzrsLuCODZ6UQxLc=; b=kfRIBSIeMonxuXpKAV8SASJQEw3YzDsM2j6b7kD6Utp5kLwbEhsZUxNg+vwR0ZMH5W xJNrSRVKu8iTrPDIHrVQu7wYHyT7FB+PghbX4bgbgS8z5k2bqLJRIUSTrRiQVnXh4qgE ILAXFFnTerCwZuADg9WFLkrfFgUSbCdgvTRpdNpM2WxknWx3K0ASwZuuz+DiZBsbvTTO rRxkmNxjM/H7x1vbRdAq8pPeemsvfMq6q764KREqpfBJ5h7HOtMbUY9fqd1VPB4A9YrI Kj5BzBN6XahTTb3h0iTlDSskuzPAQ6T9KRPU/CDt3KveXiSUEi+1s6cNWgLUS4Bd1C/9 cxLA== X-Gm-Message-State: APjAAAV+2YEUG2lVHa+04dc2ZLlcp2Dx1xkFCEnBerS83ZOwGp4HWn3l Fh7xxJW38WYMCYrqkTMkLlkb0Bf0SAkYZhKIBIMITzGt X-Google-Smtp-Source: APXvYqx7Z/jirgeXAZxZAaIBYrJ6IVLq6C/TH7sGo8aKHhs973OqHmlIQnQTTL0txIEh9Lf33/Ob6MeBehLHM17M3Sk= X-Received: by 2002:adf:f7c2:: with SMTP id a2mr19878573wrq.242.1554764438087; Mon, 08 Apr 2019 16:00:38 -0700 (PDT) In-Reply-To: <20190408115424.GG846@smoon.vl-lomov.ru> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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:103895 Archived-At: --===============0998927260718021669== Content-Type: multipart/alternative; boundary="0000000000000aaba405860ccecd" --0000000000000aaba405860ccecd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Vladimir, I use AUCTeX and I compile with the command C-c C-c. The configuration you proposed for my .emacs file last time works perfectly. So I tried to do the same thing with context lmtx and if I add this ("ConTeXt" "PATH =3D /home/viserion/data/context/tex/texmf-linux-64/bin: $ PATH context --purgeall% s" TeX-run-command nil t: help "Run context (LMTX)") TeX-command-list) I get the message For information about GNU Emacs and the GNU system, type C-h C-a. File mode specification error: (wrong-type-argument symbolp (ConTeXt PATH = =3D / home / viserion / data / context / tex / texmf-linux-64 / bin: $ PATH context -purgeall% s TeX-run-command nil t : help Run context (LMTX))) Fabrice Le lun. 8 avr. 2019 =C3=A0 14:01, Vladimir Lomov a =C3= =A9crit : > Hello, > ** Fabrice Couvreur [2019-04-08 12:08:44 +0200]: > > > Hi, > > I compile all my files with Emacs and standalone context. I would like = to > > compare context lmtx. > > I added this in my .emacs file but it does not work. > > Does Emacs prints error messages? How do you run the command in Emacs? > Do you use AUCTeX or not? What messages do you see in *Messages* buffer? > > > > #########################################################################= #### > > (eval-after-load "context" > > '(setq TeX-command-list > > (cons '("ConTeXt" > > "PATH=3D/home/viserion/context/tex/texmf-linux-64/bin:$PATH context > > --purgeall %s" > > TeX-run-command nil t :help "Run context (MarkIV)") > > TeX-command-list) > > ("ConTeXt" > > "PATH=3D/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH contex= t > > --purgeall %s" > > TeX-run-command t t :help "Run context (LMTX)") t) > > ) > > > #########################################################################= #### > > > > > > For information about GNU Emacs and the GNU system, type C-h C-a. > > File mode specification error: (wrong-type-argument symbolp (ConTeXt > > PATH=3D/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH context > > --purgeall %s TeX-run-command t t :help Run context (LMTX))) > > > > Thank you. > > Fabrice > > P.S. I didn't try lmtx yet, on my agenda. > > P.P.S. It might be more useful to discuss this topic on AUCTeX mailing > list if you use AUCTeX. > > --- > WBR, Vladimir Lomov > > -- > Nothing recedes like success. > -- Walter Winchell > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --0000000000000aaba405860ccecd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Vladimir,
I use AUCTeX and I compile with the command C-c C-c. The configuration you proposed for my .emacs file last time works = perfectly. So I tried to do the same thing with con= text lmtx and if I add this

("ConTeXt&q= uot; "PATH =3D /home/viserion/data/context/tex/texmf-linux-64/bin: $ P= ATH context --purgeall% s"
=C2=A0=C2=A0=C2=A0=C2=A0 TeX-run-command nil t: help "Run context (LMTX)") TeX-co= mmand-list)
I get the message

For information about GNU Emacs and the GNU system, type C-h C= -a.

File mode specification error: (wrong-type-a= rgument symbolp (ConTeXt PATH =3D / home / viserion / data / context / tex = / texmf-linux-64 / bin: $ PATH context -purgeall% s TeX-run-command nil t : help Run context (LMTX)))

Fabrice

Le=C2=A0lun. = 8 avr. 2019 =C3=A0=C2=A014:01, Vladimir Lomov <lomov.vl@yandex.ru> a =C3=A9crit=C2=A0:
Hello,
** Fabrice Couvreur [2019-04-08 12:08:44 +0200]:

> Hi,
> I compile all my files with Emacs and standalone context. I would like= to
> compare context lmtx.
> I added this in my .emacs file but it does not work.

Does Emacs prints error messages? How do you run the command in Emacs?
Do you use AUCTeX or not? What messages do you see in *Messages* buffer?
> ######################################################################= #######
> (eval-after-load "context"
>=C2=A0 =C2=A0'(setq TeX-command-list
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (cons '("ConTeXt"
> "PATH=3D/home/viserion/context/tex/texmf-linux-64/bin:$PATH conte= xt
> --purgeall %s"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TeX-run-command nil t :help "Run= context (MarkIV)")
> TeX-command-list)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ("ConTeXt"
> "PATH=3D/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH = context
> --purgeall %s"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TeX-run-command t t :help "Run c= ontext (LMTX)") t)
> )
> ######################################################################= #######
>
>
> For information about GNU Emacs and the GNU system, type C-h C-a.
> File mode specification error: (wrong-type-argument symbolp (ConTeXt > PATH=3D/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH contex= t
> --purgeall %s TeX-run-command t t :help Run context (LMTX)))
>
> Thank you.
> Fabrice

P.S. I didn't try lmtx yet, on my agenda.

P.P.S. It might be more useful to discuss this topic on AUCTeX mailing
list if you use AUCTeX.

---
WBR, Vladimir Lomov

--
Nothing recedes like success.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Walter Winchell<= br> ___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000000aaba405860ccecd-- --===============0998927260718021669== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0998927260718021669==--