texlive[56988] Master/texmf-dist/scripts/tex4ht: tex4ht scripts: set

commits+karl at tug.org commits+karl at tug.org
Mon Nov 23 19:08:29 CET 2020


Revision: 56988
          http://tug.org/svn/texlive?view=revision&revision=56988
Author:   karl
Date:     2020-11-23 19:08:29 +0100 (Mon, 23 Nov 2020)
Log Message:
-----------
tex4ht scripts: set -e and redirect from /dev/null, tex4ht r837

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=837

Modified Paths:
--------------
    trunk/Master/texmf-dist/scripts/tex4ht/ht.sh
    trunk/Master/texmf-dist/scripts/tex4ht/htcontext.sh
    trunk/Master/texmf-dist/scripts/tex4ht/htlatex.sh
    trunk/Master/texmf-dist/scripts/tex4ht/htmex.sh
    trunk/Master/texmf-dist/scripts/tex4ht/httex.sh
    trunk/Master/texmf-dist/scripts/tex4ht/httexi.sh
    trunk/Master/texmf-dist/scripts/tex4ht/htxelatex.sh
    trunk/Master/texmf-dist/scripts/tex4ht/htxetex.sh
    trunk/Master/texmf-dist/scripts/tex4ht/xhlatex.sh

Modified: trunk/Master/texmf-dist/scripts/tex4ht/ht.sh
===================================================================
--- trunk/Master/texmf-dist/scripts/tex4ht/ht.sh	2020-11-23 03:49:37 UTC (rev 56987)
+++ trunk/Master/texmf-dist/scripts/tex4ht/ht.sh	2020-11-23 18:08:29 UTC (rev 56988)
@@ -1,6 +1,14 @@
 #!/bin/sh
+# stop at first error
+set -e
 
-# ht (2020-10-25-17:53), generated from tex4ht-mkht.tex
+# No interaction on the TeX runs is desirable.
+# Simpler to do that here than on the individual commands;
+# let's hope exec redirections are portable enough.
+exec </dev/null
+
+
+# ht (2020-11-23-10:05), generated from tex4ht-mkht.tex
 # Copyright 2009-2020 TeX Users Group
 # Copyright 2003-2009 Eitan M. Gurari
 #

Modified: trunk/Master/texmf-dist/scripts/tex4ht/htcontext.sh
===================================================================
--- trunk/Master/texmf-dist/scripts/tex4ht/htcontext.sh	2020-11-23 03:49:37 UTC (rev 56987)
+++ trunk/Master/texmf-dist/scripts/tex4ht/htcontext.sh	2020-11-23 18:08:29 UTC (rev 56988)
@@ -1,6 +1,14 @@
 #!/bin/sh
+# stop at first error
+set -e
 
-# htcontext (2020-10-25-17:53), generated from tex4ht-mkht.tex
+# No interaction on the TeX runs is desirable.
+# Simpler to do that here than on the individual commands;
+# let's hope exec redirections are portable enough.
+exec </dev/null
+
+
+# htcontext (2020-11-23-10:05), generated from tex4ht-mkht.tex
 # Copyright 2009-2020 TeX Users Group
 # Copyright 2003-2009 Eitan M. Gurari
 #
@@ -21,7 +29,7 @@
 # version identification be appreciated.
 
 
-        texexec --arg="ht-1=$2" --use=tex4ht --dvi --nobackend $5 $1 
+        \rubyCall texexec --arg="ht-1=$2" --use=tex4ht --dvi --nobackend $5 $1 
         tex4ht -f/$1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
         t4ht -f/$1 $4 ## -d~/WWW/temp/ -m644 
 

Modified: trunk/Master/texmf-dist/scripts/tex4ht/htlatex.sh
===================================================================
--- trunk/Master/texmf-dist/scripts/tex4ht/htlatex.sh	2020-11-23 03:49:37 UTC (rev 56987)
+++ trunk/Master/texmf-dist/scripts/tex4ht/htlatex.sh	2020-11-23 18:08:29 UTC (rev 56988)
@@ -1,6 +1,14 @@
 #!/bin/sh
+# stop at first error
+set -e
 
