ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Emacs24 + AucTeX + ConTeXt
@ 2016-10-28 13:04 Fabrice Couvreur
  2016-10-28 17:07 ` Mica Semrick
  0 siblings, 1 reply; 25+ messages in thread
From: Fabrice Couvreur @ 2016-10-28 13:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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:

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

[-- Attachment #2: ntg60.pdf --]
[-- Type: application/pdf, Size: 35507 bytes --]

[-- Attachment #3: 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-28 13:04 Emacs24 + AucTeX + ConTeXt Fabrice Couvreur
@ 2016-10-28 17:07 ` Mica Semrick
  2016-10-28 21:57   ` Fabrice Couvreur
  0 siblings, 1 reply; 25+ messages in thread
From: Mica Semrick @ 2016-10-28 17:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

[-- Attachment #1.2: Type: text/html, Size: 5236 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-28 17:07 ` Mica Semrick
@ 2016-10-28 21:57   ` Fabrice Couvreur
  2016-10-28 22:28     ` Mica Semrick
                       ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Fabrice Couvreur @ 2016-10-28 21:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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/
> 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: 9266 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-28 21:57   ` Fabrice Couvreur
@ 2016-10-28 22:28     ` Mica Semrick
  2016-10-28 23:23     ` Michael Eidenbenz
  2016-10-29 10:19     ` Tobias Berndt
  2 siblings, 0 replies; 25+ messages in thread
From: Mica Semrick @ 2016-10-28 22:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Fabrice,

I believe it is just picking up the context executable from your path. You should be able to add the standalone to your path before the texlive version. It has been several years since I've run texlive though.

-m

On October 28, 2016 2:57:16 PM PDT, 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/
>> 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: 10766 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  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
  2016-10-29 10:19     ` Tobias Berndt
  2 siblings, 1 reply; 25+ messages in thread
From: Michael Eidenbenz @ 2016-10-28 23:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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 <mailto: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 <mailto: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 <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
> archive  : https://bitbucket.org/phg/context-mirror/commits <https://bitbucket.org/phg/context-mirror/commits>/
> wiki     : http://contextgarden.net <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 <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
> wiki     : http://contextgarden.net <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: 14537 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-28 23:23     ` Michael Eidenbenz
@ 2016-10-29  7:55       ` Fabrice Couvreur
  2016-10-29 10:46         ` Michael Eidenbenz
  0 siblings, 1 reply; 25+ messages in thread
From: Fabrice Couvreur @ 2016-10-29  7:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-28 21:57   ` Fabrice Couvreur
  2016-10-28 22:28     ` Mica Semrick
  2016-10-28 23:23     ` Michael Eidenbenz
@ 2016-10-29 10:19     ` Tobias Berndt
  2 siblings, 0 replies; 25+ messages in thread
From: Tobias Berndt @ 2016-10-29 10:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users


… add (setenv "PATH" "/Users/<yourname>/tex/texmf-<youros>/bin/:$PATH" t) in your .emacs and Emacs should find the way to the minimals.


ALOHA, tobber




> Am 28.10.2016 um 23:57 schrieb Fabrice Couvreur <fabrice1.couvreur@gmail.com>:
> 
> 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/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
> ___________________________________________________________________________________

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-29  7:55       ` Fabrice Couvreur
@ 2016-10-29 10:46         ` Michael Eidenbenz
  2016-10-29 10:50           ` Michael Eidenbenz
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Eidenbenz @ 2016-10-29 10:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

check which binary is used with

which context

and correct our PATH according to your needs.
you can always add more C-c C-c commands for multiple installations (beta, current, texlive ..) as I wrote before.
just change the command to 

cd (path to textree) && setuptex && context etc...

Michael


> On 29 Oct 2016, at 09:55, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
> 
> 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


[-- Attachment #1.2: Type: text/html, Size: 3637 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-29 10:46         ` Michael Eidenbenz
@ 2016-10-29 10:50           ` Michael Eidenbenz
  2016-10-29 21:41             ` Fabrice Couvreur
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Eidenbenz @ 2016-10-29 10:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

sorry that should be:

(path to textree)/setuptex && context .....


> 
> cd (path to textree) && setuptex && context etc...


[-- Attachment #1.2: Type: text/html, Size: 1327 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-29 10:50           ` Michael Eidenbenz
@ 2016-10-29 21:41             ` Fabrice Couvreur
  2016-10-30  0:36               ` Michael Eidenbenz
  2016-10-30 11:15               ` Tobias Berndt
  0 siblings, 2 replies; 25+ messages in thread
From: Fabrice Couvreur @ 2016-10-29 21:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi,
@Tobias

If I add this to my .emacs I get

(setenv "PATH"/Users/fab/tex/texmf-linux-64/bin/ ":$PATH" t)
(add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin/context")

Warning (initialization): An error occurred while loading
`/home/fab/.emacs':

Symbol's value as variable is void: /Users/fab/tex/texmf-linux-64/bin


@Michael

fab@debian:~$ which context
/home/fab/bin/context
fab@debian:~$ source context/tex/setuptex
Setting "/home/fab/context/tex" as ConTeXt root.
fab@debian:~$ which context
/home/fab/context/tex/texmf-linux-64/bin/context
fab@debian:~$

If I add this to my .emacs is always texlive 2016 is invoked when I compile

(eval-after-load "tex"
'(add-to-list 'TeX-command-list
                '("context"
                 "(/home/fab/context)/setuptex&&context"
                  TeX-run-TeX
                  nil
                  (context-mode)
                  :help "Run ConTeXt") t))


Thanks,
Fabrice


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

> sorry that should be:
>
> (path to textree)/setuptex && context .....
>
>
>
> cd (path to textree) && setuptex && context etc...
>
>
>
> ____________________________________________________________
> _______________________
> 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: 5824 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-29 21:41             ` Fabrice Couvreur
@ 2016-10-30  0:36               ` Michael Eidenbenz
  2016-10-30  9:10                 ` Fabrice Couvreur
  2016-10-30 11:15               ` Tobias Berndt
  1 sibling, 1 reply; 25+ messages in thread
