Subject: Re: Using AbiWord as WYISYG editor for SGML? (DocBook or LinuxDoc)
From: Randy Kramer (rhkramer@fast.net)
Date: Wed Oct 11 2000 - 14:42:37 CDT
Sam,
Yes, you're right, I was confusing DocBook with SGML.
Then what I'd like to do is use AbiWord as a WYISWYG DocBook editor.
Thanks!
Randy Kramer
sam th wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 11 Oct 2000, Randy Kramer wrote:
>
> > I understand your point that SGML does not define how it looks. Given
> > that, I would then ask, why can't I have something that is approximately
> > WYSIWYG. In other words, SGML (I think) can say this is a section
> > heading, this is a footnote, this is plain text, this is a top level
> > section, this is a lower level section, this is a table, etc. Now,
> > display those things in a generic way (a top level section in 16 pt.
> > bold, all caps, underlined, the next level down, 14 pt. bold, mixed
> > case, etc.)
> >
>
> I think you are confusing DocBook (which is the SGML format used by
> LDP) with SGML in general. SGML does not have the kind of sections you
> describe, it doesn't have any particular kind of sections at all. The
> following is part of an XSLT document, which is valid SGML.
>
> <xsl:template match="/">
> <!-- start with the root -->
> <xsl:apply-templates select="//row[@iParentID=0]"/>
> </xsl:template>
>
> <xsl:template match="row">
> <xsl:param name="indent"/>
> <xsl:value-of select="$indent"/><xsl:value-of select="@ItemID"/><br/>
> <xsl:apply-templates select="key('rowstruct', @ItemID)">
> <xsl:with-param name="indent" select="concat($indent, $nbsp)"/>
> </xsl:apply-templates>
> </xsl:template>
>
> How would you display that as WYSIWIG? It's a programming language.
>
>
> sam th
> sam@uchicago.edu
> http://www.abisource.com/~sam/
> GnuPG Key:
> http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xCABD33FC
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.1 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE55MGzt+kM0Mq9M/wRAm5AAJ9DSE3a2oq0tK0Qez9AJRt8MRpncwCgp/2W
> sn50WYJ0ppsh163A8DqVm3A=
> =ZcKx
> -----END PGP SIGNATURE-----
This archive was generated by hypermail 2b25 : Wed Oct 11 2000 - 14:46:20 CDT