texlive[53604] Master/texmf-dist: modes (30jan20)

commits+karl at tug.org commits+karl at tug.org
Thu Jan 30 23:19:27 CET 2020


Revision: 53604
          http://tug.org/svn/texlive?view=revision&revision=53604
Author:   karl
Date:     2020-01-30 23:19:27 +0100 (Thu, 30 Jan 2020)
Log Message:
-----------
modes (30jan20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/modes/ChangeLog
    trunk/Master/texmf-dist/doc/fonts/modes/GNUmakefile
    trunk/Master/texmf-dist/doc/fonts/modes/modes.pdf
    trunk/Master/texmf-dist/fonts/source/public/modes/modes.mf

Modified: trunk/Master/texmf-dist/doc/fonts/modes/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/modes/ChangeLog	2020-01-30 22:19:16 UTC (rev 53603)
+++ trunk/Master/texmf-dist/doc/fonts/modes/ChangeLog	2020-01-30 22:19:27 UTC (rev 53604)
@@ -1,3 +1,11 @@
+2020-01-30  Karl Berry  <karl at freefriends.org>
+
+	* version 4.1.
+	
+	* modes.mf (mode_include_extra_info_available): new boolean,
+	so we can test for it using MF's known primitive in
+	mktextfm. known only works on primaries, not definitions.
+
 2020-01-28  Karl Berry  <karl at freefriends.org>
 
 	* version 4.0 (skipping 3.9).  First normal upload to CTAN.
@@ -516,3 +524,5 @@
 Sun Jul  7 09:19:08 1991  Karl Berry  (karl at hayley)
 
         * Version 0.5.
+
+(This file public domain.)

Modified: trunk/Master/texmf-dist/doc/fonts/modes/GNUmakefile
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/modes/GNUmakefile	2020-01-30 22:19:16 UTC (rev 53603)
+++ trunk/Master/texmf-dist/doc/fonts/modes/GNUmakefile	2020-01-30 22:19:27 UTC (rev 53604)
@@ -1,7 +1,7 @@
-# $Id: GNUmakefile,v 1.3 2020/01/28 19:13:52 karl Exp $
+# $Id: GNUmakefile,v 1.4 2020/01/30 16:59:00 karl Exp $
 # Makefile for the mode_def collection. Public domain.
 
-version = 4.0
+version = 4.1
 
 default: check
 
@@ -78,11 +78,12 @@
 # Check that Xerox info is included if requested. Must use -ini because
 # mf.base includes modes.mf by default, and it intentionally stops
 # itself from being read twice. So, for development convenience, do it
-# all by hand (instead of depending on modes.base and dumping a new one
-# every time).
+# all by hand (instead of depending on modes.base and dumping it anew
+# every time). The conditional here is exactly what mktextfm does.
 # 
-checkx:
-	-mf -ini '\input plain; nonstopmode; input modes; mode:=cx; mode_include_extra_info; input logo10'
+checkx cx:
+	rm -f plain.tfm
+	-mf -ini '\input plain; nonstopmode; input modes; mode:=cx; if known mode_include_extra_info_available: mode_include_extra_info fi; input logo10'
 	tftopl ./plain.tfm | fgrep CODING
 
 check-mktextfm:

Modified: trunk/Master/texmf-dist/doc/fonts/modes/modes.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/source/public/modes/modes.mf
===================================================================
--- trunk/Master/texmf-dist/fonts/source/public/modes/modes.mf	2020-01-30 22:19:16 UTC (rev 53603)
+++ trunk/Master/texmf-dist/fonts/source/public/modes/modes.mf	2020-01-30 22:19:27 UTC (rev 53604)
@@ -1,4 +1,4 @@
-% {\tt\catcode`\$=12 $Id: modes.mf,v 1.26 2020/01/28 19:14:12 karl Exp $ }
+% {\tt\catcode`\$=12 $Id: modes.mf,v 1.27 2020/01/30 16:58:51 karl Exp $ }
 %%\font\tenlogosl=logosl10
 %%\def\logofont{\ifdim\fontdimen1\font>0pt \tenlogosl\else\tenlogo\fi}
 %%\def\MF{{\logofont META}\-{\logofont FONT}}
@@ -48,11 +48,11 @@
 %%\begingroup \tt \catcode`\{=12 \catcode`\}=12 \obeyspaces
 % @mffile{
 %   author = "The Metafont community",
-%   version = "4.0",
-%   date = "Tue Jan 28 11:17:07 PST 2020"
+%   version = "4.1",
+%   date = "Thu Jan 30 08:59:07 PST 2020"
 %   filename = "modes.mf",
 %   email = "tex-fonts at math.utah.edu"
-%   checksum = "2621 13018 95640",
+%   checksum = "2627 13058 95921",
 %   codetable = "ISO/ASCII",
 %   supported = "yes",
 %   docstring = "
@@ -432,10 +432,10 @@
 
 % Don't let ourselves be processed twice.
 if known modes_mf: endinput; fi;
-modes_mf := 4.0;
+modes_mf := 4.1;
 
 % Identify ourselves in the format file.
-base_version := base_version & "/modes 4.0";
+base_version := base_version & "/modes 4.1";
 
 % Here are useful macros (also called definitions) we use throughout.
 
@@ -659,6 +659,12 @@
   let bye = end;
 enddef;
 
+% This is tested in {\tt mktextfm} with |known| to see if it is ok to\]
+% call |mode_include_extra_info|, since there is apparently no way to test\]
+% whether a macro is defined, unlike \TeX.\]
+boolean mode_include_extra_info_available;
+mode_include_extra_info_available := true;
+
 % Now make |end| and |bye| |outer| again; it seems |let| does not
 % restore this attribute.
 %



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