Accepting request 662190 from Publishing
- updated to 2018 * config: avoid warning "untie attempted" * Handle . not in @INC for images.pl and internals.pl * fix \graphicspath with relative path in preamble https://github.com/latex2html/latex2html/issues/40 * \providecommand should not redefine existing command * Picture generation via dvipng * KOI8-R, CP1251 and UTF-8 support for Russian * default to white background for rendering images. if $LATEX_COLOR set, pass as transparency color to pstoimg. https://bugs.debian.org/188024 * usepackage xcolor. uses rgb black rather than cmyk black. fixes eqns appearing as dark grey rather than black. * Fix stray comment mark: Issue #19 - altered patches % latex2html-perl-bindir.diff % latex2html-perl526.patch OBS-URL: https://build.opensuse.org/request/show/662190 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/latex2html?expand=0&rev=35
This commit is contained in:
commit
82f5882ece
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b8c21ef292817c85ba553f560129723bcae4ee9a6ec7a22ce2289329db7c1ef
|
||||
size 1131438
|
3
latex2html-2018.tar.gz
Normal file
3
latex2html-2018.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09e37526d169e77c266c23122348998a0841c3d50866e45ff2550128157ad4e2
|
||||
size 1092431
|
@ -1,11 +1,3 @@
|
||||
--- cweb2html/cweb2html
|
||||
+++ cweb2html/cweb2html
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/local/bin/perl
|
||||
+#!/usr/bin/perl
|
||||
|
||||
################################################################################
|
||||
# Copyright 1998-1999 by Jens Lippmann (lippmann@rbg.informatik.th-darmstadt.de)
|
||||
--- cweb2html/makemake.pl
|
||||
+++ cweb2html/makemake.pl
|
||||
@@ -1,4 +1,4 @@
|
||||
@ -14,11 +6,4 @@
|
||||
|
||||
################################################################################
|
||||
# Copyright 1998-1999 by Jens Lippmann (lippmann@rbg.informatik.tu-darmstadt.de)
|
||||
--- makeseg/makeseg
|
||||
+++ makeseg/makeseg
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/local/bin/perl
|
||||
+#!/usr/bin/perl
|
||||
|
||||
# Check options and load configuration files
|
||||
&init;
|
||||
|
||||
|
@ -1,42 +1,3 @@
|
||||
Index: latex2html-2017.2/versions/html3_2.pl
|
||||
===================================================================
|
||||
--- latex2html-2017.2.orig/versions/html3_2.pl
|
||||
+++ latex2html-2017.2/versions/html3_2.pl
|
||||
@@ -607,7 +607,7 @@ sub process_tabular {
|
||||
|
||||
if ($color_env) {
|
||||
local($color_test) = join(',',@$open_tags_R);
|
||||
- if ($color_test =~ /(color{[^}]*})/g ) {
|
||||
+ if ($color_test =~ /(color\{[^}]*})/g ) {
|
||||
$color_env = $1;
|
||||
}
|
||||
}
|
||||
Index: latex2html-2017.2/versions/html4_01.pl
|
||||
===================================================================
|
||||
--- latex2html-2017.2.orig/versions/html4_01.pl
|
||||
+++ latex2html-2017.2/versions/html4_01.pl
|
||||
@@ -976,7 +976,7 @@ sub process_tabular {
|
||||
|
||||
if ($color_env) {
|
||||
local($color_test) = join(',',@$open_tags_R);
|
||||
- if ($color_test =~ /(color{[^}]*})/g ) {
|
||||
+ if ($color_test =~ /(color\{[^}]*})/g ) {
|
||||
$color_env = $1;
|
||||
}
|
||||
}
|
||||
Index: latex2html-2017.2/versions/html4_1.pl
|
||||
===================================================================
|
||||
--- latex2html-2017.2.orig/versions/html4_1.pl
|
||||
+++ latex2html-2017.2/versions/html4_1.pl
|
||||
@@ -976,7 +976,7 @@ sub process_tabular {
|
||||
|
||||
if ($color_env) {
|
||||
local($color_test) = join(',',@$open_tags_R);
|
||||
- if ($color_test =~ /(color{[^}]*})/g ) {
|
||||
+ if ($color_test =~ /(color\{[^}]*})/g ) {
|
||||
$color_env = $1;
|
||||
}
|
||||
}
|
||||
Index: latex2html-2017.2/configure
|
||||
===================================================================
|
||||
--- latex2html-2017.2.orig/configure
|
||||
|
@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 31 07:58:03 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- updated to 2018
|
||||
* config: avoid warning "untie attempted"
|
||||
* Handle . not in @INC for images.pl and internals.pl
|
||||
* fix \graphicspath with relative path in preamble
|
||||
https://github.com/latex2html/latex2html/issues/40
|
||||
* \providecommand should not redefine existing command
|
||||
* Picture generation via dvipng
|
||||
* KOI8-R, CP1251 and UTF-8 support for Russian
|
||||
* default to white background for rendering images.
|
||||
if $LATEX_COLOR set, pass as transparency color to pstoimg.
|
||||
https://bugs.debian.org/188024
|
||||
* usepackage xcolor. uses rgb black rather than cmyk black.
|
||||
fixes eqns appearing as dark grey rather than black.
|
||||
* Fix stray comment mark: Issue #19
|
||||
- altered patches
|
||||
% latex2html-perl-bindir.diff
|
||||
% latex2html-perl526.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 24 09:32:42 UTC 2017 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package latex2html
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@ -12,16 +12,16 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define share_dir %{_datadir}/latex2html
|
||||
Name: latex2html
|
||||
Version: 2017.2
|
||||
Version: 2018
|
||||
Release: 0
|
||||
Summary: LaTeX to HTML Converter
|
||||
License: GPL-2.0+
|
||||
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
|
||||
@ -50,7 +50,7 @@ Requires: perl
|
||||
Requires: texlive-dvips
|
||||
Requires: texlive-latex
|
||||
BuildArch: noarch
|
||||
%{expand: %%global _texmfmaindir %(kpsewhich -expand-var='$TEXMFMAIN')}
|
||||
%define _texmfmaindir %{_datadir}/texmf
|
||||
|
||||
%description
|
||||
LaTeX2HTML lets you convert basic LaTeX documents into the HTML
|
||||
@ -59,7 +59,7 @@ LaTeX texts.
|
||||
|
||||
%package pngicons
|
||||
Summary: Icons in the PNG format for LateX2HTML
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Publishing/TeX/Utilities
|
||||
|
||||
%description pngicons
|
||||
@ -67,7 +67,7 @@ Icons in the PNG format for the LaTeX to HTML Converter.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for the Latex2HTML Converter
|
||||
License: GPL-2.0+ AND LPPL-1.3c
|
||||
License: GPL-2.0-or-later AND LPPL-1.3c
|
||||
Group: Productivity/Publishing/TeX/Utilities
|
||||
|
||||
%description doc
|
||||
@ -93,7 +93,7 @@ make %{?_smp_mflags}
|
||||
%make_install
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||
install -m 644 %{SOURCE5} %{buildroot}/%{_mandir}/man1
|
||||
rm -r %{buildroot}%{share_dir}/{docs,example,dot.latex2html-init,readme.hthtml}
|
||||
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}
|
||||
|
||||
@ -101,7 +101,7 @@ chmod 755 %{buildroot}%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2
|
||||
LATEX2HTMLDIR=%{buildroot}/%{share_dir} ./latex2html --test_mode %{SOURCE3}
|
||||
|
||||
%files
|
||||
%doc README.SUSE Changes FAQ README.md TODO dot.latex2html-init readme.hthtml
|
||||
%doc README.SUSE Changes FAQ README.md TODO dot.latex2html-init
|
||||
%{_prefix}/lib/latex2html
|
||||
%dir %{share_dir}
|
||||
%{share_dir}/*.pm
|
||||
|
Loading…
Reference in New Issue
Block a user