SGML-Tools Question - anybody using other DTDs?

SGML-Tools Question - anybody using other DTDs?

Post by Mark Dob » Sat, 15 Feb 1997 04:00:00



Hi,

I've been looking at SGML-Tools for a while (ages actually) and I'm
wondering how easy it is to use the package with a different DTD.

Basically I want to write documents for which I want to use a specially
designed DTD. As well as defining the DTD I would need to supply the
code that converts elements of the DTD into the various output elements.

Has anybody tried doing this sort of thing with the SGML-Tools package?
Is it easy or is the package more or less hardwired to the DTD it uses?

Thanks for any experiences,

                                Mark

 
 
 

SGML-Tools Question - anybody using other DTDs?

Post by Lars Doell » Mon, 17 Feb 1997 04:00:00



> Hi,

> I've been looking at SGML-Tools for a while (ages actually) and I'm
> wondering how easy it is to use the package with a different DTD.

> Basically I want to write documents for which I want to use a specially
> designed DTD. As well as defining the DTD I would need to supply the
> code that converts elements of the DTD into the various output elements.

> Has anybody tried doing this sort of thing with the SGML-Tools package?
> Is it easy or is the package more or less hardwired to the DTD it uses?

> Thanks for any experiences,

>                                 Mark

First of all, you may like to have a look on

- <http://www.sil.org/sgml/sgml.html>

To your question:

"Hmmm... on closer examination, this (the sgml-tools, LD) is something
of a hack.
They hacked the DTD, hacked the down-translators, etc. I like the idea
of using a LaTeX-like DTD, but I think I'll wait till this matures a
little more."
(See <http://www.w3.org/pub/WWW/MarkUp/SGML>. Thats my opinion, too)

Ok, so the answer is yes and no. It just depends what your' going to do.
SGML just defines a syntax (for HTML for example). If you what to add
semantic
for it you need another program (a DSSSL interpreter), that does the
translation
of a SGML derivation tree to some form that can be used by a typesetting
machine
or program.

sgml-tools (former: linux-doc) does not have a DSSSL-interpreter and
there is no
free one out yet (but - wait 1 or 2 month, someone is nearly thru with
one).

Instead it uses a much poorer tool, which only allows very simple
transformation.
And thats the answer: If you want to add simple changes to the
linux-doc-dtd,
just go ahead, it's simple. You may also define complete new dtd and
also may
have good times with it.

You cannot do any transformation with it that requires to rotate, copy
or transform
the sgml tree in any form. Attributes of a node are only available at
the beginning
of a pre-order-traversion of the tree.

 
 
 

SGML-Tools Question - anybody using other DTDs?

Post by shend.. » Mon, 24 Feb 1997 04:00:00



>Hi,
>I've been looking at SGML-Tools for a while (ages actually) and I'm
>wondering how easy it is to use the package with a different DTD.
>Has anybody tried doing this sort of thing with the SGML-Tools package?
>Is it easy or is the package more or less hardwired to the DTD it uses?

I'm using it at home and at work.  Mostly I use the linuxdoc.dtd because
it is a slight improvement over qwertz.  You can use any dtd with sgml-tools
I would imagine.

I will not that qwertz.dtd did not work.  sgml-tools said it had errors
and duplicate entities (which it didn't).

I've written simple dtd's and they seemed to work with sgml-tools.

--

----------------------------------------------------------------------
"An Irishman is never drunk as long as he can hold onto one blade
of grass and not fall off the face of the earth."

 
 
 

1. sgml-tools compile pblm

Hi Gang
I'm trying to install the sgml-tools but I seem to be  caught in the
package dependency infinite loop.....
Here's the  error:

Compiling the SGML parsing tools (in sgmls-1.1/)...
make: `config.h' is up to date.
make: Nothing to be done for `all'.
Compiling HTML conversion tools (in html-fix/)...
gcc -O -s -o fixref fixref.c -lfl
/usr/lib/libfl.a(libmain.o): In function `main':
libmain.o(.text+0x5): undefined reference to `yylex'
make: *** [fixref] Error 1
make failed

So I've been searching the four corners for yylex but I don't know where
else to look :(
TIA
Andy

2. CDE man page bug for DtWsmGetCurrentBackdropWindow

3. state of SGML-tools wrt HOWTOs ?

4. DSO vs CORE for newbies

5. WWW: New SGML-Tools homepage

6. MIT

7. SGML-Tools URL

8. getpwd (getting pwd)

9. Has anybody used a dynamic DNS tool with RP-PPPoE.

10. solbook, sgml and /usr/lib/sgml/sgml2roff

11. sgml tools and gnome

12. sgml tools