From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96684 Path: news.gmane.org!.POSTED!not-for-mail From: Mica Semrick Newsgroups: gmane.comp.tex.context Subject: Re: Emacs24 + AucTeX + ConTeXt Date: Fri, 28 Oct 2016 10:07:01 -0700 Message-ID: <35BC5454-9975-4BAE-B312-1AA4F2F1DB69@silentumbrella.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2670482075896298990==" X-Trace: blaine.gmane.org 1477674525 16919 195.159.176.226 (28 Oct 2016 17:08:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2016 17:08:45 +0000 (UTC) User-Agent: K-9 Mail for Android To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 28 19:08:40 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 1c0Adn-00024m-0W for gctc-ntg-context-518@m.gmane.org; Fri, 28 Oct 2016 19:08:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B8B701C263; Fri, 28 Oct 2016 19:07:19 +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 a7aHDn3AE1KZ; Fri, 28 Oct 2016 19:07:19 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 008251C26A; Fri, 28 Oct 2016 19:07:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B5A651C267 for ; Fri, 28 Oct 2016 19:07:18 +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 DJffsXzCrdnV for ; Fri, 28 Oct 2016 19:07:17 +0200 (CEST) Original-Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id EE8491C263 for ; Fri, 28 Oct 2016 19:07:07 +0200 (CEST) Original-Received: from [IPv6:2607:fb90:4a6:f238:b17e:bf3a:8df9:cee4] (unknown [IPv6:2607:fb90:4a6:f238:b17e:bf3a:8df9:cee4]) (Authenticated sender: mica@silentumbrella.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id F39D9A80E3 for ; Fri, 28 Oct 2016 19:07:06 +0200 (CEST) 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:96684 Archived-At: --===============2670482075896298990== Content-Type: multipart/alternative; boundary="----C216HFZLPNPKGY7JRHTI4I4D0G88QV" Content-Transfer-Encoding: 8bit ------C216HFZLPNPKGY7JRHTI4I4D0G88QV Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 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 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=mkvi > >\setupcolors[state=start] >\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00] >\definecolor[MyColorA][c=0.00, m=0.10, y=0.20, k=0.00] > > >\defineframedtext > [MyDefinition] > [before={\blank[line,halfline]}, > after={\blank}, > frame=off, > background=MyFrame, > width=\textwidth, > height=fit, > location=left, > style=italic] > >\defineoverlay > [MyFrame] > [\useMPgraphic{MyFrame}] > >\definelabel > [Définition] > [headstyle=\bf\smallcaps] > >\startuseMPgraphic{MyFrame} > path b ; > picture p ; > p := textext.rt("\white\Définition") ; >p := p shifted (2BodyFontSize,OverlayHeight-ypart center p+.25ExHeight) >; > b := 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 >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 >___________________________________________________________________________________ ------C216HFZLPNPKGY7JRHTI4I4D0G88QV Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit 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=mkvi

\setupcolors[state=start]
\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]
\definecolor[MyCol orA][c=0.00, m=0.10, y=0.20, k=0.00]


\defineframedtext
  [MyDefinition]
  [before={\blank[line,halfline]},
   after={\blank},
   frame=off,
   background=MyFrame,
   width=\textwidth,
   height=fit,
   location=left,
   style=italic]

\defineoverlay
  [MyFrame]
  [\useMPgraphic{MyFrame}]

\definelabel
  [Définition]
  [headstyle=\bf\smallcaps]

\startuseMPgraphic{MyFrame}
    path b ;
    picture p ;
    p := textext.rt("\white\Définition") ;
    p := p shifted (2BodyFontSize,OverlayHeight-ypart center p+.25ExHeight) ;
    b := 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 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

------C216HFZLPNPKGY7JRHTI4I4D0G88QV-- --===============2670482075896298990== 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 --===============2670482075896298990==--