From: Michael Eidenbenz @ 2016-10-30  0:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

the command should be:

(eval-after-load "tex"
'(add-to-list 'TeX-command-list
                '("context"
                 "source /home/fab/context/tex/setuptex && context"
                  TeX-run-TeX
                  nil
                  (context-mode)
                  :help "Run ConTeXt") t))





> On 29 Oct 2016, at 23:41, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
> 
> Hi,
> @Tobias
> 
> If I add this to my .emacs I get
> 
> (setenv "PATH"/Users/fab/tex/texmf-linux-64/bin/ ":$PATH" t) 
> (add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin/context")
> 
> Warning (initialization): An error occurred while loading `/home/fab/.emacs':
> 
> Symbol's value as variable is void: /Users/fab/tex/texmf-linux-64/bin
> 
> 
> @Michael
> 
> fab@debian:~$ which context
> /home/fab/bin/context
> fab@debian:~$ source context/tex/setuptex
> Setting "/home/fab/context/tex" as ConTeXt root.
> fab@debian:~$ which context
> /home/fab/context/tex/texmf-linux-64/bin/context
> fab@debian:~$ 
> 
> If I add this to my .emacs is always texlive 2016 is invoked when I compile
> 
> (eval-after-load "tex"
> '(add-to-list 'TeX-command-list
>                 '("context"
>                  "(/home/fab/context)/setuptex&&context"
>                   TeX-run-TeX
>                   nil
>                   (context-mode)
>                   :help "Run ConTeXt") t))
> 
> 
> Thanks,
> Fabrice
> 
> 
> 2016-10-29 12:50 GMT+02:00 Michael Eidenbenz <eidenbenz@arch.ethz.ch>:
> sorry that should be:
> 
> (path to textree)/setuptex && context .....
> 
> 
>> 
>> cd (path to textree) && setuptex && context etc...
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-30  0:36               ` Michael Eidenbenz
@ 2016-10-30  9:10                 ` Fabrice Couvreur
  2016-10-30 10:07                   ` Michael Eidenbenz
  0 siblings, 1 reply; 25+ messages in thread
From: Fabrice Couvreur @ 2016-10-30  9:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

​Hi Michael,
​
Thank you for your help but it does not work, maybe a problem with the Emacs
shell.

Running `ConTeXt' on `ntg32' with ``context --once --texutil  --nonstop
ntg32.tex''

resolvers       | trees | analyzing 'home:texmf'
mtx-context     | run 1: luatex
--fmt="/home/fab/texlive/2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en"
--interaction="nonstopmode" --jobname="ntg32"
--lua="/home/fab/texlive/2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui"
--no-parse-first-line --c:currentrun=1 --c:fulljobname="./ntg32.tex"
--c:input="./ntg32.tex" --c:kindofrun=3 --c:maxnofruns=1 --c:nonstopmode
--c:once --c:texutil "cont-yes.mkiv"
This is LuaTeX, Version 0.95.0 (TeX Live 2016)
 system commands enabled.

resolvers       > trees > analyzing 'home:texmf'
open source     > 1 > 1 >
/home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv

ConTeXt  ver: 2016.05.17 19:20 MKIV current  fmt: 2016.10.29  int:
english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 >
/home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
close source    > 2 > 2 >
/home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-new.mkiv

system          > files > jobname 'ntg32', input './ntg32', result 'ntg32'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > /home/fab/ntg32.tex
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
backend         > xmp > using file
'/home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
close source    > 2 > 3 > /home/fab/ntg32.tex
close source    > 1 > 3 >
/home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv

mkiv lua stats  > used config file:
selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua
mkiv lua stats  > used cache path:
/home/fab/texlive/2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9
mkiv lua stats  > resource resolver: loadtime 0.104 seconds, 1 scans with
scantime 0.021 seconds, 0 shared scans, 9 found files, scanned paths:
/home/fab/texmf
mkiv lua stats  > stored bytecode data: 387 modules (0.366 sec), 82 tables
(0.011 sec), 469 chunks (0.377 sec)
mkiv lua stats  > traced context: maxstack: 1176, freed: 1, unreachable:
1175
mkiv lua stats  > cleaned up reserved nodes: 47 nodes, 9 lists of 444
mkiv lua stats  > node memory usage: 15 glue, 2 penalty, 22 attribute, 38
glue_spec, 8 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5
instances (re)created, 32 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf
output)mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.001 seconds
loading
mkiv lua stats  > callbacks: 136 direct, 245 indirect, 381 total
mkiv lua stats  > randomizer: resumed with value 0.17602822472156
mkiv lua stats  > positions: 13 collected, 8 regulars, 5 regions, 0
unresolved regions
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > result saved in file: ntg32.pdf, compresslevel 3,
objectcompresslevel 3
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf,
lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.020, afm 1.512, tfm 1.000, 4
instances, load time 0.161 seconds
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: bin
mkiv lua stats  > luatex banner: this is luatex, version 0.95.0 (tex live
2016)mkiv lua stats  > control sequences: 43813 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 78 MB (ctx: 77
MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.587 seconds, 1 processed pages, 1 shipped
pages, 1.704 pages/second

system          | total runtime: 0.831 seconds

TeX Output finished at Sun Oct 30 10:09:20

​Fabrice​



2016-10-30 2:36 GMT+02:00 Michael Eidenbenz <eidenbenz@arch.ethz.ch>:

> the command should be:
>
> (eval-after-load "tex"
> '(add-to-list 'TeX-command-list
>                 '("context"
>                  "source /home/fab/context/tex/setuptex && context"
>                   TeX-run-TeX
>                   nil
>                   (context-mode)
>                   :help "Run ConTeXt") t))
>
>
>
>
>
> > On 29 Oct 2016, at 23:41, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> wrote:
> >
> > Hi,
> > @Tobias
> >
> > If I add this to my .emacs I get
> >
> > (setenv "PATH"/Users/fab/tex/texmf-linux-64/bin/ ":$PATH" t)
> > (add-to-list 'load-path "/home/fab/context/tex/texmf-
> linux-64/bin/context")
> >
> > Warning (initialization): An error occurred while loading
> `/home/fab/.emacs':
> >
> > Symbol's value as variable is void: /Users/fab/tex/texmf-linux-64/bin
> >
> >
> > @Michael
> >
> > fab@debian:~$ which context
> > /home/fab/bin/context
> > fab@debian:~$ source context/tex/setuptex
> > Setting "/home/fab/context/tex" as ConTeXt root.
> > fab@debian:~$ which context
> > /home/fab/context/tex/texmf-linux-64/bin/context
> > fab@debian:~$
> >
> > If I add this to my .emacs is always texlive 2016 is invoked when I
> compile
> >
> > (eval-after-load "tex"
> > '(add-to-list 'TeX-command-list
> >                 '("context"
> >                  "(/home/fab/context)/setuptex&&context"
> >                   TeX-run-TeX
> >                   nil
> >                   (context-mode)
> >                   :help "Run ConTeXt") t))
> >
> >
> > Thanks,
> > Fabrice
> >
> >
> > 2016-10-29 12:50 GMT+02:00 Michael Eidenbenz <eidenbenz@arch.ethz.ch>:
> > sorry that should be:
> >
> > (path to textree)/setuptex && context .....
> >
> >
> >>
> >> cd (path to textree) && setuptex && context etc...
> >
> >
> > ____________________________________________________________
> _______________________
> > 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
> > ____________________________________________________________
> _______________________
>
> ____________________________________________________________
> _______________________
> 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: 11165 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-30  9:10                 ` Fabrice Couvreur
@ 2016-10-30 10:07                   ` Michael Eidenbenz
  0 siblings, 0 replies; 25+ messages in thread
From: Michael Eidenbenz @ 2016-10-30 10:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

It looks like auctex is still choosing the wrong command.

Please read this information:
https://www.gnu.org/software/auctex/manual/auctex/Selecting-a-Command.html

maybe this helps

(eval-after-load "tex"
'(add-to-list 'TeX-command-list
                '("context_standalone"
                 "source /home/fab/context/tex/setuptex && context"
                  TeX-run-TeX
                  nil
                  (context-mode)
                  :help "Run ConTeXt") t))

then choose the command "context_standalone" explicitly in the minibuffer

(and try without the local variables in your buffer)


> On 30 Oct 2016, at 10:10, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
> 
> ​Hi Michael,
> ​
> Thank you for your help but it does not work, maybe a problem with the Emacs shell.
> 
> Running `ConTeXt' on `ntg32' with ``context --once --texutil  --nonstop ntg32.tex''
> 
> resolvers       | trees | analyzing 'home:texmf'
> mtx-context     | run 1: luatex --fmt="/home/fab/texlive/2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en" --interaction="nonstopmode" --jobname="ntg32" --lua="/home/fab/texlive/2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./ntg32.tex" --c:input="./ntg32.tex" --c:kindofrun=3 --c:maxnofruns=1 --c:nonstopmode --c:once --c:texutil "cont-yes.mkiv"
> This is LuaTeX, Version 0.95.0 (TeX Live 2016) 
>  system commands enabled.
> 
> resolvers       > trees > analyzing 'home:texmf'
> open source     > 1 > 1 > /home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
> 
> ConTeXt  ver: 2016.05.17 19:20 MKIV current  fmt: 2016.10.29  int: english/english
> 
> system          > 'cont-new.mkiv' loaded
> open source     > 2 > 2 > /home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> close source    > 2 > 2 > /home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
> 
> system          > files > jobname 'ntg32', input './ntg32', result 'ntg32'
> fonts           > latin modern fonts are not preloaded
> languages       > language 'en' is active
> open source     > 2 > 3 > /home/fab/ntg32.tex
> fonts           > preloading latin modern fonts (second stage)
> fonts           > 'fallback modern-designsize rm 12pt' is loaded
> backend         > xmp > using file '/home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/lpdf-pdx.xml'
> pages           > flushing realpage 1, userpage 1
> close source    > 2 > 3 > /home/fab/ntg32.tex
> close source    > 1 > 3 > /home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv
> 
> mkiv lua stats  > used config file: selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua
> mkiv lua stats  > used cache path: /home/fab/texlive/2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9
> mkiv lua stats  > resource resolver: loadtime 0.104 seconds, 1 scans with scantime 0.021 seconds, 0 shared scans, 9 found files, scanned paths: /home/fab/texmf
> mkiv lua stats  > stored bytecode data: 387 modules (0.366 sec), 82 tables (0.011 sec), 469 chunks (0.377 sec)
> mkiv lua stats  > traced context: maxstack: 1176, freed: 1, unreachable: 1175
> mkiv lua stats  > cleaned up reserved nodes: 47 nodes, 9 lists of 444
> mkiv lua stats  > node memory usage: 15 glue, 2 penalty, 22 attribute, 38 glue_spec, 8 attribute_list, 2 temp
> mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances (re)created, 32 calls
> mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.001 seconds loading
> mkiv lua stats  > callbacks: 136 direct, 245 indirect, 381 total
> mkiv lua stats  > randomizer: resumed with value 0.17602822472156
> mkiv lua stats  > positions: 13 collected, 8 regulars, 5 regions, 0 unresolved regions
> mkiv lua stats  > loaded patterns: en::2, load time: 0.000
> mkiv lua stats  > result saved in file: ntg32.pdf, compresslevel 3, objectcompresslevel 3
> mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf
> mkiv lua stats  > font engine: otf 3.020, afm 1.512, tfm 1.000, 4 instances, load time 0.161 seconds 
> mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: bin
> mkiv lua stats  > luatex banner: this is luatex, version 0.95.0 (tex live 2016)mkiv lua stats  > control sequences: 43813 of 65536 + 100000
> mkiv lua stats  > lua properties: engine: lua, used memory: 78 MB (ctx: 77 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
> mkiv lua stats  > runtime: 0.587 seconds, 1 processed pages, 1 shipped pages, 1.704 pages/second
> 
> system          | total runtime: 0.831 seconds
> 
> TeX Output finished at Sun Oct 30 10:09:20
> 
> ​Fabrice​
> 
> 
> 
> 2016-10-30 2:36 GMT+02:00 Michael Eidenbenz <eidenbenz@arch.ethz.ch>:
> the command should be:
> 
> (eval-after-load "tex"
> '(add-to-list 'TeX-command-list
>                 '("context"
>                  "source /home/fab/context/tex/setuptex && context"
>                   TeX-run-TeX
>                   nil
>                   (context-mode)
>                   :help "Run ConTeXt") t))
> 
> 
> 
> 
> 
> > On 29 Oct 2016, at 23:41, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
> >
> > Hi,
> > @Tobias
> >
> > If I add this to my .emacs I get
> >
> > (setenv "PATH"/Users/fab/tex/texmf-linux-64/bin/ ":$PATH" t)
> > (add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin/context")
> >
> > Warning (initialization): An error occurred while loading `/home/fab/.emacs':
> >
> > Symbol's value as variable is void: /Users/fab/tex/texmf-linux-64/bin
> >
> >
> > @Michael
> >
> > fab@debian:~$ which context
> > /home/fab/bin/context
> > fab@debian:~$ source context/tex/setuptex
> > Setting "/home/fab/context/tex" as ConTeXt root.
> > fab@debian:~$ which context
> > /home/fab/context/tex/texmf-linux-64/bin/context
> > fab@debian:~$
> >
> > If I add this to my .emacs is always texlive 2016 is invoked when I compile
> >
> > (eval-after-load "tex"
> > '(add-to-list 'TeX-command-list
> >                 '("context"
> >                  "(/home/fab/context)/setuptex&&context"
> >                   TeX-run-TeX
> >                   nil
> >                   (context-mode)
> >                   :help "Run ConTeXt") t))
> >
> >
> > Thanks,
> > Fabrice
> >
> >
> > 2016-10-29 12:50 GMT+02:00 Michael Eidenbenz <eidenbenz@arch.ethz.ch>:
> > sorry that should be:
> >
> > (path to textree)/setuptex && context .....
> >
> >
> >>
> >> cd (path to textree) && setuptex && context etc...
> >
> >
> > ___________________________________________________________________________________
> > 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
> > ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-29 21:41             ` Fabrice Couvreur
  2016-10-30  0:36               ` Michael Eidenbenz
@ 2016-10-30 11:15               ` Tobias Berndt
  2016-10-30 12:30                 ` Fabrice Couvreur
  1 sibling, 1 reply; 25+ messages in thread
From: Tobias Berndt @ 2016-10-30 11:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

@ Fabrice: If you’re working under a Linux, use „home“ instead of „Users“ (I’m under macOS, therefore I left „Users“) and forget about the add-to-list line. So:

(1) M-x context-mode
(2) M-x ConTeXt-Mark-version (switch to mkIV)

If there is no such command: update auctex; if this gives an error (there was/is a bug:) tell me and I’ll give you an instruction how to manipulate your context.el

(3) Add to .emacs: (setenv „PATH“ „/home/fab/tex/texmf-linux-64/bin/:$PATH“ t)
(4) ;; (add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin/context“)
(5) Restart Emacs

C-c C-c should work, now.


ALOHA, tobber






> Am 29.10.2016 um 23:41 schrieb Fabrice Couvreur <fabrice1.couvreur@gmail.com>:
> 
> Hi,
> @Tobias
> 
> If I add this to my .emacs I get
> 
> (setenv "PATH"/Users/fab/tex/texmf-linux-64/bin/ ":$PATH" t) 
> (add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin/context")
> 
> Warning (initialization): An error occurred while loading `/home/fab/.emacs':
> 
> Symbol's value as variable is void: /Users/fab/tex/texmf-linux-64/bin
> 
> 
> @Michael
> 
> fab@debian:~$ which context
> /home/fab/bin/context
> fab@debian:~$ source context/tex/setuptex
> Setting "/home/fab/context/tex" as ConTeXt root.
> fab@debian:~$ which context
> /home/fab/context/tex/texmf-linux-64/bin/context
> fab@debian:~$ 
> 
> If I add this to my .emacs is always texlive 2016 is invoked when I compile
> 
> (eval-after-load "tex"
> '(add-to-list 'TeX-command-list
>                 '("context"
>                  "(/home/fab/context)/setuptex&&context"
>                   TeX-run-TeX
>                   nil
>                   (context-mode)
>                   :help "Run ConTeXt") t))
> 
> 
> Thanks,
> Fabrice
> 
> 
> 2016-10-29 12:50 GMT+02:00 Michael Eidenbenz <eidenbenz@arch.ethz.ch>:
> sorry that should be:
> 
> (path to textree)/setuptex && context .....
> 
> 
>> 
>> cd (path to textree) && setuptex && context etc...
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  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
  0 siblings, 2 replies; 25+ messages in thread
