|Jorge Godoy||Jan 26, 2000 8:16 am|
|Norman Walsh||Jan 26, 2000 12:59 pm|
|Stephane Bortzmeyer||Jan 27, 2000 5:37 am|
|Jorge Godoy||Jan 27, 2000 5:40 am|
|Stephane Bortzmeyer||Jan 28, 2000 4:34 am|
|Norman Walsh||Jan 28, 2000 6:46 am|
|Norman Walsh||Jan 28, 2000 6:47 am|
|Jorge Godoy||Jan 28, 2000 10:17 am|
|Camille Begnis||Jan 28, 2000 12:14 pm|
|Norman Walsh||Jan 29, 2000 9:44 am|
|Norman Walsh||Feb 1, 2000 8:15 am|
|Norman Walsh||Feb 1, 2000 2:53 pm|
|Dave Pawson||Feb 4, 2000 9:23 am|
|Adam Di Carlo||Mar 28, 2000 6:52 am|
|Subject:||Re: DOCBOOK: Glossary database|
|From:||Jorge Godoy (god...@conectiva.com.br)|
|Date:||Jan 28, 2000 10:17:33 am|
On Fri, Jan 28, 2000 at 09:30:39AM -0500, Norman Walsh wrote:
/ Jorge Godoy <god...@conectiva.com.br> was heard to say: | On Wed, Jan 26, 2000 at 03:53:15PM -0500, Norman Walsh wrote: | > There's code in the DSSSL stylesheets to support doing this with | > bibliographys. Adapting it to glossarys doesn't seem impossible. | | Where can I look for them? I'm not (yet) a DSSSL hacker, but I'm
Look in the dbbibl.dsl file in the DocBook stylesheet distribution. The relevant condition is biblio-filter-used.
| studying it a little. The problem is that I couldn't find a list of | valid DSSSL "commands". It's something like using only what I've seen | around and doing nothing more than what was already done. :-(
The spec is online at ftp://ftp.ornl.gov/pub/sgml/WG8/DSSSL/
I'll look at them. Thanks again.
| > | How would I markup which glossterms are needed, if it's possible? | > | > Use <glossterm> to surround the terms in your document. | | I thought about that. :-) That was what I was doing (if it wasn't the | correct way, it would be easier to change it to something else).
BTW, I toyed with implementing this and decided it was a bit more difficult than Bibliographies. The problem is that glossterms don't always point to the definition, so you'd have to do all sorts of string comparisons. Might be rather expensive.
If you're writing in XML, I'd be tempted to make an external tool that read your source document and your glossary database and built the appropriate glossary. So you wouldn't have to make the stylesheets calculate it every time.
(You could do this if you're working in SGML, too, but parsing the source documents wouldn't be as easy (or robust).)
Are you saying that it's better to work with XML than SGML? What string comparisons are you talking about? Uppercase and lowercase? Isn't it possible to implement an option such as the "-i" from grep that ignores the case? Or using some function that lowercases everything?
If you make the XML tool I might try to use it in SGML.
I've read some articles comparing SGML and XML, but I always thought that SGML was better than XML. Am I wrong? Are the DTD's equivalents or I'll miss something migrating from SGML to XML?
-- Godoy. <god...@conectiva.com.br> GPG Fingerprint 851B B620 626D 2AD0 E783 "Ser poeta não é minha ambição, E932 1330 BE6D A4A3 0625 é minha maneira de estar sozinho" - Fernando Pessoa. Publicações @ Conectiva S.A.
Except where explicitly stated I speak on my own behalf. Exceto onde explicitado as declarações aqui feitas são apenas minhas.