e4f62db6f3
Copy from Publishing/latex2html based on submit request 26616 from user coolo OBS-URL: https://build.opensuse.org/request/show/26616 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/latex2html?expand=0&rev=11
180 lines
5.3 KiB
Diff
180 lines
5.3 KiB
Diff
Index: config/config.pl
|
|
===================================================================
|
|
--- config/config.pl.orig
|
|
+++ config/config.pl
|
|
@@ -1918,7 +1918,7 @@ else {
|
|
$newcfg{'SHLIBDIR'} = $newcfg{'PREFIX'};
|
|
}
|
|
else {
|
|
- $newcfg{'SHLIBDIR'} = "$newcfg{'PREFIX'}${dd}share${dd}lib${dd}latex2html";
|
|
+ $newcfg{'SHLIBDIR'} = "$newcfg{'PREFIX'}${dd}share${dd}latex2html";
|
|
}
|
|
}
|
|
add_drive_letter($newcfg{'SHLIBDIR'});
|
|
Index: config/install.pl
|
|
===================================================================
|
|
--- config/install.pl.orig
|
|
+++ config/install.pl
|
|
@@ -406,6 +406,9 @@ exit 0;
|
|
|
|
sub install_file {
|
|
my ($src,$dest,$chmod) = @_;
|
|
+
|
|
+ my $buildroot=$ENV{"RPM_BUILD_ROOT"};
|
|
+ $dest= "$buildroot$dest";
|
|
|
|
# prepend the value of DESTDIR, for package-managers
|
|
$dest = $ENV{'DESTDIR'}.$dest if($ENV{'DESTDIR'});
|
|
Index: latex2html.man
|
|
===================================================================
|
|
--- /dev/null
|
|
+++ latex2html.man
|
|
@@ -0,0 +1,113 @@
|
|
+.00; # finish .ig
|
|
+
|
|
+'di \" finish diversion--previous line must be blank
|
|
+.nr nl 0-1 \" fake up transition to first page again
|
|
+.nr % 0 \" start at page 1
|
|
+'; __END__ ##### From here on it's a standard manual page - VERSION #####
|
|
+.TH LaTeX2HTML 1
|
|
+.AT 3
|
|
+.SH NAME
|
|
+latex2html \- translate LaTeX files to HTML (HyperText Markup Language)
|
|
+.SH SYNOPSIS
|
|
+.B
|
|
+
|
|
+latex2html
|
|
+ [-address author-address]
|
|
+ [-antialias]
|
|
+ [-antialias_text]
|
|
+ [-ascii_mode]
|
|
+ [-auto_navigation]
|
|
+ [-auto_prefix]
|
|
+ [-biblio URL]
|
|
+ [-bottom_navigation]
|
|
+ [-contents URL]
|
|
+ [-contents_in_navigation]
|
|
+ [-custom_titles]
|
|
+ [-debug]
|
|
+ [-dir output-directory]
|
|
+ [-discard]
|
|
+ [-down_title string]
|
|
+ [-down_url URL]
|
|
+ [-external_file filename]
|
|
+ [-external_images]
|
|
+ [-font_size size]
|
|
+ [-h(elp)]
|
|
+ [-html_version (2.0|3.0|3.2)[,(math|i18n|table)]*]
|
|
+ [-images_only]
|
|
+ [-index URL]
|
|
+ [-index_in_navigation]
|
|
+ [-info string]
|
|
+ [-init_file file]
|
|
+ [-iso_language type]
|
|
+ [-ldump]
|
|
+ [-link num]
|
|
+ [-local_icons]
|
|
+ [-long_titles num]
|
|
+ [-next_page_in_navigation]
|
|
+ [-no_antialias]
|
|
+ [-no_antialias_text]
|
|
+ [-no_auto_link]
|
|
+ [-no_footnode]
|
|
+ [-no_fork]
|
|
+ [-no_images]
|
|
+ [-no_math]
|
|
+ [-no_navigation]
|
|
+ [-no_reuse]
|
|
+ [-no_subdir]
|
|
+ [-no_tex_defs]
|
|
+ [-no_white]
|
|
+ [-nolatex]
|
|
+ [-numbered_footnotes]
|
|
+ [-prefix filename-prefix]
|
|
+ [-prev_title string]
|
|
+ [-prev_url URL]
|
|
+ [-previous_page_in_navigation]
|
|
+ [-ps_images]
|
|
+ [-reuse reuse_option]
|
|
+ [-scalable_fonts]
|
|
+ [-short_extn]
|
|
+ [-short_index]
|
|
+ [-show_section_numbers]
|
|
+ [-split + num]
|
|
+ [-split num]
|
|
+ [-t top-page-title]
|
|
+ [-tmp path]
|
|
+ [-toc_depth num]
|
|
+ [-toc_stars]
|
|
+ [-top_navigation]
|
|
+ [-unsegment]
|
|
+ [-up_title string]
|
|
+ [-up_url URL]
|
|
+ [-v]
|
|
+ [-verbosity num]
|
|
+ [-white]
|
|
+ file(s)
|
|
+
|
|
+
|
|
+.SH DESCRIPTION
|
|
+.I LaTeX2HTML
|
|
+is a Perl program that translates LaTeX source files into HTML. For each source
|
|
+file given as an argument the translator will create a directory containing the
|
|
+corresponding HTML files.
|
|
+See the WWW online documentation or the /usr/share/doc/packages/latex2html/manual.ps.gz
|
|
+file for more detailed information and examples.
|
|
+
|
|
+.SH PROBLEMS
|
|
+For information on various problems and remedies see the WWW online documentation
|
|
+or the documents available in the distribution.
|
|
+A mailing list for technical discussion about latex2html, bugs and enhancements is available at
|
|
+latex2html@tug.org
|
|
+
|
|
+.SH SUSE installation
|
|
+
|
|
+In /usr/share/doc/packages/latex2html you may find more information about this package.
|
|
+
|
|
+.SH AUTHOR
|
|
+Nikos Drakos, Computer Based Learning Unit, University of Leeds
|
|
+<nikos@cbl.leeds.ac.uk>. Several people have contributed suggestions,
|
|
+ideas, solutions, support and
|
|
+encouragement.
|
|
+
|
|
+The pstogif script uses the pstoppm.ps
|
|
+postscript program originally written by Phillip Conrad (Perfect Byte, Inc.)
|
|
+and modified by L. Peter Deutsch (Aladdin Enterprises).
|
|
Index: local.pm
|
|
===================================================================
|
|
--- /dev/null
|
|
+++ local.pm
|
|
@@ -0,0 +1,29 @@
|
|
+#################################################################
|
|
+# local.pm
|
|
+#
|
|
+# Local Configuration for LaTeX2HTML
|
|
+#
|
|
+# This file is created automatically. Do not edit!
|
|
+#
|
|
+#################################################################
|
|
+
|
|
+package main;
|
|
+
|
|
+### start pstoimg configuration ###
|
|
+$GS_LIB = ' . ; /usr/share/ghostscript/5.50 ; /usr/share/ghostscript/fonts'; # Inserted by configure-pstoimg
|
|
+$GS_DEVICE = 'ppmraw'; # Inserted by configure-pstoimg
|
|
+$GS = '/usr/bin/gs'; # Inserted by configure-pstoimg
|
|
+$PNMCAT = '/usr/X11R6/bin/pnmcat'; # Inserted by configure-pstoimg
|
|
+$PNMFILE = '/usr/X11R6/bin/pnmfile'; # Inserted by configure-pstoimg
|
|
+$PNMTOPNG = '/usr/X11R6/bin/pnmtopng'; # Inserted by configure-pstoimg
|
|
+$PBMMAKE = '/usr/X11R6/bin/pbmmake'; # Inserted by configure-pstoimg
|
|
+$GSLANDSCAPE = '/usr/share/ghostscript/5.50/landscap.ps'; # Inserted by configure-pstoimg
|
|
+$PPMQUANT = '/usr/X11R6/bin/ppmquant'; # Inserted by configure-pstoimg
|
|
+$PNMFLIP = '/usr/X11R6/bin/pnmflip'; # Inserted by configure-pstoimg
|
|
+$bg_color = '\#bfbfbf'; # Inserted by configure-pstoimg
|
|
+$white_color = '\#ffffff'; # Inserted by configure-pstoimg
|
|
+$PNMCROP = '/usr/X11R6/bin/pnmcrop'; # Inserted by configure-pstoimg
|
|
+
|
|
+### end pstoimg configuration ###
|
|
+
|
|
+1;
|