diff --git a/0001-make-doc-work-with-LuaTeX-0.85.patch b/0001-make-doc-work-with-LuaTeX-0.85.patch new file mode 100644 index 0000000..9daf057 --- /dev/null +++ b/0001-make-doc-work-with-LuaTeX-0.85.patch @@ -0,0 +1,46 @@ +From fe52bb6f39c045a4f3d405591553764f4261ae1f Mon Sep 17 00:00:00 2001 +Message-Id: +From: Michael J Gruber +Date: Tue, 29 Nov 2016 15:47:29 +0100 +Subject: [PATCH] make doc work with LuaTeX 0.85 + +LuaTeX 0.85 and later removed several pdf specials which are packages +need. Many TeXlive packages have not adapted to that change yet. + +Include luatex85.sty to provide the missing specials. + +Signed-off-by: Michael J Gruber +--- + doc/bibtool.tex | 2 ++ + doc/c_lib.tex | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/doc/bibtool.tex b/doc/bibtool.tex +index 7bcca2f..310034e 100644 +--- a/doc/bibtool.tex ++++ b/doc/bibtool.tex +@@ -18,6 +18,8 @@ + + \documentclass[11pt,a4paper]{scrbook} + ++\usepackage{luatex85} ++ + \usepackage{bibtool-doc} + + \input{config.tex} +diff --git a/doc/c_lib.tex b/doc/c_lib.tex +index 6f311dc..9164347 100644 +--- a/doc/c_lib.tex ++++ b/doc/c_lib.tex +@@ -17,6 +17,8 @@ + \NeedsTeXFormat{LaTeX2e} + \documentclass[11pt,a4paper]{scrbook} + ++\usepackage{luatex85} ++ + \usepackage{array,shortvrb,makeidx} + \usepackage[colorlinks=true, + linkcolor=blue, +-- +2.11.0.rc2.213.ge954adf + diff --git a/BibTool.spec b/BibTool.spec index c80f569..4bc5b04 100644 --- a/BibTool.spec +++ b/BibTool.spec @@ -1,13 +1,14 @@ Summary: A Tool for manipulating BibTeX data bases Name: BibTool Version: 2.66 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/Publishing Source: ftp://ftp.dante.de/tex-archive/biblio/bibtex/utils/bibtool/BibTool-%{version}.tar.gz URL: http://www.gerd-neugebauer.de/software/TeX/BibTool/ Patch0: BibTool-2.51-regex.patch +Patch1: 0001-make-doc-work-with-LuaTeX-0.85.patch License: GPL+ -BuildRequires: tex(latex) tex-bibtex tex-makeindex +BuildRequires: tex(latex) tex-bibtex tex-makeindex tex(luatex85.sty) %description BibTeX provides an easy to use means to integrate citations and @@ -19,6 +20,7 @@ goes beyond the possibilities --- and intentions --- of BibTeX. %prep %setup -q -n %{name} %patch0 -p1 -b .regex +%patch1 -p1 -b .luatex85 sed -i -e 's%^#!/usr/local/bin/tclsh%#! %{_bindir}/tclsh%' Tcl/bibtool.tcl sed -i -e 's%^#!/usr/local/bin/perl%#! %{_bindir}/perl%' Perl/bibtool.pl # configure will recreate the directory, but only with config.h within @@ -48,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/bibtool.1* %changelog +* Tue Nov 29 2016 Michael J Gruber - 2.66-2 +- make doc work with LuaTeX 0.85 + * Tue Nov 22 2016 Michael J Gruber - 2.66-1 - bugfix and feature release