[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Freeze exception for luatex 0.70.1.20120524-3



Dear Release Managers,

I would like to ask for a freeze exception for
	luatex 0.70.1.20120524-3
Compared to the version currently in testing there are three changes:
* a fix for a typesetting issue (#680015)
  filed as normal, but is actually important to critical, as
  every document thatuses radicals and usual TeX fonts (not new
  otf fonts) will break

* use dpkg-maintscript-helper (via debian/luatex.maintscript)
  to remove oldconfig file /etc/texmf/fmt.d/20luatex.cnf which
  is not used since long.

* fixes to the manpage that man does not give warnings


Detailed description
====================

* a fix for a typesetting issue (#680015)
The bug fix for the first item comes from the upstream svn, here
is the respective commit comment:
/------------------ upstream svn commit comment ----------------
r4449 | khaled | 2012-07-02 20:15:46 +0200 (Mon, 02 Jul 2012) | 13 lines
Changed paths:
   M /trunk/source/texk/web2c/luatexdir/tex/mlist.w

Fix regression introduced in r4361

Radical rule thickness calculation was wrong for composite radicals with
old fonts. When get_delim_box() was rewritten, a special correction for
the radicals were lost. That block of code is now in make_radical()
itself.

A simple test:
$$y=\sqrt{\displaystyle\int \over x}$$
\bye

Related:
http://tex.stackexchange.com/q/61952/729
---------------------------------------------------------------

I tried the test case that can be found at the stackexchange link
plus the simple example from the above commit message, and they are
all fixed.



* remove oldconfig file /etc/texmf/fmt.d/20luatex.cnf

this config file was shipped in 2009 but is not used anymore. Removal
is done by using dpkg-maintscript-helper:
- add debian/luatex.maintscript wiht the contents:
	rm_conffile /etc/texmf/fmt.d/20luatex.cnf 0.70.1.20120524-3~
  since we didn't remove it till now
- adjust build deps to debhelper (>= 8.1.0~) and add
  Pre-Depends: ${misc:Pre-Depends} for proper dpkg version


* fixes to the manpage that man does not give warnings

fix manpage warnings by replacing
	.rb
with 
	.RB
as the former gives a warning "macro not defined".


I attach the full debdiff to this email.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
BANTEER
A lusty and raucous old ballad sung after a particulary spectacular
araglin (q.v.) has been pulled off.
			--- Douglas Adams, The Meaning of Liff
diff -Nru luatex-0.70.1.20120524/debian/changelog luatex-0.70.1.20120524/debian/changelog
--- luatex-0.70.1.20120524/debian/changelog	2012-06-14 07:44:17.000000000 +0900
+++ luatex-0.70.1.20120524/debian/changelog	2012-07-03 09:11:16.000000000 +0900
@@ -1,3 +1,13 @@
+luatex (0.70.1.20120524-3) unstable; urgency=low
+
+  * pick from upstream luatex-svn: fix rendering of radicals with
+    old fonts (Closes: #680015)
+  * remove old conffile /etc/texmf/fmt.d/20luatex.cnf
+    (add Pre-Depends: ${misc:Pre-Depends} for dpkg-maintscript-helper)
+  * fix man page warnings
+
+ -- Norbert Preining <preining@debian.org>  Tue, 03 Jul 2012 09:11:08 +0900
+
 luatex (0.70.1.20120524-2) unstable; urgency=high
 
   * depend on tex-common >= 3.12 to get partial single package upgrades
diff -Nru luatex-0.70.1.20120524/debian/control luatex-0.70.1.20120524/debian/control
--- luatex-0.70.1.20120524/debian/control	2012-06-14 07:43:10.000000000 +0900
+++ luatex-0.70.1.20120524/debian/control	2012-07-03 08:01:28.000000000 +0900
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
 Uploaders: Frank Küster <frank@debian.org>, Norbert Preining <preining@debian.org>
-Build-Depends: debhelper (>= 7), flex, bison, zlib1g-dev, libpng-dev, libjpeg-dev, pkg-config, sharutils, libpoppler-private-dev, libpoppler-cpp-dev, libfontconfig1-dev, libkpathsea-dev (>= 2012)
+Build-Depends: debhelper (>= 8.1.0~), flex, bison, zlib1g-dev, libpng-dev, libjpeg-dev, pkg-config, sharutils, libpoppler-private-dev, libpoppler-cpp-dev, libfontconfig1-dev, libkpathsea-dev (>= 2012)
 Standards-Version: 3.9.3
 Vcs-Svn: svn://svn.debian.org/svn/debian-tex/luatex/trunk
 Vcs-Browser: http://svn.debian.org/wsvn/debian-tex/luatex/trunk/
@@ -11,6 +11,7 @@
 
 Package: luatex
 Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
 Depends: tex-common (>= 3.12), ${misc:Depends}, ${shlibs:Depends}
 Recommends: texlive-luatex
 Replaces: luatex-snapshot
diff -Nru luatex-0.70.1.20120524/debian/luatex.1 luatex-0.70.1.20120524/debian/luatex.1
--- luatex-0.70.1.20120524/debian/luatex.1	2009-04-30 00:03:34.000000000 +0900
+++ luatex-0.70.1.20120524/debian/luatex.1	2012-07-03 09:10:57.000000000 +0900
@@ -72,13 +72,13 @@
 ..
 .TP
 .BI "\-\-lua=" FILE
-.rb
+.RB
 The lua initialization file.
 .PP
 The following two options alter the executable behaviour:
 .TP
 .B \-\-luaonly
-.rb
+.RB
 Start Lua\*(TX as a Lua interpreter. In this mode, it will set Lua's
 \fIarg[0]\fR to the found script name, pushing preceding options in
 negative values and the rest of the commandline in the positive values,
@@ -86,7 +86,7 @@
 executing the specified Lua script.
 .TP
 .BI \-\-luaconly
-.rb
+.RB
 Start Lua\*(TX as a Lua byte compiler. In this mode, Lua\*(TX is exactly
 like \fBluac\fR from the standalone Lua distribution, except that it
 does not have the \fB\-l\fR switch, and that it accepts (but ignores)
@@ -99,7 +99,7 @@
 Debug format loading.
 .TP
 .B \-\-draftmode
-.rb
+.RB
 Sets \epdfdraftmode so lua\*(TX doesn't write a PDF and doesn't read
 any included images, thus speeding up execution.
 .TP
@@ -128,37 +128,37 @@
 \fItexmf.cnf\fR file.
 .TP
 .B \-\-shell-restricted
-.rb
+.RB
 Enable restricted version of \fB\ewrite18\fR, \fBos.execute()\fR,
 \fBos.exec()\fR, \fBos.spawn()\fR, and \fBio.popen()\fR, only commands
 listed in \fItexmf.cnf\fR file are allowed.
 .TP
 .B \-\-file\-line\-error
-.rb
+.RB
 Print error messages in the form \fIfile:line:error\fR which is similar
 to the way many compilers format them.
 .TP
 .B \-\-no\-file\-line\-error
-.rb
+.RB
 Disable printing error messages in the \fIfile:line:error\fR style.
 .TP
 .BI "\-\-fmt=" FORMAT
-.rb
+.RB
 Use \fIFORMAT\fR as the name of the format to be used, instead of the
 name by which lua\*(TX was called or a \fI%&\fR line.
 .TP
 .B \-\-help
-.rb
+.RB
 Print help message and exit.
 .TP
 .B \-\-ini
-.rb
+.RB
 Start in \fIINI\fR mode, which is used to dump formats.  The \fIINI\fR
 mode can be used for typesetting, but no format is preloaded, and basic
 initializations like setting catcodes may be required.
 .TP
 .BI "\-\-interaction=" MODE
-.rb
+.RB
 Sets the interaction mode.  The \fIMODE\fR can be either
 .IR batchmode ,
 .IR nonstopmode ,
@@ -169,79 +169,79 @@
 \ecommands.
 .TP
 .BI "\-\-jobname=" NAME
-.rb
+.RB
 Use \fINAME\fR for the job name, instead of deriving it from the name
 of the input file.
 .TP
 .BI "\-\-kpathsea-debug=" BITMASK
-.rb
+.RB
 Sets path searching debugging flags according to the \fIBITMASK\fR.
 See the \fIKpathsea\fR manual for details.
 .TP
 .BI "\-\-mktex=" FMT
-.rb
+.RB
 Enable mktex\fIFMT\fR generation, where \fIFMT\fR must be either \fItex\fR
 or \fItfm\fR.
 .TP
 .B \-\-nosocket
-.rb
+.RB
 Disable the luasocket (network) library.
 .TP
 .TP
 .BI "\-\-output\-comment=" STRING
-.rb
+.RB
 In \fIDVI\fR mode, use \fISTRING\fR for the \fIDVI\fR file comment
 instead of the date.  This option is ignored in\fIPDF\fR mode.
 .TP
 .BI "\-\-output\-directory=" DIRECTORY
-.rb
+.RB
 Write output files in \fIDIRECTORY\fR instead of the current directory.
 Look up input files in \fIDIRECTORY\fR first, then along the normal
 search path.
 .TP
 .BI "\-\-output\-format=" FORMAT
-.rb
+.RB
 Set the output format mode, where \fIFORMAT\fR must be either \fIpdf\fR
 or \fIdvi\fR.
 This also influences the set of graphics formats understood by lua\*(TX.
 .TP
 .BI "\-\-progname=" NAME
-.rb
+.RB
 Pretend to be program \fINAME\fR (only for kpathsea).
 .TP
 .B \-\-recorder
-.rb
+.RB
 Enable the filename recorder.
 This leaves a trace of the files opened for input and output
 in a file with extension \fI.fls\fR.
 .TP
 .B \-\-safer
-.rb
+.RB
 Disable some Lua commands that can easily be abused by a malicious
 document.
 .TP
 .BI "\-\-synctex=" NUMBER
-.rb
+.RB
 Enable/disable Sync\*(TX extension.
 .TP
 .B \-\-version
-.rb
+.RB
 Print version information and exit.
 .TP
 .B \-\-credits
-.rb
+.RB
 Print credits and version details.
 .TP
 The following options are ignored:
 .TP
 .BR "\-\-8bit" ,\  "\-\-etex" ,\  "\-\-parse\-first\-line" ,\
 "\-\-no\-parse\-first\-line"
-.rb
+.RB
 These are always on.
 .TP
 .BI "\-\-default\-translate\-file=" TCXNAME  , \  "\-\-translate\-file="
 TCXNAME
-.rb
+.RB
 These are always off.
 
 .\"=====================================================================
diff -Nru luatex-0.70.1.20120524/debian/luatex.maintscript luatex-0.70.1.20120524/debian/luatex.maintscript
--- luatex-0.70.1.20120524/debian/luatex.maintscript	1970-01-01 09:00:00.000000000 +0900
+++ luatex-0.70.1.20120524/debian/luatex.maintscript	2012-07-03 07:54:28.000000000 +0900
@@ -0,0 +1 @@
+rm_conffile /etc/texmf/fmt.d/20luatex.cnf 0.70.1.20120524-3~
diff -Nru luatex-0.70.1.20120524/debian/patches/series luatex-0.70.1.20120524/debian/patches/series
--- luatex-0.70.1.20120524/debian/patches/series	2012-05-23 09:13:40.000000000 +0900
+++ luatex-0.70.1.20120524/debian/patches/series	2012-07-03 07:42:50.000000000 +0900
@@ -3,3 +3,4 @@
 no_static_link.patch
 not_build_libs.diff
 no-cxx-runtime-hack
+upstream-fix-luatex-math-radical
diff -Nru luatex-0.70.1.20120524/debian/patches/upstream-fix-luatex-math-radical luatex-0.70.1.20120524/debian/patches/upstream-fix-luatex-math-radical
--- luatex-0.70.1.20120524/debian/patches/upstream-fix-luatex-math-radical	1970-01-01 09:00:00.000000000 +0900
+++ luatex-0.70.1.20120524/debian/patches/upstream-fix-luatex-math-radical	2012-07-03 07:42:50.000000000 +0900
@@ -0,0 +1,45 @@
+pick from upstream svn:
+r4449 | khaled | 2012-07-02 20:15:46 +0200 (Mon, 02 Jul 2012) | 13 lines
+Changed paths:
+   M /trunk/source/texk/web2c/luatexdir/tex/mlist.w
+
+Fix regression introduced in r4361
+
+Radical rule thickness calculation was wrong for composite radicals with
+old fonts. When get_delim_box() was rewritten, a special correction for
+the radicals were lost. That block of code is now in make_radical()
+itself.
+
+A simple test:
+$$y=\sqrt{\displaystyle\int \over x}$$
+\bye
+
+Related:
+http://tex.stackexchange.com/q/61952/729
+---
+ source/texk/web2c/luatexdir/tex/mlist.w |   12 +++++++++++-
+ 1 file changed, 11 insertions(+), 1 deletion(-)
+
+Index: luatex-0.70.1.20120524/source/texk/web2c/luatexdir/tex/mlist.w
+===================================================================
+--- luatex-0.70.1.20120524.orig/source/texk/web2c/luatexdir/tex/mlist.w	2012-05-20 23:25:51.000000000 +0900
++++ luatex-0.70.1.20120524/source/texk/web2c/luatexdir/tex/mlist.w	2012-07-03 07:42:10.222842439 +0900
+@@ -1799,7 +1799,17 @@
+         theta = fraction_rule(cur_style);
+         y = var_delimiter(left_delimiter(q), cur_size,
+                           height(x) + depth(x) + clr + theta, NULL, cur_style);
+-        theta = height(y);
++	/* If |y| is a composite then set |theta| to the height of its top
++           character, else set it to the height of |y|. */
++        if (list_ptr(y) != null
++            && type(list_ptr(y)) == hlist_node
++            && list_ptr(list_ptr(y)) != null
++            && type(list_ptr(list_ptr(y))) == glyph_node) {     /* and it should be */
++            theta = char_height(font(list_ptr(list_ptr(y))),
++                           character(list_ptr(list_ptr(y))));
++        } else {
++            theta = height(y);
++        }
+     } else {
+         y = var_delimiter(left_delimiter(q), cur_size,
+                           height(x) + depth(x) + clr + theta, NULL, cur_style);

Reply to: