diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/s-fnt-28.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/s-fnt-28.mkiv | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/base/s-fnt-28.mkiv b/Master/texmf-dist/tex/context/base/s-fnt-28.mkiv new file mode 100644 index 00000000000..839c7d4ae44 --- /dev/null +++ b/Master/texmf-dist/tex/context/base/s-fnt-28.mkiv @@ -0,0 +1,46 @@ +%D \module +%D [ file=s-fnt-28, +%D version=2010.09.22, +%D title=\CONTEXT\ Style File, +%D subtitle=Tracing Names, +%D author=Hans Hagen, +%D date=\currentdate, +%D copyright=PRAGMA-ADE] +%C +%C This module is part of the \CONTEXT\ macro||package and is +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. + +\startluacode + function fonts.tracers.files(goodyfile) + local goodies = fonts.goodies.get(goodyfile) + if goodies then + local files = goodies.files + if files and files.list then + for filename, specification in table.sortedpairs(files.list) do + context.start() + context.dontleavehmode() + context.definedfont{ filename .. "*default" } + context("%s-%s-%s-%s-%s", + specification.name or files.name, + specification.weight or "normal", + specification.style or "normal", + specification.width or "normal", + specification.variant or "normal") + context.par() + context.stop() + end + end + end + end +\stopluacode + +\doifnotmode{demo}{\endinput} + +\starttext + + \loadfontgoodies[antykwapoltawskiego] + + \ctxlua{fonts.tracers.files("antykwapoltawskiego")} + +\stoptext |