On 12/15/2012 5:07 PM, Thomas A. Schmitz wrote:
Hi all,
small remark first: archive.contextgarden.net has been down for a few days now; I suppose because of the new server?
And now for the overly broad question: I'm embarking on what could become a long project. One part of it is typesetting a book (with many graphics). On the one hand, it would be wonderful to use the project structure and break it down into several components to make things manageable. On the other hand, it would be great to code in xml (because I might want to publish this as a website too). can these things be combined? Does the xml engine handle xinclude (or could this be added to it)? Or would another approach be better? Thanks for your insights!
Using xml sounds ok to me (esp as you know how to do it) ... with xinclude you mean combining multiple files into one? It's what we do in all xml related projects here. There is actually an \xmlinclude command \xmlinclude{main}{include}{filename|href|name} this will include from elements with tags 'include' and one of the attributes mentioned. Do this as one of the first steps as it merges xml trees. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------