-# htlatex (2020-10-25-17:53), generated from tex4ht-mkht.tex
+# No interaction on the TeX runs is desirable.
+# Simpler to do that here than on the individual commands;
+# let's hope exec redirections are portable enough.
+exec </dev/null
+
+
+# htlatex (2020-11-23-10:05), generated from tex4ht-mkht.tex
 # Copyright 2009-2020 TeX Users Group
 # Copyright 2003-2009 Eitan M. Gurari
 #

Modified: trunk/Master/texmf-dist/scripts/tex4ht/htmex.sh
===================================================================
--- trunk/Master/texmf-dist/scripts/tex4ht/htmex.sh	2020-11-23 03:49:37 UTC (rev 56987)
+++ trunk/Master/texmf-dist/scripts/tex4ht/htmex.sh	2020-11-23 18:08:29 UTC (rev 56988)
@@ -1,6 +1,14 @@
 #!/bin/sh
+# stop at first error
+set -e
 
-# htmex (2020-10-25-17:53), generated from tex4ht-mkht.tex
+# No interaction on the TeX runs is desirable.
+# Simpler to do that here than on the individual commands;
+# let's hope exec redirections are portable enough.
+exec </dev/null
+
+
+# htmex (2020-11-23-10:05), generated from tex4ht-mkht.tex
 # Copyright 2009-2020 TeX Users Group
 # Copyright 2003-2009 Eitan M. Gurari
 #

Modified: trunk/Master/texmf-dist/scripts/tex4ht/httex.sh
===================================================================
--- trunk/Master/texmf-dist/scripts/tex4ht/httex.sh	2020-11-23 03:49:37 UTC (rev 56987)
+++ trunk/Master/texmf-dist/scripts/tex4ht/httex.sh	2020-11-23 18:08:29 UTC (rev 56988)
@@ -1,6 +1,14 @@
 #!/bin/sh
+# stop at first error
+set -e
 
-# httex (2020-10-25-17:53), generated from tex4ht-mkht.tex
+# No interaction on the TeX runs is desirable.
+# Simpler to do that here than on the individual commands;
+# let's hope exec redirections are portable enough.
+exec </dev/null
+
+
+# httex (2020-11-23-10:05), generated from tex4ht-mkht.tex
 # Copyright 2009-2020 TeX Users Group
 # Copyright 2003-2009 Eitan M. Gurari
 #

Modified: trunk/Master/texmf-dist/scripts/tex4ht/httexi.sh
===================================================================
--- trunk/Master/texmf-dist/scripts/tex4ht/httexi.sh	2020-11-23 03:49:37 UTC (rev 56987)
+++ trunk/Master/texmf-dist/scripts/tex4ht/httexi.sh	2020-11-23 18:08:29 UTC (rev 56988)
@@ -1,6 +1,14 @@
 #!/bin/sh
+# stop at first error
+set -e
 
-# httexi (2020-10-25-17:53), generated from tex4ht-mkht.tex
+# No interaction on the TeX runs is desirable.
+# Simpler to do that here than on the individual commands;
+# let's hope exec redirections are portable enough.
+exec </dev/null
+
+
+# httexi (2020-11-23-10:05), generated from tex4ht-mkht.tex
 # Copyright 2009-2020 TeX Users Group
 # Copyright 2003-2009 Eitan M. Gurari
 #
@@ -20,9 +28,9 @@
 # If you modify this file, changing the
 # version identification be appreciated.
 
