[NTG-context] Emacs24 + AucTeX + ConTeXt

Fabrice Couvreur fabrice1.couvreur at gmail.com
Fri Oct 28 15:04:27 CEST 2016


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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20161028/413c6596/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntg60.pdf
Type: application/pdf
Size: 35507 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20161028/413c6596/attachment-0001.pdf>


More information about the ntg-context mailing list