[tex-live] texconfig init <multiple formats>

Hartmut Henkel hartmut_henkel at gmx.de
Sun Jan 7 15:49:37 CET 2007


Hi Thomas,

here is a tiny patch that should allow not only the current single
format

$ texconfig-sys init pdftex

but also multiple formats

$ texconfig-sys init pdftex cont-en

(you have a similar for-loop already at another place in texconfig; this
patch is handy e. g. for debugging pdftex)

Is this acceptable?

Regards, Hartmut


--- texconfig.orig	2006-12-30 20:20:57.000000000 +0100
+++ texconfig	2007-01-07 15:13:03.796154789 +0100
@@ -593,7 +593,7 @@
        $progname font rw
        $progname formats
        $progname hyphen FORMAT
-       $progname init [format]
+       $progname init [formats]
        $progname mode MODE
        $progname paper PAPER
        $progname pdftex [options]
@@ -1149,7 +1149,10 @@
           updmap || rc=1
           ;;
         *)
-          fmtutil --byfmt "$2" || rc=1
+          shift 1
+          for i in $@; do
+            fmtutil --byfmt "$i" || rc=1
+          done
           ;;
       esac
       ;;


More information about the tex-live mailing list