forked from pool/latex2html
- 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/package/show/Publishing/latex2html?expand=0&rev=34
This commit is contained in:
parent
d7c8d4d285
commit
dd29c7cd1e
@ -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;
|
|
||||||
|
|
@ -1,3 +1,46 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
- deleted patches
|
||||||
|
- latex2html-perl526.patch (upstreamed)
|
||||||
|
- deleted sources
|
||||||
|
- latex2html-README.SUSE (not needed)
|
||||||
|
- local.pm (not needed)
|
||||||
|
- testfile.tex (not needed)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 31 07:58:03 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
|
Mon Dec 31 07:58:03 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package latex2html
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,24 +18,19 @@
|
|||||||
|
|
||||||
%define share_dir %{_datadir}/latex2html
|
%define share_dir %{_datadir}/latex2html
|
||||||
Name: latex2html
|
Name: latex2html
|
||||||
Version: 2018
|
Version: 2019.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: LaTeX to HTML Converter
|
Summary: LaTeX to HTML Converter
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Publishing/TeX/Utilities
|
Group: Productivity/Publishing/TeX/Utilities
|
||||||
Url: http://www.ctan.org/tex-archive/support/latex2html
|
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
|
Source1: latex2html-manual.tar.bz2
|
||||||
Source2: latex2html-README.SUSE
|
|
||||||
Source3: testfile.tex
|
|
||||||
Source4: local.pm
|
|
||||||
Source5: latex2html.1
|
|
||||||
Patch0: latex2html-share-dir.diff
|
Patch0: latex2html-share-dir.diff
|
||||||
Patch1: latex2html-perl-bindir.diff
|
Patch1: latex2html-perl-bindir.diff
|
||||||
Patch2: latex2html-dest-dir.diff
|
Patch2: latex2html-dest-dir.diff
|
||||||
Patch3: latex2html-binmode.diff
|
Patch3: latex2html-binmode.diff
|
||||||
Patch4: latex2html-backref-workaround.diff
|
Patch4: latex2html-backref-workaround.diff
|
||||||
Patch5: latex2html-perl526.patch
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: ghostscript-fonts-std
|
BuildRequires: ghostscript-fonts-std
|
||||||
BuildRequires: ghostscript-x11
|
BuildRequires: ghostscript-x11
|
||||||
@ -80,9 +75,6 @@ This subpackage contains the documentation for the Latex2HTML converter.
|
|||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
%patch5 -p1
|
|
||||||
cp %{SOURCE2} README.SUSE
|
|
||||||
cp %{SOURCE4} .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Not autotools based configure
|
# Not autotools based configure
|
||||||
@ -92,16 +84,16 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
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}
|
rm -r %{buildroot}%{share_dir}/{docs,example,dot.latex2html-init}
|
||||||
chmod 755 %{buildroot}%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg}
|
chmod 755 %{buildroot}%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg}
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
LATEX2HTMLDIR=%{buildroot}/%{share_dir} ./latex2html --test_mode %{SOURCE3}
|
make %{?_smp_mflags} test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.SUSE Changes FAQ README.md TODO dot.latex2html-init
|
%doc Changes FAQ README.md TODO dot.latex2html-init
|
||||||
%{_prefix}/lib/latex2html
|
%{_prefix}/lib/latex2html
|
||||||
%dir %{share_dir}
|
%dir %{share_dir}
|
||||||
%{share_dir}/*.pm
|
%{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