public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: tei-lite DTD?
  2000-12-27  6:36 ` Mark Galassi
@ 2000-12-27  6:36   ` Jonathan F. Dill
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan F. Dill @ 2000-12-27  6:36 UTC (permalink / raw)
  To: Mark Galassi; +Cc: docbook-tools

Mark Galassi wrote:
> 
>     Jonathan> Hi everybody, Is there anyone out there using the TEI
>     Jonathan> tei-lite DTD?  I'm trying to make it work with all of
>     Jonathan> the bits and pieces that I already have from
>     Jonathan> docbook-tools.  Perhaps instead I should ask on the TEI
>     Jonathan> mailing list if anyone is using docbook-tools.
> 
> :-) Maybe.  I would suggest that for now you use "jade" (from our
> distribution) with its own flags to point to your DTD and stylesheets.

OK   Thanks for thinking about it.  I tried using the system from
tei-dsl.961210.tar.gz which should be self-contained as it includes the
ISO entities it needs, dsssl.dtd, fot.dtd, catalog etc. using the TEI
User's Manual teiu5.sgm as a test case.  The stylesheets appear to be
originally writen by Richard Light, possibly last touched by Jon Bosak,
but the whole TEI project is "in transition."  I found some messages in
list archives on Mulberry tech along the lines, "Yes, I had this problem
with TEI-lite" but no mention of a solution.  I downloaded another copy
of the stylesheet and DTD from the Oxford site and had no better luck
with that.  I think there may be some case-sensitive type problems in
the stylesheet which appears to have come originally from a
case-insensitive OS like Windows9X.

Most of the TEI SGML stuff appears to have been collecting dust since
about 1996-1997, and meanwhile, there is a flurry of activity around the
TEI XML DTD.

Is there a method for generating a document instance from XML source
that is analogous to using jade to generate a document instance from
SGML source?  I guess I'll give jade a try and see if it can handle xml.
In particular, I need tools that compile and run on Linux.

I suppose next I'll see what I can find out from the DSSSL list on
Mulberry tech.

I have no problems writing valid markup.  I have no problems grasping
how wonderful is the promise of SGML/XML.  It seems to me about 99% of
the pages I find on the web about SGML and XML are either explaining how
to mark things up correctly, or talking about how wonderful SGML and XML
are, and maybe a scant 1% actually deals with the very practical details
of getting a document instance, and what to do if you have a problem.

% jade -c catalog -d tei-dem.dsl -t rtf -o teiu5.rtf teiu5.sgm
jade:tei-dem.dsl:6:33:E: document type does not allow element
"STYLE-SPECIFICATION" here; assuming missing "STYLE-SHEET" start-tag
jade:tei-dem.dsl:8:0:E: character data is not allowed here
jade:tei-dem.dsl:26:53:E: document type does not allow element
"EXTERNAL-SPECIFICATION" here
jade:tei-dem.dsl:26:55:E: "STYLE-SPECIFICATION" not finished but
document ended
jade:tei-dem.dsl:26:55:E: end tag for "STYLE-SPECIFICATION" omitted, but
OMITTAG NO was specified
jade:tei-dem.dsl:6:0: start tag was here
jade:tei-dem.dsl:26:55:E: end tag for "STYLE-SHEET" omitted, but OMITTAG
NO was specified
jade:tei-dem.dsl:6:0: start tag was here
jade:E: specification document does not have the DSSSL architecture as a
base architecture

I put in the missing tags in tei-dem.dsl, which is the customization
stylesheet which invokes tei-lite.dsl, but I was still left with:

jade:E: specification document does not have the DSSSL architecture as a
base architecture

and an RTF document that consists of all of the words run together in
huge paragraphs without any real formatting.

> I agree that DocBook would not do well for that, and it would violate
> the spirit of SGML.
> 
> I think tha the DocBook tools project should consider this issue (of
> DTDs for non-technical use) because it would be nice for people to use
> the same tools and types of scripts for DocBook and for
> poetry/fiction/whatever
> 
> Does anyone (Norm?) know much about these more "casual" DTDs?

-- 
"Jonathan F. Dill" (jfdill@jfdill.suite.net)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* tei-lite DTD?
@ 2000-12-27  6:36 Jonathan F. Dill
  2000-12-27  6:36 ` Mark Galassi
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan F. Dill @ 2000-12-27  6:36 UTC (permalink / raw)
  To: docbook-tools

Hi everybody,

Is there anyone out there using the TEI tei-lite DTD?  I'm trying to
make it work with all of the bits and pieces that I already have from
docbook-tools.  Perhaps instead I should ask on the TEI mailing list if
anyone is using docbook-tools.

I downloaded the tei-lite DTD and Richard Light's tei-lite stylesheets,
but I'm having trouble getting it to work.  I found that some tags were
missing in the stylesheets, like <style-sheet> and
<style-specification-body>, so it would be no surprize if there were
other omissions or errors.

I want to mark up short stories, novels, poems, essays.  I suppose I
could hack DocBook to leave out section headers and other unwanted
items, but that isn't really "kosher" and DocBook does not have some of
the features that I would want, especially for marking up poetry.

If anyone knows of another DTD and stylesheets for works of fiction, I'm
open to giving it a try.  I'm learning, but it would be way out of my
depth to try to build my own DTD.

-- 
"Jonathan F. Dill" (jfdill@jfdill.suite.net)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tei-lite DTD?
  2000-12-27  6:36 tei-lite DTD? Jonathan F. Dill
@ 2000-12-27  6:36 ` Mark Galassi
  2000-12-27  6:36   ` Jonathan F. Dill
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Galassi @ 2000-12-27  6:36 UTC (permalink / raw)
  To: Jonathan F. Dill; +Cc: docbook-tools

    Jonathan> Hi everybody, Is there anyone out there using the TEI
    Jonathan> tei-lite DTD?  I'm trying to make it work with all of
    Jonathan> the bits and pieces that I already have from
    Jonathan> docbook-tools.  Perhaps instead I should ask on the TEI
    Jonathan> mailing list if anyone is using docbook-tools.

:-) Maybe.  I would suggest that for now you use "jade" (from our
distribution) with its own flags to point to your DTD and stylesheets.

    Jonathan> I want to mark up short stories, novels, poems, essays.
    Jonathan> I suppose I could hack DocBook to leave out section
    Jonathan> headers and other unwanted items, but that isn't really
    Jonathan> "kosher" and DocBook does not have some of the features
    Jonathan> that I would want, especially for marking up poetry.

I agree that DocBook would not do well for that, and it would violate
the spirit of SGML.

I think tha the DocBook tools project should consider this issue (of
DTDs for non-technical use) because it would be nice for people to use
the same tools and types of scripts for DocBook and for
poetry/fiction/whatever

Does anyone (Norm?) know much about these more "casual" DTDs?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-12-27  6:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-27  6:36 tei-lite DTD? Jonathan F. Dill
2000-12-27  6:36 ` Mark Galassi
2000-12-27  6:36   ` Jonathan F. Dill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).