ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Emacs24 + AucTeX + ConTeXt
Date: Sat, 29 Oct 2016 09:55:15 +0200	[thread overview]
Message-ID: <CACyK-erXN2z8Dsrfh4qZJxuWo_DerYRmk2f_QtzpPAG-mCZ4Ng@mail.gmail.com> (raw)
In-Reply-To: <E12F9EED-9AC0-4BB0-9CC5-0701A612081C@arch.ethz.ch>


[-- Attachment #1.1: Type: text/plain, Size: 5576 bytes --]

Hi,
If I add this (add-to-list 'load-path
"/home/fab/context/tex/texmf-linux-64/bin") in the .emacs, one C-c C-c
invokes the executable texlive, not the context of standalone.
Fabrice

2016-10-29 1:23 GMT+02:00 Michael Eidenbenz <eidenbenz@arch.ethz.ch>:

> you can add any TeX command (the ones you call with C-c C-c) to your
> init.el like this:
>
>   '(add-to-list 'TeX-command-list
>                 '("contex"
>                   "context %t --nonstopmode --purgeall" % change the
> command to your needs
>                   TeX-run-TeX
>                   nil
>                   (context-mode)
>                   :help "Run ConTeXt")
>                 t))
>
> I run emacs25 and auctex 11.89.5 without problems.
> although i use auctex only for C-c C-c.
>
> Michael
>
>
> On 28 Oct 2016, at 23:57, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> wrote:
>
> 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 <mica@silentumbrella.com>:
>
>> 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[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
>>> ------------------------------
>>>
>>>
>> ____________________________________________________________
>> _______________________
>> 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/list
>> info/ntg-context
>> 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
> ____________________________________________________________
> _______________________
>
>
>
> ____________________________________________________________
> _______________________
> 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
> ____________________________________________________________
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 15027 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2016-10-29  7:55 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-28 13:04 Fabrice Couvreur
2016-10-28 17:07 ` Mica Semrick
2016-10-28 21:57   ` Fabrice Couvreur
2016-10-28 22:28     ` Mica Semrick
2016-10-28 23:23     ` Michael Eidenbenz
2016-10-29  7:55       ` Fabrice Couvreur [this message]
2016-10-29 10:46         ` Michael Eidenbenz
2016-10-29 10:50           ` Michael Eidenbenz
2016-10-29 21:41             ` Fabrice Couvreur
2016-10-30  0:36               ` Michael Eidenbenz
2016-10-30  9:10                 ` Fabrice Couvreur
2016-10-30 10:07                   ` Michael Eidenbenz
2016-10-30 11:15               ` Tobias Berndt
2016-10-30 12:30                 ` Fabrice Couvreur
2016-10-30 13:26                   ` Peter Münster
2016-10-30 13:38                   ` Tobias Berndt
2016-10-31  9:04                     ` Fabrice Couvreur
2016-10-31  9:18                       ` Peter Münster
2016-10-31  9:37                         ` Fabrice Couvreur
2016-10-31 10:59                           ` Peter Münster
2016-10-31 13:16                             ` Fabrice Couvreur
2016-10-31 13:55                               ` Fabrice Couvreur
2016-10-31 14:22                                 ` Peter Münster
2016-10-31 16:40                                   ` Fabrice Couvreur
2016-10-29 10:19     ` Tobias Berndt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACyK-erXN2z8Dsrfh4qZJxuWo_DerYRmk2f_QtzpPAG-mCZ4Ng@mail.gmail.com \
    --to=fabrice1.couvreur@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).