diff options
| author | Hans Hagen <pragma@wxs.nl> | 2026-11-22 22:35:18 +0000 |
|---|---|---|
| committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2026-11-22 22:35:18 +0000 |
| commit | e5337a5d9bf6eb951599ed4f3b86a41514236704 (patch) | |
| tree | ae0cbdfd99014fa35eccd08dd700a2953d5c37e6 /doc | |
| parent | 8d460b764f99b306461189a66cb22bbb319db454 (diff) | |
Diffstat (limited to 'doc')
63 files changed, 1336 insertions, 655 deletions
diff --git a/doc/context/documents/general/manuals/mkxl/luametafun.pdf b/doc/context/documents/general/manuals/mkxl/luametafun.pdf Binary files differindex ce06d04f0..ade23fdae 100644 --- a/doc/context/documents/general/manuals/mkxl/luametafun.pdf +++ b/doc/context/documents/general/manuals/mkxl/luametafun.pdf diff --git a/doc/context/documents/general/manuals/mkxl/luametatex.pdf b/doc/context/documents/general/manuals/mkxl/luametatex.pdf Binary files differindex 211cbcccf..a4a2b352c 100644 --- a/doc/context/documents/general/manuals/mkxl/luametatex.pdf +++ b/doc/context/documents/general/manuals/mkxl/luametatex.pdf diff --git a/doc/context/documents/general/manuals/mkxl/mwe.pdf b/doc/context/documents/general/manuals/mkxl/mwe.pdf Binary files differindex af95984b6..5f39941fc 100644 --- a/doc/context/documents/general/manuals/mkxl/mwe.pdf +++ b/doc/context/documents/general/manuals/mkxl/mwe.pdf diff --git a/doc/context/presentations/general/meetings/bachotex-2010-clash.pdf b/doc/context/presentations/general/meetings/bachotex-2010-clash.pdf Binary files differindex 8dfb31d11..8378f03e0 100644 --- a/doc/context/presentations/general/meetings/bachotex-2010-clash.pdf +++ b/doc/context/presentations/general/meetings/bachotex-2010-clash.pdf diff --git a/doc/context/presentations/general/meetings/bachotex-2010-move.pdf b/doc/context/presentations/general/meetings/bachotex-2010-move.pdf Binary files differindex e4c087b64..a9c15ac03 100644 --- a/doc/context/presentations/general/meetings/bachotex-2010-move.pdf +++ b/doc/context/presentations/general/meetings/bachotex-2010-move.pdf diff --git a/doc/context/presentations/general/meetings/bachotex-2011-cld-and-mkvi.pdf b/doc/context/presentations/general/meetings/bachotex-2011-cld-and-mkvi.pdf Binary files differindex 7b98216fd..7753374be 100644 --- a/doc/context/presentations/general/meetings/bachotex-2011-cld-and-mkvi.pdf +++ b/doc/context/presentations/general/meetings/bachotex-2011-cld-and-mkvi.pdf diff --git a/doc/context/presentations/general/meetings/bachotex-2013-bits.pdf b/doc/context/presentations/general/meetings/bachotex-2013-bits.pdf Binary files differindex cadfb197a..bbc740a3c 100644 --- a/doc/context/presentations/general/meetings/bachotex-2013-bits.pdf +++ b/doc/context/presentations/general/meetings/bachotex-2013-bits.pdf diff --git a/doc/context/presentations/general/meetings/bachotex-2013-luatex.pdf b/doc/context/presentations/general/meetings/bachotex-2013-luatex.pdf Binary files differindex 147c34ac3..dee54f758 100644 --- a/doc/context/presentations/general/meetings/bachotex-2013-luatex.pdf +++ b/doc/context/presentations/general/meetings/bachotex-2013-luatex.pdf diff --git a/doc/context/presentations/general/meetings/bachotex-2013-sense.pdf b/doc/context/presentations/general/meetings/bachotex-2013-sense.pdf Binary files differindex be0939b40..919febccc 100644 --- a/doc/context/presentations/general/meetings/bachotex-2013-sense.pdf +++ b/doc/context/presentations/general/meetings/bachotex-2013-sense.pdf diff --git a/doc/context/presentations/general/meetings/tug-2007-fonts.pdf b/doc/context/presentations/general/meetings/tug-2007-fonts.pdf Binary files differindex 53b97ddc7..e91468a02 100644 --- a/doc/context/presentations/general/meetings/tug-2007-fonts.pdf +++ b/doc/context/presentations/general/meetings/tug-2007-fonts.pdf diff --git a/doc/context/scripts/mkii/texmfstart.html b/doc/context/scripts/mkii/texmfstart.html deleted file mode 100644 index 23ce8a31c..000000000 --- a/doc/context/scripts/mkii/texmfstart.html +++ /dev/null @@ -1,116 +0,0 @@ -<?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"> - -<!-- compare with lmx framework variant --> - -<!-- - filename : context-base.xml - comment : companion to mtx-server-ctx-startup.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> - <title>texmfstart 7.0.0</title> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <style type="text/css"> - body { color: #FFFFFF; background-color: #808080; font-family: optima, verdana, futura, "lucida sans", arial, geneva, helvetica, sans; font-size: 12px; line-height: 18px; } a:link, a:active, a:visited { color: #FFFFFF; } a.dir-view:link, a.dir-view:active, a.dir-view:visited { color: #FFFFFF; text-decoration: underline; } .valid { color: #00FF00; } .invalid { color: #FF0000; } .invisible { visibility: hidden; } button, .commonlink, .smallbutton { font-weight: bold; font-size: 12px; text-decoration: none; color: #000000; border-color: #7F7F7F; border-style: solid; border-width: .125ex; background-color: #FFFFFF; padding: .5ex; } .smallbutton { width: 1em; } a.commonlink:link, a.commonlink:active, a.commonlink:visited, a.smalllink:link, a.smalllink:active, a.smalllink:visited { font-weight: bold; font-size: 12px; text-decoration: none; color: #000000; } h1, .title { font-style: normal; font-weight: normal; font-size: 18px; line-height: 18px; margin-bottom: 20px; } h2, .subtitle { font-style: normal; font-weight: normal; font-size: 12px; margin-top: 18px; margin-bottom: 18px; } table { line-height: 18px; font-size: 12px; margin: 0; } th { font-weight: bold; text-align: left; padding-bottom: 6px; } .tc { font-weight: bold; text-align: left; } p, li { max-width: 60em; } .empty-line { margin-top: 4px; } .more-room { margin-right: 1.5em; } .much-more-room { margin-right: 3em; } #main { position: absolute; left: 10%; top: 10%; right: 10%; bottom: 10%; z-index: 2; width: 80%; height: 80%; padding: 0%; margin: 0%; overflow: auto; border-style: none; border-width: 0; background-color: #3F3F3F; } #main-settings { margin: 12px; x_max-width: 60em; line-height: 18px; font-size: 12px; } #left { position: absolute; top : 10%; left: 0%; bottom: 0%; right: 90%; z-index: 1; width: 10%; height: 90%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #4F6F6F; } #right { position: absolute; top : 0%; left: 90%; bottom: 10%; right: 0%; z-index: 1; width: 10%; height: 90%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #4F6F6F; _margin-left: -15px; } #bottom { position: absolute; left: 10%; right: 0%; top: 90%; bottom: 0%; z-index: 1; width: 90%; height: 10%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #6F6F8F; } #top { position: absolute; left: 0%; right: 10%; top: 0%; bottom: 90%; z-index: 1; width: 90%; height: 10%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #6F6F8F; } #top-one { position: absolute; bottom: 50%; width: 100%; buggedheight: 100%; } #top-two { position: relative; margin-bottom: -9px; margin-left: 12px; margin-right: 12px; line-height: 18px; text-align: right; vertical-align: middle; } #bottom-one { position: absolute; bottom: 50%; width: 100%; buggedheight: 100%; } #bottom-two { position: relative; margin-bottom: -9px; margin-left: 12px; margin-right: 12px; line-height: 18px; text-align: left; vertical-align: middle; } #left-one { position: absolute; width: 100%; buggedheight: 100%; } #left-two { position: relative; margin-top: 12px; line-height: 18px; text-align: center; vertical-align: top; } #right-one { display: table; height: 100%; width: 100%; } #right-two { display: table-row; height: 100%; width: 100%; } #right-three { display: table-cell; width: 100%; vertical-align: bottom; _position: absolute; _top: 100%; } #right-four { text-align: center; margin-bottom: 2ex; _position: relative; _top: -100%; } #more-top { position: absolute; top: 0%; left: 90%; bottom: 90%; right: 0%; z-index: 3; width: 10%; height: 10%; padding: 0%; margin: 0%; border-style: none; border-width: 0; } #more-top-settings { text-align: center; } #more-right-settings { margin-right: 12px; margin-left: 12px; line-height: 18px; font-size: 10px; text-align: center; } #right-safari { _display: table; width: 100%; height: 100%; } - </style> - <style type="text/css"> - </style> - </head> - <body> - <div id="top"> <div id="top-one"> - <div id="top-two">texmfstart 7.0.0 </div> - </div> - </div> - <div id="bottom"> <div id="bottom-one"> - <div id="bottom-two">wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl</div> - </div> - </div> - <div id="left"></div> - <div id="right"></div> - <div id="main"> - <div id='main-settings'> - <h1>Command line options</h1> -<table> - <tr><th style="width: 10em">flag</th><th style="width: 8em">value</th><th>description</th></tr> - <tr><th/><td/><td/></tr> - <tr><th>--script</th><td></td><td>run an mtx script (lua prefered method) (--noquotes), no script gives list</td></tr> - <tr><th>--evaluate</th><td></td><td>run code passed on the commandline (between quotes) (=loop) (exit|quit aborts)</td></tr> - <tr><th>--execute</th><td></td><td>run a script or program (texmfstart method) (--noquotes)</td></tr> - <tr><th>--direct</th><td></td><td>run a program </td></tr> - <tr><th>--resolve</th><td></td><td>resolve prefixed arguments</td></tr> - <tr><th>--ctxlua</th><td></td><td>run internally (using preloaded libs)</td></tr> - <tr><th>--internal</th><td></td><td>run script using built in libraries (same as --ctxlua)</td></tr> - <tr><th>--locate</th><td></td><td>locate given filename in database (default) or system (--first --all --detail)</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--tree</th><td>pathtotree</td><td>use given texmf tree (default file: setuptex.tmf)</td></tr> - <tr><th>--path</th><td>runpath</td><td>go to given path before execution</td></tr> - <tr><th>--ifchanged</th><td>filename</td><td>only execute when given file has changed (md checksum)</td></tr> - <tr><th>--iftouched</th><td>old,new</td><td>only execute when given file has changed (time stamp)</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--makestubs</th><td></td><td>create stubs for (context related) scripts</td></tr> - <tr><th>--removestubs</th><td></td><td>remove stubs (context related) scripts</td></tr> - <tr><th>--stubpath</th><td>binpath</td><td>paths where stubs wil be written</td></tr> - <tr><th>--windows</th><td></td><td>create windows (mswin) stubs</td></tr> - <tr><th>--unix</th><td></td><td>create unix (linux) stubs</td></tr> - <tr><th>--addbinarypath</th><td></td><td>prepend the (found) binarypath to runners</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--verbose</th><td></td><td>give a bit more info</td></tr> - <tr><th>--trackers</th><td>list</td><td>enable given trackers</td></tr> - <tr><th>--progname</th><td>str</td><td>format or backend</td></tr> - <tr><th>--platform</th><td>str</td><td>show platform as seen by script</td></tr> - <tr><th>--systeminfo</th><td>str</td><td>show current operating system, processor, etc</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--edit</th><td></td><td>launch editor with found file</td></tr> - <tr><th>--launch</th><td></td><td>launch files like manuals, assumes os support (--all,--list)</td></tr> - <tr><th>--associate</th><td></td><td>launch files like manuals, assumes os support via suffix association</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--timedrun</th><td></td><td>run a script and time its run</td></tr> - <tr><th>--autogenerate</th><td></td><td>regenerate databases if needed (handy when used to run context in an editor)</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--usekpse</th><td></td><td>use kpse as fallback (when no mkiv and cache installed, often slower)</td></tr> - <tr><th>--forcekpse</th><td></td><td>force using kpse (handy when no mkiv and cache installed but less functionality)</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--prefixes</th><td></td><td>show supported prefixes</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--generate</th><td></td><td>generate file database</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--variables</th><td></td><td>show configuration variables</td></tr> - <tr><th>--configurations</th><td></td><td>show configuration order</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--directives</th><td></td><td>show (known) directives</td></tr> - <tr><th>--trackers</th><td></td><td>show (known) trackers</td></tr> - <tr><th>--experiments</th><td></td><td>show (known) experiments</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--expand-braces</th><td></td><td>expand complex variable</td></tr> - <tr><th>--resolve-path</th><td></td><td>expand variable (completely resolve paths)</td></tr> - <tr><th>--expand-path</th><td></td><td>expand variable (resolve paths)</td></tr> - <tr><th>--expand-var</th><td></td><td>expand variable (resolve references)</td></tr> - <tr><th>--show-path</th><td></td><td>show path expansion of ...</td></tr> - <tr><th>--show-details</th><td></td><td>show details of configuration</td></tr> - <tr><th>--var-value</th><td></td><td>report value of variable</td></tr> - <tr><th>--find-file</th><td></td><td>report file location</td></tr> - <tr><th>--find-path</th><td></td><td>report path of file</td></tr> - <tr><th>--format-path</th><td></td><td>report path where format files end up</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--pattern</th><td>string</td><td>filter variables</td></tr> - <tr><th>--all</th><td></td><td>report all (when applicable)</td></tr> - <tr><th>--format</th><td>string</td><td>filter by file format (when applicable)</td></tr> - <tr><th/><td/><td/></tr> - <tr><th>--selfclean</th><td>string</td><td>remove libraries (maintainance)</td></tr> - <tr><th>--selfmerge</th><td>string</td><td>embed libraries (maintainance)</td></tr> - <tr><th>--selfupdate</th><td>string</td><td>move to bin path (maintainance)</td></tr> - <tr><th>--help</th><td>string</td><td>show help info</td></tr> - <tr><th>--version</th><td>string</td><td>show version info</td></tr> - <tr><th>--gethelp</th><td>string</td><td>launch the given help info (--url)</td></tr> - </table> -<br/> - </div> - </div> - </body> -</html> diff --git a/doc/context/scripts/mkii/texmfstart.man b/doc/context/scripts/mkii/texmfstart.man deleted file mode 100644 index b1bd3af52..000000000 --- a/doc/context/scripts/mkii/texmfstart.man +++ /dev/null @@ -1,192 +0,0 @@ -.TH "mtxrun" "1" "01-01-2026" "version 1.33" "ConTeXt TDS Runner Tool" -.SH NAME - mtxrun - ConTeXt TDS Runner Tool -.SH SYNOPSIS -.B mtxrun [ -.I OPTIONS ... -.B ] [ -.I FILENAMES -.B ] -.SH DESCRIPTION -.B ConTeXt TDS Runner Tool -.SH OPTIONS -.TP -.B --script -run an mtx script (lua prefered method) (--noquotes), no script gives list -.TP -.B --evaluate -run code passed on the commandline (between quotes) (=loop) (exit|quit aborts) -.TP -.B --execute -run a script or program (texmfstart method) (--noquotes) -.TP -.B --direct -run a program -.TP -.B --resolve -resolve prefixed arguments -.TP -.B --ctxlua -run internally (using preloaded libs) -.TP -.B --internal -run script using built in libraries (same as --ctxlua) -.TP -.B --locate -locate given filename in database (default) or system (--first --all --detail) -.TP -.B --tree=pathtotree -use given texmf tree (default file: setuptex.tmf) -.TP -.B --path=runpath -go to given path before execution -.TP -.B --ifchanged=filename -only execute when given file has changed (md checksum) -.TP -.B --iftouched=old,new -only execute when given file has changed (time stamp) -.TP -.B --makestubs -create stubs for (context related) scripts -.TP -.B --removestubs -remove stubs (context related) scripts -.TP -.B --stubpath=binpath -paths where stubs wil be written -.TP -.B --windows -create windows (mswin) stubs -.TP -.B --unix -create unix (linux) stubs -.TP -.B --addbinarypath -prepend the (found) binarypath to runners -.TP -.B --verbose -give a bit more info -.TP -.B --trackers=list -enable given trackers -.TP -.B --progname=str -format or backend -.TP -.B --platform=str -show platform as seen by script -.TP -.B --systeminfo=str -show current operating system, processor, etc -.TP -.B --edit -launch editor with found file -.TP -.B --launch -launch files like manuals, assumes os support (--all,--list) -.TP -.B --associate -launch files like manuals, assumes os support via suffix association -.TP -.B --timedrun -run a script and time its run -.TP -.B --autogenerate -regenerate databases if needed (handy when used to run context in an editor) -.TP -.B --usekpse -use kpse as fallback (when no mkiv and cache installed, often slower) -.TP -.B --forcekpse -force using kpse (handy when no mkiv and cache installed but less functionality) -.TP -.B --prefixes -show supported prefixes -.TP -.B --generate -generate file database -.TP -.B --variables -show configuration variables -.TP -.B --configurations -show configuration order -.TP -.B --directives -show (known) directives -.TP -.B --trackers -show (known) trackers -.TP -.B --experiments -show (known) experiments -.TP -.B --expand-braces -expand complex variable -.TP -.B --resolve-path -expand variable (completely resolve paths) -.TP -.B --expand-path -expand variable (resolve paths) -.TP -.B --expand-var -expand variable (resolve references) -.TP -.B --show-path -show path expansion of ... -.TP -.B --show-details -show details of configuration -.TP -.B --var-value -report value of variable -.TP -.B --find-file -report file location -.TP -.B --find-path -report path of file -.TP -.B --format-path -report path where format files end up -.TP -.B --pattern=string -filter variables -.TP -.B --all -report all (when applicable) -.TP -.B --format=string -filter by file format (when applicable) -.TP -.B --selfclean=string -remove libraries (maintainance) -.TP -.B --selfmerge=string -embed libraries (maintainance) -.TP -.B --selfupdate=string -move to bin path (maintainance) -.TP -.B --help=string -show help info -.TP -.B --version=string -show version info -.TP -.B --gethelp=string -launch the given help info (--url) -.SH AUTHOR -More information about ConTeXt and the tools that come with it can be found at: - - -.B "maillist:" -ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context - -.B "webpage:" -http://www.pragma-ade.nl / http://tex.aanhet.net - -.B "wiki:" -http://contextgarden.net diff --git a/doc/context/scripts/mkii/texmfstart.xml b/doc/context/scripts/mkii/texmfstart.xml deleted file mode 100644 index 79ed80e0d..000000000 --- a/doc/context/scripts/mkii/texmfstart.xml +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0"?><application> - <metadata> - <entry name="name">mtxrun</entry> - <entry name="detail">ConTeXt TDS Runner Tool</entry> - <entry name="version">1.33</entry> - </metadata> - <flags> - <category name="basic"> - <subcategory> - <flag name="script"><short>run an mtx script (lua prefered method) (<ref name="noquotes"/>), no script gives list</short></flag> - <flag name="evaluate"><short>run code passed on the commandline (between quotes) (=loop) (exit|quit aborts)</short></flag> - <flag name="execute"><short>run a script or program (texmfstart method) (<ref name="noquotes"/>)</short></flag> - <flag name="direct"><short>run a program </short></flag> - <flag name="resolve"><short>resolve prefixed arguments</short></flag> - <flag name="ctxlua"><short>run internally (using preloaded libs)</short></flag> - <flag name="internal"><short>run script using built in libraries (same as <ref name="ctxlua"/>)</short></flag> - <flag name="locate"><short>locate given filename in database (default) or system (<ref name="first"/> <ref name="all"/> <ref name="detail"/>)</short></flag> - </subcategory> - <subcategory> - <flag name="tree" value="pathtotree"><short>use given texmf tree (default file: setuptex.tmf)</short></flag> - <flag name="path" value="runpath"><short>go to given path before execution</short></flag> - <flag name="ifchanged" value="filename"><short>only execute when given file has changed (md checksum)</short></flag> - <flag name="iftouched" value="old,new"><short>only execute when given file has changed (time stamp)</short></flag> - </subcategory> - <subcategory> - <flag name="makestubs"><short>create stubs for (context related) scripts</short></flag> - <flag name="removestubs"><short>remove stubs (context related) scripts</short></flag> - <flag name="stubpath" value="binpath"><short>paths where stubs wil be written</short></flag> - <flag name="windows"><short>create windows (mswin) stubs</short></flag> - <flag name="unix"><short>create unix (linux) stubs</short></flag> - <flag name="addbinarypath"><short>prepend the (found) binarypath to runners</short></flag> - </subcategory> - <subcategory> - <flag name="verbose"><short>give a bit more info</short></flag> - <flag name="trackers" value="list"><short>enable given trackers</short></flag> - <flag name="progname" value="str"><short>format or backend</short></flag> - <flag name="platform" value="str"><short>show platform as seen by script</short></flag> - <flag name="systeminfo" value="str"><short>show current operating system, processor, etc</short></flag> - </subcategory> - <subcategory> - <flag name="edit"><short>launch editor with found file</short></flag> - <flag name="launch"><short>launch files like manuals, assumes os support (<ref name="all"/>,<ref name="list"/>)</short></flag> - <flag name="associate"><short>launch files like manuals, assumes os support via suffix association</short></flag> - </subcategory> - <subcategory> - <flag name="timedrun"><short>run a script and time its run</short></flag> - <flag name="autogenerate"><short>regenerate databases if needed (handy when used to run context in an editor)</short></flag> - </subcategory> - <subcategory> - <flag name="usekpse"><short>use kpse as fallback (when no mkiv and cache installed, often slower)</short></flag> - <flag name="forcekpse"><short>force using kpse (handy when no mkiv and cache installed but less functionality)</short></flag> - </subcategory> - <subcategory> - <flag name="prefixes"><short>show supported prefixes</short></flag> - </subcategory> - <subcategory> - <flag name="generate"><short>generate file database</short></flag> - </subcategory> - <subcategory> - <flag name="variables"><short>show configuration variables</short></flag> - <flag name="configurations"><short>show configuration order</short></flag> - </subcategory> - <subcategory> - <flag name="directives"><short>show (known) directives</short></flag> - <flag name="trackers"><short>show (known) trackers</short></flag> - <flag name="experiments"><short>show (known) experiments</short></flag> - </subcategory> - <subcategory> - <flag name="expand-braces"><short>expand complex variable</short></flag> - <flag name="resolve-path"><short>expand variable (completely resolve paths)</short></flag> - <flag name="expand-path"><short>expand variable (resolve paths)</short></flag> - <flag name="expand-var"><short>expand variable (resolve references)</short></flag> - <flag name="show-path"><short>show path expansion of ...</short></flag> - <flag name="show-details"><short>show details of configuration</short></flag> - <flag name="var-value"><short>report value of variable</short></flag> - <flag name="find-file"><short>report file location</short></flag> - <flag name="find-path"><short>report path of file</short></flag> - <flag name="format-path"><short>report path where format files end up</short></flag> - </subcategory> - <subcategory> - <flag name="pattern" value="string"><short>filter variables</short></flag> - <flag name="all"><short>report all (when applicable)</short></flag> - <flag name="format" value="string"><short>filter by file format (when applicable)</short></flag> - </subcategory> - <subcategory> - <flag name="selfclean" value="string"><short>remove libraries (maintainance)</short></flag> - <flag name="selfmerge" value="string"><short>embed libraries (maintainance)</short></flag> - <flag name="selfupdate" value="string"><short>move to bin path (maintainance)</short></flag> - <subcategory> - </subcategory> - <flag name="help" value="string"><short>show help info</short></flag> - <flag name="version" value="string"><short>show version info</short></flag> - <flag name="gethelp" value="string"><short>launch the given help info (<ref name="url"/>)</short></flag> - </subcategory> - </category> - </flags> -</application>
\ No newline at end of file diff --git a/doc/context/scripts/mkiv/context.html b/doc/context/scripts/mkiv/context.html index 8ea52353e..a9c817fde 100644 --- a/doc/context/scripts/mkiv/context.html +++ b/doc/context/scripts/mkiv/context.html @@ -139,7 +139,10 @@ <tr><th>--pipe</th><td></td><td>do not check for file and enter scroll mode (--dummyfile=whatever.tmp)</td></tr> <tr><th/><td/><td/></tr> <tr><th>--parallel</th><td></td><td>process multiple files at the same time (you can specify a number of processes, default: 8)</td></tr> - <tr><th>--parallellist</th><td></td><td>process commands in this file (lines that start with 'context')</td></tr> + <tr><th>--parallellist</th><td></td><td>process commands in this file (lines that start with 'context' or 'mtxrun')</td></tr> + <tr><th>--parallelsequence</th><td></td><td>process the files according to the given specification file</td></tr> + <tr><th>--parallelmodes</th><td></td><td>process the files in pattern with these modes (appends mode to result names)</td></tr> + <tr><th>--terminal</th><td></td><td>show parallel log output (=color)</td></tr> <tr><th/><td/><td/></tr> <tr><th>--sandbox</th><td></td><td>process file in a limited environment</td></tr> <tr><th/><td/><td/></tr> diff --git a/doc/context/scripts/mkiv/context.man b/doc/context/scripts/mkiv/context.man index 3ac9171c4..635b55ef0 100644 --- a/doc/context/scripts/mkiv/context.man +++ b/doc/context/scripts/mkiv/context.man @@ -239,7 +239,16 @@ do not check for file and enter scroll mode (--dummyfile=whatever.tmp) process multiple files at the same time (you can specify a number of processes, default: 8) .TP .B --parallellist -process commands in this file (lines that start with 'context') +process commands in this file (lines that start with 'context' or 'mtxrun') +.TP +.B --parallelsequence +process the files according to the given specification file +.TP +.B --parallelmodes +process the files in pattern with these modes (appends mode to result names) +.TP +.B --terminal +show parallel log output (=color) .TP .B --sandbox process file in a limited environment diff --git a/doc/context/scripts/mkiv/context.xml b/doc/context/scripts/mkiv/context.xml index fb31a772f..87e0bd12c 100644 --- a/doc/context/scripts/mkiv/context.xml +++ b/doc/context/scripts/mkiv/context.xml @@ -287,7 +287,16 @@ <short>process multiple files at the same time (you can specify a number of processes, default: 8)</short> </flag> <flag name="parallellist"> - <short>process commands in this file (lines that start with 'context')</short> + <short>process commands in this file (lines that start with 'context' or 'mtxrun')</short> + </flag> + <flag name="parallelsequence"> + <short>process the files according to the given specification file</short> + </flag> + <flag name="parallelmodes"> + <short>process the files in pattern with these modes (appends mode to result names)</short> + </flag> + <flag name="terminal"> + <short>show parallel log output (=color)</short> </flag> </subcategory> <subcategory> diff --git a/doc/context/scripts/mkiv/mtx-context.html b/doc/context/scripts/mkiv/mtx-context.html index 8ea52353e..a9c817fde 100644 --- a/doc/context/scripts/mkiv/mtx-context.html +++ b/doc/context/scripts/mkiv/mtx-context.html @@ -139,7 +139,10 @@ <tr><th>--pipe</th><td></td><td>do not check for file and enter scroll mode (--dummyfile=whatever.tmp)</td></tr> <tr><th/><td/><td/></tr> <tr><th>--parallel</th><td></td><td>process multiple files at the same time (you can specify a number of processes, default: 8)</td></tr> - <tr><th>--parallellist</th><td></td><td>process commands in this file (lines that start with 'context')</td></tr> + <tr><th>--parallellist</th><td></td><td>process commands in this file (lines that start with 'context' or 'mtxrun')</td></tr> + <tr><th>--parallelsequence</th><td></td><td>process the files according to the given specification file</td></tr> + <tr><th>--parallelmodes</th><td></td><td>process the files in pattern with these modes (appends mode to result names)</td></tr> + <tr><th>--terminal</th><td></td><td>show parallel log output (=color)</td></tr> <tr><th/><td/><td/></tr> <tr><th>--sandbox</th><td></td><td>process file in a limited environment</td></tr> <tr><th/><td/><td/></tr> diff --git a/doc/context/scripts/mkiv/mtx-context.man b/doc/context/scripts/mkiv/mtx-context.man index 3ac9171c4..635b55ef0 100644 --- a/doc/context/scripts/mkiv/mtx-context.man +++ b/doc/context/scripts/mkiv/mtx-context.man @@ -239,7 +239,16 @@ do not check for file and enter scroll mode (--dummyfile=whatever.tmp) process multiple files at the same time (you can specify a number of processes, default: 8) .TP .B --parallellist -process commands in this file (lines that start with 'context') +process commands in this file (lines that start with 'context' or 'mtxrun') +.TP +.B --parallelsequence +process the files according to the given specification file +.TP +.B --parallelmodes +process the files in pattern with these modes (appends mode to result names) +.TP +.B --terminal +show parallel log output (=color) .TP .B --sandbox process file in a limited environment diff --git a/doc/context/scripts/mkiv/mtx-context.xml b/doc/context/scripts/mkiv/mtx-context.xml index fb31a772f..87e0bd12c 100644 --- a/doc/context/scripts/mkiv/mtx-context.xml +++ b/doc/context/scripts/mkiv/mtx-context.xml @@ -287,7 +287,16 @@ <short>process multiple files at the same time (you can specify a number of processes, default: 8)</short> </flag> <flag name="parallellist"> - <short>process commands in this file (lines that start with 'context')</short> + <short>process commands in this file (lines that start with 'context' or 'mtxrun')</short> + </flag> + <flag name="parallelsequence"> + <short>process the files according to the given specification file</short> + </flag> + <flag name="parallelmodes"> + <short>process the files in pattern with these modes (appends mode to result names)</short> + </flag> + <flag name="terminal"> + <short>show parallel log output (=color)</short> </flag> </subcategory> <subcategory> diff --git a/doc/context/scripts/mkiv/mtx-ctan.html b/doc/context/scripts/mkiv/mtx-ctan.html index 1ec6ad489..1e573787c 100644 --- a/doc/context/scripts/mkiv/mtx-ctan.html +++ b/doc/context/scripts/mkiv/mtx-ctan.html @@ -39,10 +39,16 @@ <table> <tr><th style="width: 10em">flag</th><th style="width: 8em">value</th><th>description</th></tr> <tr><th/><td/><td/></tr> - <tr><th>--packages</th><td></td><td>list available packages [--field=key|name|caption]</td></tr> - <tr><th>--topics</th><td></td><td>list available topics [--field=key|name|details]</td></tr> - <tr><th>--details</th><td></td><td>show details about package</td></tr> <tr><th>--pattern</th><td>string</td><td>use this pattern, otherwise first argument</td></tr> + <tr><th>--download</th><td>string</td><td>install (fonts) from texlive</td></tr> + <tr><th>--force</th><td>string</td><td>force installation even when present</td></tr> + <tr><th>--all</th><td>string</td><td>also install when multiple packages</td></tr> + <tr><th/><td/><td/></tr> + <tr><th>--packages</th><td></td><td>list available ctan packages [--field=key|name|caption]</td></tr> + <tr><th>--topics</th><td></td><td>list available ctan topics [--field=key|name|details]</td></tr> + <tr><th>--details</th><td></td><td>show details about a ctan package</td></tr> + <tr><th/><td/><td/></tr> + <tr><th>--texlive</th><td></td><td>install a texlive package [--download] [--force] [--all]</td></tr> </table> <br/> </div> diff --git a/doc/context/scripts/mkiv/mtx-ctan.man b/doc/context/scripts/mkiv/mtx-ctan.man index 3c1617f86..6d1a66dd4 100644 --- a/doc/context/scripts/mkiv/mtx-ctan.man +++ b/doc/context/scripts/mkiv/mtx-ctan.man @@ -11,17 +11,29 @@ .B Dealing with CTAN .SH OPTIONS .TP +.B --pattern=string +use this pattern, otherwise first argument +.TP +.B --download=string +install (fonts) from texlive +.TP +.B --force=string +force installation even when present +.TP +.B --all=string +also install when multiple packages +.TP .B --packages -list available packages [--field=key|name|caption] +list available ctan packages [--field=key|name|caption] .TP .B --topics -list available topics [--field=key|name|details] +list available ctan topics [--field=key|name|details] .TP .B --details -show details about package +show details about a ctan package .TP -.B --pattern=string -use this pattern, otherwise first argument +.B --texlive +install a texlive package [--download] [--force] [--all] .SH AUTHOR More information about ConTeXt and the tools that come with it can be found at: diff --git a/doc/context/scripts/mkiv/mtx-ctan.xml b/doc/context/scripts/mkiv/mtx-ctan.xml index 32f78ee36..8f0c81014 100644 --- a/doc/context/scripts/mkiv/mtx-ctan.xml +++ b/doc/context/scripts/mkiv/mtx-ctan.xml @@ -8,10 +8,18 @@ <flags> <category name="basic"> <subcategory> - <flag name="packages"><short>list available packages [--field=key|name|caption]</short></flag> - <flag name="topics"><short>list available topics [--field=key|name|details]</short></flag> - <flag name="details"><short>show details about package</short></flag> <flag name="pattern" value="string"><short>use this pattern, otherwise first argument</short></flag> + <flag name="download" value="string"><short>install (fonts) from texlive</short></flag> + <flag name="force" value="string"><short>force installation even when present</short></flag> + <flag name="all" value="string"><short>also install when multiple packages</short></flag> + </subcategory> + <subcategory> + <flag name="packages"><short>list available ctan packages [--field=key|name|caption]</short></flag> + <flag name="topics"><short>list available ctan topics [--field=key|name|details]</short></flag> + <flag name="details"><short>show details about a ctan package</short></flag> + </subcategory> + <subcategory> + <flag name="texlive"><short>install a texlive package [--download] [--force] [--all]</short></flag> </subcategory> </category> </flags> diff --git a/doc/context/scripts/mkiv/mtx-install.html b/doc/context/scripts/mkiv/mtx-install.html index 289c0e68a..9d4213b6e 100644 --- a/doc/context/scripts/mkiv/mtx-install.html +++ b/doc/context/scripts/mkiv/mtx-install.html @@ -14,7 +14,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> - <title>ConTeXt Installer 2.01</title> + <title>ConTeXt Installer 2.02</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <style type="text/css"> body { color: #FFFFFF; background-color: #808080; font-family: optima, verdana, futura, "lucida sans", arial, geneva, helvetica, sans; font-size: 12px; line-height: 18px; } a:link, a:active, a:visited { color: #FFFFFF; } a.dir-view:link, a.dir-view:active, a.dir-view:visited { color: #FFFFFF; text-decoration: underline; } .valid { color: #00FF00; } .invalid { color: #FF0000; } .invisible { visibility: hidden; } button, .commonlink, .smallbutton { font-weight: bold; font-size: 12px; text-decoration: none; color: #000000; border-color: #7F7F7F; border-style: solid; border-width: .125ex; background-color: #FFFFFF; padding: .5ex; } .smallbutton { width: 1em; } a.commonlink:link, a.commonlink:active, a.commonlink:visited, a.smalllink:link, a.smalllink:active, a.smalllink:visited { font-weight: bold; font-size: 12px; text-decoration: none; color: #000000; } h1, .title { font-style: normal; font-weight: normal; font-size: 18px; line-height: 18px; margin-bottom: 20px; } h2, .subtitle { font-style: normal; font-weight: normal; font-size: 12px; margin-top: 18px; margin-bottom: 18px; } table { line-height: 18px; font-size: 12px; margin: 0; } th { font-weight: bold; text-align: left; padding-bottom: 6px; } .tc { font-weight: bold; text-align: left; } p, li { max-width: 60em; } .empty-line { margin-top: 4px; } .more-room { margin-right: 1.5em; } .much-more-room { margin-right: 3em; } #main { position: absolute; left: 10%; top: 10%; right: 10%; bottom: 10%; z-index: 2; width: 80%; height: 80%; padding: 0%; margin: 0%; overflow: auto; border-style: none; border-width: 0; background-color: #3F3F3F; } #main-settings { margin: 12px; x_max-width: 60em; line-height: 18px; font-size: 12px; } #left { position: absolute; top : 10%; left: 0%; bottom: 0%; right: 90%; z-index: 1; width: 10%; height: 90%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #4F6F6F; } #right { position: absolute; top : 0%; left: 90%; bottom: 10%; right: 0%; z-index: 1; width: 10%; height: 90%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #4F6F6F; _margin-left: -15px; } #bottom { position: absolute; left: 10%; right: 0%; top: 90%; bottom: 0%; z-index: 1; width: 90%; height: 10%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #6F6F8F; } #top { position: absolute; left: 0%; right: 10%; top: 0%; bottom: 90%; z-index: 1; width: 90%; height: 10%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #6F6F8F; } #top-one { position: absolute; bottom: 50%; width: 100%; buggedheight: 100%; } #top-two { position: relative; margin-bottom: -9px; margin-left: 12px; margin-right: 12px; line-height: 18px; text-align: right; vertical-align: middle; } #bottom-one { position: absolute; bottom: 50%; width: 100%; buggedheight: 100%; } #bottom-two { position: relative; margin-bottom: -9px; margin-left: 12px; margin-right: 12px; line-height: 18px; text-align: left; vertical-align: middle; } #left-one { position: absolute; width: 100%; buggedheight: 100%; } #left-two { position: relative; margin-top: 12px; line-height: 18px; text-align: center; vertical-align: top; } #right-one { display: table; height: 100%; width: 100%; } #right-two { display: table-row; height: 100%; width: 100%; } #right-three { display: table-cell; width: 100%; vertical-align: bottom; _position: absolute; _top: 100%; } #right-four { text-align: center; margin-bottom: 2ex; _position: relative; _top: -100%; } #more-top { position: absolute; top: 0%; left: 90%; bottom: 90%; right: 0%; z-index: 3; width: 10%; height: 10%; padding: 0%; margin: 0%; border-style: none; border-width: 0; } #more-top-settings { text-align: center; } #more-right-settings { margin-right: 12px; margin-left: 12px; line-height: 18px; font-size: 10px; text-align: center; } #right-safari { _display: table; width: 100%; height: 100%; } @@ -24,7 +24,7 @@ </head> <body> <div id="top"> <div id="top-one"> - <div id="top-two">ConTeXt Installer 2.01 </div> + <div id="top-two">ConTeXt Installer 2.02 </div> </div> </div> <div id="bottom"> <div id="bottom-one"> @@ -48,7 +48,7 @@ <tr><th>--update</th><td></td><td>update context</td></tr> <tr><th>--erase</th><td></td><td>wipe the cache</td></tr> <tr><th>--identify</th><td></td><td>create list of files (be in tex root)</td></tr> - <tr><th>--secure</th><td></td><td>use curl for https</td></tr> + <tr><th>--secure</th><td></td><td>use https</td></tr> </table> <br/> </div> diff --git a/doc/context/scripts/mkiv/mtx-install.man b/doc/context/scripts/mkiv/mtx-install.man index 87d49c311..72520f759 100644 --- a/doc/context/scripts/mkiv/mtx-install.man +++ b/doc/context/scripts/mkiv/mtx-install.man @@ -39,7 +39,7 @@ wipe the cache create list of files (be in tex root) .TP .B --secure -use curl for https +use https .SH AUTHOR More information about ConTeXt and the tools that come with it can be found at: diff --git a/doc/context/scripts/mkiv/mtx-install.xml b/doc/context/scripts/mkiv/mtx-install.xml index caf23d3c4..ee9ece364 100644 --- a/doc/context/scripts/mkiv/mtx-install.xml +++ b/doc/context/scripts/mkiv/mtx-install.xml @@ -17,7 +17,7 @@ <flag name="update"><short>update context</short></flag> <flag name="erase"><short>wipe the cache</short></flag> <flag name="identify"><short>create list of files (be in tex root)</short></flag> - <flag name="secure"><short>use curl for https</short></flag> + <flag name="secure"><short>use https</short></flag> </subcategory> </category> </flags> diff --git a/doc/context/scripts/mkiv/mtx-server.html b/doc/context/scripts/mkiv/mtx-server.html index 733bc3d49..ad1be0781 100644 --- a/doc/context/scripts/mkiv/mtx-server.html +++ b/doc/context/scripts/mkiv/mtx-server.html @@ -14,7 +14,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> - <title>Simple Webserver For Helpers 0.10</title> + <title>Simple Webserver For Helpers 1.00</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <style type="text/css"> body { color: #FFFFFF; background-color: #808080; font-family: optima, verdana, futura, "lucida sans", arial, geneva, helvetica, sans; font-size: 12px; line-height: 18px; } a:link, a:active, a:visited { color: #FFFFFF; } a.dir-view:link, a.dir-view:active, a.dir-view:visited { color: #FFFFFF; text-decoration: underline; } .valid { color: #00FF00; } .invalid { color: #FF0000; } .invisible { visibility: hidden; } button, .commonlink, .smallbutton { font-weight: bold; font-size: 12px; text-decoration: none; color: #000000; border-color: #7F7F7F; border-style: solid; border-width: .125ex; background-color: #FFFFFF; padding: .5ex; } .smallbutton { width: 1em; } a.commonlink:link, a.commonlink:active, a.commonlink:visited, a.smalllink:link, a.smalllink:active, a.smalllink:visited { font-weight: bold; font-size: 12px; text-decoration: none; color: #000000; } h1, .title { font-style: normal; font-weight: normal; font-size: 18px; line-height: 18px; margin-bottom: 20px; } h2, .subtitle { font-style: normal; font-weight: normal; font-size: 12px; margin-top: 18px; margin-bottom: 18px; } table { line-height: 18px; font-size: 12px; margin: 0; } th { font-weight: bold; text-align: left; padding-bottom: 6px; } .tc { font-weight: bold; text-align: left; } p, li { max-width: 60em; } .empty-line { margin-top: 4px; } .more-room { margin-right: 1.5em; } .much-more-room { margin-right: 3em; } #main { position: absolute; left: 10%; top: 10%; right: 10%; bottom: 10%; z-index: 2; width: 80%; height: 80%; padding: 0%; margin: 0%; overflow: auto; border-style: none; border-width: 0; background-color: #3F3F3F; } #main-settings { margin: 12px; x_max-width: 60em; line-height: 18px; font-size: 12px; } #left { position: absolute; top : 10%; left: 0%; bottom: 0%; right: 90%; z-index: 1; width: 10%; height: 90%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #4F6F6F; } #right { position: absolute; top : 0%; left: 90%; bottom: 10%; right: 0%; z-index: 1; width: 10%; height: 90%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #4F6F6F; _margin-left: -15px; } #bottom { position: absolute; left: 10%; right: 0%; top: 90%; bottom: 0%; z-index: 1; width: 90%; height: 10%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #6F6F8F; } #top { position: absolute; left: 0%; right: 10%; top: 0%; bottom: 90%; z-index: 1; width: 90%; height: 10%; padding: 0%; margin: 0%; font-size: 16px; border-style: none; border-width: 0; background-color: #6F6F8F; } #top-one { position: absolute; bottom: 50%; width: 100%; buggedheight: 100%; } #top-two { position: relative; margin-bottom: -9px; margin-left: 12px; margin-right: 12px; line-height: 18px; text-align: right; vertical-align: middle; } #bottom-one { position: absolute; bottom: 50%; width: 100%; buggedheight: 100%; } #bottom-two { position: relative; margin-bottom: -9px; margin-left: 12px; margin-right: 12px; line-height: 18px; text-align: left; vertical-align: middle; } #left-one { position: absolute; width: 100%; buggedheight: 100%; } #left-two { position: relative; margin-top: 12px; line-height: 18px; text-align: center; vertical-align: top; } #right-one { display: table; height: 100%; width: 100%; } #right-two { display: table-row; height: 100%; width: 100%; } #right-three { display: table-cell; width: 100%; vertical-align: bottom; _position: absolute; _top: 100%; } #right-four { text-align: center; margin-bottom: 2ex; _position: relative; _top: -100%; } #more-top { position: absolute; top: 0%; left: 90%; bottom: 90%; right: 0%; z-index: 3; width: 10%; height: 10%; padding: 0%; margin: 0%; border-style: none; border-width: 0; } #more-top-settings { text-align: center; } #more-right-settings { margin-right: 12px; margin-left: 12px; line-height: 18px; font-size: 10px; text-align: center; } #right-safari { _display: table; width: 100%; height: 100%; } @@ -24,7 +24,7 @@ </head> <body> <div id="top"> <div id="top-one"> - <div id="top-two">Simple Webserver For Helpers 0.10 </div> + <div id="top-two">Simple Webserver For Helpers 1.00 </div> </div> </div> <div id="bottom"> <div id="bottom-one"> diff --git a/doc/context/scripts/mkiv/mtx-tools.html b/doc/context/scripts/mkiv/mtx-tools.html index 12a25938c..0823d009d 100644 --- a/doc/context/scripts/mkiv/mtx-tools.html +++ b/doc/context/scripts/mkiv/mtx-tools.html @@ -38,6 +38,29 @@ <h1>Command line options</h1> <table> <tr><th style="width: 10em">flag</th><th style="width: 8em">value</th><th>description</th></tr> + <tr><th/><td/><td/></tr> + <tr><th>--disarmutfbom</th><td></td><td>remove utf bom if present</td></tr> + <tr><th>--force</th><td></td><td>remove indeed</td></tr> + <tr><th/><td/><td/></tr> + <tr><th>--dirtoxml</th><td></td><td>glob directory into xml</td></tr> + <tr><th>--pattern</th><td></td><td>glob pattern (default: *)</td></tr> + <tr><th>--url</th><td></td><td>url attribute (no processing)</td></tr> + <tr><th>--root</th><td></td><td>the root of the globbed path (default: .)</td></tr> + <tr><th>--output</th><td></td><td>output filename (console by default)</td></tr> + <tr><th>--recurse</th><td></td><td>recurse into subdirecories</td></tr> + <tr><th>--stripname</th><td></td><td>take pathpart of given pattern</td></tr> + <tr><th>--longname</th><td></td><td>set name attributes to full path name</td></tr> + <tr><th>--downcase</th><td></td><td>lowercase names</td></tr> + <tr><th>--sparse</th><td></td><td>omit attributes and time</td></tr> + <tr><th>--compact</th><td></td><td>use less spacing</td></tr> + <tr><th/><td/><td/></tr> + <tr><th>--showstring</th><td></td><td>show unicode characters in given string</td></tr> + <tr><th>--showfile</th><td></td><td>show unicode characters in given file</td></tr> + <tr><th/><td/><td/></tr> + <tr><th>--pattern</th><td></td><td>glob pattern (default: *)</td></tr> + <tr><th>--recurse</th><td></td><td>recurse into subdirecories</td></tr> + <tr><th>--force</th><td></td><td>downcase indeed</td></tr> + <tr><th/><td/><td/></tr> </table> <br/> </div> diff --git a/doc/context/scripts/mkiv/mtx-tools.man b/doc/context/scripts/mkiv/mtx-tools.man index 2c993f0dc..ebc3ec00c 100644 --- a/doc/context/scripts/mkiv/mtx-tools.man +++ b/doc/context/scripts/mkiv/mtx-tools.man @@ -1,14 +1,69 @@ -.TH "" "1" "01-01-2026" "version " "" +.TH "mtx-tools" "1" "01-01-2026" "version 1.01" "Some File Related Goodies" .SH NAME - - + mtx-tools - Some File Related Goodies .SH SYNOPSIS -.B [ +.B mtxrun --script tools [ .I OPTIONS ... .B ] [ .I FILENAMES .B ] .SH DESCRIPTION -.B +.B Some File Related Goodies +.SH OPTIONS +.TP +.B --disarmutfbom +remove utf bom if present +.TP +.B --force +remove indeed +.TP +.B --dirtoxml +glob directory into xml +.TP +.B --pattern +glob pattern (default: *) +.TP +.B --url +url attribute (no processing) +.TP +.B --root +the root of the globbed path (default: .) +.TP +.B --output +output filename (console by default) +.TP +.B --recurse +recurse into subdirecories +.TP +.B --stripname +take pathpart of given pattern +.TP +.B --longname +set name attributes to full path name +.TP +.B --downcase +lowercase names +.TP +.B --sparse +omit attributes and time +.TP +.B --compact +use less spacing +.TP +.B --showstring +show unicode characters in given string +.TP +.B --showfile +show unicode characters in given file +.TP +.B --pattern +glob pattern (default: *) +.TP +.B --recurse +recurse into subdirecories +.TP +.B --force +downcase indeed .SH AUTHOR More information about ConTeXt and the tools that come with it can be found at: diff --git a/doc/context/scripts/mkiv/mtx-tools.xml b/doc/context/scripts/mkiv/mtx-tools.xml index 87674fdc0..e373fb575 100644 --- a/doc/context/scripts/mkiv/mtx-tools.xml +++ b/doc/context/scripts/mkiv/mtx-tools.xml @@ -34,7 +34,8 @@ <flag name="force"><short>downcase indeed</short></flag> </subcategory> <subcategory> - <example><command>mtxrun --script tool mtxrun --script tools --dirtoxml --root=t:/texmf/doc/context --pattern=* --recurse --sparse --output=files.xml</flags></command></example> + <example><command>mtxrun --script tool mtxrun --script tools --dirtoxml --root=t:/texmf/doc/context --pattern=* --recurse --sparse --output=files.xml</command></example> </subcategory> </category> + </flags> </application> diff --git a/doc/context/scripts/mkiv/mtx-unzip.html b/doc/context/scripts/mkiv/mtx-unzip.html index 60172eaa8..bf3b5b182 100644 --- a/doc/context/scripts/mkiv/mtx-unzip.html +++ b/doc/context/scripts/mkiv/mtx-unzip.html @@ -41,6 +41,8 @@ <tr><th/><td/><td/></tr> <tr><th>--list</th><td></td><td>list files in archive</td></tr> <tr><th>--extract</th><td></td><td>extract files [--silent --steps]</td></tr> + <tr><th/><td/><td/></tr> + <tr><th>--decompress</th><td></td><td>uncompress a .xz or .gz file</td></tr> </table> <br/> </div> diff --git a/doc/context/scripts/mkiv/mtx-unzip.man b/doc/context/scripts/mkiv/mtx-unzip.man index a7ab0a840..98c8f57ac 100644 --- a/doc/context/scripts/mkiv/mtx-unzip.man +++ b/doc/context/scripts/mkiv/mtx-unzip.man @@ -16,6 +16,9 @@ list files in archive .TP .B --extract extract files [--silent --steps] +.TP +.B --decompress +uncompress a .xz or .gz file .SH AUTHOR More information about ConTeXt and the tools that come with it can be found at: diff --git a/doc/context/scripts/mkiv/mtx-unzip.xml b/doc/context/scripts/mkiv/mtx-unzip.xml index 0346957f6..3d9b6cb22 100644 --- a/doc/context/scripts/mkiv/mtx-unzip.xml +++ b/doc/context/scripts/mkiv/mtx-unzip.xml @@ -11,6 +11,9 @@ <flag name="list"><short>list files in archive</short></flag> <flag name="extract"><short>extract files [--silent --steps]</short></flag> </subcategory> + <subcategory> + <flag name="decompress"><short>uncompress a .xz or .gz file</short></flag> + </subcategory> </category> </flags> </application> diff --git a/doc/context/scripts/mkiv/mtxrun.html b/doc/context/scripts/mkiv/mtxrun.html index 1a955cb43..bd63e49e2 100644 --- a/doc/context/scripts/mkiv/mtxrun.html +++ b/doc/context/scripts/mkiv/mtxrun.html @@ -53,13 +53,6 @@ <tr><th>--ifchanged</th><td>filename</td><td>only execute when given file has changed (md checksum)</td></tr> <tr><th>--iftouched</th><td>old,new</td><td>only execute when given file has changed (time stamp)</td></tr> <tr><th/><td/><td/></tr> - <tr><th>--makestubs</th><td></td><td>create stubs for (context related) scripts</td></tr> - <tr><th>--removestubs</th><td></td><td>remove stubs (context related) scripts</td></tr> - <tr><th>--stubpath</th><td>binpath</td><td>paths where stubs wil be written</td></tr> - <tr><th>--windows</th><td></td><td>create windows (mswin) stubs</td></tr> - <tr><th>--unix</th><td></td><td>create unix (linux) stubs</td></tr> - <tr><th>--addbinarypath</th><td></td><td>prepend the (found) binarypath to runners</td></tr> - <tr><th/><td/><td/></tr> <tr><th>--verbose</th><td></td><td>give a bit more info</td></tr> <tr><th>--trackers</th><td>list</td><td>enable given trackers</td></tr> <tr><th>--progname</th><td>str</td><td>format or backend</td></tr> @@ -73,9 +66,6 @@ <tr><th>--timedrun</th><td></td><td>run a script and time its run</td></tr> <tr><th>--autogenerate</th><td></td><td>regenerate databases if needed (handy when used to run context in an editor)</td></tr> <tr><th/><td/><td/></tr> - <tr><th>--usekpse</th><td></td><td>use kpse as fallback (when no mkiv and cache installed, often slower)</td></tr> - <tr><th>--forcekpse</th><td></td><td>force using kpse (handy when no mkiv and cache installed but less functionality)</td></tr> - <tr><th/><td/><td/></tr> <tr><th>--prefixes</th><td></td><td>show supported prefixes</td></tr> <tr><th/><td/><td/></tr> <tr><th>--generate</th><td></td><td>generate file database</td></tr> diff --git a/doc/context/scripts/mkiv/mtxrun.man b/doc/context/scripts/mkiv/mtxrun.man index b1bd3af52..3db28875d 100644 --- a/doc/context/scripts/mkiv/mtxrun.man +++ b/doc/context/scripts/mkiv/mtxrun.man @@ -47,24 +47,6 @@ only execute when given file has changed (md checksum) .B --iftouched=old,new only execute when given file has changed (time stamp) .TP -.B --makestubs -create stubs for (context related) scripts -.TP -.B --removestubs -remove stubs (context related) scripts -.TP -.B --stubpath=binpath -paths where stubs wil be written -.TP -.B --windows -create windows (mswin) stubs -.TP -.B --unix -create unix (linux) stubs -.TP -.B --addbinarypath -prepend the (found) binarypath to runners -.TP .B --verbose give a bit more info .TP @@ -95,12 +77,6 @@ run a script and time its run .B --autogenerate regenerate databases if needed (handy when used to run context in an editor) .TP -.B --usekpse -use kpse as fallback (when no mkiv and cache installed, often slower) -.TP -.B --forcekpse -force using kpse (handy when no mkiv and cache installed but less functionality) -.TP .B --prefixes show supported prefixes .TP diff --git a/doc/context/scripts/mkiv/mtxrun.xml b/doc/context/scripts/mkiv/mtxrun.xml index 36203f1c3..9ae8cc474 100644 --- a/doc/context/scripts/mkiv/mtxrun.xml +++ b/doc/context/scripts/mkiv/mtxrun.xml @@ -24,14 +24,6 @@ <flag name="iftouched" value="old,new"><short>only execute when given file has changed (time stamp)</short></flag> </subcategory> <subcategory> - <flag name="makestubs"><short>create stubs for (context related) scripts</short></flag> - <flag name="removestubs"><short>remove stubs (context related) scripts</short></flag> - <flag name="stubpath" value="binpath"><short>paths where stubs wil be written</short></flag> - <flag name="windows"><short>create windows (mswin) stubs</short></flag> - <flag name="unix"><short>create unix (linux) stubs</short></flag> - <flag name="addbinarypath"><short>prepend the (found) binarypath to runners</short></flag> - </subcategory> - <subcategory> <flag name="verbose"><short>give a bit more info</short></flag> <flag name="trackers" value="list"><short>enable given trackers</short></flag> <flag name="progname" value="str"><short>format or backend</short></flag> @@ -48,10 +40,6 @@ <flag name="autogenerate"><short>regenerate databases if needed (handy when used to run context in an editor)</short></flag> </subcategory> <subcategory> - <flag name="usekpse"><short>use kpse as fallback (when no mkiv and cache installed, often slower)</short></flag> - <flag name="forcekpse"><short>force using kpse (handy when no mkiv and cache installed but less functionality)</short></flag> - </subcategory> - <subcategory> <flag name="prefixes"><short>show supported prefixes</short></flag> </subcategory> <subcategory> diff --git a/doc/context/show-man.pdf b/doc/context/show-man.pdf Binary files differindex bc46c82f6..a5cd08fd0 100644 --- a/doc/context/show-man.pdf +++ b/doc/context/show-man.pdf diff --git a/doc/context/show-pre.pdf b/doc/context/show-pre.pdf Binary files differindex f4a15c42f..760d9e7e1 100644 --- a/doc/context/show-pre.pdf +++ b/doc/context/show-pre.pdf diff --git a/doc/context/sources/documents/general/manuals/mkiv/cld/cld-ctxfunctions.tex b/doc/context/sources/documents/general/manuals/mkiv/cld/cld-ctxfunctions.tex index 5aa8c6eed..316be0abd 100644 --- a/doc/context/sources/documents/general/manuals/mkiv/cld/cld-ctxfunctions.tex +++ b/doc/context/sources/documents/general/manuals/mkiv/cld/cld-ctxfunctions.tex @@ -642,7 +642,6 @@ nodes.hasattribute (head, attribute, value) % maybe node-tst % tasks and so -% number.points (to numbers) \stopsection diff --git a/doc/context/sources/documents/general/manuals/mkiv/cld/cld-luafunctions.tex b/doc/context/sources/documents/general/manuals/mkiv/cld/cld-luafunctions.tex index 52bc0b807..0075284c0 100644 --- a/doc/context/sources/documents/general/manuals/mkiv/cld/cld-luafunctions.tex +++ b/doc/context/sources/documents/general/manuals/mkiv/cld/cld-luafunctions.tex @@ -1377,8 +1377,8 @@ intuitive, like \type {l} for booleans (logical). \NC \NC \letterpercent 2w \NC 3 \NC \obeyspaces\vl\cldcontext{"\letterpercent 2w",3}\vl \NC \NR \NC (fixed) \NC \letterpercent 4W \NC \NC \obeyspaces\vl\cldcontext{"\letterpercent 4W"}\vl \NC \NR \HL -\NC skip \NC \letterpercent 2z \NC 1,2,3,4 \NC \obeyspaces\vl\cldcontext{"\letterpercent s\letterpercent 2z\letterpercent s",1,2,3,4}\vl \NC \NR -\NC reference argument \NC \letterpercent 2Z \NC 1,2,3,4 \NC \obeyspaces\vl\cldcontext{"\letterpercent s\letterpercent 2Z\letterpercent s",1,2,3,4}\vl \NC \NR +\NC skip \NC \letterpercent 2z \NC 1,2,3,4 \NC \obeyspaces\vl\cldcontext{"\letterpercent s\letterpercent 2z\letterpercent s",1,2,3,4}\vl \NC \NR +\NC reference argument \NC \letterpercent 2Z \NC 1,2,3,4 \NC \obeyspaces\vl\cldcontext{"\letterpercent s\letterpercent 2Z\letterpercent s",1,2,3,4}\vl \NC \NR \HL \stoptabulate @@ -1422,7 +1422,7 @@ print(xt("this will cost me $123.00 at least")) \stoptyping weird, this fails when cld-verbatim is there as part of the big thing: -catcodetable 4 suddenly lacks the comment being a other +catcode table 4 suddenly lacks the comment being a other The \type {context} command uses the formatter so one can say: diff --git a/doc/context/sources/documents/general/manuals/mkiv/lowlevel/lowlevel-alignments.tex b/doc/context/sources/documents/general/manuals/mkiv/lowlevel/lowlevel-alignments.tex index 7962e5420..f15f92330 100644 --- a/doc/context/sources/documents/general/manuals/mkiv/lowlevel/lowlevel-alignments.tex +++ b/doc/context/sources/documents/general/manuals/mkiv/lowlevel/lowlevel-alignments.tex @@ -115,6 +115,48 @@ that relates to a parameter and alignment tab (and in \CONTEXT\ that is not the case). The \TEX book has plenty alignment examples so if you really want to learn about them, consult that must|-|have|-|book. +One of the special features is repetition and to make that a bit more visible +we added \type {\alignloop} which is equivalent of the double \type {\aligntab} +that indicates that the next specification si repeated + +\startbuffer +\halign { + % \hss\ignorespaces\alignmark\unskip\hss \aligntab\aligntab + \hss\ignorespaces\alignmark\unskip\hss \alignloop + \hss\ignorespaces\alignmark\unskip\hss + \cr + one \aligntab two \aligntab three \aligntab four + \cr + 1 \aligntab 2 \aligntab 3 \aligntab 4 + \cr +} +\stopbuffer + +\typebuffer[option=TEX] + +\blank\getbuffer\blank + +The fact that there has to be a previous entry with this double tab is that a +cell specification holds the \type {\tabskip} and we need to keep that feature. +But we can just add a bogus cell with no content: + +\startbuffer +\halign { + \ignorespaces\alignmark\unskip + \alignloop + \hss\ignorespaces\alignmark\unskip\hss + \cr + \aligntab one \aligntab two \aligntab three \aligntab four + \cr + \aligntab 1 \aligntab 2 \aligntab 3 \aligntab 4 + \cr +} +\stopbuffer + +\typebuffer[option=TEX] + +\blank\getbuffer\blank + \stopsectionlevel \startsectionlevel[title=Between the lines] @@ -439,11 +481,11 @@ also make that later on we don't have to consult useless nodes. \startsectionlevel[title=Plugins] -Yet another \LUAMETATEX\ extension is a callback that kicks in between the -preamble preroll and finalizing the alignment. Initially as test and -demonstration a basic character alignment feature was written but that works so -well that in some places it can replace (or compliment) the already existing -features in the \CONTEXT\ table mechanisms. +Yet another \LUAMETATEX\ extension is a callback that kicks in at various stages: +preamble, preroll, package, and wrapup. Initially as test and demonstration a +basic character alignment feature was written but that works so well that in some +places it can replace (or compliment) the already existing features in the +\CONTEXT\ table mechanisms. \startbuffer \starttabulate[|lG{.}|cG{,}|rG{=}|cG{x}|] @@ -565,6 +607,11 @@ instead?} As always with such mechanisms, the question is \quotation {Where to stop?} But it makes for nice demos and as long as little code is needed it doesn't hurt. +% 0 preamble +% 1 preroll +% 2 package +% 3 wrapup + \stopsectionlevel \startsectionlevel[title=Pitfalls and tricks] @@ -601,7 +648,8 @@ In case of doubt, look at this: {\switchtobodyfont[8pt] \typebuffer[option=TEX]} \getbuffer The next example shows the effect of \type {\omit} and \type {\span}. The first one -makes that in this cell the preamble template is ignored. +makes that in this cell the preamble template is ignored. This means that the +\type {\tabsize} of the first column is used. \startbuffer \halign \bgroup @@ -609,20 +657,51 @@ makes that in this cell the preamble template is ignored. \tabsize 2cm\relax \hss[\alignmark]\hss \aligntab \tabsize 2cm\relax \hss[\alignmark]\cr 1\aligntab 2\aligntab 3\cr - \omit 1\aligntab \omit 2\aligntab \omit 3\cr + \omit 4\aligntab \omit 5\aligntab \omit 6\cr 1\aligntab 2\span 3\cr 1\span 2\aligntab 3\cr 1\span 2\span 3\cr - 1\span \omit 2\span \omit 3\cr - \omit 1\span \omit 2\span \omit 3\cr + 1\span \omit 7\span \omit 8\hfill 9\cr + \omit 1\span \omit 7\span \omit 8\hfill 9\cr \egroup \stopbuffer \typebuffer[option=TEX] -Spans are applied at the end so you see a mix of templates applied. +Spans are applied at the end so you see a mix of templates applied. The result +(scaled up) is shown in \in {figure} [align:tabsize:1]. -{\showboxes\getbuffer[blownup-2]} +\startplacefigure + [reference=align:tabsize:1, + title={The effect of \type {\tabsize}.}] + \showboxes\getbuffer[blownup-2] +\stopplacefigure + +The \type {combine} option will add the \type {\tabsize} of an omitted cell to +the assemble. This is shown in \in {figure} [align:tabsize:2]. + +\startbuffer +\halign combine \bgroup + \tabsize 2cm\relax [\alignmark]\hss \aligntab + \tabsize 2cm\relax \hss[\alignmark]\hss \aligntab + \tabsize 2cm\relax \hss[\alignmark]\cr + 1\aligntab 2\aligntab 3\cr + \omit 4\aligntab \omit 5\aligntab \omit 6\cr + 1\aligntab 2\span 3\cr + 1\span 2\aligntab 3\cr + 1\span 2\span 3\cr + 1\span \omit 7\span \omit 8\hfill 9\cr + \omit 1\span \omit 7\span \omit 8\hfill 9\cr +\egroup +\stopbuffer + +\typebuffer[option=TEX] + +\startplacefigure + [reference=align:tabsize:2, + title={The effect of \type {\tabsize} with \type {combine}.}] + \showboxes\getbuffer[blownup-2] +\stopplacefigure When you define an alignment inside a macro, you need to duplicate the \type {\alignmark} signals. This is similar to embedded macro definitions. But in diff --git a/doc/context/sources/documents/general/manuals/mkiv/lowlevel/lowlevel-characters.tex b/doc/context/sources/documents/general/manuals/mkiv/lowlevel/lowlevel-characters.tex index af8545a30..b9b39405c 100644 --- a/doc/context/sources/documents/general/manuals/mkiv/lowlevel/lowlevel-characters.tex +++ b/doc/context/sources/documents/general/manuals/mkiv/lowlevel/lowlevel-characters.tex @@ -133,8 +133,8 @@ A new command has been introduced, the very short \type {\chr}. \startbuffer \chr {à} \chr {á} \chr {ä} \chr {`a} \chr {'a} \chr {"a} -\chr {a acute} \chr {a grave} \chr {a umlaut} -\chr {aacute} \chr {agrave} \chr {aumlaut} +\chr {a acute} \chr {a grave} \chr {a diaeresis} +\chr {aacute} \chr {agrave} \chr {adiaeresis} \stopbuffer \typebuffer[option=TEX] diff --git a/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-archives.tex b/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-archives.tex new file mode 100644 index 000000000..1e724f0d5 --- /dev/null +++ b/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-archives.tex @@ -0,0 +1,107 @@ +% language=us runpath=texruns:manuals/workflows + +\environment workflows-style + +\startcomponent workflows-archives + +\startchapter[title=Archives] + +\startsection[title=Compression] + +The \CONTEXT\ distribution comes with quite some tools and among them are scripts +that can decompress archives. When we started with \LUATEX\ we played with the +idea to run from a zip file and actually that worked so some day we might pick up +on that. Here are a few commands that are available: + +\starttyping +mtxrun --script unzip --list cont-tmf.zip +mtxrun --script unzip --extract cont-tmf.zip +mtxrun --script unzip --decompress cont-en.fmt +mtxrun --script unzip --decompress foo.gz +mtxrun --script unzip --decompress foo.xz +\stoptyping + +The (de)flate and xz decompression are available in the engine and don't depend +on libraries or external programs. We can also work with tarballs: + +\starttyping +mtxrun --script untar --list cont-tmf.tar +mtxrun --script untar --extract cont-tmf.tar.xz +\stoptyping + +Both these scripts are reasonable fast and often not much slower than the +independent programs, sometimes even faster. + +\stopsection + +\startsection[title=\CTAN] + +The \CONTEXT\ distributions comes with plenty fonts but you might want to see +what more is available. + +\starttyping +mtxrun --script ctan --packages +mtxrun --script ctan --packages --pattern=gyre +\stoptyping + +The problem is that there is (end 2026) no way to locate where the files are or +to download a package without maintaining some some registry since we had this +script so we've given up on that and looked at a way to get the files using the +\TEX live repository that has data files at a better defined position. See the +next section for this. + +\stopsection + +\startsection[title=\TEXLIVE] + +The main \TEX\ live installation file has information about packages and when +files come with it. Unfortunately the dependencies or history has resulted in +mixtures of files that are not suitable for \CONTEXT\ so we need to be selective. +Because we're only interested in fonts, we can filter the relevant files (\type +{otf} and \type {ttf}). + +\starttyping +mtxrun --script ctan --texlive +\stoptyping + +Lists all packages. Based on the name you can decide to focus on one or a few. +You need to be patient because (rather large) compressed files are downloaded +that need to be compressed. + +\starttyping +mtxrun --script ctan --packages +mtxrun --script ctan --packages --pattern=pennstander +\stoptyping + +You will get a list that indicates what files are available with an indication of +them being already installed or not. With \type {--download} the not yet +installed ones will end up on the current directory, with \type {--force} you get +them all. When there are more packages involved, \type {--all} can be used. When you +install fonts, you best can make a directory, like: + +\starttyping +<texroot>/tex/texmf-fonts/fonts/data/somefont +\stoptyping + +go there and install in that location. Don't forget to run: + +\starttyping +mtxrun --generate +\stoptyping + +and if needed: + +\starttyping +mtxrun --script font --reload +\stoptyping + +Make sure not to install fonts that come with the \CONTEXT\ installer, unless you +know what you're doing. + +{\em I might improve this feature over time.} + +\stopsection + +\stopchapter + +\stopcomponent diff --git a/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-embedding.tex b/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-embedding.tex new file mode 100644 index 000000000..854afd6c6 --- /dev/null +++ b/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-embedding.tex @@ -0,0 +1,160 @@ +% language=us runpath=texruns:manuals/workflows + +\environment workflows-style + +\startcomponent workflows-embedding + +\startchapter[title={Embedding text}] + +When you embed graphics that use fonts the filesize can be reduced by sharing +fonts. Doing this is somewhat complicated by the fact that the logic must be +robust which is not trivial given the way \PDF\ files can be made. For instance, +when I implemented this feature in \MKIV\ I had an application in mind that in +the end was not suitable: all the included text in the (\EPS\ images) turned out +to be either unfamiliar \TYPEONE\ clones (operating systems and graphic editors +can make mess of this) or the text was turned into vectors images (probably to +work around possible validation issues). + +So, for now I assume that we're dealing with for instance text made by \TEX\ +(read: \LUATEX), for instance typesetting buffers in a sub|-|run (which is handy +when writing a manual) or using precooked \METAFUN\ images. In order for this to +work (at least for now) we need to enable inclusion via \LUA: \footnote {In +\CONTEXT\ \LMTX\ these things will happen automatically.} + +\startbuffer +\enabledirectives[graphics.pdf.uselua] +\stopbuffer + +\typebuffer \getbuffer + +Also, because we don't want unexpected side effects, you need to be explicit +about sharing fonts using the \type {compact} option, as in: + +\starttyping +\externalfigure[one.pdf][compact=yes] +\externalfigure[two.pdf][compact=yes] +\stoptyping + +Here we give an example of embedded typeset buffers: + +\startbuffer +\startbuffer[one] +\setupbodyfont[dejavu] +\startTEXpage + \samplefile{ward} \sl \samplefile{klein} \bf \samplefile{sapolsky} +\stopTEXpage +\stopbuffer + +\startbuffer[two] +\setupbodyfont[dejavu] +\startTEXpage + \samplefile{klein} \bf \samplefile{ward} \sl \samplefile{sapolsky} +\stopTEXpage +\stopbuffer +\stopbuffer + +\typebuffer \getbuffer + +The actual typesetting takes place with: + +\startbuffer +\startcombination + {\typesetbuffer[one] + [height=.25\textheight,compact=yes,frame=on,rulethickness=.2pt]} + {one} + {\typesetbuffer[two] + [height=.25\textheight,compact=yes,frame=on,rulethickness=.2pt]} + {two} +\stopcombination +\stopbuffer + +\typebuffer + +In \in {figure} [fig:sharedfonts-1] we see the two pages. The \type {compact} +option makes sure that we share fonts when possible. In this case we used +\LUATEX\ to create these (independent) \PDF\ files so we can be rather sure that +we use the same fonts. On the console the merging is reported: + +\starttyping +mkiv lua stats > merged fonts: + DejaVuSerif (+38) + DejaVuSerif-Bold (+39) + DejaVuSerif-Italic (+39) +\stoptyping + +The number of characters that get forced into the file is shown between +parentheses but the real number can be larger of course when the font is also +used in the main document. + +\startplacefigure[title={A few typeset pages.},reference=fig:sharedfonts-1] + \getbuffer +\stopplacefigure + +A second example involves \METAPOST\ graphics. Here we use buffers but you can +imagine collecting graphics in one file and then including them with: + +\starttyping +\externalfigure[myimages.pdf][compact=yes,page=4] +\stoptyping + +Beware: this only makes sense if such graphics take runtime, which in a normal +usage of \METAPOST\ in \CONTEXT\ is no real issue: runtime rendering is quite +efficient and not slower than inclusion. The example code is: + +\startbuffer +\startbuffer[three] +\setupbodyfont[dejavu] +\starttext +\startMPpage + draw textext("Example 1") xsized 3cm withcolor "darkred" ; + draw boundingbox currentpicture enlarged 2mm withcolor "darkblue" ; +\stopMPpage +\startMPpage + draw textext("Example 2") xsized 3cm withcolor "darkblue" ; + draw boundingbox currentpicture enlarged 2mm withcolor "darkred" ; +\stopMPpage +\stoptext +\stopbuffer +\stopbuffer + +\typebuffer \getbuffer + +\startbuffer +\startcombination + {\typesetbuffer[three][compact=yes,page=1]} {Page 1} + {\typesetbuffer[three][compact=yes,page=2]} {Page 2} +\stopcombination +\stopbuffer + +\typebuffer + +\startplacefigure[title={A few prepared graphics.},reference=fig:sharedfonts-2] + \getbuffer +\stopplacefigure + +In \in {figure} [fig:sharedfonts-2] we see the two graphics. In this case they +come from one file so the fonts are shared in embedding anyway, but the \type +{compact} option will make sure that they are also shared with the main document +fonts if possible. In fact, while normal embedding will include the normal font +resources the \type {compact} variant will only embed the glyphs that are used, +so it might even be more efficient. Because the examples use digits we actually +get this report on the console now: + +\starttyping +mkiv lua stats > merged fonts: + DejaVuSerif (+40) + DejaVuSerif-Bold (+39) + DejaVuSerif-Italic (+39) +\stoptyping + +This mechanism might be refined, depending on realistic use cases, user input and +my own demands. Currently we use the font name as check but we might add some kind +of mapping mechanism to work around fuzzy naming of what is actually the same +font. + +There is more possible when embedding files, but that is discussed in the \type +{pdfmerge} manual. + +\stopchapter + +\stopcomponent diff --git a/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-mkiv.tex b/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-mkiv.tex index 790df787d..5c83f03e5 100644 --- a/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-mkiv.tex +++ b/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-mkiv.tex @@ -52,6 +52,7 @@ \component workflows-userdata \component workflows-hashed \component workflows-embedding + \component workflows-archives \stopbodymatter \stopdocument diff --git a/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-parallel.tex b/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-parallel.tex index 3196b901c..697c7103b 100644 --- a/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-parallel.tex +++ b/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-parallel.tex @@ -173,6 +173,12 @@ performance: context --parallel test1.tex test2.tex test3.tex test4.tex \stoptyping +By default the output is suppressed unless you pass \type {--terminal} as in: + +\starttyping +context --parallel --terminal test1.tex test2.tex test3.tex test4.tex +\stoptyping + In case every test file needs different command line arguments you can do this instead: @@ -192,12 +198,6 @@ context test4 --result=test-4 Here the runner will just take the lines that start with \type {context} which means that you can still run that command file directly. -By default the output is suppressed unless you pass \type {--terminal} as in: - -\starttyping -context --parallel --terminal test1.tex test2.tex test3.tex test4.tex -\stoptyping - The only drawback in this parallel approach is that when one run stalls its output (for instance because some huge graphic is rendered) the others will wait a bit, just because we cycle through the runs. It also depends how console @@ -209,7 +209,7 @@ If you use the same input file with different output, you can use this setup: context test-1 --mode=m-1 --forceinput=test context test-2 --mode=m-2 --forceinput=test context test-3 --mode=m-3 --forceinput=test -context test-5 --mode=m-5 --forceinput=test +context test-4 --mode=m-4 --forceinput=test context test-5 --mode=m-5 --forceinput=test context test-6 --mode=m-6 --forceinput=test \stoptyping @@ -221,6 +221,24 @@ intermediate result will clash. Running on dedicated subpath could work out but has its own complications (creation, cleanup, moving results) and would therefore be more fragile. +You can actually also do this which automatically creates a list like the above +from the specification on the command line. This will append the mode to +the filename(s). + +\starttyping +context --parallelmodes=paper,screen --pattern=leaflet*.tex +\stoptyping + +So, if we have \typ {leaflet-1}, \typ {leaflet-2}, and more, we will +get files like: + +\starttyping +leaflet-1-paper.pdf +leaflet-1-screen.pdf +leaflet-2-paper.pdf +leaflet-2-screen.pdf +\stoptyping + An example of running files in a tree, like those in the test suite is: \starttyping @@ -287,6 +305,32 @@ Alternatively one can specify a \type {--parallellist} or \type \stopsection +\startsection[title=Processing] + +The feature presented in the previous section is also available outside the \type +{context} runner. There it can be can be combined with a watched folder. Because +this is still experimental we keep the description short. The script is called +\type {process}, so + +\starttyping +mtxrun --script process ... +\stoptyping + +Parallel processing is triggered by the same keys as the \type {context} script, +so we have \typ {--parallel} \typ {--parallelsequence} \typ {--parallellist} \typ +{--parallelmodes}, combined with \typ {pattern} or one or more files. In addition +to these we have \typ {runners}, \typ {terminal} and \typ {squid}. + +A watched folder needs the \typ {--watch} key in order to work. We can optionally +pass \typ {--runners} but a \typ {--path} is more or less mandate (we default to the +current path but better be explicit. The \type {--tickets} directive makes the watch +dog pick up files with the suffix \type {ljt} and these are the specifications +in the previous section, so \LUA\ files. Otherwise \typ {suffix} (default \typ {tex}) and +\typ {--template} (default \type {"context %q"}) determine what happens with a file. + + +\stopsection + \stopchapter \stopcomponent diff --git a/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-userdata.tex b/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-userdata.tex deleted file mode 100644 index 7cd6f7e9a..000000000 --- a/doc/context/sources/documents/general/manuals/mkiv/workflows/workflows-userdata.tex +++ /dev/null @@ -1,50 +0,0 @@ -% language=us runpath=texruns:manuals/workflows - -\environment workflows-style - -\startcomponent workflows-userdata - -\startchapter[title={Userdata}] - -For some workflows it might be handy to put information in the \PDF\ file that -can be easily queried. Here is an example of embedding: - -\starttyping -\pdfsetuserdata{test1}{123} % \ctxlua{lpdf.setuserdata("test1",123)} -\pdfsetuserdata{test2}{foo} % \ctxlua{lpdf.setuserdata("test2","foo")} -\stoptyping - -You can filter these fields with: - -\starttyping ->mtxrun --script pdf --userdata=test1 oeps.pdf -123 - ->mtxrun --script pdf --userdata=test1,test2 oeps.pdf -123 foo - ->mtxrun --script pdf --userdata=test1,test2 oeps.pdf --format=lines -test1=123 -test2=foo - ->mtxrun --script pdf --userdata=test1,test6,test2 oeps.pdf --format=json -{ - "test1" : "123", - "test2" : "foo" -} - ->mtxrun --script pdf --userdata=test1,test6,test2 oeps.pdf --format=lua -userdata={ - ["test1"]="123", - ["test2"]="foo", -} -\stoptyping - -\stoptext - - - - -\stopchapter - -\stopcomponent diff --git a/doc/context/sources/documents/general/manuals/mkxl/luametafun/luametafun.tex b/doc/context/sources/documents/general/manuals/mkxl/luametafun/luametafun.tex index 9cd334022..2dcc61901 100644 --- a/doc/context/sources/documents/general/manuals/mkxl/luametafun/luametafun.tex +++ b/doc/context/sources/documents/general/manuals/mkxl/luametafun/luametafun.tex @@ -1,4 +1,3 @@ - % language=us runpath=texruns:manuals/luametafun % This file takes a while to process because we render some complex graphics. It diff --git a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-callbacks.tex b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-callbacks.tex index 1d7b3ac84..a59fb9907 100644 --- a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-callbacks.tex +++ b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-callbacks.tex @@ -1358,6 +1358,122 @@ end \stopsubsection +\startsubsection[title=append_adjust] + +This callback can be used to inject something based on an adjust node. The return +value is a node (or head of a list) that gets injected. The whereabouts are \typ +{preadjust} and \typ {postadjust}. + +\starttyping[option=LUA] +function ( + <t:node> head, + <t:node> tail, + <t:integer> where, + <t:integer> index +) + return <t:node> -- head +end +\stoptyping + +\stopsubsection + +\startsubsection[title=append_migrate] + +This callback can be used to inject something based on an migrated node (mark or +insert). The return value is a node (or head of a list) that gets injected. The +whereabouts are \typ {premigrated} and \typ {postmigrated}. + +\starttyping[option=LUA] +function ( + <t:node> head, + <t:node> tail, + <t:integer> where +) + return <t:node> -- head +end +\stoptyping + +\stopsubsection + +\startsubsection[title=handle_uinsert] + +Balancing is something specific to \LUAMETATEX\ (and thereby \CONTEXT) and so are +these user inserts. The \prm {insert} command has two optional parameters: \typ +{callback} and \typ {index}. When the first is set, a callback is triggered when +the inserts gets packaged. This permits some additional processing (for instance, +in our case, of top and bottom floats). + +\starttyping[option=LUA] +function ( + <t:integer> callback, + <t:integer> index, + <t:integer> order, + <t:node> packed, + <t:integer> height, + <t:integer> amount +) + return <t:node> -- packed +end +\stoptyping + +\stopsubsection + +\startsubsection[title=insert_check_split] + +In \CONTEXT\ we use this callback for tracing. The callback gets the lines of an +insert before and after a split. You can manipulate the line but be aware of side +effect because the caller is not ware of what you do. + +\starttyping[option=LUA] +function ( + <t:integer> where, + <t:integer> index, + <t:node> box +) + -- no return value +end +\stoptyping + +\stopsubsection + +\startsubsection[title=page_boundary] + +A \prm {pageboundary} takes two arguments. In its simplest form we have a zero +and a penalty. It is a way to trigger the page builder without side effects. When the +first value is larger than zero, a callback is triggered that gets the two values +and expects a result. + +\starttyping[option=LUA] +function ( + <t:integer> action, + <t:integer> detail +) + return <t:node> -- to be appended +end +\stoptyping + +When there is a result, that will be the next node seen in the builder. The +boundary node is of course discarded. So we basically have three outcomes: a +penalty, a node, and discard. + +\stopsubsection + +\startsubsection[title=insert_boundary] + +This is a rather dumb callback: it gets two values and that's it. In \CONTEXT\ we +use this to change some parameters that control insert handling on-the-spot. + +\starttyping[option=LUA] +function ( + <t:integer> action, + <t:integer> detail +) + -- no return value +end +\stoptyping + +\stopsubsection + \stopsection \startsection[title=Tracing] @@ -1754,7 +1870,7 @@ end \stopsubsection \startsubsection[title=get_math_dictionary] - todo + {\em todo} \stopsubsection \startsubsection[title=show_lua_call] @@ -1798,7 +1914,101 @@ anyway, be in in a less graceful way that you might like. \startsubsection[title=paragraph_pass] -{\em This callback is not yet stable.} +When a subpass is checked this callback kicks in when we trigger the next pass +based on various criteria. When the first returned boolean is \type {true} we +continue. The second boolean let us retry the pass. The first return value can be +a table with some new parameters but this is only used for experiments; we might +pick up that thread some day. + +\starttyping[option=LUA] +function ( + <t:node> head, + <t:integer> identifier, + <t:integer> subpass, + <t:integer> callback, + <t:integer> overfull, + <t:integer> underfull, + <t:integer> verdict, + <t:integer> classified, + <t:integer> threshold, + <t:integer> badness, + <t:integer> classes +) + return + <t:boolean> success, + <t:boolean> repeat + +end +\stoptyping + +The \type {callback} argument comes from the set value in a pass so one can let +actions depend on it. + +\stopsubsection + +\startsubsection[title=show_vsplit] + +Callbacks like this were introduced when we were experimenting with new features. +Their usage pattern is therefore pretty much determined by \CONTEXT. When set, +the callback is triggered several times and the arguments differ: + +\starttabulate[|T|TPl|] +\FL +\NC location \NC arguments \NC \NR +\ML +\NC initialize \NC where checks current height depth extra \NC \NR +\NC continue \NC where checks current height depth total penalty \NC \NR +\NC check \NC where checks current height depth total penalty badness costs \NC \NR +\NC quit \NC where checks current height depth total penalty badness costs \NC \NR +\NC wrapup \NC where checks best height depth stretch shrink \NC \NR +\LL +\stoptabulate + +When a so called vertical break if triggered the \typ {initialize} kicks in, and +a split loop is entered. There a penalty triggers either a \typ {quit} or \typ +{check} event and other nodes a \typ {continue}. After the (possibly quit) job +the \typ {wrapup} happens. + +\stopsubsection + +\startsubsection[title=linebreak_check] + +This is also a rather (\CONTEXT) specific callback, one that is triggered at +various places in the line break routine. + +\starttabulate[|T|TPl|] +\FL +\NC location \NC arguments \NC \NR +\ML +\NC initialize \NC checks subpasses \NC \NR +\NC start \NC checks pass subpass classes decent \NC \NR +\NC report \NC checks pass subpass currentserial previousserial line kind + class classes badness demerits breakpoint short glue width \NC \NR +\NC stop \NC checks demerits \NC \NR +\NC collect \NC \NC \NR +\NC line \NC checks line badness overshoot shrink stretch linumber serial \NC \NR +\NC list \NC checks currentserial refcount \NC \NR +\NC delete \NC checks currentserial refcount \NC \NR +\NC wrapup \NC checks demerits looseness \NC \NR +\LL +\stoptabulate + +We \typ {initialize} when we start breaking a paragraph into lines. When a break +is investigated (tried) the \typ {report} kicks in. It returns the (new) \quote +{active total demerits} so you can influence the results. When at some point a +passive node is removed the \typ {delete} is triggered. The \typ {start} and \typ +{stop} events happen before and after each sub path. When done we \typ {wrapup}. +The \typ {collect} is called in the post line break routine, so when the +resulting lines are wrapped and added to the vertical list; here every line added +triggers a \typ {line}. All this assumes that you have an understanding of how +the builder works. + +\stopsubsection + +\startsubsection[title=balance_check] + +This callback is similar to the \type{linebreak_check} but with pages instead of +lines. It is available when we balance using balance shapes and passes. \stopsubsection diff --git a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-libraries.tex b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-libraries.tex index 6a167bcab..cbc5f0b59 100644 --- a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-libraries.tex +++ b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-libraries.tex @@ -1,5 +1,40 @@ % language=us runpath=texruns:manuals/luametatex +% These are kind of new and might evolve so we delay documentation +% a while. + +% client +% server +% sequencer + +% string.bytetable +% string.chartable +% string.topdfsixteen(str,bom,brackets) +% string.topdfeight(str,prentheses) +% string.topdfstring(str,lowasciitoo) +% string.filterwierd + +% file.lessweird +% file.moreweird +% file.setloadshebang + +% processlib.open +% processlib.close +% processlib.read +% processlib.poll + +% watchlib.tostring +% watchlib.register +% watchlib.unregister +% watchlib.check +% watchlib.tostring + +% securitylib.setchecker +% securitylib.checked +% securitylib.resetdebug +% securitylib.gettargets +% securitylib.getactions + \environment luametatex-style \startdocument[title=Libraries] @@ -116,6 +151,7 @@ function lfs.iswriteabledir ( <t:string> name ) return <t:boolean> end function lfs.iswriteablefile ( <t:string> name ) return <t:boolean> end function lfs.isreadabledir ( <t:string> name ) return <t:boolean> end function lfs.isreadablefile ( <t:string> name ) return <t:boolean> end +function lfs.isready ( <t:string> name ) return <t:boolean> end \stoptyping The current (working) directory is fetch with: @@ -270,11 +306,35 @@ function fio.readdoublele ( <t:file> handle ) return <t:number> end \stoptyping Of these two the first reads a line and the second a string the \CCODE\ way, so -ending with a newline and null character: +ending with a newline and null character. The third one reads \type {n} bytes but +will clip the string to its natural length: \starttyping[option=LUA] -function fio.readcline ( <t:file> handle ) return <t:string> end -function fio.readcstring ( <t:file> handle ) return <t:string> end +function fio.readcline ( + <t:file> handle +) + return + <t:string>, -- data + <t:integer> -- position +end + +function fio.readcstring ( + <t:file> handle +) + return + <t:string>, -- data + <t:integer> -- position +end + +function fio.readnstring ( + <t:file> handle, + <t:integer> n +) + return + <t:string>, -- data + <t:integer> -- position + +end \stoptyping The next set of readers reads multiple integers in one call: @@ -285,9 +345,7 @@ function fio.readbytes ( ) return <t:integer> -- one or more end -\stoptyping -\starttyping[option=LUA] function fio.readintegertable ( <t:file> handle, <t:integer> size, @@ -393,6 +451,43 @@ function sio.readcline ( <t:string> s, <t:integer> p ) return <t:string> end function sio.readcstring ( <t:string> s, <t:integer> p ) return <t:string> end \stoptyping +As with their \typ {fio} counterparts, the two the first reads a line and the +second a string the \CCODE\ way, so ending with a newline and null character. The +third one reads \type {n} bytes but will clip the string to its natural length: + +\starttyping[option=LUA] +function sio.readcline ( + <t:string> data, + <t:integer> position +) + return + <t:string>, -- data + <t:integer> -- position +end + +function sio.readcstring ( + <t:string> data, + <t:integer> position +) + return + <t:string>, -- data + <t:integer> -- position +end + +function sio.readnstring ( + <t:string> data, + <t:integer> position + <t:integer> n +) + return + <t:string>, -- data + <t:integer> -- position + +end +\stoptyping + +These are similar ot the \type {fio} variants: + \starttyping[option=LUA] function sio.readbytes ( <t:string> str, @@ -400,9 +495,7 @@ function sio.readbytes ( ) return <t:integer> -- one or more end -\stoptyping -\starttyping[option=LUA] function sio.readintegertable ( <t:string> str, <t:integer> pos, @@ -445,7 +538,7 @@ function sio.tocardinal4le ( <t:string> ) return <t:integer> end \stopsubsection -\startsubsection[title=Extra file helpers] +\startsubsection[title=Extra file (IO) helpers] This function gobble characters upto a newline. When characters are gobbled. \type {true} is returned when we end up at a newline or when something is gobbled @@ -463,7 +556,7 @@ Function like type {io.open} \type {io.popen} are patched to support files on \stopsubsection -\startsubsection[title=Extra operating system helpers] +\startsubsection[title=Extra operating system (OS) helpers] The \type {os} library has a few extra functions and variables so for complete overview you need to look in the \LUA\ manual. @@ -558,6 +651,44 @@ On \MSWINDOWS\ the original \type {os.rename}, \type {os.remove} and \type {os.getenv} functions are replaced by variants that interface to and convert from \UNICODE16\ to \UTF8. +And talking of \MSWINDOWS\ versus the rest, we also have this: + +\starttyping[option=LUA] +function getseparators ( ) + return + <t:string>, -- fileseparator + <t:string> -- pathseparator +end +\stoptyping + +A more machine specific helper is the following. In can be handy when you +implement parallel processing. + +\starttyping[option=LUA] +function os.getcpucount ( ) + return <t:integer> -- cores / hyperthreads +end +\stoptyping + +In \CONTEXT\ we can use \ANSI\ escape sequences in the output (which gives me +fond memories of these long gone GIGI terminals). In order to not get gibberish +on the console we can enable it and get \type {true} back when it succeeds. + +\starttyping[option=LUA] +function os.enableansi ( ) + return <t:boolean> -- success +end +\stoptyping + +Depending on the platform this will issue an \type {open} or \type {xdg-open} +command that spawns an job related to the filetype. + +\starttyping[option=LUA] +function os.launch ( <t:string> object ) + return <t:integer> -- status +end +\stoptyping + \stopsubsection \startsubsection[title=Extra string helpers] @@ -907,6 +1038,30 @@ function string.hextointeger ( <t:string> hexstr ) return <t:integer> end function string.chrtointeger ( <t:string> chrstr ) return <t:integer> end \stoptyping +A fast helper that replaces one character (byte) by another is: + +\starttyping[option=LUA] +function string.replacecharacter( + <t:string> source, + <t:string> old, + <t:string> new +) + return <t:string> -- target +end +\stoptyping + +This is a rather optimized checker. When there are bytes with the high bit set it +returns false. This can be a used to implement fast (\ASCII) and slow (\UTF) code +paths. + +\starttyping[option=LUA] +function string.onlyascii ( + <t:string> source +) + return <t:boolean> -- non-ascii +end +\stoptyping + \stopsubsection \startsubsection[title=Extra table helpers] @@ -1291,6 +1446,32 @@ end \stopsubsection +\startsubsection[title=XZ] + +This compression method is used in \TEX live. It has a bit better compression +that zip but it comes at a price: compression takes longer and so does +decompression. A \type {.gz} decompresses 5 times faster than a \type {.xz} file +when for instance we compress the \CONTEXT\ distribution tarball of 350 MB. +During a test the gain in file size was actually only 10 MB and with todays +internet speed that difference can be neglected while the decompression time +can't. + +\starttyping[option=LUA] +function xz.decompress ( + <t:string> data +) + return <t:string> +end + +function xz.decompresssize ( + <t:string> data +) + return <t:integer> +end +\stoptyping + +\stopsubsection + \startsubsection[title=Potrace] The excellent potrace manual explains everything about this library therefore @@ -1734,12 +1915,16 @@ function xmath.atan2 ( <t:number> a, <t:number> b ) return <t:number> end function xmath.atanh ( <t:number> a ) return <t:number> end function xmath.cbrt ( <t:number> a ) return <t:number> end function xmath.ceil ( <t:number> a ) return <t:number> end +function xmath.clamp ( <t:number> a ... c ) return <t:number> end function xmath.copysign ( <t:number> a, <t:number> b ) return <t:number> end function xmath.cos ( <t:number> a ) return <t:number> end +function xmath.cosd ( <t:number> a ) return <t:number> end function xmath.cosh ( <t:number> a ) return <t:number> end +function xmath.div ( <t:number> a, <t:number> b ) return <t:number> end function xmath.deg ( <t:number> a ) return <t:number> end function xmath.erf ( <t:number> a ) return <t:number> end function xmath.erfc ( <t:number> a ) return <t:number> end +function xmath.even ( <t:number> a ) return <t:number> end function xmath.exp ( <t:number> a ) return <t:number> end function xmath.exp2 ( <t:number> a ) return <t:number> end function xmath.expm1 ( <t:number> a ) return <t:number> end @@ -1748,6 +1933,7 @@ function xmath.fdim ( <t:number> a, <t:number> b ) return <t:number> end function xmath.floor ( <t:number> a ) return <t:number> end function xmath.fmax ( ... ) return <t:number> end function xmath.fmin ( ... ) return <t:number> end +function xmath.mod ( <t:number> a, <t:number> b ) return <t:number> end function xmath.fmod ( <t:number> a, <t:number> b ) return <t:number> end function xmath.frexp ( <t:number> a, <t:number> b ) return <t:number> end function xmath.gamma ( <t:number> a ) return <t:number> end @@ -1760,6 +1946,7 @@ function xmath.j0 ( <t:number> a ) return <t:number> end function xmath.j1 ( <t:number> a ) return <t:number> end function xmath.jn ( <t:number> a, <t:number> b ) return <t:number> end function xmath.ldexp ( <t:number> a, <t:number> b ) return <t:number> end +function xmath.lerp ( <t:number> a ... c ) return <t:number> end function xmath.lgamma ( <t:number> a ) return <t:number> end function xmath.log ( <t:number> a [,b]) return <t:number> end function xmath.log10 ( <t:number> a ) return <t:number> end @@ -1769,17 +1956,22 @@ function xmath.logb ( <t:number> a ) return <t:number> end function xmath.modf ( <t:number> a, <t:number> b ) return <t:number> end function xmath.nearbyint ( <t:number> a ) return <t:number> end function xmath.nextafter ( <t:number> a, <t:number> b ) return <t:number> end +function xmath.odd ( <t:number> a, <t:number> b ) return <t:number> end function xmath.pow ( <t:number> a, <t:number> b ) return <t:number> end function xmath.rad ( <t:number> a ) return <t:number> end function xmath.remainder ( <t:number> a, <t:number> b ) return <t:number> end function xmath.remquo ( <t:number> a, <t:number> b ) return <t:number> end function xmath.round ( <t:number> a ) return <t:number> end +function xmath.rounded ( <t:number> a, <t:number> b ) return <t:number> end function xmath.scalbn ( <t:number> a, <t:number> b ) return <t:number> end +function xmath.sign ( <t:number> a ) return <t:number> end function xmath.sin ( <t:number> a ) return <t:number> end function xmath.sinh ( <t:number> a ) return <t:number> end +function xmath.sind ( <t:number> a ) return <t:number> end function xmath.sqrt ( <t:number> a ) return <t:number> end function xmath.tan ( <t:number> a ) return <t:number> end function xmath.tanh ( <t:number> a ) return <t:number> end +function xmath.tand ( <t:number> a ) return <t:number> end function xmath.tgamma ( <t:number> a ) return <t:number> end function xmath.trunc ( <t:number> a ) return <t:number> end function xmath.y0 ( <t:number> a ) return <t:number> end diff --git a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-nodes.tex b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-nodes.tex index 5d480e684..3afaeddb4 100644 --- a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-nodes.tex +++ b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-nodes.tex @@ -5,24 +5,12 @@ % % node.direct.getlocalparboxstate % -% node.direct.appendaftertail -% node.direct.appendtocurrentlist -% node.direct.prependbeforehead -% node.direct.getcurrenttail -% node.direct.setcurrenttail -% node.direct.appendcurrenttail -% node.direct.prependcurrenttail -% node.direct.insertcurrenthead -% % node.direct.findattributerange % node.direct.ignoremathskip % node.direct.makeextensible % node.direct.collapsing -% node.direct.exchange % node.direct.getnormalizedline % node.direct.migrate -% node.direct.repack -% node.direct.reverse % node.direct.getnodes % getusage @@ -54,9 +42,6 @@ % node.direct.usedlist % node.direct.usesfont % node.direct.verticalbreak -% node.direct.xscaled -% node.direct.yscaled -% node.direct.isloop -- undocumented % node.shared.size % node.shared.id @@ -1062,18 +1047,20 @@ function node.direct.getidsubtype ( <t:direct> n ) end \stoptyping -You can't change the id of a node, but you can set the subtype: +You can't change the id of a node, but you can set the subtype but you need to be +aware of possible side effects because the engine makes assumptions to what +fields mean given a subtype: -% function node.direct.setsubtype +\starttyping[option=LUA] +function node.direct.setsubtype ( + <t:direct> n, + <t:direct> subtype +) + return <t:integer> subtype +end +\stoptyping -% \starttyping[option=LUA] -% function node.direct.setsubtype ( -% <t:direct> n -% <t:direct> subtype -% ) -% return <t:integer> subtype -% end -% \stopsubsection +\stopsubsection Data fields are general purpose so these helpers come in variants: @@ -1924,6 +1911,29 @@ function node.direct.findnode ( <t:direct> n ) end \stoptyping +A list can be reversed with: + +\starttyping[option=LUA] +function node.direct.reverse ( <t:direct> n ) + return <t:direct> -- head +end +\stoptyping + +Two nodes in a list can be swapped using: + +\starttyping[option=LUA] +function node.direct.reverse ( + <t:direct> head, + <t:direct> first, + <t:direct> second +) + return <t:direct> -- head +end +\stoptyping + +% node.direct.exchange + + \stopsubsection \startsubsection[title={Traversing}] @@ -2307,6 +2317,25 @@ that has space properties, it will deduce the scale value from a previous or nex glyph. This can be used to calculate a space which is the reason that only fonts with such a character are valid, otherwise the scale is just 1. +You can scale a dimension by the scale factors used for a glyph. The properties +of the glyph don't change! + +\starttyping[option=LUA] +function node.direct.xscaled ( + <t:direct> glyph, + <t:integer> dimension +) + return <t:integer> +end + +function node.direct.yscaled ( + <t:direct> glyph, + <t:integer> dimension +) + return <t:integer> +end +\stoptyping + The control field defines if and how specific typesetting related features get applies as specified with the glyph option and/or various related mechanisms. @@ -2722,6 +2751,18 @@ function node.direct.hasglyph ( <t:direct> n ) end \stoptyping +Glyphs can have a slant property which make it a candidate for being an italic +(around which you want to apply spacing). However, when you've set the glyph +option \typ {noitaliccorrection}, a slanted glyph will return \type {false}. When +there is no slant specified it can still qualify as italic when the text control +is set to \typ {hasitalics} or \type {autoitalics}. + +\starttyping[option=LUA] +function node.direct.isitalicglyph ( <t:direct> n ) + return <t:boolean> +end +\stoptyping + Traditional \TEX\ ligature processing can be achieved with the next helper. This assumes that the ligature information is present in the font. In \CONTEXT\ we call this base mode processing. @@ -3358,10 +3399,11 @@ function node.direct.dimensions ( end \stoptyping -This alternative calling method takes glue settings into account and is especially useful for -finding the actual width of a sublist of nodes that are already boxed, for -example in code like this, which prints the width of the space in between the -\type {a} and \type {b} as it would be if \type {\box0} was used as-is: +This alternative calling method takes glue settings into account and is +especially useful for finding the actual width of a sublist of nodes that are +already boxed, for example in code like this, which prints the width of the space +in between the \type {a} and \type {b} as it would be if \type {\box0} was used +as-is: \starttyping \setbox0 = \hbox to 20pt {a b} @@ -3658,6 +3700,7 @@ function node.direct.getparstate ( ) return <t:table> -- a huge table (some 50 entries) end + function node.direct.getparstate ( <t:direct> n, <t:boolean> limited @@ -3674,6 +3717,19 @@ is set, the options will be kept. function node.direct.getparstate ( <t:direct> par, <t:table> list) end \stoptyping +We discussed the \type {hpack} and \type {vpack} functions, but there is also +\type {repack}. The second and third argument are optional. + +\starttyping[option=LUA] +function node.direct.repack ( + <t:direct> list, + <t:integer> width, + <t:string> info -- "additional" | "exactly" +) + -- no return value +end +\stoptyping + \stopsubsection \startsubsection[title={Specifications}] @@ -4183,18 +4239,18 @@ reference. \stopluacode \stoptworows -We have quite some helpers and some accept different node types. Here is the -repertoire: +% We have quite some helpers and some accept different node types. Here is the +% repertoire: -\startluacode - context.starttabulate { "|lT|plT|" } - for name, usage in table.sortedhash(moduledata.repertoire) do - context.NC() context(name) - context.NC() context("% t",table.sortedkeys(usage)) - context.NC() context.NR() - end - context.stoptabulate() -\stopluacode +% \startluacode +% context.starttabulate { "|lT|plT|" } +% for name, usage in table.sortedhash(moduledata.repertoire) do +% context.NC() context(name) +% context.NC() context("% t",table.sortedkeys(usage)) +% context.NC() context.NR() +% end +% context.stoptabulate() +% \stopluacode Here are some more helpers, they live in the \type {direct} name space but are user data aware too. @@ -4270,6 +4326,103 @@ with regards to the kind of nodes they contain. \stopsubsection +\startsubsection[title={Current lists}] + +When you nest content, for instance a box inside a box or a box on the main +vertical list the engine pushes the parent on a stack. The current list maintains +a head and tail where new content in appended. if you build your own list you +also have a head and tail and ideally have the list properly linked. We have a +collection of helpers that fit into this linked-list model. + +\starttyping[option=LUA] +function node.direct.prependbeforehead ( + <t:direct> list, + <t:direct> node +) + -- no return value +end + +function node.direct.appendaftertail ( + <t:direct> list, + <t:direct> node +) + -- no return value +end +\stoptyping + +% node.direct.appendtocurrentlist % commented in source + +The tail of the currently active list can be fetched with: + +\starttyping[option=LUA] +function node.direct.getcurrenttail ( + <t:direct> node +) + return + <t:direct>, -- node + <t:integer> -- mode +end +\stoptyping + +The setters also accept a user data node. Actually we can pass a list and the new +tail is then the tail of that list. If the list is empty this works ok too. + +\starttyping[option=LUA] +function node.direct.setcurrenttail ( + <t:direct> node +) + -- no return value +end +\stoptyping + +The next setter inserts the list before the head of the current list: + +\starttyping[option=LUA] +function node.direct.insertcurrenthead ( + <t:direct> node +) + -- no return value +end +\stoptyping + +The next setter inserts the list after the tail of the current list: + +\starttyping[option=LUA] +function node.direct.appendcurrenttail ( + <t:direct> node +) + -- no return value +end +\stoptyping + +The next setter inserts the list before the tail of the current list: + +\starttyping[option=LUA] +function node.direct.prependcurrenttail ( + <t:direct> node +) + -- no return value +end +\stoptyping + +The difference between \typ {setcurrenttail} and \typ {appendcurrenttail} is that +the second one is a bit less picky, the first one only appends when the list is +not yet empty. Otherwise it just sets the tail based on the passed list. + +When you mess with lists there is a possibility that you introduce a loop and for +that we provide a helper that can be used to check for it. The method used is +\quote {Floyd's cycle finding}. Of course it is never water-tight. + +\starttyping[option=LUA] +function node.direct.isloop ( + <t:direct> node +) + return <t:boolean> +end +\stoptyping + +\stopsubsection + \startsubsection[title={Properties}] Attributes are a convenient way to relate extra information to a node. You can diff --git a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-primitives.tex b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-primitives.tex index dd29ce61f..47c9e39d7 100644 --- a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-primitives.tex +++ b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-primitives.tex @@ -6273,14 +6273,24 @@ few keywords in addition to \type {to} and \type {spread}: \starttabulate[|l|p|] \FL -\BC keyword \BC explanation \NC \NR +\BC keyword \BC explanation \NC \NR \TL -\NC \type {attr} \NC set the given attribute to the given value \NC \NR -\NC \type {callback} \NC trigger the \type {alignment} callback \NC \NR -\NC \type {discard} \NC discard zero \prm {tabskip}'s \NC \NR -\NC \type {noskips} \NC don't even process zero \prm {tabskip}'s \NC \NR -\NC \type {reverse} \NC reverse the final rows \NC \NR -\NC \type {nolastskip} \NC remove the last \prm {tabskip} \NC \NR +\NC \type {attr} \NC set the given attribute to the given value \NC \NR +\NC \type {callback} \NC (integer) sets the \type {alignment} callback \NC \NR +\NC \type {callbacks} \NC (integer) adds to the callbacks \NC \NR +\NC \type {discard} \NC discard zero \prm {tabskip}'s when finalizing \NC \NR +\NC \type {noskips} \NC don't even process zero \prm {tabskip}'s \NC \NR +\NC \type {nofirstskip} \NC suppress initial skip \NC \NR +\NC \type {nolastskip} \NC suppress final skip \NC \NR +\NC \type {reverse} \NC reverse the final rows \NC \NR +\NC \type {collapse} \NC combine \prm {tabsize} in spans \NC \NR +\NC \type {nolastskip} \NC remove the last \prm {tabskip} \NC \NR +\NC \type {prune} \NC remove empty edge columns \NC \NR +\HL +\NC \type {split} \NC split marked multi-line cell boxes into rows \NC \NR +\NC \type {minheight} \NC minimum line height \NC \NR +\NC \type {mindepth} \NC minimum line depth \NC \NR +\NC \type {gluemode} \NC controls split-boundary handling \NC \NR \LL \stoptabulate @@ -6325,6 +6335,11 @@ This feature is mostly handy for repeated preamble entries: {\showboxes \getbuffer} +The split related options control how a vertical cell box gets split over lines. +This works with multiple cells and honors penalties, and vertical space. The +callback kicks in at given stages (when enabled) and is discussed in the chapter +about callbacks. + \stopoldprimitive \startoldprimitive[title={\prm {hangafter}}] @@ -9466,8 +9481,7 @@ changes. The whole repertoire of numbers is: \NC \type {\the\luametatexmajorversion} \NC \the\luametatexmajorversion \NC \NR \NC \type {\the\luametatexminorversion} \NC \the\luametatexminorversion \NC \NR \NC \type {\the\luametatexrelease} \NC \the\luametatexrelease \NC \NR -\NC \type {\the\luatexversion} \NC \the\luatexversion \NC \NR -\NC \type {\the\luatexrevision} \NC \the\luatexrevision \NC \NR +\NC \type {\the\luametatexversion} \NC \the\luametatexversion \NC \NR \stoptabulate The last two are there because they might be tested but the first three are the @@ -9496,15 +9510,9 @@ This gives: {\tttf \luatexbanner}. \stopnewprimitive -\startnewprimitive[title={\prm {luatexrevision}}] - -This is an integer. The current value is: {\tttf \number\luatexrevision}. - -\stopnewprimitive - -\startnewprimitive[title={\prm {luatexversion}}] +\startnewprimitive[title={\prm {luametatexversion}}] -This is an integer. The current value is: {\tttf \number\luatexversion}. +This is an integer. The current value is: {\tttf \number\luametatexversion}. \stopnewprimitive @@ -10707,6 +10715,12 @@ yet but for instance in a \prm {halign} do something between the lines: some calculation or injecting inter-row material. In \LUAMETATEX\ this primitive can be used nested. +This command accepts keywords, like \type {anchor}, \type {source} and \type +{target} and other boxlike properties \type {xoffset}, \type {yoffset}, \type +{xmove}, \type {ymove}, \type {shift} (when \type {add} was given beforehand, +shifts will accumulate) and \type {orientation}. With \type {reset} the +attributes get wiped. It forgets what has been set after the row. + The alignment options can be changed for the following row with \prm {alignoption}. It accepts \type {firstskip}, \type {lastskip}, \type {nofirstskip}, \type {nolastskip} and \type {prune}. diff --git a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-tex.tex b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-tex.tex index 07390abdf..403ce5197 100644 --- a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-tex.tex +++ b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex-tex.tex @@ -1371,7 +1371,8 @@ end \stoptyping Only valid primitive names are processed. Because it is no fun to enter the -names, there is this one. +names, the second argument can be a boolean which indicates that all primitives +will be used. \starttyping[option=LUA] function tex.extraprimitives ( <t:string> subset, ... ) @@ -1383,6 +1384,9 @@ Possible values for \type {subset} are: \getbuffer[engine:syntax:primitiveorigins] +Instead of one or more strings you can also pass a number with the bit set that +indicate what subset to include. + You can feed the result of the last one in \type {tex.enableprimitives}. If there is already a macro with that name if will not be overloaded. @@ -1398,7 +1402,7 @@ function tex.primitives ( ) end \stoptyping -of course the fact that the name is there doesn't mean that it has the same +Of course the fact that the name is there doesn't mean that it has the same meaning. A complete list of all hash entries can be asked for by the following function, but diff --git a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex.tex b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex.tex index 0d4f016b1..e4b22af09 100644 --- a/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex.tex +++ b/doc/context/sources/documents/general/manuals/mkxl/luametatex/luametatex.tex @@ -1,4 +1,3 @@ - % language=us runpath=texruns:manuals/luametatex xxsignal=squid % 04/27/2026 01:56 PM 18,143,828 cont-en.fmt : 128 256 64 @@ -10,13 +9,15 @@ % \pushoverloadmode \aliased\let\obeyedline\localbreakpar -% 16.40 16.35 +% 16.40 16.35 (15.3 - 15.1 760p) % \profilemacro\forgetall % \setuptabulation % [format={|l|P|}] +% \ctxlua{collectgarbage("generational", 20, 300) + \enableexperiments[fonts.checkchardisc] % \disableexperiments[fonts.checkchardisc] diff --git a/doc/context/sources/documents/general/manuals/mkxl/mwe/mwe.tex b/doc/context/sources/documents/general/manuals/mkxl/mwe/mwe.tex index adc11aa52..75a1a37dd 100644 --- a/doc/context/sources/documents/general/manuals/mkxl/mwe/mwe.tex +++ b/doc/context/sources/documents/general/manuals/mkxl/mwe/mwe.tex @@ -4,15 +4,25 @@ \usemodule[scite] \setuplayout - [middle] + [tight] -\setupbodyfont[pagella,12pt] +% \showframe + +% \setuplayout +% [middle] + +\setuphead + [section] + [style=\bfa] + +\setupbodyfont + [pagella,12pt] \setupwhitespace [big] \setupalign - [verytolerant,stretch] + [mathbookpasses] \setupdocument [title=No Title, @@ -34,6 +44,8 @@ \startdocument +\startsubject[title=A test file] + This is how a minimal (non) working example looks like. The more minimal it is, the more likely you will get an answer. Remove everything from your examples which isn't necessary to show the problem: @@ -61,11 +73,42 @@ Like this: \stoptext \stoptyping -where the question is \quotation {example question}. +and look at it a few times to see what can be left out. If you have a complex +workflow, and more files are needed, make a zip and put it somewhere to download; +don't spam the list with files (reports and explanations are fine). + +\stopsubject + +\startsubject[title=An explanation] + +Because \TEX\ is also about look and feel it can be that your expectations +don't match what \CONTEXT\ generates. In that case explain what you needed +and what you expect. Maybe make a drawing or fake output. There is no need +to come up witt some interface, if needed we will see how and +where a possible feature (option) fits in best. + +When you have specific wishes or are in a hurry, also be prepared to test as soon +as a patch or update is provided. Don't expect us to stay tuned to your problem +for too long. + +\stopsubject + +\startsubject[title=No slop] + +We see no problem in users asking some large language model driven +tool. But don't spam us with its outcome. We start from a problem not a +proposed solution. Of course fixing a simple typo or wrong variable is +no problem but the internals of \CONTEXT\ let alone the engine +mix badly with the kind of reasoning or lack of understanding per 2026. + +Also, make clear that if you have a suggestion that it comes from such an agent. +If you don't really understand what is going on, just say so and don't rely on an +language model to make you wiser with hundred percent accuracy. + +\stopsubject -If you have a complex workflow, and more files are needed, make a zip and put it -somewhere to download. +\stopsubject -Wolfgang & Hans +Hans (also for Wolfgang, Mikael, \unknown) \stopdocument diff --git a/doc/context/sources/documents/general/manuals/mkxl/tagging/tagging.tex b/doc/context/sources/documents/general/manuals/mkxl/tagging/tagging.tex index a7508edc9..20eda33da 100644 --- a/doc/context/sources/documents/general/manuals/mkxl/tagging/tagging.tex +++ b/doc/context/sources/documents/general/manuals/mkxl/tagging/tagging.tex @@ -311,7 +311,7 @@ point and for for some users a reason to use this system. If you really want it to be taken into account, you can do this: \starttyping -\setuptagging [option=interactivity] +\setuptagging [option=interaction] \stoptyping You might need to change your document if validation fails, for instance because diff --git a/doc/context/sources/documents/general/manuals/public-manuals-mkiv.lua b/doc/context/sources/documents/general/manuals/public-manuals-mkiv.lua index 81fb64749..7cf77efcb 100644 --- a/doc/context/sources/documents/general/manuals/public-manuals-mkiv.lua +++ b/doc/context/sources/documents/general/manuals/public-manuals-mkiv.lua @@ -599,7 +599,9 @@ return { "workflows/workflows-synctex.tex", "workflows/workflows-parallel.tex", "workflows/workflows-hashed.tex", - "workflows/workflows-userdata.tex", + "workflows/workflows-hashed.tex", + "workflows/workflows-embedding.tex", + "workflows/workflows-archives.tex", }, results = { "workflows/workflows-mkiv.pdf", diff --git a/doc/context/sources/presentations/general/meetings/bachotex/2010/bachotex-2010-clash.tex b/doc/context/sources/presentations/general/meetings/bachotex/2010/bachotex-2010-clash.tex index 6b30ff083..ca392561a 100644 --- a/doc/context/sources/presentations/general/meetings/bachotex/2010/bachotex-2010-clash.tex +++ b/doc/context/sources/presentations/general/meetings/bachotex/2010/bachotex-2010-clash.tex @@ -1,4 +1,4 @@ -% \enablemode[paper] +\enablemode[paper] \usemodule[present-stepwise,present-wobbling,abr-02] % \usemodule[present-wobbling,abr-02] diff --git a/doc/context/sources/presentations/general/meetings/bachotex/2010/bachotex-2010-move.tex b/doc/context/sources/presentations/general/meetings/bachotex/2010/bachotex-2010-move.tex index 6c016e911..dc2dbd271 100644 --- a/doc/context/sources/presentations/general/meetings/bachotex/2010/bachotex-2010-move.tex +++ b/doc/context/sources/presentations/general/meetings/bachotex/2010/bachotex-2010-move.tex @@ -1,4 +1,4 @@ -% \enablemode[paper] +\enablemode[paper] \usemodule[present-stepwise,present-wobbling,abr-02] diff --git a/doc/context/sources/presentations/general/meetings/bachotex/2011/bachotex-2011-cld-and-mkvi.tex b/doc/context/sources/presentations/general/meetings/bachotex/2011/bachotex-2011-cld-and-mkvi.tex index 24cb665a3..11a3935f5 100644 --- a/doc/context/sources/presentations/general/meetings/bachotex/2011/bachotex-2011-cld-and-mkvi.tex +++ b/doc/context/sources/presentations/general/meetings/bachotex/2011/bachotex-2011-cld-and-mkvi.tex @@ -1,4 +1,4 @@ -% \enablemode[print] +\enablemode[print] \usemodule[present-stepwise,present-four,abr-02] diff --git a/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-bits.tex b/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-bits.tex index 96db6bdeb..1394b60fc 100644 --- a/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-bits.tex +++ b/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-bits.tex @@ -1,4 +1,4 @@ -% \enablemode[print] +\enablemode[print] \usemodule[pre-stepwise,present-tiles,abr-02] @@ -99,10 +99,18 @@ \starttopic[title={Lua\\next on the todo list}] \startitemize - \startitem maybe cleanup of file database code (no real need to be completely \type {kpse} and \TDS\ compatible) \FlushStep \stopitem - \startitem pick up run||from|||zip experiment \FlushStep \stopitem - \startitem maybe more some framework code in the distribution \FlushStep \stopitem - \startitem experiment with some libraries (sockets, graphics, \type {gsl}) \FlushStep \stopitem + \startitem + maybe cleanup of file database code (no real need to be completely \type {kpse} and \TDS\ compatible) + \FlushStep \stopitem + \startitem + pick up run||from||zip experiment + \FlushStep \stopitem + \startitem + maybe more some framework code in the distribution + \FlushStep \stopitem + \startitem + experiment with some libraries (sockets, graphics, \type {gsl}) + \FlushStep \stopitem \stopitemize \stoptopic diff --git a/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-luatex.tex b/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-luatex.tex index 1dc6f2f89..a4c1becc8 100644 --- a/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-luatex.tex +++ b/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-luatex.tex @@ -1,4 +1,4 @@ -% \enablemode[print] +\enablemode[print] \usemodule[pre-stepwise,present-tiles,abr-02] @@ -8,6 +8,8 @@ % \setupinteractionscreen % [option=max] +% \setupbodyfont[pennstander] + \setupbodyfont[opendyslexic,ss] \startdocument diff --git a/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-sense.tex b/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-sense.tex index 72e3f4dc2..6fbbc578c 100644 --- a/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-sense.tex +++ b/doc/context/sources/presentations/general/meetings/bachotex/2013/bachotex-2013-sense.tex @@ -1,4 +1,4 @@ -% \enablemode[print] +\enablemode[print] \usemodule[pre-stepwise,present-tiles,abr-02] diff --git a/doc/context/sources/presentations/general/meetings/tug/2007/tug-2007-fonts.tex b/doc/context/sources/presentations/general/meetings/tug/2007/tug-2007-fonts.tex index 8ec97d68c..457a9d113 100644 --- a/doc/context/sources/presentations/general/meetings/tug/2007/tug-2007-fonts.tex +++ b/doc/context/sources/presentations/general/meetings/tug/2007/tug-2007-fonts.tex @@ -1,3 +1,7 @@ +% engine=luatex + +\enablemode[paper] + \usemodule[present-slanted] \usemodule[abr-01] @@ -23,6 +27,7 @@ \def\TFM {\dontleavehmode{\morecolor tfm}} \def\TEX {\dontleavehmode{\morecolor tex}} \def\MKIV {\dontleavehmode{\morecolor mkiv}} +\def\CONTEXT {\dontleavehmode{\morecolor context}} \def|#1|{-} @@ -96,6 +101,8 @@ \StopSteps +\StopTopic + \page \start \definefontfeature[zapfino-a][mode=node,script=latn,language=dflt,liga=no] @@ -110,7 +117,7 @@ \font\testd=ZapfinoExtraLTPro*zapfino-d at 24pt \font\teste=ZapfinoExtraLTPro*zapfino-e at 24pt -\unexpanded\def\ShowSample #1 #2 % +\unexpanded\def\ShowSample#1#2% {\StartTopic{examples : #2} \start \noligs1\nokerns1\language0 @@ -122,11 +129,11 @@ \stop \StopTopic} -\ShowSample a nothing -\ShowSample b ligatures -\ShowSample c {cont ligs} -\ShowSample d {cont alts} -\ShowSample e all of these +\ShowSample {a} {nothing} +\ShowSample {b} {ligatures} +\ShowSample {c} {cont ligs} +\ShowSample {d} {cont alts} +\ShowSample {e} {all of these} \page \stop @@ -141,7 +148,9 @@ \StopSteps -\page +\StopTopic + +% \page \definefontfeature [arab-none] @@ -233,8 +242,8 @@ \StopItem \StartItem - when this document is generated with a post-beta version of \LUATEX\ and \CONTEXT\ the results - can be different + when this document is generated with a post-beta version of \LUATEX\ and + \CONTEXT\ the results can be different \StopItem \StopTopic |