From: Fabrice Couvreur @ 2016-10-30 12:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Tobias,

(2) Possible completions are:
ConTeXt-close-environment     ConTeXt-close-xml-tag
ConTeXt-environment     ConTeXt-etexshow
ConTeXt-find-matching-start     ConTeXt-find-matching-stop
ConTeXt-insert-item     ConTeXt-mark-environment
ConTeXt-mode     ConTeXt-mode-command-menu
ConTeXt-mode-menu     ConTeXt-section
ConTeXt-work-on-environment

I added in .emacs

(custom-set-variables
 '(ConTeXt-Mark-version "IV"))

update auctex


How ? Auctex installed with ELPA

(setenv „PATH" „/home/fab/tex/texmf-linux-64/bin/:$PATH" t)


 I do not understand this symbol „ and how to access

Thanks
Fabrice


2016-10-30 12:15 GMT+01:00 Tobias Berndt <tobiasberndt@arcor.de>:

> @ Fabrice: If you’re working under a Linux, use „home“ instead of „Users“
> (I’m under macOS, therefore I left „Users“) and forget about the
> add-to-list line. So:
>
> (1) M-x context-mode
> (2) M-x ConTeXt-Mark-version (switch to mkIV)
>
> If there is no such command: update auctex; if this gives an error (there
> was/is a bug:) tell me and I’ll give you an instruction how to manipulate
> your context.el
>
> (3) Add to .emacs: (setenv „PATH“ „/home/fab/tex/texmf-linux-64/bin/:$PATH“
> t)
> (4) ;; (add-to-list 'load-path "/home/fab/context/tex/texmf-
> linux-64/bin/context“)
> (5) Restart Emacs
>
> C-c C-c should work, now.
>
>
> ALOHA, tobber
>
>
>
>
>
>
> > Am 29.10.2016 um 23:41 schrieb Fabrice Couvreur <
> fabrice1.couvreur@gmail.com>:
> >
> > Hi,
> > @Tobias
> >
> > If I add this to my .emacs I get
> >
> > (setenv "PATH"/Users/fab/tex/texmf-linux-64/bin/ ":$PATH" t)
> > (add-to-list 'load-path "/home/fab/context/tex/texmf-
> linux-64/bin/context")
> >
> > Warning (initialization): An error occurred while loading
> `/home/fab/.emacs':
> >
> > Symbol's value as variable is void: /Users/fab/tex/texmf-linux-64/bin
> >
> >
> > @Michael
> >
> > fab@debian:~$ which context
> > /home/fab/bin/context
> > fab@debian:~$ source context/tex/setuptex
> > Setting "/home/fab/context/tex" as ConTeXt root.
> > fab@debian:~$ which context
> > /home/fab/context/tex/texmf-linux-64/bin/context
> > fab@debian:~$
> >
> > If I add this to my .emacs is always texlive 2016 is invoked when I
> compile
> >
> > (eval-after-load "tex"
> > '(add-to-list 'TeX-command-list
> >                 '("context"
> >                  "(/home/fab/context)/setuptex&&context"
> >                   TeX-run-TeX
> >                   nil
> >                   (context-mode)
> >                   :help "Run ConTeXt") t))
> >
> >
> > Thanks,
> > Fabrice
> >
> >
> > 2016-10-29 12:50 GMT+02:00 Michael Eidenbenz <eidenbenz@arch.ethz.ch>:
> > sorry that should be:
> >
> > (path to textree)/setuptex && context .....
> >
> >
> >>
> >> cd (path to textree) && setuptex && context etc...
> >
> >
> > ____________________________________________________________
> _______________________
> > 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
> > ____________________________________________________________
> _______________________
>
> ____________________________________________________________
> _______________________
> 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: 8153 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-30 12:30                 ` Fabrice Couvreur
@ 2016-10-30 13:26                   ` Peter Münster
  2016-10-30 13:38                   ` Tobias Berndt
  1 sibling, 0 replies; 25+ messages in thread
From: Peter Münster @ 2016-10-30 13:26 UTC (permalink / raw)
  To: ntg-context

On Sun, Oct 30 2016, Fabrice Couvreur wrote:

> (setenv „PATH" „/home/fab/tex/texmf-linux-64/bin/:$PATH" t)
>
>  I do not understand this symbol „ and how to access

You should replace „ with ".

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  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
  1 sibling, 1 reply; 25+ messages in thread
From: Tobias Berndt @ 2016-10-30 13:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Ok, your problem is more auctex than ConTeXt. So, try this:

(1) Add to .emacs:

;; SERVER Download (MELPA):
(when (>= emacs-major-version 24)
  (require 'package)
  (add-to-list
   'package-archives
   '("melpa" . "http://melpa.org/packages/")
   t)
  (package-initialize))

to get connection to MELPA server. 

(2) Save .emacs and start Emacs again
(3) Open OPTIONS—MANAGE EMACS PACKAGES
(4) Install current auctex version
(5) Restart Emacs
(6) Get into context-mode (M-x context-mode)
(7) Type M-x customize-variable RET ConTeXt-Mark-version RET

+++
If Emacs responds: Wrong type argument: symbolp, „string“ (that’s the bug) open context.el (somewhere in .emacs.d/(m)elpa/auctex-11.89.X) and replace line 501 (or nearby)

:type "string"

with

    :type 'string

and recompile the file with `M-x byte-compile file RET RET’.
+++

(8) Switch from Mark II to Mark IV

Now, Emacs should generally provide support to ConTeXt Mark IV. To compile tex-files comfortable right out of Emacs via C-c C-c add:

(9) (setenv "PATH" "/home/fab/tex/texmf-linux-64/bin/:$PATH" t) to your .emacs and
(10) (setq ConTeXt-Mark-version "IV“) if you want
(11) Save file and restart Emacs
(12) Open a context file and try out


ALOHA, tobber







> Am 30.10.2016 um 13:30 schrieb Fabrice Couvreur <fabrice1.couvreur@gmail.com>:
> 
> Hi Tobias,
> 
> (2) Possible completions are:
> ConTeXt-close-environment     ConTeXt-close-xml-tag
> ConTeXt-environment     ConTeXt-etexshow
> ConTeXt-find-matching-start     ConTeXt-find-matching-stop
> ConTeXt-insert-item     ConTeXt-mark-environment
> ConTeXt-mode     ConTeXt-mode-command-menu
> ConTeXt-mode-menu     ConTeXt-section
> ConTeXt-work-on-environment
> 
> I added in .emacs 
> 
> (custom-set-variables 
>  '(ConTeXt-Mark-version "IV"))
> 
> update auctex
>  
> How ? Auctex installed with ELPA
> 
> (setenv „PATH" „/home/fab/tex/texmf-linux-64/bin/:$PATH" t)
> 
>  I do not understand this symbol „ and how to access
> 
> Thanks
> Fabrice
> 
> 
> 2016-10-30 12:15 GMT+01:00 Tobias Berndt <tobiasberndt@arcor.de>:
> @ Fabrice: If you’re working under a Linux, use „home“ instead of „Users“ (I’m under macOS, therefore I left „Users“) and forget about the add-to-list line. So:
> 
> (1) M-x context-mode
> (2) M-x ConTeXt-Mark-version (switch to mkIV)
> 
> If there is no such command: update auctex; if this gives an error (there was/is a bug:) tell me and I’ll give you an instruction how to manipulate your context.el
> 
> (3) Add to .emacs: (setenv „PATH“ „/home/fab/tex/texmf-linux-64/bin/:$PATH“ t)
> (4) ;; (add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin/context“)
> (5) Restart Emacs
> 
> C-c C-c should work, now.
> 
> 
> ALOHA, tobber
> 
> 
> 
> 
> 
> 
> > Am 29.10.2016 um 23:41 schrieb Fabrice Couvreur <fabrice1.couvreur@gmail.com>:
> >
> > Hi,
> > @Tobias
> >
> > If I add this to my .emacs I get
> >
> > (setenv "PATH"/Users/fab/tex/texmf-linux-64/bin/ ":$PATH" t)
> > (add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin/context")
> >
> > Warning (initialization): An error occurred while loading `/home/fab/.emacs':
> >
> > Symbol's value as variable is void: /Users/fab/tex/texmf-linux-64/bin
> >
> >
> > @Michael
> >
> > fab@debian:~$ which context
> > /home/fab/bin/context
> > fab@debian:~$ source context/tex/setuptex
> > Setting "/home/fab/context/tex" as ConTeXt root.
> > fab@debian:~$ which context
> > /home/fab/context/tex/texmf-linux-64/bin/context
> > fab@debian:~$
> >
> > If I add this to my .emacs is always texlive 2016 is invoked when I compile
> >
> > (eval-after-load "tex"
> > '(add-to-list 'TeX-command-list
> >                 '("context"
> >                  "(/home/fab/context)/setuptex&&context"
> >                   TeX-run-TeX
> >                   nil
> >                   (context-mode)
> >                   :help "Run ConTeXt") t))
> >
> >
> > Thanks,
> > Fabrice
> >
> >
> > 2016-10-29 12:50 GMT+02:00 Michael Eidenbenz <eidenbenz@arch.ethz.ch>:
> > sorry that should be:
> >
> > (path to textree)/setuptex && context .....
> >
> >
> >>
> >> cd (path to textree) && setuptex && context etc...
> >
> >
> > ___________________________________________________________________________________
> > 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
> > ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-30 13:38                   ` Tobias Berndt
@ 2016-10-31  9:04                     ` Fabrice Couvreur
  2016-10-31  9:18                       ` Peter Münster
  0 siblings, 1 reply; 25+ messages in thread
From: Fabrice Couvreur @ 2016-10-31  9:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Tobber,
First of all thank you for your help. Everything worked except for the
compilation where it's always texlive context and not standalone.

Running `ConTeXt' on `ntg62' with ``context --once --texutil  --nonstop
ntg62.tex''

resolvers       | trees | analyzing 'home:texmf'
mtx-context     | run 1: luatex
--fmt="/home/fab/texlive/2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en"
--interaction="nonstopmode" --jobname="ntg62"
--lua="/home/fab/texlive/2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui"
--no-parse-first-line --c:currentrun=1 --c:fulljobname="./ntg62.tex"
--c:input="./ntg62.tex" --c:kindofrun=3 --c:maxnofruns=1 --c:nonstopmode
--c:once --c:texutil "cont-yes.mkiv"
This is LuaTeX, Version 0.95.0 (TeX Live 2016)
 system commands enabled.

resolvers       > trees > analyzing 'home:texmf'
open source     > 1 > 1 >
/home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv

ConTeXt  ver: 2016.05.17 19:20 MKIV current  fmt: 2016.10.29  int:
english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 >
/home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-new.mkiv
close source    > 2 > 2 >
/home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-new.mkiv

system          > files > jobname 'ntg62', input './ntg62', result 'ntg62'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > /home/fab/ntg62.tex
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
backend         > xmp > using file
'/home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
close source    > 2 > 3 > /home/fab/ntg62.tex
close source    > 1 > 3 >
/home/fab/texlive/2016/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv

mkiv lua stats  > used config file:
selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua
mkiv lua stats  > used cache path:
/home/fab/texlive/2016/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9
mkiv lua stats  > resource resolver: loadtime 0.115 seconds, 1 scans with
scantime 0.021 seconds, 0 shared scans, 9 found files, scanned paths:
/home/fab/texmf
mkiv lua stats  > stored bytecode data: 387 modules (0.337 sec), 82 tables
(0.011 sec), 469 chunks (0.348 sec)
mkiv lua stats  > traced context: maxstack: 1175, freed: 0, unreachable:
1175
mkiv lua stats  > cleaned up reserved nodes: 47 nodes, 9 lists of 444
mkiv lua stats  > node memory usage: 11 glue, 2 penalty, 22 attribute, 38
glue_spec, 8 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5
instances (re)created, 32 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf
output)mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds
loading
mkiv lua stats  > callbacks: 136 direct, 244 indirect, 380 total
mkiv lua stats  > randomizer: initialized with value 0.1895933152128
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > result saved in file: ntg62.pdf, compresslevel 3,
objectcompresslevel 3
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf,
lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.020, afm 1.512, tfm 1.000, 4
instances, load time 0.209 seconds
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: bin
mkiv lua stats  > luatex banner: this is luatex, version 0.95.0 (tex live
2016)mkiv lua stats  > control sequences: 43813 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 72 MB (ctx: 71
MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.608 seconds, 1 processed pages, 1 shipped
pages, 1.645 pages/second

system          | total runtime: 0.849 seconds

TeX Output finished at Mon Oct 31 09:57:37

2016-10-30 14:38 GMT+01:00 Tobias Berndt <tobiasberndt@arcor.de>:

> Ok, your problem is more auctex than ConTeXt. So, try this:
>
> (1) Add to .emacs:
>
> ;; SERVER Download (MELPA):
> (when (>= emacs-major-version 24)
>   (require 'package)
>   (add-to-list
>    'package-archives
>    '("melpa" . "http://melpa.org/packages/")
>    t)
>   (package-initialize))
>
> to get connection to MELPA server.
>
> (2) Save .emacs and start Emacs again
> (3) Open OPTIONS—MANAGE EMACS PACKAGES
> (4) Install current auctex version
> (5) Restart Emacs
> (6) Get into context-mode (M-x context-mode)
> (7) Type M-x customize-variable RET ConTeXt-Mark-version RET
>
> +++
> If Emacs responds: Wrong type argument: symbolp, „string“ (that’s the bug)
> open context.el (somewhere in .emacs.d/(m)elpa/auctex-11.89.X) and
> replace line 501 (or nearby)
>
> :type "string"
>
> with
>
>     :type 'string
>
> and recompile the file with `M-x byte-compile file RET RET’.
> +++
>
> (8) Switch from Mark II to Mark IV
>
> Now, Emacs should generally provide support to ConTeXt Mark IV. To compile
> tex-files comfortable right out of Emacs via C-c C-c add:
>
> (9) (setenv "PATH" "/home/fab/tex/texmf-linux-64/bin/:$PATH" t) to your
> .emacs and
> (10) (setq ConTeXt-Mark-version "IV“) if you want
> (11) Save file and restart Emacs
> (12) Open a context file and try out
>
>
> ALOHA, tobber
>
>
>
>
>
>
>
> > Am 30.10.2016 um 13:30 schrieb Fabrice Couvreur <
> fabrice1.couvreur@gmail.com>:
> >
> > Hi Tobias,
> >
> > (2) Possible completions are:
> > ConTeXt-close-environment     ConTeXt-close-xml-tag
> > ConTeXt-environment     ConTeXt-etexshow
> > ConTeXt-find-matching-start     ConTeXt-find-matching-stop
> > ConTeXt-insert-item     ConTeXt-mark-environment
> > ConTeXt-mode     ConTeXt-mode-command-menu
> > ConTeXt-mode-menu     ConTeXt-section
> > ConTeXt-work-on-environment
> >
> > I added in .emacs
> >
> > (custom-set-variables
> >  '(ConTeXt-Mark-version "IV"))
> >
> > update auctex
> >
> > How ? Auctex installed with ELPA
> >
> > (setenv „PATH" „/home/fab/tex/texmf-linux-64/bin/:$PATH" t)
> >
> >  I do not understand this symbol „ and how to access
> >
> > Thanks
> > Fabrice
> >
> >
> > 2016-10-30 12:15 GMT+01:00 Tobias Berndt <tobiasberndt@arcor.de>:
> > @ Fabrice: If you’re working under a Linux, use „home“ instead of
> „Users“ (I’m under macOS, therefore I left „Users“) and forget about the
> add-to-list line. So:
> >
> > (1) M-x context-mode
> > (2) M-x ConTeXt-Mark-version (switch to mkIV)
> >
> > If there is no such command: update auctex; if this gives an error
> (there was/is a bug:) tell me and I’ll give you an instruction how to
> manipulate your context.el
> >
> > (3) Add to .emacs: (setenv „PATH“ „/home/fab/tex/texmf-linux-64/bin/:$PATH“
> t)
> > (4) ;; (add-to-list 'load-path "/home/fab/context/tex/texmf-
> linux-64/bin/context“)
> > (5) Restart Emacs
> >
> > C-c C-c should work, now.
> >
> >
> > ALOHA, tobber
> >
> >
> >
> >
> >
> >
> > > Am 29.10.2016 um 23:41 schrieb Fabrice Couvreur <
> fabrice1.couvreur@gmail.com>:
> > >
> > > Hi,
> > > @Tobias
> > >
> > > If I add this to my .emacs I get
> > >
> > > (setenv "PATH"/Users/fab/tex/texmf-linux-64/bin/ ":$PATH" t)
> > > (add-to-list 'load-path "/home/fab/context/tex/texmf-
> linux-64/bin/context")
> > >
> > > Warning (initialization): An error occurred while loading
> `/home/fab/.emacs':
> > >
> > > Symbol's value as variable is void: /Users/fab/tex/texmf-linux-64/bin
> > >
> > >
> > > @Michael
> > >
> > > fab@debian:~$ which context
> > > /home/fab/bin/context
> > > fab@debian:~$ source context/tex/setuptex
> > > Setting "/home/fab/context/tex" as ConTeXt root.
> > > fab@debian:~$ which context
> > > /home/fab/context/tex/texmf-linux-64/bin/context
> > > fab@debian:~$
> > >
> > > If I add this to my .emacs is always texlive 2016 is invoked when I
> compile
> > >
> > > (eval-after-load "tex"
> > > '(add-to-list 'TeX-command-list
> > >                 '("context"
> > >                  "(/home/fab/context)/setuptex&&context"
> > >                   TeX-run-TeX
> > >                   nil
> > >                   (context-mode)
> > >                   :help "Run ConTeXt") t))
> > >
> > >
> > > Thanks,
> > > Fabrice
> > >
> > >
> > > 2016-10-29 12:50 GMT+02:00 Michael Eidenbenz <eidenbenz@arch.ethz.ch>:
> > > sorry that should be:
> > >
> > > (path to textree)/setuptex && context .....
> > >
> > >
> > >>
> > >> cd (path to textree) && setuptex && context etc...
> > >
> > >
> > > ____________________________________________________________
> _______________________
> > > 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
> > > ____________________________________________________________
> _______________________
> >
> > ____________________________________________________________
> _______________________
> > 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
> > ____________________________________________________________
> _______________________
>
> ____________________________________________________________
> _______________________
> 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: 16715 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-31  9:04                     ` Fabrice Couvreur
@ 2016-10-31  9:18                       ` Peter Münster
  2016-10-31  9:37                         ` Fabrice Couvreur
  0 siblings, 1 reply; 25+ messages in thread
From: Peter Münster @ 2016-10-31  9:18 UTC (permalink / raw)
  To: ntg-context

On Mon, Oct 31 2016, Fabrice Couvreur wrote:

> it's always texlive context and not standalone.

What is the output of M-x getenv RET PATH RET ?

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-31  9:18                       ` Peter Münster
@ 2016-10-31  9:37                         ` Fabrice Couvreur
  2016-10-31 10:59                           ` Peter Münster
  0 siblings, 1 reply; 25+ messages in thread
