unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "D. D. Brierton" <darren@dzr-web.com>
Subject: PSGML mode: sgml-custom-dtd not appearing in menu
Date: Tue, 29 Oct 2002 23:00:10 +0000	[thread overview]
Message-ID: <%pEv9.340$dz2.61120@stones> (raw)

Using Emacs 21.1.1 on Linux (Mandrake 8.2) with psgml 1.2.4, I've put the
following in my .emacs:

(setq sgml-custom-dtd
  '(
    ( "HTML 4.01 Strict"
      "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n \"http://www.w3.org/TR/html4/strict.dtd\">"
      sgml-default-dtd-file "~/lib/DTD/html401/strict.ced" )
    ( "HTML 4.01 Transitional"
      "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n \"http://www.w3.org/TR/html4/loose.dtd\">"
      sgml-default-dtd-file "~/lib/DTD/html401/loose.ced" )
    ( "HTML 4.01 Frameset"
      "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\"\n \"http://www.w3.org/TR/html4/frameset.dtd\">"
      sgml-default-dtd-file "~/lib/DTD/html401/frameset.ced" )
    ( "XHTML 1.0 Strict"
      "<?xml version=\"1.0\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"
      sgml-default-dtd-file "~/lib/DTD/xhtml1/xhtml1-strict.ced" )
    ( "XHTML 1.0 Transitional"
      "<?xml version=\"1.0\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"
      sgml-default-dtd-file "~/lib/DTD/xhtml1/xhtml1-transitional.ced" )
    ( "XHTML 1.0 Frameset"
      "<?xml version=\"1.0\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">"
      sgml-default-dtd-file "~/lib/DTD/xhtml1/xhtml1-frameset.ced" )
    ( "XHTML 1.1"
      "<?xml version=\"1.0\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">"
      sgml-default-dtd-file "~/lib/DTD/xhtml11/xhtml11.ced" )
  )
)

But nothing shows up in PSGML's DTD menu. I can do C-c C-u C-d TAB and I get
prompted in a new window for HTML 4.01 Strict - XHTML 1.1, but nothing shows
up in the menu. Is something meant to? Or have I misunderstood the docs?

TIA, Darren

P.S. If anyone has got their emacs set up to work with all the recent W3C
DTDs and PSGML I'd love to get some advice from them. I just can't seem to
get the XHTML doctypes working at all ...

-- 
======================================================================
D. D. Brierton            darren@dzr-web.com           www.dzr-web.com
       Trying is the first step towards failure (Homer Simpson)
======================================================================

             reply	other threads:[~2002-10-29 23:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-29 23:00 D. D. Brierton [this message]
2002-10-29 23:30 ` PSGML mode: sgml-custom-dtd not appearing in menu Jhair Tocancipa Triana
2002-10-30 11:38 ` Jirka Kosek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='%pEv9.340$dz2.61120@stones' \
    --to=darren@dzr-web.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).