Context 2010.05.08

From ConTeXt wiki

< Release Notes

These are the changes in the current distribution between 2009.11.26 and 2010.05.08.

News for cont-ext.zip

  • New version of the ancientgreek module.
  • New version of the letter module.
  • New version of the simplefonts module.

News for cont-img.zip

no changes

News for cont-mpd.zip

  • mptopdf.pl: now returns a non-zero exit code if it fails.

News for cont-ppc.zip

  • support for BD... and BW... segments.

News for cont-tmf.zip

Deleted files

  • newimgtopdf.rb, newpstopdf.rb, newtexexec.rb, newtexutil.rb: obsolete ruby sources
  • stubs/lib/*
  • ctxtools.bat, makempy.bat, mpstools.bat, mptopdf.bat, mtxtools.bat, mtxworks.cmd, pdftools.bat, pstopdf.bat, rlxtools.bat, runtools.bat, texfont.bat, textools.bat, texutil.bat, tmftools.bat, xmltools.bat: win32 stubs of obsolete ruby tools
  • ctxtools, makempy, mpstools, mptopdf, mtxtools, mtxworks, pdftools, pstopdf, rlxtools, runtools, texfont, textools, texutil, tmftools, xmltools: unix stubs of obsolete ruby tools
  • x-cals-test.cdx, x-cals-test.tex, x-cals-test.xml: CALS xml table test files.
  • type-mac.tex, type-one.tex, type-otf.tex, type-siz.tex, type-tmf.tex: the mkii/mkiv files are now loaded directly, so these .tex stubs are obsoleted

New files

  • tools.ini
  • ec-2004.enc
  • mkiv-base.map
  • mkiv-px.map
  • mkiv-tx.map
  • mtx-mtxworks.lua
  • mtx-scite.lua
  • scripts/context/stubs/source/*
  • back-u3d.mkiv
  • blob-ini.lua, blob-ini.mkiv
  • char-tex.lua
  • data-sch.lua
  • enco-l7x.mkii
  • font-enh.lua
  • grph-swf.lua
  • pdf-swf.lua
  • lpdf-xmp.xml
  • m-barcodes.mkiv
  • m-punk.tex
  • math-lan.mkiv
  • node-aux.lua
  • node-dir.lua
  • node-mig.lua, node-mig.mkiv
  • node-pag.lua, node-pag.mkiv
  • page-flt.lua, page-flt.mkiv
  • page-str.lua
  • type-husayni-default.mkiv
  • type-lua.mkiv
  • typo-dig.lua, typo-dig.mkiv
  • x-dir-05.mkii, x-dir-05.mkiv
  • tex/context/fonts/*
  • lang-lt.hyp, lang-lt.pat, lang-lt.rme
  • lang-tk.hyp, lang-tk.pat, lang-tk.rme

Renamed files

  • scite-ctx.lua: moved to a different subdir.
  • The windows scripts context.cmd, luatools.cmd, metatex.cmd, mtxrun.cmd, texexe.cmd/bat, texmfstart.cmd became proper executables with .exe extension
  • m-pstric.tex: split into m-pstricks.lua, m-pstricks.mkii, m-pstricks.mkiv, and m-pstricks.tex
  • type-buy.tex, type-cow.tex, type-ghz.tex, type-hgz.tex, type-msw.tex, type-win.tex: split into mkii & mkiv
  • type-cbg.tex, type-exp.tex, type-fsf.tex, type-pre.tex, type-set.tex, type-xtx.tex: renamed to mkii

Changed files

Data files

  • context.properties: small change due to the executable renaming
  • scite-ctx.properties: read the startup script from the userhome, not scite's own home
  • TeXworks.ini: engine definitions for ConTeXt tools removed
  • context.cnf: TEXINPUTS simplified, LUAINPUTS and TEXMFSCRIPTS make more precise, CLUAINPUTS added
  • cont-xx.xml:
    • addition of \setupcolors[conversion=never], \setuppagenumbering[page=last|yes|no] and \setupitemgroup[step=,textdistance=]
    • \setuptyping[commands=] marked as mkiv-only
    • \setuptyping[escape=] accepts text, not just a character
  • keys-xx.xml:
    • new variables: down, starter, up
    • new constants: alignsymbol, numberstarter, pageprefixstarter, pagestarter, prefixstarter, sectionstarter, starter
  • lang-de.*, lang-deo.*, lang-es.*, lang-hu.*: updated files from the tex-hyphen project

scripts

  • luatools.lua: various changes integrated libraries (see above)
  • many of the script banners have been updated to be more clear
  • mtx-context.lua:
    • support for --batch, --nonstop, and --runs= options
    • the .top file now has the proper \setupsystem[type=] value
    • --make no longer generates a plain format by default
  • mtx-convert.lua: bugfix for ghostscript use on win32+cygwin
  • mtx-fonts.lua, mtx-mptopdf.lua: internal cleanup
  • mtx-patterns.lua: support for lithuanian and turkman added
  • mtx-server-ctx-fonttest.lua: extended to report more font characteristics
  • mtx-server-ctx-help.lua, mtx-server-ctx-startup.lua, mtx-texworks.lua, mtx-timing.lua: internal cleanup
  • mtx-tools.lua: new optiuons --dirtoxml and --downcase
  • mtx-update.lua: support for various flavours of kfreebsd
  • mtx-watch.lua: various internal improvements, and addition of --cleanup option
  • mtxrun.lua:
    • various changes integrated libraries (see above)
    • support for running mkii (ruby) scripts
  • mptopdf.pl: return non-zero on error
  • ruby/base/tex.rb: more extensive backend fontmap fix
  • stubs/unix/texexec: don't use an explicit ruby extension

metapost files

  • mp-chem.mp: various small new bits (both bugfixes and a small extension)
  • mp-page.mp: new macro position_anchor_bar
  • punkfont.mp: encoding fix

macro files

anch-bar.mkiv:

  • anchor bars simplified thanks to metafun extension

anch-pgr.mkiv:

  • bugfix (missing \relax)

anch-pos.lua:

  • small internal improvements

attr-ini.mkiv, attr-ini.lua:

  • support for 'ruled' and 'shifted' attributes
  • new lua functions for hsb <> rgb color conversion

back-ini.lua:

  • small internal improvements

back-pdf.lua, back-pdf.mkiv:

  • switch to pdf version 1.6
  • 'raw' pdf resource primitives are now disabled
  • \doresetmapfilelist definition removed (unused)
  • \loadallfontmapfiles removed from the everyxform & everyximage token lists

bibl-bib.lua, bibl-bib.mkiv:

  • tracker added: publications.bibxml
  • various small fixes to the bib->xml conversion
  • the xml format has changed slighly (more verbose element names)
  • the lua bibtex setup (preparebibtexsession) now supports an options argument (but still unused)
  • there is a predefined 'bibtex' setup

bibl-tra.lua, bibl-tra.mkiv:

  • compare function added
  • get rid of space-eating in \cite with only one argument
  • various potential spurious spaces intercepted (bugfix)

bibl-tra.mkii:

  • get rid of space-eating in \cite with only one argument

bibl-tst.lua:

  • debug print added

buff-ini.lua, buff-ini.mkiv:

  • \savebuffer is now unexpandable, and takes a second, optional, argument (a file name)
  • various extensions to bring buffer support up to par with mkii functionality (escape and command support)

buff-ver.mkii:

  • patch a few command names that became more or less obsolete: \tex, \arg, \mat, \dis.

buff-ver.mkiv:

  • various extensions to bring buffer support up to par with mkii functionality (escape and command support),
  • support buffer ranges
  • various fixes to the buffer line numbering code

catc-ini.mkiv:

  • new macros \pushcatcodes and \popcatcodes

char-cmp.lua:

  • local unpack = unpack added (in tune with other locals)

char-def.lua:

  • the at sign has a context name: \textat
  • the mathname of left and right brackets is lbrack/rbrack (was lbracket/rbracket)

char-ini.mkiv:

  • load char-tex.lua

chem-ini.lua:

  • internal optimization

chem-str.lua:

  • support bd and bw bonds

chem-str.mkiv:

  • new macro \dochemicaltext (bugfix)

colo-ext.mkiv:

  • internal optimization

colo-ini.lua:

  • support hsv (a.k.a. hsb) colors

colo-ini.mkiv:

  • new macros \pushcolor and \popcolor (for color nesting)
  • make sure gray conversion does not run accidentally
  • removed macro: \setcolormodel

cont-fil.tex:

  • the pstricks module is renamed

cont-log.tex:

  • nicer definition of \LuaTeX

cont-new.mkiv:

  • \enablemode[mkiv] removed (done elsewhere)
  • logs.report redirects to commands.report now
  • \checknodes definition removed (no longer needed)
  • new macro \immediatemessage
  • usage tracking code removed (done elsewhere)
  • \definestartstop[randomized] removed (done elsewhere)

cont-new.tex:

  • context version 2010.05.08 13:33

context-base.lmx:

  • internal cleanup

context.mkii:

  • loading of type-def.mkii dropped, type-set.mkii added

context.mkiv:

  • luatex should be at least 0.60 now
  • \newtoks\contextversiontoks
  • loading of type-def.mkiv dropped, type-set.mkiv added
  • new loads: node-mig, blob-ini, lxml-sor, page-flt, typo-dig, math-lan, node-bck (all mkiv only)

context.tex:

  • context version 2010.05.08 13:33

core-con.lua:

  • chinese number conversion fixes from Li Yanrui

core-ctx.lua:

  • small resolver change

core-def.mkii:

  • fix \arg

core-def.mkiv:

  • various \appendtoks removed
  • fix \arg

core-env.mkiv:

  • make the mode and setups macros (\doifmode et cetera) unexpandable
  • \enablemode[mkiv] moved here

core-fil.mkiv:

  • internal cleanup

core-job.lua, core-job.mkiv:

  • internal cleanup

core-mis.mkiv:

  • swap arguments for special discretionary insertion (bugfix?)
  • fix \startdelimitedtextpar indentation

core-sys.lua:

  • add a report message

core-sys.mkiv:

  • remove randomization setup (done elsewhere)

core-two.lua:

  • small change to initialization

core-uti.lua, data-bin.lua, data-crl.lua:

  • small internal optimization

data-lua.lua, data-pre.lua:

  • support for lua binary modules

data-res.lua:

  • support loading of lua files from the fonts/data path
  • various internal cleanups

data-tex.lua:

  • various internal cleanups

data-tmf.lua, data-tmp.lua, data-tre.lua, data-use.lua, data-zip.lua:

  • small internal optimization

enco-def.mkii:

  • \textat added

enco-ffr.mkii:

  • active characters are now disabled inside MP graphics

enco-ini.mkii:

  • l7x encoding added

enco-ini.mkiv:

  • new code to handle controlspaces and friends
  • removed defintiions of \fakepercent and \fakepermine

font-afm.lua:

  • internal optimizations
  • don't set 'slant' and 'extend' any more
  • add unicode remapping table support

font-chk.lua:

  • new tracker: fonts.missing

font-cid.lua, font-col.lua:

  • internal optimizations

font-ctx.lua:

  • font map loading code moved here
  • some other changes due to internal font subsystem reorganizations

font-def.lua:

  • better messages

font-dum.lua:

  • extensions for handling 'slant' and 'extend', expansion and protrusion

font-ext.lua:

  • better support for font goodies files
  • extensions for handling 'slant' and 'extend', expansion and protrusion
  • experimental support for OTF opdb feature

font-gds.lua, font-gds.mkiv:

  • experimental changes: new macro \loadfontgoodies

font-ini.lua:

  • new table inits for fonts.chr and fonts.quad (for faster access elsewhere)

font-ini.mkii:

  • math family selector macros made unexpandable (\frak etc.)

font-ini.mkiv:

  • internal optimizations
  • switch to using mkiv code in some places where mkii was still used

font-map.lua:

  • font map loading rewritten, now with support for tounicode files

font-otb.lua, font-otf.lua, font-otn.lua, font-otp.lua:

  • partially rewritten (too hard to document)

font-ott.lua:

  • otf.meanings.checkers added

font-pat.lua:

  • guard code for luatex 0.48 and below (newer luatex is handled elsewhere)

font-run.mkiv:

  • \showfont is extended

font-syn.lua:

  • lots of small but important logic changes for 'spec' style font selection (bugfixes for weird font sets)

font-tfm.lua:

  • much 'feature' code for tfm files appears to be removed

font-xtx.lua:

  • simplified

grph-fig.mkiv:

  • support for grouping externalfigures into collections to find the common max dimensions

grph-inc.lua, grph-inc.mkiv:

  • new trackers: figures.programs, figures.conversion, figures.inclusion
  • support for on-the-fly figure conversion
  • load grph-swf.lua
  • internal optimizations

grph-u3d.lua:

  • internal optimizations
  • better messages

java-ini.lua:

  • internal optimizations

l-aux.lua:

  • lpeg.patterns.balanced added (TeX balancing)
  • function aux.arguments_to_table converts commalists to lua tables
  • internal optimizations
  • lpeg.patterns.strip_zeros added (removes zeros at end of number ?)

l-dimen.lua:

  • internal optimizations
  • better dimen parsing lpeg
  • number.to_scaled converts bare pt values into scaled points

l-dir.lua:

  • internal optimizations
  • support lua callback functions in iterations

l-file.lua:

  • internal optimizations
  • changes in file.collapse_path

l-io.lua, l-md5.lua, l-number.lua:

  • internal optimizations

l-lpeg.lua:

  • internal optimizations
  • a whole bunch of new (short) patterns (as they can be shared)

l-os.lua:

  • redefine os.execute, os.spawn, and os.exec to do an IO flush first
  • lots of extra code to correctly detect the current platform
  • new function os.timezone()

l-pdfview.lua:

  • support code for okular on non-windows

l-string.lua:

  • use lpeg for string space stripping
  • interal optimizations
  • new function string:topattern()

l-unicode.lua:

  • new function unicode.utf8.utfchar()

l-url.lua:

  • be stricter about url specifiers to avoid issues with windows harddisk specifiers
  • new function url.hasscheme(), url.addscheme(), url.construct()

l-utils.lua:

  • interal optimizations

l-xml.lua:

  • don't use .lua extension in require()

lang-alt.tex:

  • Turkmen language support by Nazar Annagurban added

lang-bal.tex:

  • Lithuanian language support by Marius Aleknevičius added

lang-cjk.mkiv:

  • japanese weekday conversion fixed

lang-ini.lua, lang-ini.mkiv:

  • new function languages.setup()
  • patch handling of left/right compound hyphen (were swapped)

lang-ini.mkii:

  • handle blocked hyphenation correctly

lang-ita.tex:

  • new, corrrected, label texts for es and ca
  • most label texts are now empty by default (correct string in comment)

lang-lab.mkiv:

  • support math label texts

lang-url.lua, lang-url.mkiv:

  • internal cleanups

lpdf-ano.lua, lpdf-fld.lua, lpdf-grp.lua:

  • internal cleanups

lpdf-ini.lua:

  • internal cleanup and optimizations
  • new functions lpdf.reserveobject(), lpdf.flushobject(), lpdf.sharedobj()

lpdf-ini.mkiv:

  • load lpdf-swf.lua
  • new macro \pdfactualtext

lpdf-mis.lua, lpdf-nod.lua, lpdf-ren.lua:

  • internal cleanup and optimizations

lpdf-u3d.lua:

  • support PRC

lpdf-wid.lua:

  • error handling for missing embedded files
  • internal cleanup and optimizations

lpdf-xmp.lua:

  • PDF metadata support (with help from Peter Rolf)

luat-cbk.lua:

  • new tracker: system.callbacks
  • support for freezing callbacks (callbacks.freeze() function)
  • callback.register() is overloaded to support freezing and a message argument
  • new function callbacks.table() typesets a list of active callbacks

luat-cnf.lua:

  • internal optimizations

luat-dum.lua:

  • support simple cacheing in non-context environments

luat-env.lua, luat-exe.lua:

  • internal optimizations

luat-ini.lua:

  • test for existence of setfenv() core lua function

luat-iop.lua:

  • disallow reading of files under /etc everywhere

luat-lib.mkiv:

  • stop loading data-crl.lua
  • start loading data-sch.lua

luat-run.lua:

  • add documentation argument to callback registrations

luat-sta.lua:

  • internal optimizations

lxml-aux.lua:

  • largely rewritten (too hard to document)

lxml-ctx.lua:

  • more careful error reporting

lxml-ent.lua:

  • internal optimization

lxml-ini.mkiv:

  • use \!!bs and \!!es in some spots instead of actual quotes
  • new macro \xmltexentity

lxml-lpt.lua:

  • implement following-sibling(), preceding-sibling() and reverse-sibling() lpath methods
  • reimplementation of searching and expressions (inspired by testing by J.M. Hufflen)

lxml-mis.lua:

  • internal optimizations

lxml-sor.lua:

  • lxml.sorters.show() improved

lxml-sor.mkiv:

  • comment added to stress that xml sorting is experimental

lxml-tab.lua:

  • internal optimizations and lpeg improvements
  • new functions xml.settings(), xml.root(), xml.tocdata() and xml.makestandalone()

lxml-tex.lua:

  • various small improvements

m-chemic.mkiv:

  • stop loading pictex

m-database.tex:

  • made more robust

m-graph.mkiv:

  • fixed a typo in a return value

m-punk.mkiv:

  • support punknova font (forthcoming)

m-timing.tex:

  • the goodies table is now named plugins

math-ali.mkiv, math-arr.mkiv:

  • internal optimization

math-def.mkiv:

  • use the new \mfunctionlabeltext macro for multiletter operators
  • new macro: \plainbigdelimiters

math-dim.lua:

  • support the new FractionDelimiter{DisplayStyle}Size MathConstants values

math-ini.lua:

  • bugfix for running out of variant delimiter sizes
  • bugfix in radical degree placements

math-ini.mkii:

  • don't run \the\everymathpunctuation when not in math mode (bugfix)

math-ini.mkiv:

  • cleanup
  • use of attributes for special math alphabets streamlined

math-lbr.mkii:

  • fix a typo (calligrapahy)
  • split lbr math collection in texansi and ec subcollections

math-map.lua:

  • patch some alphabets

math-noa.lua:

  • small internal changes

math-run.mkii:

  • load .mkii files instead of .tex files

math-scr.mkiv:

  • guard against double-loading

math-tex.mkii:

  • save \arg

math-vfu.lua:

  • use explicit arguments for the glyph builder functions
  • the virtual math building is moved to another file

meta-dum.tex:

  • save \externalfigurereplacement

meta-ini.mkii:

  • add \chardef\activecharactermode (experimental)

meta-ini.mkiv:

  • change \currentMPgraphicformat to implement a default
  • new macro \processMPgraphic
  • more complex handling of clippaths (\startMPclip)

meta-pdf.lua, meta-pdh.lua:

  • internal optimization

meta-txt.tex:

  • guard against double-loading

metatex.tex:

  • small changes to file loading

mlib-ctx.lua:

  • more complex handling of clippaths

mlib-pdf.lua:

  • internal optimizations

mlib-pps.lua:

  • internal optimizations
  • new functions metapost.settext() and metapost.gettext()

mlib-pps.mkiv:

  • simplified a little thanks to new lua functions

mlib-run.lua:

  • use 4M words of main_memory for metapost (was 2M)
  • internal optimizations

mult-chk.lua:

  • internal optimizations

mult-cld.lua, mult-cld.mkiv:

  • small changes, new macro: \mkivflush

mult-xx.tex, mult-def.lua:

  • new variables: down, starter, up
  • new constants: alignsymbol, numberstarter, pageprefixstarter, pagestarter, prefixstarter, sectionstarter, starter

mult-ini.lua:

  • support interface value caching

mult-sys.tex:

  • new constants: lithuanian, turkmen
  • more new constants: Math, Handwriting, Calligraphy, Casual
  • more more new constants: SerifBold, SerifItalic, SerifBoldItalic, SerifSlanted, SerifBoldSlanted
  • more more more new constants: file, name, spec
  • also: serif, sans, mono, math, handwriting, calligraphy, casual, fax, fallback, none, default, smallcaps, normal, bold, italic, slanted, default, smallcaps, rname, pc, cm, dd, cc, nd, ncm fo, fw, mm

node-bck.mkiv:

  • internal optimizations

node-fin.lua:

  • tiny test change

node-fin.mkiv:

  • streamline use of attribute for triggers

node-fnt.lua:

  • tiny internal change

node-ini.lua:

  • small changes (node leak fixes)

node-ini.mkiv:

  • load node-dir.lua and node-aux.lua

node-inj.lua:

  • some internal juggling for single items

node-par.lua, node-par.mkiv:

  • support for pluggable parbuilders extended

node-pro.lua:

  • some lua functions now have more arguments

node-ref.lua:

  • check the 'writable' field of spec nodes
  • new function jobreferences.enable_interaction()

node-res.lua:

  • more node types predefined and various new helpers

node-rul.lua:

  • new function nodes.strip_range()
  • internal optimizations

node-rul.mkiv:

  • support new lua implementation of overstrike/underbar

node-seq.lua:

  • some small change

node-ser.lua:

  • support booleans

node-shp.lua:

  • check the 'writable' field of spec nodes

node-tex.lua:

  • add explanatory text to callback registration

node-tra.lua:

  • new function nodes.show_simple_list() and nodes.list_to_utf() (debugging aids)
  • internal optimizations

node-tsk.lua:

  • tracker 'tasks' renamed to 'tasks.creation'
  • allow more arguments to task runners
  • new function tasks.table()

node-tst.lua:

  • small internal changes

node-typ.lua:

  • note added that this interface is deprecated (blob-ini is the replacement)

pack-box.mkii, pack-box.mkiv:

  • make various macros unexpandable

pack-rul.lua:

  • pass direction argument to hpack

pack-rul.mkiv:

  • braces added around internal arguments
  • make some macros unexpandable

page-app.mkiv:

  • make some macros unexpandable

page-bck.mkiv:

  • small internal cleanup

page-ini.mkiv:

  • make \outputcounter an actual \count register
  • better tracing
  • add testing of \pageornamentstate

page-lay.mkiv:

  • small internal cleanup

page-lin.lua, page-lin.mkiv:

  • new tracker: lines.numbers
  • attribute use streamlined
  • various small bugfixes

page-mak.mkiv:

  • small internal cleanup

page-mis.mkiv:

  • convert some old dutch internal macro names to english (!)

page-mul.mkiv:

  • various small bugfixes

page-not.mkiv:

  • add a few \checknotes tests (bugfix)

page-one.mkiv:

  • make floatbox assingment global
  • internal cleanup

page-set.mkii, page-set.mkiv:

  • add support for 'offset=' key
  • removed: \OTRSETcheckcontent, \OTRSETgetcolumntextheight, \OTRSETgetcolumnnaturalheight, \OTRSETdobalance (not needed?)

page-str.mkiv:

  • partially rewritten (work in progress)

page-txt.mkiv:

  • small changes (for 'n=' key?)

ppchtex.mkii, ppchtex.mkiv:

  • support for BD and BW bonds.

pret-lua.lua:

  • various improvements

pret-tex.lua:

  • small improvement

prop-ini.mkiv, prop-lay.mkiv:

  • internal streamlining

regi-ini.lua:

  • small internal optimization

s-chi-00.tex:

  • load font-chi.mkii instead of the .tex version

s-fnt-25.tex:

  • new macros: \enableshowmathfontvirtual, \mathlistentryresourceonce (this is a visualization extension)

s-ptj-01.tex:

  • updated

scrn-fld.mkiv:

  • various bugfixes

scrn-hlp.mkiv:

  • internal change \getpagehelpdata -> \getpagehelddataindeed (looks like a bugfix)

scrn-int.mkii:

  • PDF bookmark placements are now postponed until \stoptext (bugfix)

scrn-int.mkiv:

  • bugfix for xform dimension discovery

scrn-nav.mkiv:

  • new macro: \enableinteractivereferences (related to a bugfix)
  • xmp support

scrp-cjk.lua:

  • change from nobreak_shrink_break_stretch to stretch_break for chinese (justification fix)

scrp-ini.mkiv:

  • attribute use streamlined

sort-ini.lua:

  • trace code added
  • small optimizations

sort-lan.lua:

  • various corrections

spac-ali.mkiv:

  • made various macros unexpandable
  • smarter direction macros (\lefttoright, \righttoleft)

spac-fnt.mkiv:

  • \newconditional\fontattributeisset

spac-hor.mkiv:

  • new macros: \definenarrower / \setupnarrower
  • made various macros unexpandable
  • add \normalspaces to \everybeforeoutput (paranoia for \obeyspaces)

spac-ver.lua, spac-ver.mkiv:

  • partial rewrite (better support for local interlinespace setups)
  • attribute use streamlined

spec-dpm.mkii, spec-dpx.mkii:

  • fix the use of unicode PDF /Titles

spec-fdf.mkii:

  • fix the use of unicode PDF /Titles and other info fields and bookmarks

spec-tpd.mkii:

  • fix the use of unicode PDF strings

spec-tst.mkii:

  • shortened considerably (unicode PDF code merged into other files above)

strc-bkm.lua, strc-bkm.mkiv:

  • PDF bookmark placements are now postponed until \stoptext (bugfix)

strc-blk.lua:

  • small internal optimizations

strc-blk.mkiv:

  • \defineblock can now handle a commalist
  • a \begingroup ... \endgroup block changed to \bgroup ... \egroup

strc-def.mkiv:

  • interlinespace initialization added to \setupstructureheads
  • small bugfixes to make mkiv more compatible to mkii

strc-des.mkiv:

  • small internal optimizations
  • support for parent numbers in descriptions
  • starter initialization added to \setupenumerations
  • some bugfixes

strc-doc.lua, strc-doc.mkiv:

  • small internal optimizations
  • support for sectionstarter= key

strc-flt.mkiv:

  • internal optimizations and cleanups
  • made various macros unexpandable
  • convert some internal Dutch macro names to English

strc-ini.lua:

  • small internal optimizations

strc-itm.mkiv:

  • various bugfixes

strc-lnt.mkiv:

  • small internal optimizations

strc-lst.lua, strc-lst.mkiv:

  • small internal optimizations and bugfixes

strc-mar.mkiv:

  • initialize current splitfirstmark and splitbotmark (bugfix)

strc-mat.mkiv:

  • remove unneeded definition of \startinnermath ... \stopinnermath block
  • \def\formulanumber{\doformulanumber} (bugfix)

strc-not.lua, strc-not.mkiv:

  • small internal optimizations
  • support left and right in rule setup
  • footnote texts now (re)use descriptions, adding many configuration possibilities
  • new macro \doifnoteonsamepageelse

strc-num.mkiv:

  • remove a spurious space
  • add support for starter, prefixstarter, and numberstarter parameters

strc-pag.lua, strc-pag.mkiv:

  • support starters
  • new function pages.is_odd()
  • new macros \decrement/\incrementsubpagenumber

strc-ref.lua:

  • small internal optimizations
  • various new functions for internal reference checking

strc-ref.mkii:

  • new macros \doifurldefinedelse and \doiffiledefinedelse

strc-ref.mkiv:

  • new macros \referencesymbol, \symbolreference
  • new macros \doifurldefinedelse and \doiffiledefinedelse
  • made various macros unexpandable

strc-reg.lua:

  • small internal optimizations
  • new function jobregisters.userdata

strc-reg.mkii:

  • add a \space (bugfix)

strc-reg.mkiv:

  • various small changes

strc-ren.mkiv:

  • various small changes

strc-sec.mkiv:

  • extended (work in progress)

strc-syn.mkiv:

  • small internal optimizations

supp-fil.lua, supp-fil.mkiv:

  • lua version of \usemodule: usemodule()
  • better statistics
  • some code moved over to the lua side

supp-ran.lua:

  • bugfix for freezing/defrosting random seeds

syst-aux.mkiv:

  • new low-level macros: \setuvalue, \setuevalue, \setugvalue, \setuxvalue (automatically adds \unexpanded)
  • new macro \strictdoifnextoptionalelse
  • better dimension parser
  • better definition of \resettimer and \elapsedtime

syst-ext.mkii:

  • new macro \strictdoifnextoptionalelse

syst-ini.tex:

  • \scaledpoint is now a \dimen instead of a \chardef
  • stronger pdf compression defaults

syst-lua.lua:

  • new function commands.doifdimenstringelse()
  • small internal optimizations

tabl-ntb.mkii:

  • bugfix for overlapping rowspans

tabl-ntb.mkiv:

  • bugfix for overlapping rowspans
  • new boolean \tightTBLrowspanfalse

tabl-tab.mkiv:

  • use \strut instead of local defintion of \StrutHeightFactor and \StrutDepthFactor
  • \setuptables made unexpandable

tabl-tbl.mkii:

  • force a multiplier for \topskip (bugfix)

tabl-tbl.mkiv:

  • new macros \beginreshapedtabulatepar and \endreshapedtabulatepar
  • force a multiplier for \topskip (bugfix)
  • \setuptabulate made unexpandable

task-ini.lua:

  • reordered source code
  • freeze the file callbacks

trac-deb.lua:

  • partially rewritten logic

trac-deb.mkiv:

  • new macros \showexperiments, \enableexperiments, \disableexperiments

trac-inf.lua:

  • new functions statistics.resettiming, statistics.elapsedsections, commands.resettimer, commands.elapsedtime

trac-lmx.lua:

  • rewritten

trac-log.lua:

  • fix module banner
  • internal optimizations
  • new functions logs.reportbanner() and logs.fatal()

trac-tex.mkiv:

  • new macro \nomkivstatistics (shortens the 'context' statistics report)
  • new macro \traceluausage

trac-tim.lua:

  • goodies table renamed to plugins

trac-tra.lua:

  • new functions experiments.enable(), experiments.disable()
  • new directive: system.nostatistics

type-def.mkii, type-def.mkiv:

  • fallbacks removed

type-ini.mkii:

  • always read files with the current mk suffix

type-ini.mkiv:

  • \starttypescriptcollection and \stoptypescriptcollection made unexpandable
  • map file loading delegated to lua

type-mac.mkii:

  • typescripts for the core macosx fonts added (xetex)

type-mac.mkiv:

  • typescripts for the core macosx fonts added

type-one.mkii, type-one.mkiv:

  • reorganized source (possibly there are additions)

type-otf.mkii, type-otf.mkiv:

  • fallback typescript added
  • reorganized source (possibly there are additions)

type-siz.mkii, type-siz.mkiv:

  • environment definitions added (previously elsewhere)

type-tmf.mkii. type-tmf.mkiv:

  • reorganized source (some code went to type-one)

typo-brk.lua, typo-brk.mkiv:

  • internal cleanup

typo-cap.lua, typo-cap.mkiv:

  • internal cleanup
  • some macros made unexpandable
  • new macro \notsmallcapped
  • new start-stop pair: randomized (case randomization)

typo-krn.lua, typo-krn.mkiv:

  • extended a bit

typo-mir.lua, typo-mir.mkiv:

  • mirror table & attribute renamed to mirroring
  • internal cleanups

typo-spa.lua, typo-spa.mkiv:

  • attribute use streamlined

verb-eif.mkii, verb-ini.mkii, verb-js.mkii, verb-jv.mkii, verb-pas.mkii, verb-raw.mkii, verb-sql.mkii:

  • internal cleanups
  • load mark file instead of .tex files

x-asciimath.lua, x-asciimath.mkiv, x-calcmath.lua, x-ct.lua:

  • internal cleanup

x-fig-03.tex:

  • load mark file instead of .tex file

x-ldx.tex:

  • explicitly use x-mathml module
  • small changes

x-mathml.lua, x-mathml.mkiv:

  • small changes

bibl-apa-de.tex:

  • use Kapitel instead of chapter

generic/context/luatex-fonts-merged.lua:

  • changes to embedded libraries (see above)

generic/context/luatex-fonts.lua:

  • loadmodule for map loading changed location

generic/context/luatex-mplib.lua:

  • small optimization

generic/context/luatex-test.tex:

  • additional test for protrusion and expansion