FS#51683 - [dblatex] PLEASE ENTER SUMMARY

Attached to Project: Community Packages
Opened by Mark Blakeney (bulletmark) - Friday, 04 November 2016, 00:39 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 04 November 2016, 02:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: dblatex fails with Use of \@xmultirow doesn't match its definition error

dblatex version 0.3.7-1
texlive-latexextra version 2016.42294-1

Since recently (probably since texlive-latexextra update from 2016.41473-2 -> 2016.42294-1 on 21-Oct-2016) all my asciidoc builds are failing with error:

pdflatex failed
/usr/share/dblatex/latex/style/dbk_table.sty:32: Use of \@xmultirow doesn't match its definition.
/usr/share/dblatex/latex/style/dbk_table.sty:32: leading text: \expandafter{\@xmultirow{
/usr/share/dblatex/latex/style/dbk_table.sty:32: Missing \begin{document}.
/usr/share/dblatex/latex/style/dbk_table.sty:32: leading text: \expandafter{\@xmultirow{#1}[
/usr/share/dblatex/latex/style/dbk_table.sty:32: You can't use `macro parameter character #' in horizontal mode.
/usr/share/dblatex/latex/style/dbk_table.sty:32: leading text: \expandafter{\@xmultirow{#1}[#
/usr/share/dblatex/latex/style/dbk_table.sty:32: You can't use `macro parameter character #' in horizontal mode.
/usr/share/dblatex/latex/style/dbk_table.sty:32: leading text: \expandafter{\@xmultirow{#1}[#2]{#
/usr/share/dblatex/latex/style/dbk_table.sty:32: You can't use `macro parameter character #' in horizontal mode.
/usr/share/dblatex/latex/style/dbk_table.sty:32: leading text: \expandafter{\@xmultirow{#1}[#2]{#3}[#
/usr/share/dblatex/latex/style/dbk_table.sty:32: You can't use `macro parameter character #' in horizontal mode.
/usr/share/dblatex/latex/style/dbk_table.sty:32: leading text: \expandafter{\@xmultirow{#1}[#2]{#3}[#4]{#
/usr/share/dblatex/latex/style/dbk_table.sty:32: Too many }'s.
/usr/share/dblatex/latex/style/dbk_table.sty:32: leading text: \expandafter{\@xmultirow{#1}[#2]{#3}[#4]{#5}}
Unexpected error occured
Error: pdflatex compilation failed

This is grave debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840189 where the issue and fix is fully explained.
Note I initially thought this was fixed by new dblatex release 0.3.9 and so just flagged it in the packages. I then downloaded the Arch PKGBUILD, changed the version and installed, but get the same errors. On re-reading the quoted Debian bug I now realise that Debian added a patch to the release 0.3.9 (see http://metadata.ftp-master.debian.org/changelogs/main/d/dblatex/dblatex_0.3.9-1_changelog) so I guess I am hoping the Arch maintainer will do that also given it is a high priority bug.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 04 November 2016, 02:23 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#51670 
Comment by Mark Blakeney (bulletmark) - Friday, 04 November 2016, 00:42 GMT
Sorry about the summary line. Can't seem to edit/fix it. :(
Comment by Mark Blakeney (bulletmark) - Friday, 04 November 2016, 00:53 GMT
I applied the simple debian single file patch to dblatex release 0.3.9 and that fixed the issue. The patch is:

diff --git a/latex/style/dbk_table.sty b/latex/style/dbk_table.sty
index 6de369f..c36abe7 100644
--- a/latex/style/dbk_table.sty
+++ b/latex/style/dbk_table.sty
@@ -9,7 +9,6 @@
\usepackage{longtable}
\usepackage{lscape}
\usepackage{colortbl}
-\usepackage{multirow}
\usepackage{calc}
\usepackage{hhline}

@@ -21,16 +20,6 @@
\expandafter[\expandafter3\expandafter]\expandafter{%
\multicolumn{#1}{#2}{#3}}

-% Make \@xmultirow long
-\expandafter\long\expandafter\def%
-\expandafter\@xmultirow%
-\expandafter#\expandafter1%
-\expandafter[\expandafter#\expandafter2\expandafter]%
-\expandafter#\expandafter3%
-\expandafter[\expandafter#\expandafter4\expandafter]%
-\expandafter#\expandafter5%
-\expandafter{\@xmultirow{#1}[#2]{#3}[#4]{#5}}
-
% For the newtbl code
\newdimen\newtblstarfactor%
\newdimen\newtblsparewidth%

Loading...