From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96689 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Emacs24 + AucTeX + ConTeXt Date: Fri, 28 Oct 2016 23:57:16 +0200 Message-ID: References: <35BC5454-9975-4BAE-B312-1AA4F2F1DB69@silentumbrella.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8654127459359201258==" X-Trace: blaine.gmane.org 1477691926 2484 195.159.176.226 (28 Oct 2016 21:58:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2016 21:58:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 28 23:58:41 2016 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 1c0FAI-0005dj-49 for gctc-ntg-context-518@m.gmane.org; Fri, 28 Oct 2016 23:58:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C96A81C20F; Fri, 28 Oct 2016 23:57: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 4vVes2mUCUIW; Fri, 28 Oct 2016 23:57:31 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C1FC1C276; Fri, 28 Oct 2016 23:57:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 788871C272 for ; Fri, 28 Oct 2016 23:57: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 Go1VD2Kuvnoc for ; Fri, 28 Oct 2016 23:57:29 +0200 (CEST) Original-Received: from mail-it0-f49.google.com (mail-it0-f49.google.com [209.85.214.49]) (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 3899B1C20F for ; Fri, 28 Oct 2016 23:57:18 +0200 (CEST) Original-Received: by mail-it0-f49.google.com with SMTP id q124so1160962itd.1 for ; Fri, 28 Oct 2016 14:57:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=g9u/uveP3k5QbkhH+IxhRhDZAhtjluxAHHLuR+Y123I=; b=XekKTnX1nbOjdqgULRhj+HQBjI+FpP95YYzal6tchtymQZK/8KotQIlKp4YMdK6CG2 CGiPbL/ulHbkE+R6sVJ6vJjf01WgHHMPTWNuXtxGy7LQHqYAKETo3OPu26TPCaB0scUF 8Js9vx/LTpqA4VAHrSjsqbr2aIvdGtVoT4XmD5BXICSnREXeGDyVSBKFpZ3O9+B6ZNSJ NsS3PVa/DZgniXpPCyKNGLA9F++NiF5rx2lMbCWcc/wZ9ArLFDrXHjp9rtNiPE+8sKYS 8+4+2EeG4wVzIyBU10LKTMfef8TVYZb4SfAppmtYfpLDGF43D8FZ5JvpugchUPdqO4jQ aNaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=g9u/uveP3k5QbkhH+IxhRhDZAhtjluxAHHLuR+Y123I=; b=COHUZsgLK9JWgXKTocVMD/LCTr9cjkF6i6RvRneaYb+mphswMhPxUR886D3MMm9mTW VpMrZsC2aVz3ex3v4KDM+Ou2IEXi6uxan44VkieM1nXW8zMOWFbaZpdG7H/ATY9+X5pN iQKdZeBFkIKUrywMQWM2CHpnKo/vG1qkZQGgygbH60mxrKqKF0NBHWGIGc10MQGffWk5 njlgtkbE7/GdGZ6+Pm7R6vc+kku6PbHg1FarD1kNfSQl5PQdO2taPbxF91IB0Msdy7s6 ocZnuCsTJKhV+4120/7QgGIx4W0Icov6ZpxQZnWzs3zIRNNAMYU4YUY4nVznngJAopCE soVw== X-Gm-Message-State: ABUngvc5tU5Xu58AS4WL94KJfV6irzccCYpsTInbkm5PiHbcU189f8EwdYKX2NzT9VYfY0qRbKhxUkCmmtm3PA== X-Received: by 10.107.58.86 with SMTP id h83mr12906325ioa.117.1477691836704; Fri, 28 Oct 2016 14:57:16 -0700 (PDT) Original-Received: by 10.64.163.227 with HTTP; Fri, 28 Oct 2016 14:57:16 -0700 (PDT) In-Reply-To: <35BC5454-9975-4BAE-B312-1AA4F2F1DB69@silentumbrella.com> 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:96689 Archived-At: --===============8654127459359201258== Content-Type: multipart/alternative; boundary=001a114ac88403ed01053ff3f178 --001a114ac88403ed01053ff3f178 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Mica, I added this (custom-set-variables ' (ConTeXt-Mark-version "IV")) in my .emacs and it seems to work, thank you. Another question : when I do a C-c C-c is texlive context of 2016 is called. How to be it standalone context ? Fabrice 2016-10-28 19:07 GMT+02:00 Mica Semrick : > I haven't checked in a while, since this is already set in my init.el > file, but auxtex was using mkii/texexec a few years ago. Have you checked > you're using mkiv/context? > > On October 28, 2016 6:04:27 AM PDT, Fabrice Couvreur < > fabrice1.couvreur@gmail.com> wrote: > >> Hello, >> I just upgraded to emacs24 and am having problems compiling my files who >> compiled perfectly with emacs23. >> I installed AUCTeX with M-x-install package and that's it ! >> I deleted my old init.el file and start over ! >> The ~/.emacs.d only contains this : >> >> fab @ debian: ~ $ cd .emacs.d / >> fab @ debian: ~ / .emacs.d $ ls -l >> total 8 >> drwx ------ 2 fab fab 4096 October 28 2:37 p.m. auto-save-list >> drwxr-xr-x 5 fab fab 4096 October 28 2:26 p.m. ELPA >> fab @ debian: ~ / $ .emacs.d >> >> Consider the following file: >> If I make a C-c C-c, all I get is the text in italics, the macro is not >> compiled. >> Thanks, >> Fabrice >> >> % macros=3Dmkvi >> >> \setupcolors[state=3Dstart] >> \definecolor[MyColorB][c=3D0.00, m=3D0.62, y=3D1.00, k=3D0.00] >> \definecolor[MyColorA][c=3D0.00, m=3D0.10, y=3D0.20, k=3D0.00] >> >> >> \defineframedtext >> [MyDefinition] >> [before=3D{\blank[line,halfline]}, >> after=3D{\blank}, >> frame=3Doff, >> background=3DMyFrame, >> width=3D\textwidth, >> height=3Dfit, >> location=3Dleft, >> style=3Ditalic] >> >> \defineoverlay >> [MyFrame] >> [\useMPgraphic{MyFrame}] >> >> \definelabel >> [D=C3=A9finition] >> [headstyle=3D\bf\smallcaps] >> >> \startuseMPgraphic{MyFrame} >> path b ; >> picture p ; >> p :=3D textext.rt("\white\D=C3=A9finition") ; >> p :=3D p shifted (2BodyFontSize,OverlayHeight-ypart center >> p+.25ExHeight) ; >> b :=3D boundingbox p leftenlarged .5EmWidth rightenlarged .5EmWidth = ; >> fill OverlayBox withcolor \MPcolor{MyColorA} ; >> fill b withcolor \MPcolor{MyColorB} ; >> draw leftboundary OverlayBox ; >> draw p ; >> setbounds currentpicture to OverlayBox ; >> \stopuseMPgraphic >> >> \starttext >> \startMyDefinition >> \input knuth >> \stopMyDefinition >> >> \stoptext >> >> %%% Local Variables: >> %%% mode: context >> %%% End: >> >> ------------------------------ >> >> If your question is of interest to others as well, please add an entry t= o the Wiki! >> >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-c= ontext >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> ------------------------------ >> >> > ____________________________________________________________ > _______________________ > 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 > ____________________________________________________________ > _______________________ > --001a114ac88403ed01053ff3f178 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Mica,
I added this=C2=A0 (custom-set-variables=C2=A0 ' (ConTeXt-Mark-versio= n "IV"))=C2=A0 i<= span id=3D"gmail-result_box" class=3D"gmail-" lang=3D"en">n my .emacs= and it seems to work, = thank you.
Another question : when I do a C-c C-= c is texlive context of 2016 is called. =
How to be it standalone context ?=
Fabrice
<= /div>

2016-10-28 1= 9:07 GMT+02:00 Mica Semrick <mica@silentumbrella.com>:=
I haven't checked in a while, s= ince this is already set in my init.el file, but auxtex was using mkii/texe= xec a few years ago. Have you checked you're using mkiv/context?
On October 28, 2016 6:04= :27 AM PDT, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
Hello,
I just upgraded to emacs24 and am having problems compiling my files who compil= ed perfectly with emacs23.
I installed AUCTeX with M-x-install package= and that's it !
I deleted my old
init.el file and start o= ver !
The ~/.emacs.d only contains
this :

fab @ debian: ~ $ cd .emacs.d /
fab @= debian: ~ / .emacs.d = $ ls -l
total 8
drwx ------ 2 fab fab 4096
October 28 2:37 p.m. auto-save= -list
drwxr-xr-x 5 fab fab 4096 October 28 = 2:26 p.m. ELPA
fab @ debian
: ~ / $ .emacs.d

Consider the following file:
If I make a C-c C-c= , all I get is the text in italics, the macro is not compiled.
Thanks,
Fabrice

% macros=3Dmkvi

\setupcolors[state=3Dstart]
\define= color[MyColorB][c=3D0.00, m=3D0.62, y=3D1.00, k=3D0.00]
\definecolor[MyC= olorA][c=3D0.00, m=3D0.10, y=3D0.20, k=3D0.00]


\defineframedtext=
=C2=A0 [MyDefinition]
=C2=A0 [before=3D{\blank[line,halfline]},=
=C2=A0=C2=A0 after=3D{\blank},
=C2=A0=C2=A0 frame=3Doff,
=C2=A0= =C2=A0 background=3DMyFrame,
=C2=A0=C2=A0 width=3D\textwidth,
=C2=A0=C2=A0 h= eight=3Dfit,
=C2=A0=C2=A0 location=3Dleft,
=C2=A0=C2=A0 style=3Ditali= c]

\defineoverlay
=C2=A0 [MyFrame]
=C2=A0 [\useMPgraphic{MyFra= me}]

\definelabel
=C2=A0 [D=C3=A9finition]
=C2=A0 [headstyle= =3D\bf\smallcaps]

\startuseMPgraphic{MyFrame}
=C2=A0=C2=A0=C2=A0 = path b ;
=C2=A0=C2=A0=C2=A0 picture p ;
=C2=A0=C2=A0=C2=A0 p :=3D tex= text.rt("\white\D=C3=A9finition") ;
=C2=A0=C2=A0=C2=A0 p = :=3D p shifted (2BodyFontSize,OverlayHeight-ypart center p+.25ExHeight= ) ;
=C2=A0=C2=A0=C2=A0 b :=3D boundingbox p leftenlarged .5EmWidth right= enlarged .5EmWidth ;
=C2=A0=C2=A0=C2=A0 fill OverlayBox withcolor \MPcol= or{MyColorA} ;
=C2=A0=C2=A0=C2=A0 fill b withcolor \MPcolor{MyColorB} ;<= br>=C2=A0=C2=A0=C2=A0 draw leftboundary OverlayBox ;
=C2=A0=C2=A0=C2=A0 = draw p ;
=C2=A0=C2=A0=C2=A0 setbounds currentpicture to OverlayBox ;
= =C2=A0 \stopuseMPgraphic
=C2=A0
\starttext
\startMyDefinition
= \input knuth
\stopMyDefinition

\stoptext

%%% Local Variabl= es:
%%% mode: context
%%% End:



If you= r question is of interest to others as well, please add an entry to the Wik= i!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bit= bucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
<= hr>

________________________________= ___________________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--001a114ac88403ed01053ff3f178-- --===============8654127459359201258== 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 --===============8654127459359201258==--