SGML: psgml-dsssl.el: generate skeleton DSSSL style specs

SGML: psgml-dsssl.el: generate skeleton DSSSL style specs


Subject: psgml-dsssl.el: generate skeleton DSSSL style specs
Date: 16 Oct 1996 07:32:16 -0400
From: David Megginson <dmeggins@uottawa.ca>
Newsgroup: comp.text.sgml
------------------------------------------------------------------------- For people who create SGML documents using the free psgml editor under Gnu Emacs, I have uploaded a copy of a small utility to my personal http directory. You will find it at http://www.uottawa.ca/~dmeggins/psgml-dsssl.el [above address obsolete; see now: http://home.sprynet.com/sprynet/dmeggins/software.html This is tested under PSGML 1a12, but may run under earlier versions. When you have an SGML document loaded into a psgml buffer and type M-x sgml-dsssl-make-spec a skeleton DSSSL style spec will appear in the temporary buffer "*DSSSL*" containing element-constuction rules for all of the elements which _could_ appear in the current document, whether they actually appear or not (actually, I think that I miss inclusions, but you shouldn't use those anyway :-). The software tries to make intelligent choices about the default flow-object class for each rule, considering the context where the element appears and its content. You may consider this either alpha software or a prototype, depending on your preferences. Enjoy. David -- David Megginson ak117@freenet.carleton.ca Microstar Software Ltd. dmeggins@microstar.com University of Ottawa dmeggins@uottawa.ca http://www.uottawa.ca/~dmeggins ------------------------------------------------------------------------ Subject: New version of psgml-dsssl.el
Date: 19 Oct 1996 13:30:38 -0400
From: David Megginson <dmeggins@uottawa.ca>
I have placed a new version of psgml-dsssl.el on my web site -- the only change is an increase in the value of max-lisp-eval-depth so that complex DTDs like DocBook will not produce an error. You can find the new version at the URL http://www.uottawa.ca/~dmeggins/psgml-dsssl.el [Now (1997-11-13): http://home.sprynet.com/sprynet/dmeggins/psgml-dsssl.el As I mentioned in my earlier posting, this small package works together with the PSGML editor in XEmacs or Gnu Emacs to produce a skeleton DSSSL style spec automatically for the current document's DTD. It is already somewhat configurable, but I will be happy to consider requests for changes or improvements. All the best, David