Re: [NTG-context] Question on enabling/disabling modes

2018-08-30 Thread Fabrice Couvreur
Hello Mikael, I read the documentation that I think I partly understood; I was really off topic. Fabrice Le mar. 28 août 2018 à 12:58, Mikael P. Sundqvist a écrit : > On Tue, Aug 28, 2018 at 11:59 AM Fabrice Couvreur < > fabrice1.couvr...@gmail.com> wrote: > >> Hi Mikael, >> I suppose the files

Re: [NTG-context] Question on enabling/disabling modes

2018-08-28 Thread Mikael P. Sundqvist
On Tue, Aug 28, 2018 at 11:59 AM Fabrice Couvreur < fabrice1.couvr...@gmail.com> wrote: > Hi Mikael, > I suppose the files test1 and test2 have a special structure ? > > %%% file.tex > \doifnotmode{test1}{\enablemode[test1,test2]} > \starttext > \startmode[test1,all] > We are in mode test1. >

Re: [NTG-context] Question on enabling/disabling modes

2018-08-28 Thread Fabrice Couvreur
Hi Mikael, I suppose the files test1 and test2 have a special structure ? %%% file.tex \doifnotmode{test1}{\enablemode[test1,test2]} \starttext \startmode[test1,all] We are in mode test1. \stopmode \startmode[test2,all] We are in mode test2. \stopmode \stoptext %%% %%% test1.tex %%% %%%

Re: [NTG-context] Question on enabling/disabling modes

2018-08-28 Thread Mikael P. Sundqvist
On Tue, Aug 28, 2018 at 10:54 AM Fabrice Couvreur < fabrice1.couvr...@gmail.com> wrote: > Hi Mikael, > I do not know this way yet. Can you attach a complete example ? > Regards, > Fabrice > > Le lun. 27 août 2018 à 20:47, Henning Hraban Ramm a > écrit : > >> Am 2018-08-27 um 16:37 schrieb Mikael

Re: [NTG-context] Question on enabling/disabling modes

2018-08-28 Thread Fabrice Couvreur
Hi Mikael, I do not know this way yet. Can you attach a complete example ? Regards, Fabrice Le lun. 27 août 2018 à 20:47, Henning Hraban Ramm a écrit : > Am 2018-08-27 um 16:37 schrieb Mikael P. Sundqvist : > > > > On 27 Aug 2018, at 14:14, Mikael P. Sundqvist > wrote: > > > > > > Hi! > > > >

Re: [NTG-context] Question on enabling/disabling modes

2018-08-27 Thread Henning Hraban Ramm
Am 2018-08-27 um 16:37 schrieb Mikael P. Sundqvist : > > On 27 Aug 2018, at 14:14, Mikael P. Sundqvist wrote: > > > > Hi! > > > > I am writing notes for my teaching and would like to do the following with > > modes: > > > > * If the file is compiled with context file.tex then everything

Re: [NTG-context] Question on enabling/disabling modes

2018-08-27 Thread Mikael P. Sundqvist
On Mon, Aug 27, 2018 at 3:17 PM Taco Hoekwater wrote: > > > > On 27 Aug 2018, at 14:14, Mikael P. Sundqvist wrote: > > > > Hi! > > > > I am writing notes for my teaching and would like to do the following > with modes: > > > > * If the file is compiled with context file.tex then everything

Re: [NTG-context] Question on enabling/disabling modes

2018-08-27 Thread Taco Hoekwater
> On 27 Aug 2018, at 14:14, Mikael P. Sundqvist wrote: > > Hi! > > I am writing notes for my teaching and would like to do the following with > modes: > > * If the file is compiled with context file.tex then everything (i.e. the > content in all modes) is typeset. > * If the file is