diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-22 22:14:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-22 22:14:39 +0000 |
commit | fc4466b32ed330a956ac603b00fd145524cff49a (patch) | |
tree | 2c50e2b8de13aa9233b2c76dffe201558f169e86 /Master/texmf-dist/tex/context/base/mkiv/context-characters.lmx | |
parent | 50e2368597d5f6fe2057195d0ae6a9f2044923e4 (diff) |
context (22apr16)
git-svn-id: svn://tug.org/texlive/trunk@40691 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/context-characters.lmx')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/context-characters.lmx | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/context-characters.lmx b/Master/texmf-dist/tex/context/base/mkiv/context-characters.lmx new file mode 100644 index 00000000000..f018e412ba9 --- /dev/null +++ b/Master/texmf-dist/tex/context/base/mkiv/context-characters.lmx @@ -0,0 +1,110 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + +<!-- + filename : context-characters.lmx + comment : companion to context.tex + author : Hans Hagen, PRAGMA-ADE, Hasselt NL + copyright: PRAGMA ADE / ConTeXt Development Team + license : see context related readme files +--> + +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> + <head> + <script type='text/javascript'> + <!-- + window.focus(); + --> + </script> + <title><?lua pv('title') ?></title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <style type="text/css"> + <!-- + <?lmx-include context.css ?> + #type { + text-align: center ; + } + #variable { + width: 10em ; + text-align: right ; + margin-right: 1em ; + } + #value { + text-align: left ; + } + --> + </style> + </head> + <body> <!-- onclick="location.reload()" --> + <div id="top"><div id="top-one"><div id="top-two"> + <?lua pv('title') ?> + </div></div></div> + <div id="left"><div id="left-one"><div id="left-two"> + <!-- empty --> + </div></div></div> + <div id="right"><div id="right-safari"><div id="right-one"><div id="right-two"><div id="right-three"><div id="right-four"><div id="right-five"> + <!-- empty --> + </div></div></div></div></div></div></div> + <div id="right"><div id="right-safari"><div id="right-one"><div id="right-two"><div id="right-three"><div id="right-four"><div id="right-five"></div></div></div></div></div></div></div> + <div id="main"><div id='main-settings'> + <?lmx-define-begin chr-head ?> + <tr> + <th><div id="value"> </div></th> + <th colspan='2'><div id="value">characters </div></th> + <th colspan='2'><div id="value">unicodes </div></th> + <th colspan='2'><div id="value">indices </div></th> + <th colspan='1'><div id="value">fonts </div></th> + </tr> + <tr> + <th><div id="value"> </div></th> + <th><div id="value">before utf </div></th> + <th><div id="value">after utf </div></th> + <th><div id="value">before hex </div></th> + <th><div id="value">after hex </div></th> + <th><div id="value">after hex </div></th> + <th><div id="value">after dec </div></th> + <th><div id="value">filename </div></th> + </tr> + <?lmx-define-end ?> + <?lmx-define-begin chr-body ?> + <tr> + <td valign="top"><div id="value"><?lua t((nodes.tracers.characters.equal(v.before,v.after) and "=") or "!") ?></div></td> + <td valign="top"><div id="value"><?lua t(nodes.tracers.characters.string(v.before)) ?> </div></td> + <td valign="top"><div id="value"><?lua t(nodes.tracers.characters.string(v.after)) ?> </div></td> + <td valign="top"><div id="value"><?lua t(nodes.tracers.characters.unicodes(v.before)) ?> </div></td> + <td valign="top"><div id="value"><?lua t(nodes.tracers.characters.unicodes(v.after)) ?> </div></td> + <td valign="top"><div id="value"><?lua t(nodes.tracers.characters.indices(v.after)) ?> </div></td> + <td valign="top"><div id="value"><?lua t(nodes.tracers.characters.indices(v.after,true)) ?> </div></td> + <td valign="top"><div id="value"><?lua t(nodes.tracers.characters.fonts(v.after)) ?> </div></td> + </tr> + <?lmx-define-end ?> + <?lmx-define-begin chr-none ?> + <tr> + <td><br/></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <?lmx-define-end ?> + <?lua if tracers.knownlist('characters') then ?> + <h1>Processed Words</h1> + <table> + <?lmx-resolve chr-head ?> + <?lua for k,v in pairs(tracers.list['characters']) do if v.before and v.after then ?> + <?lmx-resolve chr-body ?> + <?lua else ?> + <?lmx-resolve chr-none ?> + <?lua end end ?> + </table> + <br/> + <?lua end ?> + </div></div> + <div id="bottom"><div id="bottom-one"><div id="bottom-two"> + Job Name: <?lua p(environment.jobname) ?> + ConTeXt Version: <?lua p(environment.version) ?> + </div></div></div> + </body> +</html> |