sgmltool/sgml-tools-1.0.9.dif
Stephan Kulow 170a3c44e3 Accepting request 129332 from Publishing
- Move styles where they belong to 
- Require packages for sgml2latex
- Use texlive infrastructure

- Quote brackets of the babel language mapping otherwise the
  sgml2latex tool ignores it

OBS-URL: https://build.opensuse.org/request/show/129332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sgmltool?expand=0&rev=14
2012-07-30 18:40:13 +00:00

84 lines
2.0 KiB
Plaintext

--- rtf-fix/rtf2rtf.c
+++ rtf-fix/rtf2rtf.c 1999/04/26 23:12:12
@@ -543,8 +543,8 @@
int section_id = 0; /* used for TOC hyperlinks */
int in_appendix = 0;
-FILE *out = stdout;
-FILE *idx_fp = stdout;
+FILE *out;
+FILE *idx_fp;
char buf[2048], sectname[256], labeltxt[256];
char firstname[256], outname[256];
@@ -2079,6 +2079,8 @@
main( int argc, char **argv )
{
int i;
+
+ out = idx_fp = stdout;
strcpy( firstname, "RTF" );
--- rtf-fix/rtf2rtf.l
+++ rtf-fix/rtf2rtf.l 1999/04/26 23:11:39
@@ -53,8 +53,8 @@
int section_id = 0; /* used for TOC hyperlinks */
int in_appendix = 0;
-FILE *out = stdout;
-FILE *idx_fp = stdout;
+FILE *out;
+FILE *idx_fp;
char buf[2048], sectname[256], labeltxt[256];
char firstname[256], outname[256];
@@ -384,6 +384,8 @@
main( int argc, char **argv )
{
int i;
+
+ out = idx_fp = stdout;
strcpy( firstname, "RTF" );
--- lib/dist/sgmltool/latex2e/mapping~ Fri Jun 26 21:39:17 1998
+++ lib/dist/sgmltool/latex2e/mapping Tue Jun 29 14:51:46 1999
@@ -10,7 +10,7 @@
"\\usepackage{url}\n"
"\\usepackage\[latin1\]{inputenc}\n"
"\\usepackage{t1enc}\n"
- "\\usepackage{babel}\n"
+ "\\usepackage\[english\]{babel}\n"
"\\usepackage{epsfig}\n"
"\\usepackage{[OPTS]}\n"
"\\def\\addbibtoc{\n"
@@ -25,7 +25,7 @@
"\\usepackage{url}\n"
"\\usepackage\[latin1\]{inputenc}\n"
"\\usepackage{t1enc}\n"
- "\\usepackage{babel}\n"
+ "\\usepackage\[english\]{babel}\n"
"\\usepackage{epsfig}\n"
"\\usepackage{[OPTS]}\n"
"\\def\\addbibtoc{\n"
@@ -41,7 +41,7 @@
"\\usepackage{url}\n"
"\\usepackage\[latin1\]{inputenc}\n"
"\\usepackage{t1enc}\n"
- "\\usepackage{babel}\n"
+ "\\usepackage\[english\]{babel}\n"
"\\usepackage{epsfig}\n"
"\\usepackage{[OPTS]}\n"
"\\def\\addbibtoc{\n"
@@ -58,7 +58,7 @@
"\\usepackage{url}\n"
"\\usepackage\[latin1\]{inputenc}\n"
"\\usepackage{t1enc}\n"
- "\\usepackage{babel}\n"
+ "\\usepackage\[english\]{babel}\n"
"\\usepackage{epsfig}\n"
"\\usepackage{[OPTS]}\n"
"\\def\\title#1{\n"