From: Fabrice Couvreur @ 2016-10-31  9:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

/home/fab/context/tex/texmf-linux-64/bin/context:/home/fab/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/texmf/tex/latex/tex4ebook-master/tex4ebook:/home/fab/texlive/2016/bin/x86_64-linux

2016-10-31 10:18 GMT+01:00 Peter Münster <pmlists@free.fr>:

> On Mon, Oct 31 2016, Fabrice Couvreur wrote:
>
> > it's always texlive context and not standalone.
>
> What is the output of M-x getenv RET PATH RET ?
>
> --
>            Peter
> ____________________________________________________________
> _______________________
> 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: 1989 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-31  9:37                         ` Fabrice Couvreur
@ 2016-10-31 10:59                           ` Peter Münster
  2016-10-31 13:16                             ` Fabrice Couvreur
  0 siblings, 1 reply; 25+ messages in thread
From: Peter Münster @ 2016-10-31 10:59 UTC (permalink / raw)
  To: ntg-context

On Mon, Oct 31 2016, Fabrice Couvreur wrote:

> /home/fab/context/tex/texmf-linux-64/bin/context:...

Please replace this with /home/fab/context/tex/texmf-linux-64/bin:...

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-31 10:59                           ` Peter Münster
@ 2016-10-31 13:16                             ` Fabrice Couvreur
  2016-10-31 13:55                               ` Fabrice Couvreur
  0 siblings, 1 reply; 25+ messages in thread
