[tex4ht-commits] [SCM] tex4ht updated: r386 - trunk/lit

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Wed Mar 28 23:37:54 CEST 2018


Author: michal_h21
Date: 2018-03-29 00:37:53 +0300 (Thu, 29 Mar 2018)
New Revision: 386

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-sty.tex
Log:
Use \long in \IfFileExists redefinition

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2018-03-27 09:05:06 UTC (rev 385)
+++ trunk/lit/ChangeLog	2018-03-28 21:37:53 UTC (rev 386)
@@ -1,3 +1,9 @@
+2018-03-28  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-sty.tex (tex4ht.sty): use \long for definition of \IfFileExists,
+	because it may contain blank lines in its branches.
+	https://tex.stackexchange.com/q/423725/2891
+
 2018-03-27  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-fonts-noncjk.tex

Modified: trunk/lit/tex4ht-sty.tex
===================================================================
--- trunk/lit/tex4ht-sty.tex	2018-03-27 09:05:06 UTC (rev 385)
+++ trunk/lit/tex4ht-sty.tex	2018-03-28 21:37:53 UTC (rev 386)
@@ -8999,7 +8999,7 @@
 \<defs for early latex subs/sups\><<<
 \append:def\:RestoreCatcodes{\early:sub\early:sup}
 \let\:IfFileExists\IfFileExists
-\def\IfFileExists#1#2#3{%
+\long\def\IfFileExists#1#2#3{%
    \csname recall:sub\endcsname   
    \csname recall:sup\endcsname
    \expandafter\let\csname #1:sub\endcsname=\early:sub



More information about the tex4ht-commits mailing list