Accepting request 730496 from Publishing
- version update to 2019.2 * format author block consistently https://bugs.debian.org/223565 * simplify build of manual https://bugs.debian.org/639708 * convert -- to – and --- to — If you want "--", use "-{}-", even inside \texttt{} Behavior of \textt{--} in latex depends on font encoding. https://bugs.debian.org/75416 * fix unicode in -html_version 5.0,math * fix -notop_navigation (had no effect) * remove obsolete "table" option https://bugs.debian.org/276037 * fix "make test" * ppmtopng syntax works with all versions of ppmtopng * respect ./configure --with-perl=/bin/perl * fallback for unknown column types, such as those introduced by \newcolumntype. https://bugs.debian.org/899306 * fix \sffamily https://bugs.debian.org/111441 * produce svg images using pdftocairo * use latex preview package to produce cropped images.pdf * pdflatex by default * dvipng by default * html 5 * unicode input and output by default * Support for packages luainputenc and polyglossia * Support for picture generation via pdflatex, lualatex or dvilualatex (options -use_pdftex, -use_luatex, OBS-URL: https://build.opensuse.org/request/show/730496 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/latex2html?expand=0&rev=36
This commit is contained in:
commit
b21f8e1359
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09e37526d169e77c266c23122348998a0841c3d50866e45ff2550128157ad4e2
|
||||
size 1092431
|
@ -1,6 +0,0 @@
|
||||
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.
|
@ -1,71 +0,0 @@
|
||||
Index: latex2html-2017.2/configure
|
||||
===================================================================
|
||||
--- latex2html-2017.2.orig/configure
|
||||
+++ latex2html-2017.2/configure
|
||||
@@ -1225,7 +1225,7 @@ if test "$?" != "0"; then
|
||||
fi
|
||||
|
||||
# this is used to get the values from the config file
|
||||
-eval `perl -w -e 'use cfgcache; foreach(keys %cfg) { print qq($_='"'"'$cfg{$_}'"'"'\n);}'`
|
||||
+eval `perl -w -e 'use lib q[.]; use cfgcache; foreach(keys %cfg) { print qq($_='"'"'$cfg{$_}'"'"'\n);}'`
|
||||
|
||||
|
||||
|
||||
Index: latex2html-2017.2/latex2html.pin
|
||||
===================================================================
|
||||
--- latex2html-2017.2.orig/latex2html.pin
|
||||
+++ latex2html-2017.2/latex2html.pin
|
||||
@@ -123,7 +123,7 @@ if($ENV{'L2HCONFIG'}) {
|
||||
require $ENV{'L2HCONFIG'} ||
|
||||
die "Fatal (require $ENV{'L2HCONFIG'}): $!";
|
||||
} else {
|
||||
- eval 'use l2hconf';
|
||||
+ eval 'use lib "."; use l2hconf';
|
||||
if($@) {
|
||||
die "Fatal (use l2hconf): $@\n";
|
||||
}
|
||||
@@ -1922,7 +1922,7 @@ sub mark_string {
|
||||
}
|
||||
$_[0] = join('',$before,"\{",$after) if($change);
|
||||
# MRO: mark one opening brace
|
||||
- if($_[0] =~ s/^([^{]*){/push(@processedB,$1);join('',$O,++$id,$C)/eos) {
|
||||
+ if($_[0] =~ s/^([^{]*)\{/push(@processedB,$1);join('',$O,++$id,$C)/eos) {
|
||||
$before=''; $after=$';
|
||||
}
|
||||
if ($after =~ /\}/) {
|
||||
Index: latex2html-2017.2/config/build.pl
|
||||
===================================================================
|
||||
--- latex2html-2017.2.orig/config/build.pl
|
||||
+++ latex2html-2017.2/config/build.pl
|
||||
@@ -145,6 +145,7 @@ my ($VERSION) = q$Revision: 1.6 $ =~ /:\
|
||||
# Read in the system's configuration
|
||||
use FindBin;
|
||||
use lib "$FindBin::Bin/..";
|
||||
+use lib "$FindBin::Bin";
|
||||
use cfgcache;
|
||||
|
||||
my $dd = $cfg{'dd'};
|
||||
Index: latex2html-2017.2/config/config.pl
|
||||
===================================================================
|
||||
--- latex2html-2017.2.orig/config/config.pl
|
||||
+++ latex2html-2017.2/config/config.pl
|
||||
@@ -435,6 +435,7 @@ use IO::File;
|
||||
|
||||
use FindBin;
|
||||
use lib "$FindBin::Bin/..";
|
||||
+use lib "$FindBin::Bin";
|
||||
use L2hos;
|
||||
|
||||
#use diagnostics;
|
||||
Index: latex2html-2017.2/config/install.pl
|
||||
===================================================================
|
||||
--- latex2html-2017.2.orig/config/install.pl
|
||||
+++ latex2html-2017.2/config/install.pl
|
||||
@@ -183,6 +183,7 @@ my ($VERSION) = q$Revision: 1.12 $ =~ /:
|
||||
|
||||
use FindBin;
|
||||
use lib "$FindBin::Bin/..";
|
||||
+use lib "$FindBin::Bin";
|
||||
use cfgcache;
|
||||
use L2hos;
|
||||
|
114
latex2html.1
114
latex2html.1
@ -1,114 +0,0 @@
|
||||
.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).
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 11 18:49:17 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- version update to 2019.2
|
||||
* format author block consistently
|
||||
https://bugs.debian.org/223565
|
||||
* simplify build of manual
|
||||
https://bugs.debian.org/639708
|
||||
* convert -- to – and --- to —
|
||||
If you want "--", use "-{}-", even inside \texttt{}
|
||||
Behavior of \textt{--} in latex depends on font encoding.
|
||||
https://bugs.debian.org/75416
|
||||
* fix unicode in -html_version 5.0,math
|
||||
* fix -notop_navigation (had no effect)
|
||||
* remove obsolete "table" option
|
||||
https://bugs.debian.org/276037
|
||||
* fix "make test"
|
||||
* ppmtopng syntax works with all versions of ppmtopng
|
||||
* respect ./configure --with-perl=/bin/perl
|
||||
* fallback for unknown column types, such as those
|
||||
introduced by \newcolumntype.
|
||||
https://bugs.debian.org/899306
|
||||
* fix \sffamily
|
||||
https://bugs.debian.org/111441
|
||||
* produce svg images using pdftocairo
|
||||
* use latex preview package to produce cropped images.pdf
|
||||
* pdflatex by default
|
||||
* dvipng by default
|
||||
* html 5
|
||||
* unicode input and output by default
|
||||
* Support for packages luainputenc and polyglossia
|
||||
* Support for picture generation via pdflatex, lualatex
|
||||
or dvilualatex (options -use_pdftex, -use_luatex,
|
||||
*use_luadvi correspondingly)
|
||||
* perl 5.26: unescaped brace
|
||||
* polski.perl: no translation until \prefixing command
|
||||
- use native `make test`
|
||||
- use latex2html.1 from tarball
|
||||
- deleted patches
|
||||
- latex2html-perl526.patch (upstreamed)
|
||||
- deleted sources
|
||||
- latex2html-README.SUSE (not needed)
|
||||
- local.pm (not needed)
|
||||
- testfile.tex (not needed)
|
||||
- added required texlive-preview
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 31 07:58:03 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package latex2html
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,24 +18,19 @@
|
||||
|
||||
%define share_dir %{_datadir}/latex2html
|
||||
Name: latex2html
|
||||
Version: 2018
|
||||
Version: 2019.2
|
||||
Release: 0
|
||||
Summary: LaTeX to HTML Converter
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Publishing/TeX/Utilities
|
||||
Url: http://www.ctan.org/tex-archive/support/latex2html
|
||||
Source0: http://mirrors.ctan.org/support/latex2html/latex2html-%{version}.tar.gz
|
||||
Source0: https://github.com/latex2html/latex2html/archive/v%{version}.tar.gz
|
||||
Source1: latex2html-manual.tar.bz2
|
||||
Source2: latex2html-README.SUSE
|
||||
Source3: testfile.tex
|
||||
Source4: local.pm
|
||||
Source5: latex2html.1
|
||||
Patch0: latex2html-share-dir.diff
|
||||
Patch1: latex2html-perl-bindir.diff
|
||||
Patch2: latex2html-dest-dir.diff
|
||||
Patch3: latex2html-binmode.diff
|
||||
Patch4: latex2html-backref-workaround.diff
|
||||
Patch5: latex2html-perl526.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: ghostscript-fonts-std
|
||||
BuildRequires: ghostscript-x11
|
||||
@ -43,6 +38,7 @@ BuildRequires: netpbm
|
||||
BuildRequires: texlive-dvips
|
||||
BuildRequires: texlive-kpathsea
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: texlive-preview
|
||||
Requires: ghostscript_any
|
||||
Requires: latex2html-pngicons
|
||||
Requires: netpbm
|
||||
@ -80,9 +76,6 @@ This subpackage contains the documentation for the Latex2HTML converter.
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5 -p1
|
||||
cp %{SOURCE2} README.SUSE
|
||||
cp %{SOURCE4} .
|
||||
|
||||
%build
|
||||
# Not autotools based configure
|
||||
@ -92,16 +85,16 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
%make_install
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||
install -m 644 %{SOURCE5} %{buildroot}/%{_mandir}/man1
|
||||
install -m 644 latex2html.1 %{buildroot}/%{_mandir}/man1
|
||||
rm -r %{buildroot}%{share_dir}/{docs,example,dot.latex2html-init}
|
||||
chmod 755 %{buildroot}%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg}
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%check
|
||||
LATEX2HTMLDIR=%{buildroot}/%{share_dir} ./latex2html --test_mode %{SOURCE3}
|
||||
make %{?_smp_mflags} test
|
||||
|
||||
%files
|
||||
%doc README.SUSE Changes FAQ README.md TODO dot.latex2html-init
|
||||
%doc Changes FAQ README.md TODO dot.latex2html-init
|
||||
%{_prefix}/lib/latex2html
|
||||
%dir %{share_dir}
|
||||
%{share_dir}/*.pm
|
||||
|
30
local.pm
30
local.pm
@ -1,30 +0,0 @@
|
||||
#################################################################
|
||||
# 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;
|
||||
|
1303
testfile.tex
1303
testfile.tex
File diff suppressed because it is too large
Load Diff
3
v2019.2.tar.gz
Normal file
3
v2019.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a76066632ebe416c770a2ce345d670da846e9f3d89632d6acd6e57fa6b4e264a
|
||||
size 1118672
|
Loading…
x
Reference in New Issue
Block a user