[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: Newbie - How to include entities?
"Ide, Jim" <jide@lgb-inc.com> wrote > 1. The john, paul, george, and ringo entities are used throughout > the chap1, chap2, and chap3 files. I would like to keep the john, > paul, george, and ringo entities (plus many others) in a separate > file and include them. Can I do this? How? Try making the file, let's call it myentities.ent, and use <!DOCTYPE book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [ <!ENTITY % myents SYSTEM "myentities.ent"> %myents; ]> Then consider switching to version 4.1 of DocBook ;-) > Is it possible to create an entity or macro where I can substitute > the % (or some other symbol) with a parameter? Nope! Hope this helps. Best regards Rune Enggaard
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC