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

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Sep 21 08:30:34 UTC 2006


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 at tempboxa=0pt\ht\FN at tempboxa=\fudgefactor\wd\FN at tempboxa
+        \dp\FN at tempboxa=0pt\ht\FN at tempboxa=\dimexpr\wd\FN at tempboxa * \footnotebaselineskip / \columnwidth\relax
         \box\FN at tempboxa
       \color at 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 at pt\@tempdima }%
   \long\def\makefootnoteparagraph{\unvbox\footins \makehboxofhboxes
     \setbox\FN at tempboxa=\hbox{\unhbox\FN at 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 at redhat.com> 3.0-31
+- fix para option in footmisc package (#188701)
+
 * Sat Sep 16 2006 Jindrich Novy <jnovy at redhat.com> 3.0-30
 - use `install' instead of `mv' in mktexlsr, thanks to Dan Walsh
 




More information about the fedora-cvs-commits mailing list