Discussion:
Help needed: How to display & print SGML files?
(too old to reply)
Franz Edler
2003-10-10 12:26:04 UTC
Permalink
Hello,

I have a bunch of documents with extension .sgml?
I am using Windows XP.
Is there any aplication which interprets SGML so that I can easy read &
print the documents?

regards
Franz
Terrence Enger
2003-10-10 19:47:44 UTC
Permalink
Post by Franz Edler
Hello,
Hello.
Post by Franz Edler
I have a bunch of documents with extension .sgml?
I am using Windows XP.
Is there any aplication which interprets SGML so that I can easy read &
print the documents?
Yes.

But (you know there was a "but" coming, didn't you?) SGML
can describe some vastly different kinds of documents. If
you tell us the first few lines of your document, especially
the line with "<!DOCTYPE" and the ones following it, we can
probably give you a more helpful answer.
Post by Franz Edler
regards
Franz
Terry.
Available for contract programming.
Franz Edler
2003-10-11 03:55:56 UTC
Permalink
Terry,
typically the first lines look like (2 examples follow):

example 1:
<!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" [

<!ENTITY user SYSTEM "rr_user.sgml">
<!ENTITY devel SYSTEM "rr_devel.sgml">
<!ENTITY faq SYSTEM "rr_faq.sgml">

example 2:
<!-- $Id: seruser.sgml,v 1.34 2003/06/03 02:43:24 jiri Exp $ -->
<!-- DOCTYPE Book SYSTEM "/usr/share/sgml/docbook/dtd-4.2/docbook.dtd"
[ -->
<!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [

<!ENTITY execexample SYSTEM "../../examples/exec.cfg">
<!ENTITY redirectexample SYSTEM "../../examples/redirect.cfg">
Franz
Post by Terrence Enger
Post by Franz Edler
Hello,
Hello.
Post by Franz Edler
I have a bunch of documents with extension .sgml?
I am using Windows XP.
Is there any aplication which interprets SGML so that I can easy read &
print the documents?
Yes.
But (you know there was a "but" coming, didn't you?) SGML
can describe some vastly different kinds of documents. If
you tell us the first few lines of your document, especially
the line with "<!DOCTYPE" and the ones following it, we can
probably give you a more helpful answer.
Post by Franz Edler
regards
Franz
Terry.
Available for contract programming.
Peter N. M. Hansteen
2003-10-11 11:28:37 UTC
Permalink
Post by Franz Edler
<!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" [
Ah, they are docbook books! The best kind :)

The canonical reference is at http://docbook.org, a brief presentation
of concepts with a few examples by yours truly can be found at
http://www.bgnett.no/~peter/docbook-presentation/book1.html (perhaps
the references at the end are the most useful parts), and a very
useful guide to installing and using various free software for SGML
and XML processing is at
http://ourworld.compuserve.com/homepages/hoenicka_markus/ntsgml.html

- P
--
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"
William F Hammond
2003-10-11 15:05:36 UTC
Permalink
Post by Peter N. M. Hansteen
Post by Franz Edler
<!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" [
Ah, they are docbook books! The best kind :)
The canonical reference is at http://docbook.org, a brief presentation
of concepts with a few examples by yours truly can be found at
http://www.bgnett.no/~peter/docbook-presentation/book1.html (perhaps
the references at the end are the most useful parts), and a very
useful guide to installing and using various free software for SGML
and XML processing is at
http://ourworld.compuserve.com/homepages/hoenicka_markus/ntsgml.html
That web site is for Windows only, I believe.

Many SGML tools are more or less native to Linux (i.e., out-of-the-box,
given proper attention at system installation).

I'm looking at the top of a manual page:

---
NAME
jw, docbook2dvi, docbook2html, docbook2man, docbook2pdf, docbook2ps,
docbook2rtf, docbook2tex, docbook2texi, docbook2txt - (Jade Wrapper)
converts SGML files to other formats
---

Indeed, I believe the jw [jade wrapper] suite is only for DocBook, but
since openjade and an XSLT engine are on board, all one needs to do
for a different document type is import appropriate stylesheets.

-- Bill
Peter N. M. Hansteen
2003-10-13 06:38:35 UTC
Permalink
Post by William F Hammond
Post by Peter N. M. Hansteen
http://ourworld.compuserve.com/homepages/hoenicka_markus/ntsgml.html
That web site is for Windows only, I believe.
OP said he was on Windows XP. People tend to be somewhat attached to
their platforms ;)
Post by William F Hammond
Many SGML tools are more or less native to Linux (i.e., out-of-the-box,
given proper attention at system installation).
Yes, all functional freenixes I've encountered either have the tools
installed by default or within easy reach in their packages collection.
--
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"
Loading...