diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2006-11-21 09:52:16 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2006-11-21 09:52:16 +0000 |
commit | 394787d539d045d9723e9aa8ec34531bda5cfab8 (patch) | |
tree | 254e870e890933f508eedfc558090864f60c5a4c /Master/texmf-dist/metapost/base/format.mp | |
parent | 44c390272b38ef308e688d9533c7c3abae77d074 (diff) |
metapost lib files for 0.99
git-svn-id: svn://tug.org/texlive/trunk@2487 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/metapost/base/format.mp')
-rw-r--r-- | Master/texmf-dist/metapost/base/format.mp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/metapost/base/format.mp b/Master/texmf-dist/metapost/base/format.mp index 6a636c62ad9..84e4376a44e 100644 --- a/Master/texmf-dist/metapost/base/format.mp +++ b/Master/texmf-dist/metapost/base/format.mp @@ -1,3 +1,6 @@ +% $Id: format.mp,v 1.2 2004/09/19 21:47:10 karl Exp $ +% Public domain. + % Macros for generating typeset pictures of computed numbers % format(f,x) typeset generalized number x using format string f @@ -89,11 +92,15 @@ vardef Fsci_o_(expr x, e) = enddef; -% Assume prologues=1 implies troff mode. TeX users who what prologues on -% should use some other positive value. The mpx file mechanism requires -% separate input files here. -if prologues=1: input troffnum -else: input texnum +% Assume troffmode=1 implies troff mode. This internal is present +% since version 0.99, and should be set in the change file. +% As a default, fall back to the previous 'prologues=1' test. +% The mpx file mechanism requires separate input files here. +if troffmode=1: input troffnum +else: + if prologues=1: input troffnum + else: input texnum + fi fi |