ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Module documentation under MarkIV
@ 2008-01-06 17:55 Wolfgang Schuster
  2008-01-06 21:49 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2008-01-06 17:55 UTC (permalink / raw)
  To: ConTeXt

Hi,

the documentation module x-set-11 did currently not work work under
MarkIV, the entries from the xml-file are written as normal text in
the output and is not interpreted in xml mode.

\usemodule[set-11]\loadsetups

\starttext
\setup{setuplayout}
\stoptext

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Module documentation under MarkIV
  2008-01-06 17:55 Module documentation under MarkIV Wolfgang Schuster
@ 2008-01-06 21:49 ` Hans Hagen
  2008-01-07 16:14   ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2008-01-06 21:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:
> Hi,
> 
> the documentation module x-set-11 did currently not work work under
> MarkIV, the entries from the xml-file are written as normal text in
> the output and is not interpreted in xml mode.
> 
> \usemodule[set-11]\loadsetups
> 
> \starttext
> \setup{setuplayout}
> \stoptext

\usemodule[set-11]
\loadsetups[cont-en.xml]

\starttext
     \setup[setupframed]
\stoptext

there 's a buget in the xml serializer (in mkiv the xml file is loaded 
in the new structure, but entries are flushes and processed the mkii 
way; kind of messy, so some day i'll rewrite the whole module in mkiv; 
at least it's way faster now in mkiv than in mkii

(i can send you a patch off line)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Module documentation under MarkIV
  2008-01-06 21:49 ` Hans Hagen
@ 2008-01-07 16:14   ` Wolfgang Schuster
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2008-01-07 16:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Jan 6, 2008 10:49 PM, Hans Hagen <pragma@wxs.nl> wrote:
>
> Wolfgang Schuster wrote:
> > Hi,
> >
> > the documentation module x-set-11 did currently not work work under
> > MarkIV, the entries from the xml-file are written as normal text in
> > the output and is not interpreted in xml mode.
> >
> > \usemodule[set-11]\loadsetups
> >
> > \starttext
> > \setup{setuplayout}
> > \stoptext
>
> \usemodule[set-11]
> \loadsetups[cont-en.xml]
>
> \starttext
>      \setup[setupframed]
> \stoptext
>
> there 's a buget in the xml serializer (in mkiv the xml file is loaded
> in the new structure, but entries are flushes and processed the mkii
> way; kind of messy, so some day i'll rewrite the whole module in mkiv;
> at least it's way faster now in mkiv than in mkii

I use this method myself in a module, load the file in mkiv mode and
process it with mkii.

> (i can send you a patch off line)

This solve it but it wasn't so important, I just noticed it.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-01-07 16:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-06 17:55 Module documentation under MarkIV Wolfgang Schuster
2008-01-06 21:49 ` Hans Hagen
2008-01-07 16:14   ` Wolfgang Schuster

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