* DocBook and Context? @ 1999-06-29 15:23 Piotr Kopszak 1999-06-30 7:28 ` Hans Hagen 1999-06-30 9:30 ` Taco Hoekwater 0 siblings, 2 replies; 6+ messages in thread From: Piotr Kopszak @ 1999-06-29 15:23 UTC (permalink / raw) Dzien Dobry, I only discovered Context about a week ago and am pretty amazed especially by the interactive part of it. I prepare museum catalogues on CD-ROMs and started to contemplate the idea of making the next one with the use of Context. The problem is I have to feed it with DocBook (modified) text. Has anyone got any experiences with formatting DocBook with Context? Best wishes Piotr Kopszak Polish Art Gallery National Museum in Warsaw ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DocBook and Context? 1999-06-29 15:23 DocBook and Context? Piotr Kopszak @ 1999-06-30 7:28 ` Hans Hagen [not found] ` <377A38D6.BC29CD0F@mnw.art.pl> 1999-06-30 9:30 ` Taco Hoekwater 1 sibling, 1 reply; 6+ messages in thread From: Hans Hagen @ 1999-06-30 7:28 UTC (permalink / raw) Cc: ntg-context Piotr Kopszak wrote: > (modified) text. Has anyone got any experiences with formatting DocBook > with Context? You mean sgml input? 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <377A38D6.BC29CD0F@mnw.art.pl>]
* Re: DocBook and Context? [not found] ` <377A38D6.BC29CD0F@mnw.art.pl> @ 1999-06-30 16:15 ` Hans Hagen 1999-07-01 7:57 ` Matthew Baker 0 siblings, 1 reply; 6+ messages in thread From: Hans Hagen @ 1999-06-30 16:15 UTC (permalink / raw) Piotr Kopszak wrote: > > You mean sgml input? > > Yes, exactly. At least, the biggest part of it would be sgml. One way to go is converting sgml into something tex, as Taco already mentioned. I've got some experimental stuff running here, but currently lack the time to make a decent module of it. I'll send you a perl script that I use for converting. If the output is reasonable, you have a starting point. The module (which I need to have finished before eurotex anyway) deals with those macros. It's a matter of mapping. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DocBook and Context? 1999-06-30 16:15 ` Hans Hagen @ 1999-07-01 7:57 ` Matthew Baker 1999-07-01 10:53 ` Hans Hagen 0 siblings, 1 reply; 6+ messages in thread From: Matthew Baker @ 1999-07-01 7:57 UTC (permalink / raw) On Wed, 30 Jun 1999, Hans Hagen wrote: > Piotr Kopszak wrote: > > > > You mean sgml input? > > > > Yes, exactly. At least, the biggest part of it would be sgml. > > One way to go is converting sgml into something tex, as Taco already > mentioned. I've got some experimental stuff running here, but currently > lack the time to make a decent module of it. I'll send you a perl script > that I use for converting. If the output is reasonable, you have a > starting point. The module (which I need to have finished before eurotex > anyway) deals with those macros. It's a matter of mapping. I'd have thought it would be more than just mapping because SGML structure is so different from TeX. There's also the possibility of using DSSSL and parsing it and the SGML with Jade or something similar. Jade already has a TeX module but the TeX it outputs is JadeTeX, a TeX format especially for this purpose. It basically shifts the responsibility of restructuring things to TeX, rather than Jade. Actually, I looked into all this before discovering ConTeXt. My conclusion was that for anything reasonably complex, the TeX version invariably comes out not looking very good because by design SGML doesn't let you do low-level formatting. You would have to write a very good DSSSL for it to look good. Plus the JadeTeX macros are pretty low-level so I found myself having to rewrite from scratch in DSSSL things that LaTeX (and also ConTeXt) already have, like itemize environments and stuff. Figures alongside text and also tables make things hard too because the SGML and HTML way of doing these things is structured a lot differently from the TeX way. My ultimate decision was that these complex documents look better online as PDF than HTML anyway so I gave up on SGML. Still, I think there are some good things that can be gained with SGML support. For example, kOffice plans to store everything as SGML. Database companies like Oracle are planning to use SGML. SGML support in ConTeXt would mean being able to use ConTeXt to typeset database output, spreadsheet output, word processor output, etc. That would be nice :) Plus, with SGML support automatically comes HTML support. Then we could typeset HTML pages! And, of course, there's DocBook. Where did all that come from. I must have too little to do today... - Matthew -- Dr. Matthew Baker matthew.baker@gmd.de GMD - FIT.MMK http://fit.gmd.de/hci/pages/matthew.baker.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DocBook and Context? 1999-07-01 7:57 ` Matthew Baker @ 1999-07-01 10:53 ` Hans Hagen 0 siblings, 0 replies; 6+ messages in thread From: Hans Hagen @ 1999-07-01 10:53 UTC (permalink / raw) Cc: Context List Matthew Baker wrote: > I'd have thought it would be more than just mapping because SGML structure > is so different from TeX. > > There's also the possibility of using DSSSL and parsing it and the SGML > with Jade or something similar. Jade already has a TeX module but the TeX > it outputs is JadeTeX, a TeX format especially for this purpose. It > basically shifts the responsibility of restructuring things to TeX, rather > than Jade. I've looked into that and rejected it for the moment. Actually the manipulation part of jade is ok, but the typesetting part is disappointing (and sort of useless). > Actually, I looked into all this before discovering ConTeXt. My > conclusion was that for anything reasonably complex, the TeX version > invariably comes out not looking very good because by design SGML doesn't > let you do low-level formatting. You would have to write a very good Indeed. A strange mix between structure and typesetting, with typesetting going back to teletype times. > Still, I think there are some good things that can be gained with SGML > support. For example, kOffice plans to store everything as SGML. > Database companies like Oracle are planning to use SGML. SGML support in > ConTeXt would mean being able to use ConTeXt to typeset database output, > spreadsheet output, word processor output, etc. That would be nice :) > Plus, with SGML support automatically comes HTML support. Then we could > typeset HTML pages! Sure. Actually I have a manipulation framework already. Did you pick up the maps bibliography from our site? The source is coded in xml and the records are manipulated by context. The manipulation stuff is still undocumented. The nice thing is that context has quite some manipulative things built in (many unknown to probably many reading this). So, in principle I just have to build an interface. Because we currently are not involved in SGML projects (that is, not in processing them ourselves) the motivation for finishing the module is a bit low -) Concerning database output: we've done that often, even dbase ascii output directly interpretated by tex (some 30K records nicely formatted and crosslinked, an old project, pdf version 1.1 stuff with hundreds of thousands of links, just another of our demo projects). 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DocBook and Context? 1999-06-29 15:23 DocBook and Context? Piotr Kopszak 1999-06-30 7:28 ` Hans Hagen @ 1999-06-30 9:30 ` Taco Hoekwater 1 sibling, 0 replies; 6+ messages in thread From: Taco Hoekwater @ 1999-06-30 9:30 UTC (permalink / raw) Cc: ntg-context >>>>> "Piotr" == Piotr Kopszak <kopszak@mnw.art.pl> writes: Piotr> Dzien Dobry, I only discovered Context about a week ago and Piotr> am pretty amazed especially by the interactive part of Piotr> it. I prepare museum catalogues on CD-ROMs and started to Piotr> contemplate the idea of making the next one with the use of Piotr> Context. The problem is I have to feed it with DocBook Piotr> (modified) text. Has anyone got any experiences with Piotr> formatting DocBook with Context? Not that I know of. But if you can fixup the SGML into something any TeX understands, you are surely halfway done. Taco ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-07-01 10:53 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 1999-06-29 15:23 DocBook and Context? Piotr Kopszak 1999-06-30 7:28 ` Hans Hagen [not found] ` <377A38D6.BC29CD0F@mnw.art.pl> 1999-06-30 16:15 ` Hans Hagen 1999-07-01 7:57 ` Matthew Baker 1999-07-01 10:53 ` Hans Hagen 1999-06-30 9:30 ` Taco Hoekwater
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).