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

Re: psgml help hack -- where?



>>>>> "Dmitry" == Dmitry Astapov writes:

Dmitry> Далее давим C-c C-v (SGML->Validate). XEmacs в качестве команды для
Dmitry> validate предлагает:

Dmitry> nsgmls -s -m /usr/lib/xemacs-20.4/etc/sgml//CATALOG p3sg.tei

Dmitry> А надо бы после -m видеть /usr/lib/TEItools/dtd/catalog :(

	А.

(let ((catalogs sgml-catalog-files)
      (command "nsgmls -s -m "))
  (while (cdr catalogs)
    (setq catalogs (cdr catalogs))
    (setq command (concat command (car catalogs)))
    (if (cdr catalogs)
	(setq command (concat command ":"))))
  (setq sgml-validate-command 
	(concat command " %s %s")))

-- 
	Best regards, -- Boris.

Apple's C compiler: "type in (cast) must be scalar; ANSI 3.3.4; page 39, lines
10-11 (I know you don't care, I'm just trying to annoy you)"