![](https://secure.gravatar.com/avatar/db8fce79df04228e1dafdbf23f626cb2.jpg?s=120&d=mm&r=g)
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_an... -- gsm: +386 41 849 552 www: http://matija.suklje.name xmpp: matija.suklje@gabbler.org
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/db8fce79df04228e1dafdbf23f626cb2.jpg?s=120&d=mm&r=g)
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.suklje@gabbler.org
participants (2)
-
Matija Šuklje
-
Wolfgang Schuster