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

rpms/tetex/devel tetex-3.0-footfix.patch, NONE, 1.1 tetex.spec, 1.100, 1.101



Author: jnovy

Update of /cvs/dist/rpms/tetex/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv8116

Modified Files:
	tetex.spec 
Added Files:
	tetex-3.0-footfix.patch 
Log Message:
- fix para option in footmisc package (#188701)


tetex-3.0-footfix.patch:
 footmisc.sty |    5 +----
 1 files changed, 1 insertion(+), 4 deletions(-)

--- NEW FILE tetex-3.0-footfix.patch ---
--- tetex-src-3.0/texmf/tex/latex/footmisc/footmisc.sty.footfix	2004-05-02 20:58:37.000000000 +0200
+++ tetex-src-3.0/texmf/tex/latex/footmisc/footmisc.sty	2006-09-21 10:25:50.000000000 +0200
@@ -363,7 +363,7 @@
             \hskip\footglue
           }% end of \ makefntext parameter
         }% end of \hbox
-        \dp\FN tempboxa=0pt\ht\FN@tempboxa=\fudgefactor\wd\FN tempboxa
+        \dp\FN tempboxa=0pt\ht\FN@tempboxa=\dimexpr\wd\FN tempboxa * \footnotebaselineskip / \columnwidth\relax
         \box\FN tempboxa
       \color endgroup
     }%
@@ -431,9 +431,6 @@
     \global
       \footnotebaselineskip=\normalbaselineskip
   }
-  \ tempdima=\footnotebaselineskip \multiply\ tempdima by 1024
-  \divide \ tempdima by \columnwidth \multiply\ tempdima by 64
-  \xdef\fudgefactor{\strip pt\@tempdima }%
   \long\def\makefootnoteparagraph{\unvbox\footins \makehboxofhboxes
     \setbox\FN tempboxa=\hbox{\unhbox\FN@tempboxa \removehboxes}
     \hsize\columnwidth


Index: tetex.spec
===================================================================
RCS file: /cvs/dist/rpms/tetex/devel/tetex.spec,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- tetex.spec	16 Sep 2006 08:46:02 -0000	1.100
+++ tetex.spec	21 Sep 2006 08:30:31 -0000	1.101
@@ -11,7 +11,7 @@
 Summary: The TeX text formatting system.
 Name: tetex
 Version: 3.0
-Release: 30%{?dist}
+Release: 31%{?dist}
 License: distributable
 Group: Applications/Publishing
 Requires: tmpwatch, dialog, ed
@@ -85,6 +85,7 @@
 Patch20: tetex-3.0-epstopdf.patch
 Patch21: tetex-3.0-dvipdfm.patch
 Patch22: tetex-3.0-selinux.patch
+Patch23: tetex-3.0-footfix.patch
 
 ######
 # Japanization patches
@@ -301,6 +302,8 @@
 %patch21 -p1 -b .dvipdfm-overflow
 # use `install' instead of `mv' in mktexlsr
 %patch22 -p1 -b .selinux
+# fix para option in footmisc package (#188701)
+%patch23 -p1 -b .footfix
 
 %if %{enable_japanese}
 mkdir texmf/ptex-texmf
@@ -839,6 +842,9 @@
 %defattr(-,root,root)
 
 %changelog
+* Thu Sep 21 2006 Jindrich Novy <jnovy redhat com> 3.0-31
+- fix para option in footmisc package (#188701)
+
 * Sat Sep 16 2006 Jindrich Novy <jnovy redhat com> 3.0-30
 - use `install' instead of `mv' in mktexlsr, thanks to Dan Walsh
 


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