From 5f6a7c6790baa7e524de5b5bf71a29ea757378f6 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sun, 12 May 2019 19:57:39 +0200 Subject: 2019-05-12 19:16:00 --- doc/context/documents/general/qrcs/setup-cs.pdf | Bin 858504 -> 858506 bytes doc/context/documents/general/qrcs/setup-de.pdf | Bin 858814 -> 858367 bytes doc/context/documents/general/qrcs/setup-en.pdf | Bin 865156 -> 865367 bytes doc/context/documents/general/qrcs/setup-fr.pdf | Bin 857173 -> 857031 bytes doc/context/documents/general/qrcs/setup-it.pdf | Bin 862555 -> 862431 bytes .../documents/general/qrcs/setup-mapping-cs.pdf | Bin 348844 -> 348785 bytes .../documents/general/qrcs/setup-mapping-de.pdf | Bin 432775 -> 433379 bytes .../documents/general/qrcs/setup-mapping-en.pdf | Bin 345900 -> 346040 bytes .../documents/general/qrcs/setup-mapping-fr.pdf | Bin 349000 -> 348957 bytes .../documents/general/qrcs/setup-mapping-it.pdf | Bin 347425 -> 347383 bytes .../documents/general/qrcs/setup-mapping-nl.pdf | Bin 346493 -> 346720 bytes .../documents/general/qrcs/setup-mapping-ro.pdf | Bin 510258 -> 510443 bytes doc/context/documents/general/qrcs/setup-nl.pdf | Bin 851975 -> 851968 bytes doc/context/documents/general/qrcs/setup-ro.pdf | Bin 856137 -> 856011 bytes .../bachotex/2019/bachotex-2019-followingup.pdf | Bin 0 -> 60987 bytes .../bachotex/2019/bachotex-2019-followingup.tex | 302 +++++++++++++++++++++ doc/context/scripts/mkiv/mtx-patterns.html | 61 +++++ doc/context/scripts/mkiv/mtx-patterns.man | 48 ++++ doc/context/scripts/mkiv/mtx-patterns.xml | 34 +++ 19 files changed, 445 insertions(+) create mode 100644 doc/context/presentations/bachotex/2019/bachotex-2019-followingup.pdf create mode 100644 doc/context/presentations/bachotex/2019/bachotex-2019-followingup.tex create mode 100644 doc/context/scripts/mkiv/mtx-patterns.html create mode 100644 doc/context/scripts/mkiv/mtx-patterns.man create mode 100644 doc/context/scripts/mkiv/mtx-patterns.xml (limited to 'doc/context') diff --git a/doc/context/documents/general/qrcs/setup-cs.pdf b/doc/context/documents/general/qrcs/setup-cs.pdf index 6aef4b1ec..b887b4831 100644 Binary files a/doc/context/documents/general/qrcs/setup-cs.pdf and b/doc/context/documents/general/qrcs/setup-cs.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-de.pdf b/doc/context/documents/general/qrcs/setup-de.pdf index baa1415fd..34e60e948 100644 Binary files a/doc/context/documents/general/qrcs/setup-de.pdf and b/doc/context/documents/general/qrcs/setup-de.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-en.pdf b/doc/context/documents/general/qrcs/setup-en.pdf index 25bed32b9..70a537ece 100644 Binary files a/doc/context/documents/general/qrcs/setup-en.pdf and b/doc/context/documents/general/qrcs/setup-en.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-fr.pdf b/doc/context/documents/general/qrcs/setup-fr.pdf index 2cdfb1e17..3f93a0acb 100644 Binary files a/doc/context/documents/general/qrcs/setup-fr.pdf and b/doc/context/documents/general/qrcs/setup-fr.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-it.pdf b/doc/context/documents/general/qrcs/setup-it.pdf index 2484f27fe..fe1785cfa 100644 Binary files a/doc/context/documents/general/qrcs/setup-it.pdf and b/doc/context/documents/general/qrcs/setup-it.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-mapping-cs.pdf b/doc/context/documents/general/qrcs/setup-mapping-cs.pdf index c6c3e92a7..63bac99e1 100644 Binary files a/doc/context/documents/general/qrcs/setup-mapping-cs.pdf and b/doc/context/documents/general/qrcs/setup-mapping-cs.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-mapping-de.pdf b/doc/context/documents/general/qrcs/setup-mapping-de.pdf index c5c49f07b..3c42dfc12 100644 Binary files a/doc/context/documents/general/qrcs/setup-mapping-de.pdf and b/doc/context/documents/general/qrcs/setup-mapping-de.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-mapping-en.pdf b/doc/context/documents/general/qrcs/setup-mapping-en.pdf index 7e5674a9a..3c9cc5c91 100644 Binary files a/doc/context/documents/general/qrcs/setup-mapping-en.pdf and b/doc/context/documents/general/qrcs/setup-mapping-en.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-mapping-fr.pdf b/doc/context/documents/general/qrcs/setup-mapping-fr.pdf index 433f0049c..0d3d3e5f4 100644 Binary files a/doc/context/documents/general/qrcs/setup-mapping-fr.pdf and b/doc/context/documents/general/qrcs/setup-mapping-fr.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-mapping-it.pdf b/doc/context/documents/general/qrcs/setup-mapping-it.pdf index c3a3e2927..d71b622f8 100644 Binary files a/doc/context/documents/general/qrcs/setup-mapping-it.pdf and b/doc/context/documents/general/qrcs/setup-mapping-it.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-mapping-nl.pdf b/doc/context/documents/general/qrcs/setup-mapping-nl.pdf index 5d9c9a09f..d5d39473b 100644 Binary files a/doc/context/documents/general/qrcs/setup-mapping-nl.pdf and b/doc/context/documents/general/qrcs/setup-mapping-nl.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-mapping-ro.pdf b/doc/context/documents/general/qrcs/setup-mapping-ro.pdf index a017ad5e9..a2759e931 100644 Binary files a/doc/context/documents/general/qrcs/setup-mapping-ro.pdf and b/doc/context/documents/general/qrcs/setup-mapping-ro.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-nl.pdf b/doc/context/documents/general/qrcs/setup-nl.pdf index cc2801361..463d707ba 100644 Binary files a/doc/context/documents/general/qrcs/setup-nl.pdf and b/doc/context/documents/general/qrcs/setup-nl.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-ro.pdf b/doc/context/documents/general/qrcs/setup-ro.pdf index 7ac5c801a..a00eb0ca1 100644 Binary files a/doc/context/documents/general/qrcs/setup-ro.pdf and b/doc/context/documents/general/qrcs/setup-ro.pdf differ diff --git a/doc/context/presentations/bachotex/2019/bachotex-2019-followingup.pdf b/doc/context/presentations/bachotex/2019/bachotex-2019-followingup.pdf new file mode 100644 index 000000000..17fdcab93 Binary files /dev/null and b/doc/context/presentations/bachotex/2019/bachotex-2019-followingup.pdf differ diff --git a/doc/context/presentations/bachotex/2019/bachotex-2019-followingup.tex b/doc/context/presentations/bachotex/2019/bachotex-2019-followingup.tex new file mode 100644 index 000000000..b7c116ab3 --- /dev/null +++ b/doc/context/presentations/bachotex/2019/bachotex-2019-followingup.tex @@ -0,0 +1,302 @@ +% language=uk + +\usemodule[abbreviations-smallcaps] +\usemodule[present-luatex] + +\logo [LUAMETATEX] {LuaMeta\TeX} + +\setupbodyfont[12pt] + +\setupalign[verytolerant] + +\setupdocument + [title={The follow up}, + subtitle={\LUAMETATEX}, + location={Bacho\TeX\ May 2019}, + author={Hans & Alan}, + mp:title={\LUAMETATEX}] + +\startdocument + +\page \setupdocument[mp:subtitle={From lead to gold}] + +\startitemize + \startitem + This talk is {\bf not} about how we can use \LUATEX\ to control domotica + applications. We already discussed that. + \stopitem + \startitem + This talk is {\bf not} about how we can use \CONTEXT\ in advanced + rendering, for instance as part of web|-|based workflows. That's old + news. + \stopitem + \startitem + This talk is {\bf not} about how much fun it would be to have a + \MICROSOFT\ HoloLens and see what \CONTEXT\ and \LUATEX\ could do with + it. We just can't afford it. + \stopitem + \startitem + This talk is {\bf not} about more complexity, but it is about keeping + things simple. It's about turning a burden into a pleasure. + \stopitem + \startitem + To quote the Riverside \footnote {A Polish progrock band I recently saw + live in the Netherlands. A band related to Lunatic Soul.} frontman: I + hope you all leave here a bit younger than you felt when you came here. + This talk is about turning lead into gold. + \stopitem +\stopitemize + +\page \setupdocument[mp:subtitle={Where do we stand}] + +\startitemize + \startitem + We have the weight and experience of about 40 years of \TEX\ and its + usage on our shoulders. + \stopitem + \startitem + Good old \TEX\ got extended: \ETEX, \OMEGA\ (\ALEPH), \PDFTEX, \XETEX, + [e][u][p]\TEX\ and \LUATEX\ (& \LUAJITTEX) showed up. + \stopitem + \startitem + The \DVI\ output got complemented by \PDF. + \stopitem + \startitem + Bitmap fonts were replaced by \TYPEONE\ that itself got replaced by the + container formats \OPENTYPE\ and \TRUETYPE. Variable fonts were + introduced. + \stopitem + \startitem + Math got upgraded to \OPENTYPE\ math, thanks to \MICROSOFT. + \stopitem + \startitem + \UNICODE\ got accepted and \UTF\ is nowadays the preferred input + encoding. + \stopitem + \startitem + The community supported the development of many fonts that found their + place in distributions. + \stopitem + \startitem + Alongside plain \TEX\ the macro packages \LATEX\ and \CONTEXT\ both + evolved into large collections of resources. + \stopitem +\stopitemize + +\page \setupdocument[mp:subtitle={Are we good?}] + +\startitemize + \startitem + There is no doubt that \TEX\ is a success. We can find nice examples but + also some horrible looking documents. + \stopitem + \startitem + A large distribution is no guarantee for quality and continuous success, + nor is the number of incidental (forced) users. + \stopitem + \startitem + A \CONTEXT\ user doesn't need that much: just the \LUATEX\ binary will + do, plus a bunch of \MKIV\ macros, completed by a reasonable set of + fonts. + \stopitem + \startitem + Currently all that is embedded in a large ecosystem, although we always + use only a small, reasonable subset. + \stopitem + \startitem + Getting the whole machinery up and running from scratch (source code) is + not trivial. + \stopitem + \startitem + The source code base is rather large and compilation is complex: it builds on + decades of being nice for all platforms and fulfilling all demands. + \stopitem + \startitem + What we consider gold could also be seen as lead in disguise. Some + alchemy might be needed to go back to where we came from. + \stopitem +\stopitemize + +\page \setupdocument[mp:subtitle={The Status Quo}] + +\startitemize + \startitem + At some point you need to stabilize and for \LUATEX, version 1.10 is that + moment. + \stopitem + \startitem + But some ideas and experiments have been delayed because the engine was + already in use, also outside of \CONTEXT. + \stopitem + \startitem + Compatibility is a {\bf big} issue in the \TEX\ community (which is good) + so we're in a sort of a deadlock (which is bad). + \stopitem + \startitem + And we wanted to take a next step in \CONTEXT\ development. It's not + strictly necessary to make drastic changes, but we need to adapt. + \stopitem + \startitem + The question is how we can guarantee users a long|-|term stability of + the both macro package as well as the engine it runs on. + \stopitem +\stopitemize + +\page \setupdocument[mp:subtitle={What Is Needed}] + +\startitemize + \startitem + For \CONTEXT\ we want just one binary. We don't really need \LUAJITTEX\ + for \LUAJIT\ is not following \LUA\ anyway. + \stopitem + \startitem + We don't want (for windows) a special stub binary. After all we already + have the \type {context} job manager and \type {mtxrun} script manager. + All platforms should be treated alike. + \stopitem + \startitem + Performance should be stable and not influenced by code added to the + binary. In fact, performance should constantly improve! + \stopitem + \startitem + The engine should not depend on libraries that are floating, get updated + frequently, and can come from places out of our control (versions). + \stopitem + \startitem + The memory footprint should be acceptable for running in containers (or + small virtual machines). Energy consumption matters too. + \stopitem + \startitem + The binary should be kept small because it also serves as the \LUA\ + interpreter. + \stopitem +\stopitemize + +\page \setupdocument[mp:subtitle={How It Went}] + +\startitemize + \startitem + Around the \CONTEXT\ meeting I took \LUATEX\ 1.09.0 experimental as + starting point and began stripping. + \stopitem + \startitem + Before that, I already had written some test code to see what could be + replaced. + \stopitem + \startitem + Stepwise redundant components were removed. This took time because each + (small) step was tested on real documents, the test suite, etc. + \stopitem + \blank[2*big] + \startitem + \unknown\ maybe some examples & \type {/install-lmtx/*} \unknown + \stopitem + \blank[2*big] + \startitem + I played with some ideas that were put on hold, some were accepted and + some were rejected and more and more got in the mood. + \stopitem + \startitem + Also \LUAJIT\ was dropped, but its removal was compensated by large + performance boosts in other areas. + \stopitem + \startitem + The build was simplified (it took some time to find what was irrelevant) + and compilation now is about half a minute, or less! + \stopitem +\stopitemize + +% we found out the hard way in the past (generalizing, other use, backfire) + +\page \setupdocument[mp:subtitle={Where are we}] + +\startitemize + \startitem + We have an experimental new installer for \CONTEXT\ \LMTX\ (the new + name). It uses \HTTP: and just the engine for fetching data. Updating + goes fast. + \stopitem + \startitem + The \LMTX\ distribution is \MKIV\ only and much smaller than the full + installation. + \stopitem + \startitem + Eventually (soon) the source code of the used engine will be in the + distribution so that we have a self contained package. Users on + new or unique systems can compile. + \stopitem + \startitem + The development of the engine is under control of the \CONTEXT\ + developers: that way there is no danger that things break. We like to + have a playground. + \stopitem + \startitem + Extensions can make it into \LUATEX\ once found useful and stable as + long as they don't break \LUATEX\ upward compatibility (unlikely on the + short term). + \stopitem +\stopitemize + +\page \setupdocument[mp:subtitle={Some highlights}] + +\startitemize + \startitem + There is no backend code. We generate the \PDF\ output in \LUA\ (this was + already the case for much of it.) + \stopitem + \startitem + There is no bitmap image inclusion code present. All is done in \LUA. + \stopitem + \startitem + There is no font loading code present. This already happened mostly in + \LUA\ anyway. + \stopitem + \startitem + Some libraries have been removed and some have been simplified. A few + experimental helper libraries were added (like math). The dependencies + are minimal. + \stopitem + \startitem + The code is undergoing some restructuring but it might take some years + before I've reached the (informal) goals. + \stopitem + \startitem + Alan and I are exploring new possibilities that this setup gives + (especially in combining \TEX, \METAPOST\ and \LUA. Stay tuned. + \stopitem +\stopitemize + +\page \setupdocument[mp:subtitle={The agenda}] + +\startitemize + \startitem + As of April 1, 2019, users can test the experimental distribution. A few + were already in the loop. + \stopitem + \startitem + It looks like there are no big issues, and speed gains can be impressive. + \stopitem + \startitem + As a consequence we can start dropping in replacement code in regular \MKIV\ + some day soon too. + \stopitem + \startitem + Around the next \CONTEXT\ meeting the source code will become part of the + regular distribution (given that I'm satisfied with it). + \stopitem + \startitem + Before that we hope to have the compile farm up and running for \LUAMETATEX. + \stopitem + \startitem + From that moment on, the \CONTEXT\ users will have a self contained, archival, + independent, lean and mean installation available, which will become the + default. + \stopitem + \startitem + Because \LUAMETATEX\ is a subset of \LUATEX, there are no plans right now + for supporting plain \TEX. We'll see. (I might come up with generic + backend code some day.) + \stopitem +\stopitemize + +\stopdocument diff --git a/doc/context/scripts/mkiv/mtx-patterns.html b/doc/context/scripts/mkiv/mtx-patterns.html new file mode 100644 index 000000000..7d5da995d --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-patterns.html @@ -0,0 +1,61 @@ + + + + + + + + + + + ConTeXt Pattern File Management 0.20 + + + + + +
+
ConTeXt Pattern File Management 0.20
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + +
flagvaluedescription
--convertgenerate context language files (mnemonic driven, if not given then all)
--checkcheck pattern file (or those used by context when no file given)
--pathsource path where hyph-foo.tex files are stored
--destinationdestination path
--specificationadditional patterns: e.g.: =cy,hyph-cy,welsh
--compresscompress data
--wordsupdate words in given file
--hyphenateshow hypephenated words
+
+

Examples

+mtxrun --script pattern --check hyph-*.tex +
mtxrun --script pattern --check --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns +
mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex --destination=e:/tmp/patterns +
mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/txt --destination=e:/tmp/patterns +
mtxrun --script pattern --hyphenate --language=nl --left=3 nogalwiedes inderdaad +

+
+ + diff --git a/doc/context/scripts/mkiv/mtx-patterns.man b/doc/context/scripts/mkiv/mtx-patterns.man new file mode 100644 index 000000000..f2323b1e6 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-patterns.man @@ -0,0 +1,48 @@ +.TH "mtx-patterns" "1" "01-01-2019" "version 0.20" "ConTeXt Pattern File Management" +.SH NAME + mtx-patterns - ConTeXt Pattern File Management +.SH SYNOPSIS +.B mtxrun --script patterns [ +.I OPTIONS ... +.B ] [ +.I FILENAMES +.B ] +.SH DESCRIPTION +.B ConTeXt Pattern File Management +.SH OPTIONS +.TP +.B --convert +generate context language files (mnemonic driven, if not given then all) +.TP +.B --check +check pattern file (or those used by context when no file given) +.TP +.B --path +source path where hyph-foo.tex files are stored +.TP +.B --destination +destination path +.TP +.B --specification +additional patterns: e.g.: =cy,hyph-cy,welsh +.TP +.B --compress +compress data +.TP +.B --words +update words in given file +.TP +.B --hyphenate +show hypephenated words +.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/mkiv/mtx-patterns.xml b/doc/context/scripts/mkiv/mtx-patterns.xml new file mode 100644 index 000000000..86f3aa480 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-patterns.xml @@ -0,0 +1,34 @@ + + + + mtx-patterns + ConTeXt Pattern File Management + 0.20 + + + + + generate context language files (mnemonic driven, if not given then all) + check pattern file (or those used by context when no file given) + source path where hyph-foo.tex files are stored + destination path + additional patterns: e.g.: =cy,hyph-cy,welsh + compress data + update words in given file + show hypephenated words + + + + + + Examples + + mtxrun --script pattern --check hyph-*.tex + mtxrun --script pattern --check --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns + mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex --destination=e:/tmp/patterns + mtxrun --script pattern --convert --path=c:/data/develop/svn-hyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/txt --destination=e:/tmp/patterns + mtxrun --script pattern --hyphenate --language=nl --left=3 nogalwiedes inderdaad + + + + -- cgit v1.2.3