🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.sgml
Article #740

Re: Psgml and ECAT

#740
From: Viktor Haag
Date: Wed, 28 Apr 1999 00:00
46 lines
2476 bytes
Viktor Haag <vhaag@rim.net> writes:

D'OH!!

[snip]

> * In your .emacs, where you have your SGML config, you'll want
>   something like this form:
> 
>         (add-hook 'sgml-mode-hook
>                 (function
>                  (lambda ()
>                   "Config stuff for sgml mode."
>                   (setq sgml-catalog-files
>                     (list
>                      (expand-file-name "/mySGMLpath/catalog")))
>                   (setq sgml-ecat-files
>                     (list
                      (expand-file-name "/mySGMLpath/ecatalog"))))))
                                                                 ^^^
Might want to properly close up this form instead of merely
yanking the partial copy out of my .emacs.

[snip]

> Notice also that, as far as I can tell, if you make changes to
> the original DTD, and then load an instance, PSGL mode will
> notice that the compiled file is out of date, and will ask you if
> you want a recompile. However this check will *only* happen if
> you *already parsed an instances header file*. If so, you'll need
> to kill the buffer, reload the instance file, and reparse the
> header. Then PSGML will notice the dependency...

Sigh -- that should read "However, this check will *not* happen
if you already parsed an instance's prolog. If so, you'll need to
kill the buffer, reload the instance file, and reparse the
prolog. Then PSGML will notice the dependency.

You'd think that, having sat down to right this damn long post, I
could at least get the details correct. And me being a
tech-writer too. Time to go home, I guess...

-- 
Viktor Haag                          Senior Technical Writer, RIM
"Unix and C are the ultimate computer viruses." -- Richard Gabriel
My opinions are my own, only.
Technical Details
Message-ID: <wk4sm0bgzl.fsf@rim.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7g7lnk$l15$1@nnrp1.dejanews.com> <wk90bcbiah.fsf@rim.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa82c,8efbbedde372ba6e
X-Google-Attributes: gidfa82c,public
X-Google-Thread: 102b9a,e414c2003a82bdac
X-Google-Attributes: gid102b9a,public
X-Google-Thread: 103b8b,e414c2003a82bdac
X-Google-Attributes: gid103b8b,public
From: Viktor Haag <vhaag@rim.net>
Subject: Re: Psgml and ECAT
Date: 1999/04/28
Message-ID: <wk4sm0bgzl.fsf@rim.net>
X-Deja-AN: 472021862
X-NNTP-Posting-Host: vhaag.rim.net
Sender: vhaag@VHAAG
References: <7g7lnk$l15$1@nnrp1.dejanews.com> <wk90bcbiah.fsf@rim.net>
X-Trace: 28 Apr 1999 17:04:57 -0400, proxy3.rim.net
Newsgroups: comp.text.sgml,comp.emacs,gnu.emacs.help