help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSGML mode: sgml-custom-dtd not appearing in menu


From: D. D. Brierton
Subject: PSGML mode: sgml-custom-dtd not appearing in menu
Date: Tue, 29 Oct 2002 23:00:10 +0000
User-agent: Pan/0.11.3 (Unix)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]