SHA256
1
0
forked from pool/latex2html
OBS User unknown 2007-01-15 23:21:08 +00:00 committed by Git OBS Bridge
commit 1fd42027c2
13 changed files with 1029 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,11 @@
--- config/config.pl
+++ config/config.pl
@@ -1043,7 +1043,7 @@
my $gs_version;
my $flag = 0;
- unless(open(GS,"$gs -h |")) {
+ unless(open(GS,"$gs -h 2>&1 |")) {
$opt{'have_pstoimg'} = 0;
logit("Error: could not execute $gs\n");
&warn_no_images();

View File

@ -0,0 +1,369 @@
--- IndicTeX-HTML/devnagri.perl 2001-06-11 07:15:02.000000000 +0200
+++ IndicTeX-HTML/devnagri.perl 2003-03-07 11:37:37.000000000 +0100
@@ -331,6 +331,7 @@
sub do_env_pre_tr_devnagri {
local($_) = @_;
open(DNTR,">dntr.tmp") || print "\n *** cannot open dntr.tmp ***" ;
+ binmode DNTR;
print DNTR "\$\$", &revert_to_raw_tex($_), "\$\$";
close DNTR;
&syswait("patc -p $PRE_FILTERS${dd}dng.pat dntr.tmp dntr.tmp1");
--- IndicTeX-HTML/itrans.perl 1999-03-13 01:33:23.000000000 +0100
+++ IndicTeX-HTML/itrans.perl 2003-03-07 11:38:27.000000000 +0100
@@ -336,10 +336,11 @@
, "\#${indic}ifm=".$itrans_info{$indic.'ifm'}
, "\#$indic", $itext , "\#end$indic\n" );
open(ITRANS, ">itrans.itx");
+ binmode ITRANS;;
print ITRANS "$_";
close(ITRANS);
&syswait("$ITRANS <itrans.itx >itrans.htm");
- open(ITRANS, "<itrans.htm"); $itext = '';
+ open(ITRANS, "<itrans.htm"); binmode ITRANS; $itext = '';
while (<ITRANS>) {
next if (/^(\%|$)/);
$itext .= $_
--- IndicTeX-HTML/malyalam.perl 1998-01-22 05:33:22.000000000 +0100
+++ IndicTeX-HTML/malyalam.perl 2003-03-07 11:38:55.000000000 +0100
@@ -221,6 +221,7 @@
sub do_env_pre_mmtr {
local($_) = @_;
open(MMTR,">mmtr.tmp") || print "\n *** cannot open mmtr.tmp ***" ;
+ binmode MMTR;
print MMTR "\$\$", &revert_to_raw_tex($_), "\$\$";
close MMTR;
&syswait("$PATC -p $MMDIR${dd}mm.pat mmtr.tmp mmtr.tmp1");
--- cweb2html/cweb2html 1999-04-10 07:15:14.000000000 +0200
+++ cweb2html/cweb2html 2003-03-07 11:39:48.000000000 +0100
@@ -258,7 +258,7 @@
open(INPUT,"<$filename") ||
die "$PRGFILE: error: Could not open $filename\n";
-
+ binmode INPUT;
while (<INPUT>) {
$string{'STRING'} .= $_;
}
--- cweb2html/htcweb.perl 1999-10-16 07:15:04.000000000 +0200
+++ cweb2html/htcweb.perl 2003-03-07 11:40:39.000000000 +0100
@@ -941,6 +941,7 @@
print "\nReading <$_[0]>..." if $DEBUG;
open(INPUT,"<$_[0]");
+ binmode INPUT;
while (<INPUT>) {
$string{'STRING'} .= $_;
}
@@ -948,6 +949,7 @@
print "\nReading <$_[1]>..." if $DEBUG;
open(INPUT,"<$_[1]");
+ binmode INPUT;
while (<INPUT>) {
$string{'STRING'} .= $_;
}
@@ -1028,6 +1030,7 @@
}
}
open(INPUT,"<$file") || die "Could not open $file\n";
+ binmode INPUT;
while (<INPUT>) {
$string{'STRING'} .= $_};
$_ = delete $string{'STRING'}; # Blow it away and return the result
--- cweb2html/makemake.pl 1999-04-10 07:15:19.000000000 +0200
+++ cweb2html/makemake.pl 2003-03-07 11:43:11.000000000 +0100
@@ -27,8 +27,10 @@
die "Cannot rename to $source.bak, $!\n";
open(OUT,">$source") ||
die "Cannot open $source, $!\n";
+ binmode OUT;
open(IN,"<$source.bak");
+ binmode IN;
while (<IN>) {
$string{'STRING'} .= $_;
}
--- latex2html.pin 2002-08-23 07:15:01.000000000 +0200
+++ latex2html.pin 2003-03-07 11:34:33.000000000 +0100
@@ -1088,6 +1088,7 @@
unless($ignore);
return undef;
}
+ binmode CATFILE;
local($/) = undef; # slurp in whole file
my $contents = <CATFILE>;
close(CATFILE);
@@ -1344,6 +1345,7 @@
$auto_styles =~ s/\|$//;
if(open(STYLES, "<$TMP_${dd}styles")) {
+ binmode STYLES;
while(<STYLES>) {
if(s/^\s*(\S+)\s*(.*)$/$style = $1; $options = $2;/eo) {
&do_require_package($style);
@@ -1759,6 +1761,7 @@
unless(open(SINPUT,"<$file")) {
die "\nError: Cannot read '$file': $!\n";
}
+ binmode SINPUT;
local(@file_string);
print STDOUT "$file" if ($VERBOSITY >1);
while (<SINPUT>) {
@@ -1843,6 +1846,7 @@
&wrap_shorthand_environments;
print STDOUT "\n *** End-of-partition ***" if ($VERBOSITY > 1);
if(open(OUT, ">$TMP_$dd$PARTITION_PREFIX$count")) {
+ binmode OUT;
print OUT $_;
close(OUT);
} else {
@@ -1863,6 +1867,7 @@
local($file) = @_;
local(%string);
if(open(INPUT,"<$file")) {
+ binmode INPUT;
local(@file_string);
while (<INPUT>) {
push(@file_string, $_ );
@@ -2316,6 +2321,7 @@
open(OUTPUT, ">$CURRENT_FILE")
|| die "Cannot write '$CURRENT_FILE': $!\n";
+ binmode OUTPUT;
if ($XBIT_HACK) { # use Apache's XBit hack
chmod 0744, $CURRENT_FILE;
&check_htaccess;
@@ -3766,6 +3772,7 @@
print "\nWriting image.pre file ...\n";
open(ENV,">.$dd${PREFIX}images.pre")
|| die "\nCannot write '${PREFIX}images.pre': $!\n";
+ binmode ENV;
print ENV &make_latex($latex_body);
print ENV "\n";
close ENV;
@@ -3785,6 +3792,7 @@
# save pre-processor commands in a file: preproc
open(CMDS,">.$dd${PREFIX}preproc")
|| die "\nCannot write '${PREFIX}preproc': $!\n";
+ binmode CMDS;
print CMDS $preprocessor_cmds ;
close CMDS;
@@ -3795,6 +3803,7 @@
print "\nWriting image file ...\n";
open(ENV,">.$dd${PREFIX}images.tex")
|| die "\nCannot write '${PREFIX}images.tex': $!\n";
+ binmode ENV;
print ENV &make_latex($latex_body);
print ENV "\n";
close ENV;
@@ -7152,8 +7161,10 @@
print "\nError: Cannot write '$FILE.css': $!\n";
return;
}
+ binmode STYLESHEET;
if ( -f $EXTERNAL_STYLESHEET ) {
if(open(EXT_STYLES, "<$EXTERNAL_STYLESHEET")) {
+ binmode EXT_STYLES;
while (<EXT_STYLES>) { print STYLESHEET $_; }
close(EXT_STYLES);
} else {
@@ -7448,7 +7459,7 @@
&slurp_input($this_file);
open(OUTFILE, ">$this_file")
|| die "\nError: Cannot write file '$this_file': $!\n";
-
+ binmode OUTFILE;
if (($INDEX) && ($SHORT_INDEX) && ($SEGMENT eq 1)) {
&make_index_segment($title,$file); }
@@ -7812,6 +7823,7 @@
return();
}
if(open(INIT, "<$init_file")) {
+ binmode INIT;
foreach $info_line (<INIT>) {
$info_line =~ s/[<>"&]/'&'.$html_special_entities{$&}.';'/eg;
$init_contents .= $info_line;
@@ -8572,6 +8584,7 @@
sub post_process_footnotes {
&slurp_input($footfile);
open(OUT, ">$footfile") || die "Cannot write file '$footfile': $!\n";
+ binmode OUT;
&replace_markers;
&post_post_process if (defined &post_post_process);
&adjust_encoding;
@@ -8593,6 +8606,7 @@
print "\nError: Cannot write '$filename': $!\n";
return;
}
+ binmode FILE;
print FILE $_;
close(FILE);
}
@@ -9031,6 +9045,7 @@
my $script = $SCRIPT || $0;
open(PIPE, "$perldoc -t $script |")
|| die "Fatal: can't open pipe: $!";
+ binmode PIPE;
while (<PIPE>) {
if (/^\s*$/) {
next;
@@ -10126,6 +10141,7 @@
print "\nError: Cannot write '$urlimg': $!\n";
return;
}
+ binmode IMAGE_MAP;
### HWS Pass server map unchanged from user
print IMAGE_MAP "<HTML>\n<BODY>\n<A HREF=\"$map\">\n";
print IMAGE_MAP "<IMG\n SRC=\"$url\" ISMAP $ausemp $altst> </A>";
@@ -10143,6 +10159,8 @@
($to_prefix, $suffix) = split(/\./, $to);
if ($EXTN =~ /$suffix$/) {
if (open(FROM, "<$from") && open(HTMP, ">HTML_tmp")) {
+ binmode FROM;
+ binmode HTMP;
while (<FROM>) {
s/$from_prefix\.$IMAGE_TYPE/$to_prefix.$IMAGE_TYPE/g;
print HTMP;
@@ -10167,6 +10185,7 @@
&replace_markers;
&add_dir_to_href if ($DESTDIR);
if(open(CAPTIONS, ">${PREFIX}$type.pl")) {
+ binmode CAPTIONS;
print CAPTIONS $_;
close (CAPTIONS);
} else {
@@ -16377,6 +16396,7 @@
if (-f $access_file) {
print STDOUT " ... found";
open(HTACCESS, "<$access_file");
+ binmode HTACCESS;
while (<HTACCESS>) {
if (/^\s*XBitHack\s*on\s*$/) {
print STDOUT " with XBitHack on";
--- styles/color.perl 2001-02-18 07:15:01.000000000 +0100
+++ styles/color.perl 2003-03-07 11:44:28.000000000 +0100
@@ -154,6 +154,7 @@
if (-f $file) {
if (open(COLORFILE,"<$file")) {
print STDOUT "\n(reading colors from $file" if $DEBUG;
+ binmode COLORFILE;
$* = 0; # Multiline matching OFF
while (<COLORFILE>) {
s/^\s*(\d+)\s+(\d+)\s+(\d+)\s+(\w+(\s\w+)*)\s*/
@@ -187,6 +188,7 @@
if (-f $file) {
if (open(COLORFILE,"<$file")) {
print STDOUT "\n(reading colors from $file";
+ binmode COLORFILE;
$* = 0; # Multiline matching OFF
@colors = (<COLORFILE>);
foreach (@colors) {
--- styles/frames.perl 1999-09-09 07:15:09.000000000 +0200
+++ styles/frames.perl 2003-03-07 11:45:00.000000000 +0100
@@ -1126,6 +1126,7 @@
);
&text_cleanup;
open(FILE,">$filename") || print "Cannot open $filename $!\n";
+ binmode FILE;
print FILE $_;
close(FILE);
}
--- styles/getimagesize.perl 2002-04-20 02:29:30.000000000 +0200
+++ styles/getimagesize.perl 2003-03-07 11:45:33.000000000 +0100
@@ -12,6 +12,7 @@
my $type = lc($1);
$type = $IMAGE_TYPE unless $type =~ /(gif|png|jpe?g)/;
if (open(IMAGE, "<$imagefile")) {
+ binmode IMAGE;
my ($buffer,$magic,$dummy,$width,$height) = ('','','',0,0);
binmode(IMAGE); # not harmful un UNIX
# if ($IMAGE_TYPE =~ /gif/) {
--- styles/graphics-support.perl 2002-06-07 07:15:03.000000000 +0200
+++ styles/graphics-support.perl 2003-03-07 11:46:06.000000000 +0100
@@ -426,6 +426,7 @@
my($file)=@_;
my(@bb,$f);
if(($f=find_file($file,$GRAPHICS_PATH,['.eps','.ps','.bb'])) && open(PS,$f)){
+ binmode PS;
while(<PS>){
if(/^%%BoundingBox:\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s*$/){
@bb=($1,$2,$3,$4); last; }}
--- styles/html.perl 1999-11-06 07:15:08.000000000 +0100
+++ styles/html.perl 2003-03-07 11:47:15.000000000 +0100
@@ -293,6 +293,7 @@
if ($pretag) {
# code due to Alan Williams <alanw@cs.man.ac.uk>
open(LABELS, "<$labelfile");
+ binmode LABELS;
print "\nLoading external labels from $labelfile, with prefix $pretag"
if ($VERBOSITY > 1);
local($translated_stream, $instream);
@@ -400,6 +401,7 @@
if ($pretag) {
# code due to Alan Williams <alanw@cs.man.ac.uk>
open(LABELS, "<$labelfile");
+ binmode LABELS;
print "\nLoading external labels from $labelfile, with prefix $pretag"
if ($VERBOSITY > 1);
local($translated_stream, $instream);
--- styles/webtex.perl 1998-07-22 04:15:20.000000000 +0200
+++ styles/webtex.perl 2003-03-07 11:47:45.000000000 +0100
@@ -227,6 +227,7 @@
&webeq_failed($out_tag); $out_tag = '';
} else {
open(TAG, "<$out_tag");
+ binmode TAG;
$app_tag = join('',<TAG>);
close(TAG);
# replace webeq fall-back image by LaTeX2HTML's own, or none at all
--- texexpand.pin 2000-08-23 07:15:01.000000000 +0200
+++ texexpand.pin 2003-03-07 11:37:07.000000000 +0100
@@ -547,14 +547,16 @@
if($opt{save_styles}) {
open(STYLES,">$opt{save_styles}")
|| die "$prompt Error: Cannot open style file '$opt{save_styles}': $!\n";
- }
+ binmode STYLES;
+ }
if($opt{output}) {
open(OUT,">$opt{output}")
|| die "$prompt Error: Cannot open output file '$opt{output}': $!\n";
}
else {
open(OUT,">&STDOUT");
- }
+ }
+ binmode OUT;
&process_file($infile); # the workhorse...
@@ -672,6 +674,7 @@
$includelevel++;
open(IN,"<$infile") || die "$prompt Cannot open $infile\n";
+ binmode IN;
print STDERR "$prompt %--- Processing $infile" if ($debug > 1);
# if we don't include this file marker LaTeX2HTML won't split
--- versions/frame.pl 2001-04-14 07:15:02.000000000 +0200
+++ versions/frame.pl 2003-03-07 11:48:17.000000000 +0100
@@ -1202,6 +1202,7 @@
);
&text_cleanup;
open(FILE,">$filename") || print "Cannot open $filename $!\n";
+ binmode FILE;
print FILE $_;
close(FILE);
}
--- versions/techexpl.pl 1999-07-11 09:31:52.000000000 +0200
+++ versions/techexpl.pl 2003-03-07 11:48:43.000000000 +0100
@@ -212,6 +212,7 @@
sub TE_check_file_contents {
local ($ifile) = @_;
open(TEINC, "<$ifile");
+ binmode TEINC;
my($macrosOK,$macrosNUM,$numlines,$invalid) = (0,0,0,0);
my $TE_special_macros_rx = join('|',@TE_special_macros);
my $TE_defined_accents_rx = join('|',@TE_defined_accents);

171
latex2html-2002.2.1.diff Normal file
View File

@ -0,0 +1,171 @@
--- config/config.pl 2002-09-28 07:15:01.000000000 +0200
+++ config/config.pl 2004-03-04 17:22:04.000000000 +0100
@@ -1918,7 +1918,7 @@
$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'});
--- config/install.pl
+++ config/install.pl 2000/12/01 09:58:33
@@ -383,6 +383,9 @@
sub install_file {
my ($src,$dest,$chmod) = @_;
+
+ my $buildroot=$ENV{"RPM_BUILD_ROOT"};
+ $dest= "$buildroot$dest";
my $mkdir = $dest;
--- latex2html.man
+++ latex2html.man 2000/08/30 12:12:27
@@ -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).
--- local.pm
+++ local.pm 2000/08/30 12:08:52
@@ -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;

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7fd5bdd9b5a403cc744071faebfedb91a724f3507b7298a6a455c89822c7a0d0
size 895977

6
latex2html-README.SuSE Normal file
View File

@ -0,0 +1,6 @@
Incompatibilities
=================
latex2html isn't fully compatible with the 'url' package. latex2html
will die on the string "$$" in \path; e.g., \path{foo.$$}. For more
info refer to Suse Linux Bugilla #26127.

3
latex2html-manual.ps.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00e6b3ab0f0d3e1b519047a1fb08ae035355b80d9deaa766fb652bee7ca62f6d
size 423013

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82bf235f18ce60c5d3a3c80117d29f812d9c39784d86cea13695832d4e0c62cc
size 303097

187
latex2html.changes Normal file
View File

@ -0,0 +1,187 @@
-------------------------------------------------------------------
Wed Jan 25 21:46:50 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Sat Feb 19 10:58:40 CET 2005 - ro@suse.de
- fix gs version detection
-------------------------------------------------------------------
Tue Jun 8 14:21:05 CEST 2004 - ke@suse.de
- Add README.SuSE and document 'url' package incompatibility [#26127].
-------------------------------------------------------------------
Thu Mar 04 18:26:39 CET 2004 - tcrhak@suse.cz
- install into /usr/share/latex2html instead of /usr/share/lib/latex2html
(bug #33641)
-------------------------------------------------------------------
Wed Oct 29 18:02:59 CET 2003 - tcrhak@suse.cz
- use latex2html instead of l2h in the man page [bug #32559]
- updated the man page
-------------------------------------------------------------------
Thu Aug 14 13:50:32 CEST 2003 - kukuk@suse.de
- Fix filelist for pngicons subpackage
-------------------------------------------------------------------
Thu Jun 12 10:34:56 CEST 2003 - kukuk@suse.de
- Fix filelist
-------------------------------------------------------------------
Fri Mar 07 16:15:13 CET 2003 - tcrhak@suse.cz
- open files in raw binmode - needed when in a UTF-8 locale
[bug #22982]
-------------------------------------------------------------------
Wed Jan 15 20:31:50 CET 2003 - tcrhak@suse.cz
- update to version 2002.2.1
- directory ...latex2html/icons now owned by
latex2html-pngicons, not latex2html
- removed split-alias from latex2html-pngicons,
as it is required by latex2html
-------------------------------------------------------------------
Thu Oct 31 08:38:28 CET 2002 - ro@suse.de
- fixed renaming issues with pngicons subpackage
-------------------------------------------------------------------
Wed Oct 30 13:39:02 CET 2002 - mmj@suse.de
- When l2hhtml is merged into here, this one should obsolete it
-------------------------------------------------------------------
Wed Oct 30 09:31:24 CET 2002 - mmj@suse.de
- Rename to latex2html, and merge the l2hhtml package
-------------------------------------------------------------------
Thu Sep 12 10:27:47 MEST 2002 - mls@suse.de
- made it understand DeclareRobustCommand
-------------------------------------------------------------------
Sun Aug 18 02:31:25 CEST 2002 - ro@suse.de
- added ghostscript-x11-packages to neededforbuild (for gs)
-------------------------------------------------------------------
Mon Mar 25 11:48:29 CET 2002 - ro@suse.de
- l2h should require it's icons not vice versa
-------------------------------------------------------------------
Sat Mar 23 17:19:11 CET 2002 - ro@suse.de
- split off package l2h-pngicons
-------------------------------------------------------------------
Mon Feb 18 14:13:01 CET 2002 - tcrhak@suse.cz
- added libgimpprint to neededforbuild
-------------------------------------------------------------------
Fri Feb 1 01:28:57 CET 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
-------------------------------------------------------------------
Thu Aug 2 17:23:20 CEST 2001 - utuerk@suse.de
- added glib to Requires and neededforbuild
to configure l2h to use png by default
-------------------------------------------------------------------
Thu Jul 26 10:11:39 CEST 2001 - kukuk@suse.de
- fix needed for build
-------------------------------------------------------------------
Wed Jul 18 15:02:01 CEST 2001 - nadvornik@suse.cz
- updated URL and README (bug #9386)
-------------------------------------------------------------------
Wed Mar 7 13:31:48 CET 2001 - cihlar@suse.cz
- fixed neededforbuild
-------------------------------------------------------------------
Thu Dec 7 16:04:56 CET 2000 - nadvornik@suse.cz
- added te_latex to Requires
-------------------------------------------------------------------
Fri Dec 1 11:45:44 CET 2000 - nadvornik@suse.cz
- update to 99.2beta8
-------------------------------------------------------------------
Wed Aug 30 15:29:07 CEST 2000 - nadvornik@suse.cz
- configured to use png by default
-------------------------------------------------------------------
Thu Aug 3 10:03:26 CEST 2000 - nadvornik@suse.cz
- added man page
- spec file cleanup
-------------------------------------------------------------------
Mon Sep 20 17:20:35 CEST 1999 - ro@suse.de
- added Requires: ghostscript_any
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-------------------------------------------------------------------
Mon Aug 2 15:44:57 MEST 1999 - ke@suse.de
- update: version 99.1
- the rc.config variables are gone.
-------------------------------------------------------------------
Wed Apr 7 11:57:08 MEST 1999 - ro@suse.de
- fixed tex/latex link
-------------------------------------------------------------------
Thu Jul 2 11:08:20 MEST 1998 - ro@suse.de
- fixed bash2-bug in SuSEconfig.l2h
-------------------------------------------------------------------
Wed Mar 18 15:13:12 MET 1998 - ro@suse.de
- added touch var/adm/SuSEconfig/run-texhash to %post
----------------------------------------------------------------------------
Tue Jun 10 14:49:49 MEST 1997 - maddin@suse.de
- reordered the directory structure
- latex2html now sits partly in /var/lib/latex2html (writable part) and
/usr/lib/latex2html (read-only part)
- made absolute links relative ones
- removed some links
- restructured /sbin/conf.d/SuSEconfig.l2h
----------------------------------------------------------------------------
Thu May 22 19:10:48 MEST 1997 - maddin@suse.de
- first S.u.S.E. version 96-1.h
- placed the package in /usr/lib/latex2html
- documentation manual to separate package l2hhtml
- variables in rc.config to configure the package

222
latex2html.spec Normal file
View File

@ -0,0 +1,222 @@
#
# spec file for package latex2html (Version 2002.2.1)
#
# Copyright (c) 2005 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://www.suse.de/feedback/
#
Name: latex2html
BuildRequires: ghostscript-fonts-std ghostscript-x11 glib libpng-devel libtiff-devel netpbm te_ams te_latex xorg-x11 xorg-x11-devel
%define share_dir /usr/share/latex2html
Obsoletes: l2h l2hhtml
Provides: l2h
URL: http://www.latex2html.org
License: Contact author
Group: Productivity/Publishing/TeX/Utilities
Provides: l2h99_1
Requires: tetex te_latex netpbm perl ghostscript_any glib latex2html-pngicons
Autoreqprov: on
Version: 2002.2.1
Release: 364
Summary: LaTeX2HTML converter
BuildArchitectures: noarch
Source: latex2html-%{version}.tar.bz2
Source1: latex2html-manual.ps.gz
Source2: latex2html-manual.tar.bz2
Source3: latex2html-README.SuSE
Patch: latex2html-%{version}.diff
Patch1: latex2html-%{version}-binmode.diff
Patch2: latex2html-2002-2-1-gsout.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
LaTeX2HTML lets you easily convert not too complex LaTeX-documents into
the WWW format HTML. This enables one to have both a written and online
version of even older LaTeX texts.
Documentation may be found in:
/usr/share/doc/packages/latex2html
Authors:
--------
Jens Lippmann <lippmann@cdc.informatik.tu-darmstadt.de>
Nikos Drakos <nikos@cbl.leeds.ac.uk>
Ross Moore <ross@mpce.mq.edu.au>
%package pngicons
Provides: l2h-pngicons
Obsoletes: l2h-pngicons
Group: Productivity/Publishing/TeX/Utilities
Summary: Icons in the PNG format for the LaTeX to HTML Converter
%description pngicons
Icons in the PNG format for the LaTeX to HTML Converter.
Authors:
--------
Jens Lippmann <lippmann@cdc.informatik.tu-darmstadt.de>
Nikos Drakos <nikos@cbl.leeds.ac.uk>
Ross Moore <ross@mpce.mq.edu.au>
%prep
%setup -n %{name}-2002-2-1
%setup -a 2 -n %{name}-2002-2-1
%patch
%patch1
%patch2
cp %{S:1} manual.ps.gz
cp %{S:3} README.SuSE
%build
./configure --prefix=%{_prefix}
make
%install
rm -rf $RPM_BUILD_ROOT
export RPM_BUILD_ROOT
make install
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
install -m 644 latex2html.man $RPM_BUILD_ROOT/%{_mandir}/man1/latex2html.1
mkdir inst_doc
mv $RPM_BUILD_ROOT%{share_dir}/{docs,example} inst_doc
%clean
rm -rf $RPM_BUILD_ROOT
%postun
mkdir -p var/adm/SuSEconfig
touch var/adm/SuSEconfig/run-texhash
%post
mkdir -p var/adm/SuSEconfig
touch var/adm/SuSEconfig/run-texhash
%files
%defattr(-, root, root)
%doc README.SuSE
%doc Changes FAQ README TODO dot.latex2html-init readme.hthtml manual.ps.gz manual/
%doc inst_doc/* tests
#%doc %{_defaultdocdir}/latex2html/manual
#%doc %{_defaultdocdir}/latex2html/manual.ps.gz
/usr/lib/latex2html
%dir %{share_dir}
%{share_dir}/*.pm
%{share_dir}/IndicTeX-HTML
%{share_dir}/L2hos
%{share_dir}/XyMTeX-HTML
%{share_dir}/cweb2html
%{share_dir}/dot.latex2html-init
%{share_dir}/foilhtml
%{share_dir}/icons/*.html
%{share_dir}/icons/*.gif
%{share_dir}/makemap
%{share_dir}/makeseg
%{share_dir}/readme.hthtml
%{share_dir}/styles
%{share_dir}/texinputs
%{share_dir}/versions
/usr/bin/*
/usr/share/texmf/tex/latex/html
%{_mandir}/man1/latex2html*
%files pngicons
%dir %{share_dir}
%dir %{share_dir}/icons
%{share_dir}/icons/*.png
%changelog -n latex2html
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Feb 19 2005 - ro@suse.de
- fix gs version detection
* Tue Jun 08 2004 - ke@suse.de
- Add README.SuSE and document 'url' package incompatibility [#26127].
* Thu Mar 04 2004 - tcrhak@suse.cz
- install into /usr/share/latex2html instead of /usr/share/lib/latex2html
(bug #33641)
* Wed Oct 29 2003 - tcrhak@suse.cz
- use latex2html instead of l2h in the man page [bug #32559]
- updated the man page
* Thu Aug 14 2003 - kukuk@suse.de
- Fix filelist for pngicons subpackage
* Thu Jun 12 2003 - kukuk@suse.de
- Fix filelist
* Fri Mar 07 2003 - tcrhak@suse.cz
- open files in raw binmode - needed when in a UTF-8 locale
[bug #22982]
* Wed Jan 15 2003 - tcrhak@suse.cz
- update to version 2002.2.1
- directory ...latex2html/icons now owned by
latex2html-pngicons, not latex2html
- removed split-alias from latex2html-pngicons,
as it is required by latex2html
* Thu Oct 31 2002 - ro@suse.de
- fixed renaming issues with pngicons subpackage
* Wed Oct 30 2002 - mmj@suse.de
- When l2hhtml is merged into here, this one should obsolete it
* Wed Oct 30 2002 - mmj@suse.de
- Rename to latex2html, and merge the l2hhtml package
* Thu Sep 12 2002 - mls@suse.de
- made it understand DeclareRobustCommand
* Sun Aug 18 2002 - ro@suse.de
- added ghostscript-x11-packages to neededforbuild (for gs)
* Mon Mar 25 2002 - ro@suse.de
- l2h should require it's icons not vice versa
* Sat Mar 23 2002 - ro@suse.de
- split off package l2h-pngicons
* Mon Feb 18 2002 - tcrhak@suse.cz
- added libgimpprint to neededforbuild
* Fri Feb 01 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Thu Aug 02 2001 - utuerk@suse.de
- added glib to Requires and neededforbuild
to configure l2h to use png by default
* Thu Jul 26 2001 - kukuk@suse.de
- fix needed for build
* Wed Jul 18 2001 - nadvornik@suse.cz
- updated URL and README (bug #9386)
* Wed Mar 07 2001 - cihlar@suse.cz
- fixed neededforbuild
* Thu Dec 07 2000 - nadvornik@suse.cz
- added te_latex to Requires
* Fri Dec 01 2000 - nadvornik@suse.cz
- update to 99.2beta8
* Wed Aug 30 2000 - nadvornik@suse.cz
- configured to use png by default
* Thu Aug 03 2000 - nadvornik@suse.cz
- added man page
- spec file cleanup
* Mon Sep 20 1999 - ro@suse.de
- added Requires: ghostscript_any
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Mon Aug 02 1999 - ke@suse.de
- update: version 99.1
- the rc.config variables are gone.
* Wed Apr 07 1999 - ro@suse.de
- fixed tex/latex link
* Thu Jul 02 1998 - ro@suse.de
- fixed bash2-bug in SuSEconfig.l2h
* Wed Mar 18 1998 - ro@suse.de
- added touch var/adm/SuSEconfig/run-texhash to %%post
* Tue Jun 10 1997 - maddin@suse.de
- reordered the directory structure
- latex2html now sits partly in /var/lib/latex2html (writable part) and
/usr/lib/latex2html (read-only part)
- made absolute links relative ones
- removed some links
- restructured /sbin/conf.d/SuSEconfig.l2h
* Thu May 22 1997 - maddin@suse.de
- first S.u.S.E. version 96-1.h
- placed the package in /usr/lib/latex2html
- documentation manual to separate package l2hhtml
- variables in rc.config to configure the package

30
latex2html.test Normal file
View File

@ -0,0 +1,30 @@
Testform für l2h
================
Datum: 1999-08-02 15:43:35 MEST
Version: 99.1
Maintainer: ke@suse.de
Voraussetzungen:
================
Folgende Pakete müssen installiert werden:
1. l2h
2. l2hhtml
3. netpbm
4. TeX
Aufruf(e):
========
1. latex2html datei.tex
Ergebnis(se):
===========
Das Dokument wird in html übersetzt.

0
ready Normal file
View File