summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/s-fnt-31.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/s-fnt-31.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/s-fnt-31.mkiv32
1 files changed, 23 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/context/base/s-fnt-31.mkiv b/Master/texmf-dist/tex/context/base/s-fnt-31.mkiv
index 3cd689d9719..171f991db97 100644
--- a/Master/texmf-dist/tex/context/base/s-fnt-31.mkiv
+++ b/Master/texmf-dist/tex/context/base/s-fnt-31.mkiv
@@ -5,7 +5,7 @@
%D subtitle=Comparing Fonts,
%D author=Hans Hagen,
%D date=\currentdate,
-%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
+%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
@@ -45,18 +45,25 @@ function fonts.tracers.coverage(fontfiles,pattern) -- todo: patterns
names[i] = fontname
end
+ local t = { }
+
context.starttabulate {"|Tr" .. string.rep("|l",#names) .. "|" }
- for i=1,#names do
+ for i=1,#fontfiles do
+ local file = fontfiles[i]
+ t[#t+1] = i .. "=" .. file
context.NC()
context(i)
context.NC()
- -- context.getvalue(names[i])
- context.type(fontfiles[i])
+ context.type(file)
context.NC()
context.NR()
end
context.stoptabulate()
+ context.setupfootertexts {
+ table.concat(t," ")
+ }
+
context.starttabulate {"|Tl" .. string.rep("|c",#names) .. "|Tl|" }
context.NC()
context.type("unicode")
@@ -91,10 +98,13 @@ end
\stopluacode
-\doifnotmode{demo}{\endinput}
+\continueifinputfile{s-fnt-31.mkiv}
\setupbodyfont[10pt]
+\setupfootertexts
+ [style=\ttx]
+
\setuplayout
[backspace=1cm,
topspace=1cm,
@@ -150,15 +160,19 @@ end
% }
% \stopluacode
-\loadfontgoodies[px-math]
-\loadfontgoodies[lm-math]
+% \loadfontgoodies[px-math]
+% \loadfontgoodies[lm-math]
\startluacode
fonts.tracers.coverage {
"cambria.ttc(Cambria Math)",
"xits-math.otf",
- "LMMath10-Regular@lmroman10-math",
- "pxmath@px-math",
+ "stixmath-regular.otf",
+ "lmmath-regular",
+ -- "LMMath10-Regular@lmroman10-math",
+ -- "pxmath@px-math",
+ -- "lucida-math.otf",
+ -- "lucida-math-demi.otf",
-- "LinLibertine_Re-4.7.5.otf",
}
\stopluacode