From: Fabrice Couvreur @ 2016-10-31 13:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Peter,
It seems to work !
Thank you to Peter, Tobias, Michael and Mica for your help
Fabrice

2016-10-31 11:59 GMT+01:00 Peter Münster <pmlists@free.fr>:

> On Mon, Oct 31 2016, Fabrice Couvreur wrote:
>
> > /home/fab/context/tex/texmf-linux-64/bin/context:...
>
> Please replace this with /home/fab/context/tex/texmf-linux-64/bin:...
>
> --
>            Peter
> ____________________________________________________________
> _______________________
> 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: 2190 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-31 13:16                             ` Fabrice Couvreur
@ 2016-10-31 13:55                               ` Fabrice Couvreur
  2016-10-31 14:22                                 ` Peter Münster
  0 siblings, 1 reply; 25+ messages in thread
From: Fabrice Couvreur @ 2016-10-31 13:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Sorry, but I have one question: how to add the option -- purgeall ?
Fabrice

2016-10-31 14:16 GMT+01:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>:

> Hi Peter,
> It seems to work !
> Thank you to Peter, Tobias, Michael and Mica for your help
> Fabrice
>
> 2016-10-31 11:59 GMT+01:00 Peter Münster <pmlists@free.fr>:
>
>> On Mon, Oct 31 2016, Fabrice Couvreur wrote:
>>
>> > /home/fab/context/tex/texmf-linux-64/bin/context:...
>>
>> Please replace this with /home/fab/context/tex/texmf-linux-64/bin:...
>>
>> --
>>            Peter
>> ____________________________________________________________
>> _______________________
>> 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
>> ____________________________________________________________
>> _______________________
>>
>
>

[-- Attachment #1.2: Type: text/html, Size: 3272 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-31 13:55                               ` Fabrice Couvreur
@ 2016-10-31 14:22                                 ` Peter Münster
  2016-10-31 16:40                                   ` Fabrice Couvreur
  0 siblings, 1 reply; 25+ messages in thread
From: Peter Münster @ 2016-10-31 14:22 UTC (permalink / raw)
  To: ntg-context

On Mon, Oct 31 2016, Fabrice Couvreur wrote:

> how to add the option -- purgeall ?

(setq ConTeXt-mode-hook
      (lambda () (setq TeX-command-extra-options "--purgeall")))

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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Emacs24 + AucTeX + ConTeXt
  2016-10-31 14:22                                 ` Peter Münster
@ 2016-10-31 16:40                                   ` Fabrice Couvreur
  0 siblings, 0 replies; 25+ messages in thread
From: Fabrice Couvreur @ 2016-10-31 16:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Peter,
Thank you very much.

2016-10-31 15:22 GMT+01:00 Peter Münster <pmlists@free.fr>:

> On Mon, Oct 31 2016, Fabrice Couvreur wrote:
>
> > how to add the option -- purgeall ?
>
> (setq ConTeXt-mode-hook
>       (lambda () (setq TeX-command-extra-options "--purgeall")))
>
> --
>            Peter
> ____________________________________________________________
> _______________________
> 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: 1899 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2016-10-31 16:40 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-28 13:04 Emacs24 + AucTeX + ConTeXt 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
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

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).