-tex  $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\let\svrm=\rm\def\rm{\svrm\ifx\c\comment\def\rm{\let\rm=\svrm\catcode`\@=12\catcode`\\=0 \csname tex4ht\endcsname\catcode`\@=0\catcode`\\=13 }\expandafter\rm\fi}\HCode '$2'.a.b.c.\input ' $1
-        tex  $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\let\svrm=\rm\def\rm{\svrm\ifx\c\comment\def\rm{\let\rm=\svrm\catcode`\@=12\catcode`\\=0 \csname tex4ht\endcsname\catcode`\@=0\catcode`\\=13 }\expandafter\rm\fi}\HCode '$2'.a.b.c.\input ' $1
-        tex  $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\let\svrm=\rm\def\rm{\svrm\ifx\c\comment\def\rm{\let\rm=\svrm\catcode`\@=12\catcode`\\=0 \csname tex4ht\endcsname\catcode`\@=0\catcode`\\=13 }\expandafter\rm\fi}\HCode '$2'.a.b.c.\input ' $1
+etex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\let\svrm=\rm\def\rm{\svrm\ifx\c\comment\def\rm{\let\rm=\svrm\catcode`\@=12\catcode`\\=0 \csname tex4ht\endcsname\catcode`\@=0\catcode`\\=13 }\expandafter\rm\fi}\HCode '$2'.a.b.c.\input ' $1
+        etex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\let\svrm=\rm\def\rm{\svrm\ifx\c\comment\def\rm{\let\rm=\svrm\catcode`\@=12\catcode`\\=0 \csname tex4ht\endcsname\catcode`\@=0\catcode`\\=13 }\expandafter\rm\fi}\HCode '$2'.a.b.c.\input ' $1
+        etex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\let\svrm=\rm\def\rm{\svrm\ifx\c\comment\def\rm{\let\rm=\svrm\catcode`\@=12\catcode`\\=0 \csname tex4ht\endcsname\catcode`\@=0\catcode`\\=13 }\expandafter\rm\fi}\HCode '$2'.a.b.c.\input ' $1
         tex4ht -f/$1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
         t4ht -f/$1 $4 ## -d~/WWW/temp/ -m644 
 #        texindex ?

Modified: trunk/Master/texmf-dist/scripts/tex4ht/htxelatex.sh
===================================================================
--- trunk/Master/texmf-dist/scripts/tex4ht/htxelatex.sh	2020-11-23 03:49:37 UTC (rev 56987)
+++ trunk/Master/texmf-dist/scripts/tex4ht/htxelatex.sh	2020-11-23 18:08:29 UTC (rev 56988)
@@ -1,6 +1,14 @@
 #!/bin/sh
+# stop at first error
+set -e
 
-# htxelatex (2020-10-25-17:53), generated from tex4ht-mkht.tex
+# No interaction on the TeX runs is desirable.
+# Simpler to do that here than on the individual commands;
+# let's hope exec redirections are portable enough.
+exec </dev/null
+
+
+# htxelatex (2020-11-23-10:05), generated from tex4ht-mkht.tex
 # Copyright 2009-2020 TeX Users Group
 # Copyright 2003-2009 Eitan M. Gurari
 #

Modified: trunk/Master/texmf-dist/scripts/tex4ht/htxetex.sh
===================================================================
--- trunk/Master/texmf-dist/scripts/tex4ht/htxetex.sh	2020-11-23 03:49:37 UTC (rev 56987)
+++ trunk/Master/texmf-dist/scripts/tex4ht/htxetex.sh	2020-11-23 18:08:29 UTC (rev 56988)
@@ -1,6 +1,14 @@
 #!/bin/sh
+# stop at first error
+set -e
 
-# htxetex (2020-10-25-17:53), generated from tex4ht-mkht.tex
+# No interaction on the TeX runs is desirable.
+# Simpler to do that here than on the individual commands;
+# let's hope exec redirections are portable enough.
+exec </dev/null
+
+
+# htxetex (2020-11-23-10:05), generated from tex4ht-mkht.tex
 # Copyright 2009-2020 TeX Users Group
 # Copyright 2003-2009 Eitan M. Gurari
 #

Modified: trunk/Master/texmf-dist/scripts/tex4ht/xhlatex.sh
===================================================================
--- trunk/Master/texmf-dist/scripts/tex4ht/xhlatex.sh	2020-11-23 03:49:37 UTC (rev 56987)
+++ trunk/Master/texmf-dist/scripts/tex4ht/xhlatex.sh	2020-11-23 18:08:29 UTC (rev 56988)
@@ -1,6 +1,14 @@
 #!/bin/sh
+# stop at first error
+set -e
 
-# xhlatex (2020-10-25-17:53), generated from tex4ht-mkht.tex
+# No interaction on the TeX runs is desirable.
+# Simpler to do that here than on the individual commands;
+# let's hope exec redirections are portable enough.
+exec </dev/null
+
+
+# xhlatex (2020-11-23-10:05), generated from tex4ht-mkht.tex
 # Copyright 2009-2020 TeX Users Group
 # Copyright 2003-2009 Eitan M. Gurari
 #



More information about the tex-live-commits mailing list.