[NTG-context] Modes in MkIV minimals (bug?)

2010-10-24 Thread Matija Šuklje
Hullo,


I'm working on my thesis (and it's pf_ul styling[1]) and I tried to include 
modes.

The thing is that modes seem to be set right and work when invoked in CLI 
(e.g. 'context --mode=osnutek,zaslon diplomska.tex', but ConteXt seems to 
completely igonore lines in text such as:

\enablemode[osnutek]

Is this a bug or am I doing something wrong?

I'm using minimals:
MTXrun | current version: 2010.06.18 11:26


Cheers,
Matija

P.S. Is ConTeXt (mkIV) in TexLive 2010 deemed as stable and usable?
-.-.-
[1] 
http://wiki.contextgarden.net/Law_Faculty_University_of_Ljubljana_Styling_and_citations
-- 
gsm:+386 41 849 552
www:http://matija.suklje.name
xmpp:   matija.suk...@gabbler.org


signature.asc
Description: This is a digitally signed message part.
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Modes in MkIV minimals (bug?)

2010-10-24 Thread Wolfgang Schuster

Am 24.10.2010 um 21:21 schrieb Matija Šuklje:

 Hullo,
 
 
 I'm working on my thesis (and it's pf_ul styling[1]) and I tried to include 
 modes.
 
 The thing is that modes seem to be set right and work when invoked in CLI 
 (e.g. 'context --mode=osnutek,zaslon diplomska.tex', but ConteXt seems to 
 completely igonore lines in text such as:
 
 \enablemode[osnutek]
 
 Is this a bug or am I doing something wrong?

Do you enable the mode before it is used or after it, e.g.

\enablemode[foo]
\startmode[foo]
...
\stopmode

use the content of the mode „foo“ while

\startmode[foo]
...
\stopmode
\enablemode[foo]

doesn’t use it because at the time the mode was called it was disabled and the 
\enablemode has therefore no effect because it’s calles to late.

If this doesn’t apply to you make a minimals example.

Wolfgang

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Modes in MkIV minimals (bug?)

2010-10-24 Thread Matija Šuklje
Dne nedelja 24. oktobra 2010 ob 21:27:58 je Wolfgang Schuster napisal(a):
 Do you enable the mode before it is used or after it, e.g.

That did it, thanks :)


Cheers,
Matija

-- 
gsm:+386 41 849 552
www:http://matija.suklje.name
xmpp:   matija.suk...@gabbler.org


signature.asc
Description: This is a digitally signed message part.
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___