Bug 9955

Summary: Fix for sgml2latex error (sgml-tools-1.0.9-2.i386.rpm).
Product: [Retired] Red Hat Linux Reporter: nkbj
Component: sgml-toolsAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-05-08 15:00:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for sgml-tools-1.0.9-2.i386.rpm none

Description nkbj 2000-03-04 12:26:29 UTC
sgml2latex gives an error which says something like this:

"Language is not defined: English" (I can't remember the precise words).

The bug is fixed by this patch:

--- /usr/lib/sgml-tools/dist/sgmltool/latex2e/mapping.rpmorig   Mon Mar 22
05:29:40 1999
+++ /usr/lib/sgml-tools/dist/sgmltool/latex2e/mapping   Sat Mar  4 13:03:38
2000
@@ -4,7 +4,7 @@
 <qwertz>       +
 </qwertz>      +

-<article>      + "\\documentclass\[a4paper\]{article}\n"
+<article>      + "\\documentclass\[a4paper,english\]{article}\n"
                        "\\usepackage{linuxdoc-sgml}\n"
                        "\\usepackage{qwertz}\n"
                        "\\usepackage{url}\n"
@@ -19,7 +19,7 @@

 </article>     +       "\\end{document}"       +

-<report>       + "\\documentclass\[a4paper\]{report}\n"
+<report>       + "\\documentclass\[a4paper,english\]{report}\n"
                        "\\usepackage{linuxdoc-sgml}\n"
                        "\\usepackage{qwertz}\n"
                        "\\usepackage{url}\n"
@@ -35,7 +35,7 @@

 </report>      +       "\\end{document}"       +

-<book> +       "\\documentclass\[a4paper\]{book}\n"
+<book> +       "\\documentclass\[a4paper,english\]{book}\n"
                        "\\usepackage{linuxdoc-sgml}\n"
                        "\\usepackage{qwertz}\n"
                        "\\usepackage{url}\n"
@@ -52,7 +52,7 @@
 </book>                +       "\\end{document}"       +


-<notes> +      "\\documentclass\[a4paper\]{article}\n"
+<notes> +      "\\documentclass\[a4paper,english\]{article}\n"
                        "\\usepackage{linuxdoc-sgml}\n"
                        "\\usepackage{qwertz}\n"
                        "\\usepackage{url}\n"

Comment 1 nkbj 2000-03-04 12:27:59 UTC
Created attachment 140 [details]
Patch for sgml-tools-1.0.9-2.i386.rpm

Comment 2 Bill Nottingham 2000-06-10 22:04:46 UTC
This should have been fixed in sgml-tools-1.0.9-5 and
later.

*** This bug has been marked as a duplicate of 4114 ***