This commit is contained in:
commit
16044647c9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
17
cflags-sgml-tools-1.0.9.diff
Normal file
17
cflags-sgml-tools-1.0.9.diff
Normal file
@ -0,0 +1,17 @@
|
||||
--- sgml-tools-1.0.9/Makefile.in.~1~ 2005-10-10 11:46:17.000000000 +0200
|
||||
+++ sgml-tools-1.0.9/Makefile.in 2005-10-10 14:05:24.000000000 +0200
|
||||
@@ -49,10 +49,10 @@
|
||||
endif
|
||||
@echo "Compiling preprocessor (in sgmlpre/)..."
|
||||
( cd sgmlpre ; \
|
||||
- $(MAKE) CFLAGS="$(OPTIMIZE)" LEX=flex sgmlpre || exit -1 )
|
||||
+ $(MAKE) OPTIMIZE="$(OPTIMIZE)" LEX=flex sgmlpre || exit -1 )
|
||||
@echo "Compiling RTF conversion tools (in rtf-fix/)..."
|
||||
( cd rtf-fix ; \
|
||||
- $(MAKE) CFLAGS="$(OPTIMIZE)" || exit -1 )
|
||||
+ $(MAKE) OPTIMIZE="$(OPTIMIZE)" || exit -1 )
|
||||
|
||||
install::
|
||||
@echo "Installing binaries in $(bindir) ..."
|
||||
|
||||
Diff finished. Mon Oct 10 14:05:44 2005
|
BIN
lnd-1.0.tar.bz2
(Stored with Git LFS)
Normal file
BIN
lnd-1.0.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
182
sgml-tools-1.0.9-destdir.diff
Normal file
182
sgml-tools-1.0.9-destdir.diff
Normal file
@ -0,0 +1,182 @@
|
||||
--- sgml-tools-1.0.9/./entity-map/Makefile.in.orig Wed Apr 16 16:34:24 2003
|
||||
+++ sgml-tools-1.0.9/./entity-map/Makefile.in Wed Apr 16 16:35:17 2003
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
PACKAGE=@PACKAGE@
|
||||
VERSION=@VERSION@
|
||||
+DESTDIR=
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
@@ -52,14 +53,14 @@
|
||||
-e 's|[@]entitymapdir@|${entitymapdir}|g'
|
||||
|
||||
install: all installdirs
|
||||
- ${INSTALL_DATA} EntityMap.pm ${textmoddir}/EntityMap.pm
|
||||
+ ${INSTALL_DATA} EntityMap.pm $(DESTDIR)${textmoddir}/EntityMap.pm
|
||||
cd sdata; $(MAKE) LIBDIR=${entitymapdir} \
|
||||
PERM_D=755 PERM_F=644 MKDIR="../config/install-sh -d" CP=cp install
|
||||
|
||||
installdirs:
|
||||
for ii in ${prefix} ${perl5libdir} ${textmoddir} \
|
||||
${localentitymapdir} ${entitymapdir}; do \
|
||||
- ./config/install-sh -d $$ii; \
|
||||
+ ./config/install-sh -d $(DESTDIR)$$ii; \
|
||||
done
|
||||
|
||||
installdoc:
|
||||
@@ -66,7 +66,7 @@
|
||||
installdoc:
|
||||
./config/install-sh -d ${docdir}
|
||||
for ii in ${DOCS}; do \
|
||||
- ${INSTALL_DATA} $$ii ${docdir}/$$ii; \
|
||||
+ ${INSTALL_DATA} $$ii $(DESTDIR)${docdir}/$$ii; \
|
||||
done
|
||||
|
||||
Makefile: Makefile.in configure
|
||||
--- sgml-tools-1.0.9/./iso-entities/Makefile.in.orig Wed Apr 16 16:37:12 2003
|
||||
+++ sgml-tools-1.0.9/./iso-entities/Makefile.in Wed Apr 16 16:37:34 2003
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
PACKAGE=@PACKAGE@
|
||||
VERSION=@VERSION@
|
||||
+DESTDIR=
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
@@ -39,14 +40,14 @@
|
||||
all:
|
||||
|
||||
install: all installdirs
|
||||
- ${INSTALL_DATA} iso-entities.cat ${isoentdir}/iso-entities.cat
|
||||
+ ${INSTALL_DATA} iso-entities.cat $(DESTDIR)${isoentdir}/iso-entities.cat
|
||||
for ii in `cd entities; find . -type f`; do \
|
||||
- ${INSTALL_DATA} entities/$$ii ${isoentdir}/$$ii; \
|
||||
+ ${INSTALL_DATA} entities/$$ii $(DESTDIR)${isoentdir}/$$ii; \
|
||||
done
|
||||
|
||||
installdirs:
|
||||
for ii in ${sgmldir} ${isoentdir}; do \
|
||||
- ./config/install-sh -d $$ii; \
|
||||
+ ./config/install-sh -d $(DESTDIR)$$ii; \
|
||||
done
|
||||
|
||||
installdoc:
|
||||
--- sgml-tools-1.0.9/./Makefile.in.orig Wed Apr 16 16:31:13 2003
|
||||
+++ sgml-tools-1.0.9/./Makefile.in Wed Apr 16 16:40:27 2003
|
||||
@@ -6,6 +6,7 @@
|
||||
# © Copyright 1996 Sven Rudolph
|
||||
#
|
||||
|
||||
+DESTDIR=
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
bindir=@BINDIR@
|
||||
@@ -55,13 +56,13 @@
|
||||
|
||||
install::
|
||||
@echo "Installing binaries in $(bindir) ..."
|
||||
- if [ ! -d $(bindir) ]; then mkdir -p $(bindir); fi
|
||||
- -chmod 755 $(bindir)
|
||||
+ if [ ! -d $(DESTDIR)$(bindir) ]; then mkdir -p $(DESTDIR)$(bindir); fi
|
||||
+ -chmod 755 $(DESTDIR)$(bindir)
|
||||
ifeq ($(BUILD_NSGMLS), true)
|
||||
- $(INSTALL_PROGRAM) sp/nsgmls/nsgmls $(bindir)/nsgmls
|
||||
+ $(INSTALL_PROGRAM) sp/nsgmls/nsgmls $(DESTDIR)$(bindir)/nsgmls
|
||||
endif
|
||||
ifeq ($(BUILD_SGMLSASP), true)
|
||||
- $(INSTALL_PROGRAM) sgmls-1.1/sgmlsasp $(bindir)/sgmlsasp
|
||||
+ $(INSTALL_PROGRAM) sgmls-1.1/sgmlsasp $(DESTDIR)$(bindir)/sgmlsasp
|
||||
endif
|
||||
ifeq ($(BUILD_ENTITY_MAP), true)
|
||||
@echo "Installing Entity Mapping library (in entity-map)..."
|
||||
@@ -76,42 +77,42 @@
|
||||
strip sgmlpre/sgmlpre
|
||||
for ii in sgmlpre/sgmlpre rtf-fix/rtf2rtf; do \
|
||||
bn=`basename $$ii`; \
|
||||
- $(INSTALL_PROGRAM) $$ii $(bindir)/$$bn; \
|
||||
+ $(INSTALL_PROGRAM) $$ii $(DESTDIR)$(bindir)/$$bn; \
|
||||
done
|
||||
- $(INSTALL_PROGRAM) bin/sgmltools $(bindir)/sgmltools.v1
|
||||
+ $(INSTALL_PROGRAM) bin/sgmltools $(DESTDIR)$(bindir)/sgmltools.v1
|
||||
@echo "Installing library and support files in $(libdir)..."
|
||||
- if [ ! -d $(libdir) ]; then mkdir -p $(libdir); fi
|
||||
- chmod 755 $(libdir)
|
||||
- cp -r lib/* $(libdir)
|
||||
- cp VERSION $(libdir)
|
||||
+ if [ ! -d $(DESTDIR)$(libdir) ]; then mkdir -p $(DESTDIR)$(libdir); fi
|
||||
+ chmod 755 $(DESTDIR)$(libdir)
|
||||
+ cp -r lib/* $(DESTDIR)$(libdir)
|
||||
+ cp VERSION $(DESTDIR)$(libdir)
|
||||
@echo "Installing man pages in $(mandir1) ..."
|
||||
- if [ ! -d $(mandir1) ]; then mkdir -p $(mandir1) ; fi
|
||||
- -chmod 755 $(mandir1)
|
||||
+ if [ ! -d $(DESTDIR)$(mandir1) ]; then mkdir -p $(DESTDIR)$(mandir1) ; fi
|
||||
+ -chmod 755 $(DESTDIR)$(mandir1)
|
||||
for ii in man/sgml2* man/sgmlcheck.1 man/sgmltools.1; do \
|
||||
bn=`basename $$ii`; \
|
||||
- $(INSTALL_DATA) $$ii $(mandir1)/$$bn; \
|
||||
+ $(INSTALL_DATA) $$ii $(DESTDIR)$(mandir1)/$$bn; \
|
||||
done
|
||||
ifeq ($(BUILD_NSGMLS), true)
|
||||
- $(INSTALL_DATA) man/nsgmls.1 $(mandir1)/nsgmls.1
|
||||
+ $(INSTALL_DATA) man/nsgmls.1 $(DESTDIR)$(mandir1)/nsgmls.1
|
||||
endif
|
||||
ifeq ($(BUILD_SGMLSASP), true)
|
||||
- $(INSTALL_DATA) man/sgmlsasp.1 $(mandir1)/sgmlsasp.1
|
||||
+ $(INSTALL_DATA) man/sgmlsasp.1 $(DESTDIR)$(mandir1)/sgmlsasp.1
|
||||
endif
|
||||
- find $(libdir) -type d -print | xargs chmod 755
|
||||
- find $(libdir) -type f -print | xargs chmod 644
|
||||
- (cd $(libdir)/dist/sgmltool/latin1; rm -f mapping; ln -s ../groff/mapping .)
|
||||
- (cd $(libdir)/dist; rm -f linuxdoc; ln -s sgmltool linuxdoc)
|
||||
- (cd $(libdir)/dist; rm -f linuxdoc96; ln -s sgmltool linuxdoc96)
|
||||
- (cd $(libdir)/dist; rm -f linuxdoc97; ln -s sgmltool linuxdoc97)
|
||||
- (cd $(libdir)/dtd; rm -f linuxdoc.dtd; ln -s linuxdoc96.dtd linuxdoc.dtd)
|
||||
- (cd $(bindir); for i in $(progs); do rm -f $$i; ln sgmltools.v1 $$i;done)
|
||||
+ find $(DESTDIR)$(libdir) -type d -print | xargs chmod 755
|
||||
+ find $(DESTDIR)$(libdir) -type f -print | xargs chmod 644
|
||||
+ (cd $(DESTDIR)$(libdir)/dist/sgmltool/latin1; rm -f mapping; ln -s ../groff/mapping .)
|
||||
+ (cd $(DESTDIR)$(libdir)/dist; rm -f linuxdoc; ln -s sgmltool linuxdoc)
|
||||
+ (cd $(DESTDIR)$(libdir)/dist; rm -f linuxdoc96; ln -s sgmltool linuxdoc96)
|
||||
+ (cd $(DESTDIR)$(libdir)/dist; rm -f linuxdoc97; ln -s sgmltool linuxdoc97)
|
||||
+ (cd $(DESTDIR)$(libdir)/dtd; rm -f linuxdoc.dtd; ln -s linuxdoc96.dtd linuxdoc.dtd)
|
||||
+ (cd $(DESTDIR)$(bindir); for i in $(progs); do rm -f $$i; ln sgmltools.v1 $$i;done)
|
||||
@echo "Installing documentation in $(LINUXDOCDOC) ..."
|
||||
- (cd doc; PATH=${PATH}:$(bindir) sh Makedoc.sh)
|
||||
- if [ ! -d $(LINUXDOCDOC) ]; then mkdir -p $(LINUXDOCDOC); fi
|
||||
- chmod 755 $(LINUXDOCDOC)
|
||||
- cp -r doc/* $(LINUXDOCDOC)
|
||||
- find $(LINUXDOCDOC) -type d -print | xargs chmod 755
|
||||
- find $(LINUXDOCDOC) -type f -print | xargs chmod 644
|
||||
+ (cd doc; PATH=${PATH}:$(DESTDIR)$(bindir) sh Makedoc.sh)
|
||||
+ if [ ! -d $(DESTDIR)$(LINUXDOCDOC) ]; then mkdir -p $(DESTDIR)$(LINUXDOCDOC); fi
|
||||
+ chmod 755 $(DESTDIR)$(LINUXDOCDOC)
|
||||
+ cp -r doc/* $(DESTDIR)$(LINUXDOCDOC)
|
||||
+ find $(DESTDIR)$(LINUXDOCDOC) -type d -print | xargs chmod 755
|
||||
+ find $(DESTDIR)$(LINUXDOCDOC) -type f -print | xargs chmod 644
|
||||
|
||||
# what dirs do the targets clean and distclean need?
|
||||
DDIRS=
|
||||
--- sgml-tools-1.0.9/./entity-map/sdata/Makefile.orig Wed Apr 23 10:01:36 2003
|
||||
+++ sgml-tools-1.0.9/./entity-map/sdata/Makefile Wed Apr 23 10:02:08 2003
|
||||
@@ -14,13 +14,13 @@
|
||||
greek.2html lat1.2sdata
|
||||
|
||||
install:
|
||||
- if [ ! -d $(LIBDIR) ]; then \
|
||||
- $(MKDIR) $(LIBDIR); \
|
||||
- chmod $(PERM_D) $(LIBDIR); \
|
||||
+ if [ ! -d $(DESTDIR)$(LIBDIR) ]; then \
|
||||
+ $(MKDIR) $(DESTDIR)$(LIBDIR); \
|
||||
+ chmod $(PERM_D) $(DESTDIR)$(LIBDIR); \
|
||||
fi
|
||||
- $(CP) $(SDATAFILES) $(LIBDIR)
|
||||
- (cd $(LIBDIR); chmod $(PERM_F) $(SDATAFILES))
|
||||
- (cd $(LIBDIR); \
|
||||
+ $(CP) $(SDATAFILES) $(DESTDIR)$(LIBDIR)
|
||||
+ (cd $(DESTDIR)$(LIBDIR); chmod $(PERM_F) $(SDATAFILES))
|
||||
+ (cd $(DESTDIR)$(LIBDIR); \
|
||||
rm -f ISOlat1.2rtf ISOlat1.2texi ISOlat1.2tr ISOlat1.2l1s ISOlat1.2l1tr \
|
||||
ISOlat2.2l1b ISOlat2.2l1s \
|
||||
ISOdia.2rtf ISOdia.2texi ISOdia.2l1b ISOdia.2l1s ISOdia.2l1tr \
|
12
sgml-tools-1.0.9-sgmlpre.diff
Normal file
12
sgml-tools-1.0.9-sgmlpre.diff
Normal file
@ -0,0 +1,12 @@
|
||||
--- sgml-tools-1.0.9/sgmlpre/sgmlpre.l.~1~ 1997-11-21 23:45:37.000000000 +0100
|
||||
+++ sgml-tools-1.0.9/sgmlpre/sgmlpre.l 2005-10-10 16:22:56.000000000 +0200
|
||||
@@ -142,6 +142,7 @@
|
||||
}
|
||||
|
||||
yylex();
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
/* sgmlpre.l ends here */
|
||||
|
||||
Diff finished. Mon Oct 10 16:23:08 2005
|
10
sgml-tools-1.0.9-strip.diff
Normal file
10
sgml-tools-1.0.9-strip.diff
Normal file
@ -0,0 +1,10 @@
|
||||
--- Makefile.in
|
||||
+++ Makefile.in
|
||||
@@ -74,7 +74,6 @@
|
||||
( cd iso-entities; \
|
||||
$(MAKE) install )
|
||||
endif
|
||||
- strip sgmlpre/sgmlpre
|
||||
for ii in sgmlpre/sgmlpre rtf-fix/rtf2rtf; do \
|
||||
bn=`basename $$ii`; \
|
||||
$(INSTALL_PROGRAM) $$ii $(DESTDIR)$(bindir)/$$bn; \
|
83
sgml-tools-1.0.9.dif
Normal file
83
sgml-tools-1.0.9.dif
Normal file
@ -0,0 +1,83 @@
|
||||
--- 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"
|
||||
|
3
sgml-tools-1.0.9.tar.gz
Normal file
3
sgml-tools-1.0.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd9cbe528c2988ec2e8e92b3c00cad9b3ed51d94aaadedfad89539f042b2660a
|
||||
size 1208960
|
11
sgml-tools-retval.diff
Normal file
11
sgml-tools-retval.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- sgmls-1.1/replace.c
|
||||
+++ sgmls-1.1/replace.c
|
||||
@@ -274,6 +274,8 @@
|
||||
default:
|
||||
parse_error("bad input character `%c'", c);
|
||||
}
|
||||
+ /* unreached */
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
static
|
43
sgml-tools-temp-vuln-1.0.9.diff
Normal file
43
sgml-tools-temp-vuln-1.0.9.diff
Normal file
@ -0,0 +1,43 @@
|
||||
--- sgml-tools-1.0.9/lib/SGMLTools.bak Wed Apr 25 14:53:48 2001
|
||||
+++ sgml-tools-1.0.9/lib/SGMLTools.pm Wed Apr 25 14:58:42 2001
|
||||
@@ -212,6 +212,14 @@
|
||||
return @files;
|
||||
}
|
||||
|
||||
+# Pre-create temp files safely
|
||||
+sub create_temp {
|
||||
+ my $fh = new FileHandle(shift,O_CREAT|O_EXCL|O_WRONLY,0600);
|
||||
+ $fh or die "$0: failed to create temporary file: $!";
|
||||
+ $fh->close;
|
||||
+}
|
||||
+
|
||||
+
|
||||
=item SGMLTools::process_file
|
||||
|
||||
With all the configuration done, this routine will take a single filename
|
||||
@@ -286,6 +294,7 @@
|
||||
{
|
||||
$ifile = new FileHandle "$global->{NsgmlsPrePipe}|";
|
||||
}
|
||||
+ create_temp("$tmpbase.1");
|
||||
$writensgmls = new FileHandle
|
||||
"$precmd|$main::progs->{NSGMLS} $global->{NsgmlsOpts} $ENV{SGMLDECL} >$tmpbase.1";
|
||||
if ($global->{charset} eq "latin")
|
||||
@@ -386,7 +395,8 @@
|
||||
# preASP ($inhandle, $outhandle);
|
||||
#
|
||||
my $inpreasp = new FileHandle "<$tmpbase.1";
|
||||
- my $outpreasp = new FileHandle ">$tmpbase.2";
|
||||
+ my $outpreasp = new FileHandle "$tmpbase.2",O_WRONLY|O_CREAT|O_EXCL,0600;
|
||||
+
|
||||
if (defined $Formats{$global->{format}}{preASP})
|
||||
{
|
||||
&{$Formats{$global->{format}}{preASP}}($inpreasp, $outpreasp) == 0 or
|
||||
@@ -428,6 +438,7 @@
|
||||
my $mapping = "$main::LibDir/site/$dtd/$global->{format}/mapping";
|
||||
-r $mapping or $mapping = "$main::LibDir/dist/$dtd/$global->{format}/mapping";
|
||||
|
||||
+ create_temp("$tmpbase.3");
|
||||
system ("$main::progs->{SGMLSASP} $style $mapping <$tmpbase.2|
|
||||
expand -$global->{tabsize} >$tmpbase.3");
|
||||
|
11
sgmltool-1.0.9-expandsyntax.diff
Normal file
11
sgmltool-1.0.9-expandsyntax.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- sgml-tools-1.0.9/lib/SGMLTools.pm
|
||||
+++ sgml-tools-1.0.9/lib/SGMLTools.pm
|
||||
@@ -440,7 +440,7 @@
|
||||
|
||||
create_temp("$tmpbase.3");
|
||||
system ("$main::progs->{SGMLSASP} $style $mapping <$tmpbase.2|
|
||||
- expand -$global->{tabsize} >$tmpbase.3");
|
||||
+ expand -t $global->{tabsize} >$tmpbase.3");
|
||||
|
||||
#
|
||||
# If a postASP stage is defined, let the format handle it.
|
239
sgmltool-1.0.9.spec
Normal file
239
sgmltool-1.0.9.spec
Normal file
@ -0,0 +1,239 @@
|
||||
#
|
||||
# spec file for package sgmltool (Version 1.0.9)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: sgmltool
|
||||
BuildRequires: opensp
|
||||
%define name sgml-tools
|
||||
License: distributable, Other License(s), see package
|
||||
Group: Productivity/Publishing/SGML
|
||||
Provides: sgml-tools
|
||||
Requires: opensp perl
|
||||
Conflicts: linuxdoc
|
||||
Autoreqprov: on
|
||||
Summary: SGML-Tools - a Text-Formatting Package
|
||||
Version: 1.0.9
|
||||
Release: 926
|
||||
Source: ftp://ftp.nllgg.nl/pub2/SGMLtools/v1.0/sgml-tools-%{version}.tar.gz
|
||||
Source1: lnd-1.0.tar.bz2
|
||||
Patch: sgml-tools-1.0.9.dif
|
||||
Patch1: sgml-tools-temp-vuln-1.0.9.diff
|
||||
Patch2: sgmltool-man-entities.diff
|
||||
Patch3: sgmltool-1.0.9-expandsyntax.diff
|
||||
Patch4: sgml-tools-1.0.9-destdir.diff
|
||||
Patch5: sgml-tools-retval.diff
|
||||
Patch6: cflags-sgml-tools-1.0.9.diff
|
||||
Patch7: sgml-tools-1.0.9-sgmlpre.diff
|
||||
Patch8: sgml-tools-1.0.9-strip.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
SGML-Tools is a text-formatting package based on SGML (Standard
|
||||
Generalized Markup Language), which allows you to produce LaTeX, HTML,
|
||||
GNU info, LyX, RTF, and plain ASCII documents (via groff) from a single
|
||||
source.
|
||||
|
||||
This system is tailored for writing technical software documentation,
|
||||
an example of which is the Linux HOWTO documents. It should be useful
|
||||
for all kinds of printed and online documentation.
|
||||
|
||||
This package is the successor to the Linuxdoc package.
|
||||
|
||||
SGML-Tools cannot process arbitrary SGML documents. In such a case, try
|
||||
jade_dsl and write your own DSSSL scripts (take the docbk30 package as
|
||||
an example).
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Cees A. de Groot <cg@pobox.com>
|
||||
Arun Sharma <asharma@sco.com>
|
||||
Andre Schoorl <aschoorl@engr.UVic.CA>
|
||||
Daniele Giacomini <daniele@tv.shineline.it>
|
||||
Dave Love <d.love@dl.ac.uk>
|
||||
Dave Platt <dplatt@iq.TVSoft.com>
|
||||
Eric S. Raymond <esr@thyrsus.com>
|
||||
Francisco J. Montilla <pacopepe@nova.es>
|
||||
Fabrizio Polacco <fpolacco@megabaud.fi>
|
||||
Frank Pavageau <pavageau@imaginet.fr>
|
||||
Jan Echternach <echter@informatik.uni-rostock.de>
|
||||
Henry S. Thompson <ht@cogsci.ed.ac.uk>
|
||||
Karsten Tinnefeld <tinnefeld@irb.informatik.uni-dortmund.de>
|
||||
Kees de Bruin <kees_de_bruin@tasking.nl>
|
||||
Ken MacLeod <kmacleod@midamerican.com>
|
||||
Lee Marzke <marzke_lee@si.com>
|
||||
Marco Budde <Marco_Budde@hqsys.fido.de>
|
||||
Mitchell Perilstein <mnp@compass-da.com>
|
||||
Sven Rudolph <sr1@os.inf.tu-dresden.de>
|
||||
Tommy Marcus McGuire <mcguire@cs.utexas.edu>
|
||||
Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
|
||||
|
||||
%define INSTALL install -m755
|
||||
%define INSTALL_DIR install -d -m755
|
||||
%define INSTALL_DATA install -m644
|
||||
%define GZIP gzip --best --force
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version} -a1
|
||||
%patch
|
||||
%patch1 -p 1
|
||||
%patch2 -p 1
|
||||
%patch3 -p 1
|
||||
%patch4 -p 1
|
||||
%patch5
|
||||
%patch6 -p 1
|
||||
%patch7 -p 1
|
||||
%patch8
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
||||
./configure --prefix=$RPM_BUILD_ROOT/usr \
|
||||
--mandir=%{_mandir} \
|
||||
--with-installed-nsgmls
|
||||
make "CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr \
|
||||
mandir=%{_mandir}
|
||||
(cd doc; PATH=$PATH:$RPM_BUILD_ROOT/%_bindir sh Makedoc.sh)
|
||||
cp -p doc/README doc/README.doc
|
||||
# the Makefiles are a bit garstig
|
||||
make clean
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
||||
./configure --prefix=/usr \
|
||||
--mandir=%{_mandir} \
|
||||
--with-installed-nsgmls
|
||||
make "CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
|
||||
%install
|
||||
: > doc/Makedoc.sh
|
||||
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr \
|
||||
mandir=%{_mandir}
|
||||
rm -fr $RPM_BUILD_ROOT/usr/doc/sgml-tools
|
||||
perlpath=`ls -1d /usr/lib/perl5/5.*/Text`
|
||||
mkdir -p $RPM_BUILD_ROOT$perlpath
|
||||
mv $RPM_BUILD_ROOT/usr/lib/perl5/Text/EntityMap.pm $RPM_BUILD_ROOT$perlpath/
|
||||
|
||||
%clean
|
||||
rm -fr $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc lnd-1.0
|
||||
%doc COPYING BUGS CHANGES CONTRIBUTORS README TODO
|
||||
%doc doc/README.doc doc/example.sgml doc/guide.info doc/guide.lyx
|
||||
%doc doc/guide.ps.gz doc/guide.sgml doc/guide.txt
|
||||
%doc doc/html doc/rtf
|
||||
/usr/bin/sgmlsasp
|
||||
/usr/bin/rtf2rtf
|
||||
/usr/bin/sgmltools.v1
|
||||
/usr/bin/sgml2html
|
||||
/usr/bin/sgml2info
|
||||
/usr/bin/sgml2latex
|
||||
/usr/bin/sgml2lyx
|
||||
/usr/bin/sgml2rtf
|
||||
/usr/bin/sgml2txt
|
||||
/usr/bin/sgmlcheck
|
||||
/usr/bin/sgmlpre
|
||||
%dir /usr/lib/entity-map
|
||||
/usr/lib/entity-map/0.1.0
|
||||
/usr/lib/perl5/5.*/Text/EntityMap.pm
|
||||
%dir /usr/lib/sgml
|
||||
/usr/lib/sgml-tools
|
||||
/usr/lib/sgml/iso-entities-8879.1986
|
||||
%{_mandir}/man1/sgml2html.1.gz
|
||||
%{_mandir}/man1/sgml2info.1.gz
|
||||
%{_mandir}/man1/sgml2latex.1.gz
|
||||
%{_mandir}/man1/sgml2lyx.1.gz
|
||||
%{_mandir}/man1/sgml2rtf.1.gz
|
||||
%{_mandir}/man1/sgml2txt.1.gz
|
||||
%{_mandir}/man1/sgmlsasp.1.gz
|
||||
%{_mandir}/man1/sgmlcheck.1.gz
|
||||
%{_mandir}/man1/sgmltools.1.gz
|
||||
|
||||
%changelog -n sgmltool
|
||||
* Sat May 27 2006 - schwab@suse.de
|
||||
- Don't strip binaries.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Oct 10 2005 - ke@suse.de
|
||||
- Use -fno-strict-aliasing.
|
||||
- Add missing return value; thanks for debugging to Richard Guenther.
|
||||
* Fri Jun 17 2005 - meissner@suse.de
|
||||
- use RPM_OPT_FLAGS.
|
||||
* Thu Apr 29 2004 - ro@suse.de
|
||||
- added missing return value (unreached code)
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- add %%defattr
|
||||
* Wed Apr 23 2003 - coolo@suse.de
|
||||
- use more of that DESTDIR
|
||||
* Tue Apr 22 2003 - coolo@suse.de
|
||||
- don't mess with broken Makefiles -> empty it before execution
|
||||
* Tue Apr 22 2003 - coolo@suse.de
|
||||
- generating docs through brute force
|
||||
* Thu Apr 17 2003 - coolo@suse.de
|
||||
- use BuildRoot
|
||||
* Mon Apr 07 2003 - mmj@suse.de
|
||||
- The expand syntax changed with new coreutils.
|
||||
* Mon Nov 11 2002 - ro@suse.de
|
||||
- adapted requires
|
||||
* Mon Nov 11 2002 - ro@suse.de
|
||||
- changed neededforbuild <sp> to <opensp>
|
||||
- changed neededforbuild <sp-devel> to <>
|
||||
* Thu Jun 20 2002 - ke@suse.de
|
||||
- sgmltool-man-entities.diff: Try to map entities also for manpage
|
||||
output; reported by Michal Svec [# 16536].
|
||||
- enable %%clean section.
|
||||
* Fri Mar 08 2002 - kukuk@suse.de
|
||||
- Add /usr/lib/entity-map to filelist
|
||||
* Mon Aug 13 2001 - ro@suse.de
|
||||
- changed neededforbuild <sp_libs> to <sp-devel>
|
||||
* Thu Apr 26 2001 - ke@suse.de
|
||||
- Apply tools-temp-vuln-1.0.9.diff to fix a tmp file vulnerability
|
||||
(patch provided by Sebastian Krahmer) [#6826].
|
||||
* Thu Jan 27 2000 - ke@suse.de
|
||||
- add more documentation lnd-1.0.tar.bz2 (thanks to mike for hint).
|
||||
- use macros: %%{name}, %%{version}, %%{_mandir}.
|
||||
- ./configure -> %%build section.
|
||||
- add group tag.
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Fri Jul 09 1999 - bs@suse.de
|
||||
- fixed path for perl module
|
||||
* Tue Jun 29 1999 - ke@suse.de
|
||||
- babel now will know the language as an option (werner).
|
||||
* Tue Apr 27 1999 - ro@suse.de
|
||||
- compiler fix: stdout is non constant
|
||||
* Thu Nov 26 1998 - ke@suse.de
|
||||
- update: version 1.0.9 (bugfix release).
|
||||
- mv the perl module to the 5.00502 dir hierarchy (hack).
|
||||
* Wed Nov 18 1998 - ro@suse.de
|
||||
- adapt path to perl 5.00502
|
||||
* Mon Nov 09 1998 - ro@suse.de
|
||||
- added sp_libs to neededforbuild
|
||||
* Fri Oct 16 1998 - ke@suse.de
|
||||
- update: version 1.0.8 (bugfix release).
|
||||
* Sun Jun 28 1998 - ke@suse.de
|
||||
- update: version 1.0.7 (bugfix release).
|
||||
- remove jade_dsl from neededforbuild.
|
||||
* Mon Mar 23 1998 - bs@suse.de
|
||||
- added sp to neededforbuild
|
||||
* Fri Mar 06 1998 - ke@suse.de
|
||||
- update: version 1.0.5.
|
||||
* Sat Feb 28 1998 - bs@suse.de
|
||||
- deleted texhash stuff (done by tetex package now)
|
||||
* Sun Feb 15 1998 - ke@suse.de
|
||||
- update: version 1.0.4.
|
||||
- simplify file list.
|
||||
* Tue Jan 13 1998 - ke@suse.de
|
||||
- update: version 1.0.3
|
||||
* Wed Nov 19 1997 - ke@suse.de
|
||||
- provide %%post and %%postun script to maintain /var/texfonts/ls-R.
|
||||
* Mon Nov 17 1997 - ke@suse.de
|
||||
- initial package: version 0.99.20.
|
22
sgmltool-man-entities.diff
Normal file
22
sgmltool-man-entities.diff
Normal file
@ -0,0 +1,22 @@
|
||||
--- sgml-tools-1.0.9/lib/dist/fmt_txt.pl Mon Jun 29 21:59:17 1998
|
||||
+++ sgml-tools-1.0.9/lib/dist/fmt_txt.pl Mon Jun 29 21:59:17 1998
|
||||
@@ -81,11 +81,12 @@
|
||||
{
|
||||
my ($infile, $outfile) = @_;
|
||||
my (@toc, @lines);
|
||||
- if ($txt->{manpage})
|
||||
- {
|
||||
- copy ($infile, $outfile);
|
||||
- return;
|
||||
- }
|
||||
+ #ke
|
||||
+ #if ($txt->{manpage})
|
||||
+ # {
|
||||
+ # copy ($infile, $outfile);
|
||||
+ # return;
|
||||
+ # }
|
||||
|
||||
# note the conversion of `sdata_dirs' list to an anonymous array to
|
||||
# make a single argument
|
||||
|
||||
Diff finished at Wed Jun 19 14:10:25
|
181
sgmltool.changes
Normal file
181
sgmltool.changes
Normal file
@ -0,0 +1,181 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 27 23:08:52 CEST 2006 - schwab@suse.de
|
||||
|
||||
- Don't strip binaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:58 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 10 16:40:01 CEST 2005 - ke@suse.de
|
||||
|
||||
- Use -fno-strict-aliasing.
|
||||
- Add missing return value; thanks for debugging to Richard Guenther.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 17 14:43:44 CEST 2005 - meissner@suse.de
|
||||
|
||||
- use RPM_OPT_FLAGS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 29 01:32:19 CEST 2004 - ro@suse.de
|
||||
|
||||
- added missing return value (unreached code)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 22:07:12 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %defattr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 23 10:07:18 CEST 2003 - coolo@suse.de
|
||||
|
||||
- use more of that DESTDIR
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 22 15:53:40 CEST 2003 - coolo@suse.de
|
||||
|
||||
- don't mess with broken Makefiles -> empty it before execution
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 22 13:33:35 CEST 2003 - coolo@suse.de
|
||||
|
||||
- generating docs through brute force
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 17 01:06:47 CEST 2003 - coolo@suse.de
|
||||
|
||||
- use BuildRoot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 7 09:56:32 CEST 2003 - mmj@suse.de
|
||||
|
||||
- The expand syntax changed with new coreutils.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 11:30:48 CET 2002 - ro@suse.de
|
||||
|
||||
- adapted requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 11:26:13 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <sp> to <opensp>
|
||||
- changed neededforbuild <sp-devel> to <>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 14:15:00 CEST 2002 - ke@suse.de
|
||||
|
||||
- sgmltool-man-entities.diff: Try to map entities also for manpage
|
||||
output; reported by Michal Svec [# 16536].
|
||||
- enable %clean section.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 13:36:28 CET 2002 - kukuk@suse.de
|
||||
|
||||
- Add /usr/lib/entity-map to filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 13 15:51:57 CEST 2001 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <sp_libs> to <sp-devel>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 26 09:53:43 CEST 2001 - ke@suse.de
|
||||
|
||||
- Apply tools-temp-vuln-1.0.9.diff to fix a tmp file vulnerability
|
||||
(patch provided by Sebastian Krahmer) [#6826].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 27 18:51:56 CET 2000 - ke@suse.de
|
||||
|
||||
- add more documentation lnd-1.0.tar.bz2 (thanks to mike for hint).
|
||||
- use macros: %{name}, %{version}, %{_mandir}.
|
||||
- ./configure -> %build section.
|
||||
- add group tag.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 9 17:21:25 MEST 1999 - bs@suse.de
|
||||
|
||||
- fixed path for perl module
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 29 14:55:22 MEST 1999 - ke@suse.de
|
||||
|
||||
- babel now will know the language as an option (werner).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 27 01:13:09 MEST 1999 - ro@suse.de
|
||||
|
||||
- compiler fix: stdout is non constant
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 11:36:00 MET 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.9 (bugfix release).
|
||||
- mv the perl module to the 5.00502 dir hierarchy (hack).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 18 01:12:54 MET 1998 - ro@suse.de
|
||||
|
||||
- adapt path to perl 5.00502
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 9 18:04:04 MET 1998 - ro@suse.de
|
||||
|
||||
- added sp_libs to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 16 11:37:49 MEST 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.8 (bugfix release).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 28 14:22:15 MEST 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.7 (bugfix release).
|
||||
- remove jade_dsl from neededforbuild.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 23 17:08:49 MET 1998 - bs@suse.de
|
||||
|
||||
- added sp to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 6 15:30:56 MET 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.5.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 28 15:25:47 MET 1998 - bs@suse.de
|
||||
|
||||
- deleted texhash stuff (done by tetex package now)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 15 11:35:18 MET 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.4.
|
||||
- simplify file list.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 13 17:11:27 MET 1998 - ke@suse.de
|
||||
|
||||
- update: version 1.0.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 19 14:25:02 MET 1997 - ke@suse.de
|
||||
|
||||
- provide %post and %postun script to maintain /var/texfonts/ls-R.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 17 11:20:22 MET 1997 - ke@suse.de
|
||||
|
||||
- initial package: version 0.99.20.
|
||||
|
40
sgmltool.test
Normal file
40
sgmltool.test
Normal file
@ -0,0 +1,40 @@
|
||||
Install the following packages:
|
||||
|
||||
- jade_dsl
|
||||
- tetex
|
||||
- gs
|
||||
- sgmltool
|
||||
|
||||
|
||||
1)
|
||||
cd /tmp
|
||||
sgml2html /usr/doc/packages/sgmltool/guide.sgml
|
||||
|
||||
and check the guide*html files.
|
||||
|
||||
|
||||
2)
|
||||
|
||||
cd /tmp
|
||||
sgml2txt /usr/doc/packages/sgmltool/guide.sgml
|
||||
|
||||
-- some error message may occur (sgml-tools 1.0.3) -- and check
|
||||
guide.txt.
|
||||
|
||||
|
||||
3)
|
||||
|
||||
cd /tmp
|
||||
sgml2latex --output=tex /usr/doc/packages/sgmltool/guide.sgml
|
||||
|
||||
and check guide.tex; right now (sgml-tools 1.0.3) the LaTeX backend
|
||||
looks a little bit broken.
|
||||
|
||||
|
||||
4)
|
||||
cd /tmp
|
||||
sgml2rtf /usr/doc/packages/sgmltool/guide.sgml
|
||||
|
||||
and check guide.rtf and guide-0.rtf; viewable, but could be better
|
||||
(sgml-tools 1.0.3)...
|
||||
|
Loading…
Reference in New Issue
Block a user