This patch is part of a series of patches for festival for Debian GNU/Linux, to interoperate with Debian sgml --- a/lib/sable-mode.scm +++ b/lib/sable-mode.scm @@ -53,11 +53,11 @@ (xml_register_id "-//SABLE//DTD SABLE speech mark up//EN" - (path-append libdir "Sable.v0_2.dtd") + (path-append xml_dtd_dir "Sable.v0_2.dtd") ) (xml_register_id "-//SABLE//ENTITIES Added Latin 1 for SABLE//EN" - (path-append libdir "sable-latin.ent") + (path-append xml_dtd_dir "sable-latin.ent") ) ;; (print (xml_registered_ids)) --- a/lib/tts.scm +++ b/lib/tts.scm @@ -89,7 +89,7 @@ ;;; The program used to parse stml files ;;; Needs version 1.0 to allow -D option to work -(defvar sgml_parse_progname "nsgmls-1.0" +(defvar sgml_parse_progname "nsgmls" "sgml_parse_progname The name of the program to use to parse SGML files. Typically this is nsgml-1.0 from the sp SGML package. [see XML/SGML requirements]") @@ -151,7 +151,9 @@ "xxml_elements List of Scheme actions to perform on finding xxML tags.") -(defvar xml_dtd_dir libdir +;; Hacked for Debian. Better solution would be to get RXP to +;; understand /etc/sgml.catalog. +(defvar xml_dtd_dir "/usr/share/sgml/festival" "xml_dtd_dir The directory holding standard DTD form the xml parser.")