Question about <ulink url="&wiki-filepermissions; "> (and similar)

Micah J. Cowan micah at cowan.name
Wed Sep 13 20:29:14 UTC 2006


On Wed, Sep 13, 2006 at 09:54:14PM +0200, Milo Casagrande wrote:
> Il giorno mer, 13/09/2006 alle 11.21 -0700, Micah J. Cowan ha scritto:
> > I note that (for example) the en_GB version of the desktopguide
> > overwrites that entity with it's own value (which happens to be the
> > same). In fact, though the en version defines an entity reference for
> > global.ent, it never /uses/ it, so those values are never included.
> > 
> > If, instead of changing each occurance of &wiki-[whateverpage] to a
> > specific URI, you change/add an entity declaration for wiki-whateverpage
> > to be defined as that URI, then you only have to change it in one place.
> 
> This would mean inserting ono or more new entries in the global.ent file
> and sendig a patch.
> To the doc guys: can I do that? Creating a section for <!-- ITALIAN URL
> RESOURCES --> with new entity like "it-wiki-[whateverpage]" or is it too
> late for such a modification?

No, that's not what it means. It means adding

  <!ENTITY wiki-whateverpage "http://my.url.com/">

to the document's internal subset. See the en_GB version for an example
with wiki-filepermissions.

If you /did/ want them in a separate file (not a bad idea), you could
have a global-it.ent (or more appropriately, a local.ent within the it/
directory), which defines its own entities, and perhaps sources
global.ent for the rest (the first definition of a particular entity is
the binding one).

-- 
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/




More information about the ubuntu-doc mailing list