Context 2010.07.30

From ConTeXt wiki

< Release Notes

These are the changes in the current distribution between 2010.05.24 and 2010.07.30.

News for cont-ext.zip

no changes

News for cont-img.zip

no changes

News for cont-mpd.zip

  • mptodf.pl version 1.40, which no longer automatically runs texexec --mptex (mp label data is assumed to be plain TeX by default now)

News for cont-ppc.zip

no changes

News for cont-tmf.zip

Deleted files

  • data/textadept/context.lua
  • scripts/context/lua/luatools.lua
  • scripts/context/lua/luatools.rme
  • scripts/context/lua/mtxrun.rme
  • scripts/context/stubs/mswin/luatools.lua
  • tex/context/base/data-kps.lua
  • tex/context/base/trac-lmx.mkiv

New files

  • fonts/data/tests/texmfhome.otf
  • scripts/context/lua/mtx-base.lua
  • scripts/context/stubs/mswin/mptopdf.exe
  • scripts/context/stubs/mswin/setuptex.bat
  • scripts/context/stubs/unix/mptopdf
  • tex/context/base/attr-div.lua
  • tex/context/base/attr-div.mkiv
  • tex/context/base/context.lus
  • tex/context/base/data-env.lua
  • tex/context/base/data-exp.lua
  • tex/context/base/data-ini.lua
  • tex/context/base/data-met.lua
  • tex/context/base/font-clr.lua
  • tex/context/base/font-oth.lua
  • tex/context/base/grph-epd.lua
  • tex/context/base/grph-epd.mkiv
  • tex/context/base/lpdf-epa.lua
  • tex/context/base/lpdf-epd.lua
  • tex/context/base/lpdf-tag.lua
  • tex/context/base/luat-cod.lua
  • tex/context/base/luat-fmt.lua
  • tex/context/base/m-mathcrap.mkiv
  • tex/context/base/math-tag.lua
  • tex/context/base/metatex.lus
  • tex/context/base/node-acc.lua
  • tex/context/base/node-spl.lua
  • tex/context/base/node-spl.mkiv
  • tex/context/base/s-pre-68.tex
  • tex/context/base/s-pre-69.tex
  • tex/context/base/s-pre-96.tex
  • tex/context/base/strc-tag.lua
  • tex/context/base/strc-tag.mkiv
  • tex/context/base/syst-mes.mkiv
  • tex/context/base/trac-pro.lua
  • tex/context/base/trac-set.lua
  • tex/context/base/trac-tex.lua
  • tex/context/base/type-dejavu.mkiv
  • tex/context/fonts/xits-math.lfg
  • tex/context/patterns/lang-bg.lua
  • tex/context/patterns/lang-ca.lua
  • tex/context/patterns/lang-cs.lua
  • tex/context/patterns/lang-cy.lua
  • tex/context/patterns/lang-da.lua
  • tex/context/patterns/lang-de.lua
  • tex/context/patterns/lang-deo.lua
  • tex/context/patterns/lang-es.lua
  • tex/context/patterns/lang-et.lua
  • tex/context/patterns/lang-eu.lua
  • tex/context/patterns/lang-fi.lua
  • tex/context/patterns/lang-fr.lua
  • tex/context/patterns/lang-gb.lua
  • tex/context/patterns/lang-hr.lua
  • tex/context/patterns/lang-hu.lua
  • tex/context/patterns/lang-is.lua
  • tex/context/patterns/lang-it.lua
  • tex/context/patterns/lang-la.lua
  • tex/context/patterns/lang-lt.lua
  • tex/context/patterns/lang-mn.lua
  • tex/context/patterns/lang-nb.lua
  • tex/context/patterns/lang-nl.lua
  • tex/context/patterns/lang-nn.lua
  • tex/context/patterns/lang-pl.lua
  • tex/context/patterns/lang-pt.lua
  • tex/context/patterns/lang-ro.lua
  • tex/context/patterns/lang-ru.lua
  • tex/context/patterns/lang-sk.lua
  • tex/context/patterns/lang-sl.lua
  • tex/context/patterns/lang-sr.lua
  • tex/context/patterns/lang-sv.lua
  • tex/context/patterns/lang-tk.lua
  • tex/context/patterns/lang-tr.lua
  • tex/context/patterns/lang-uk.lua
  • tex/context/patterns/lang-us.lua
  • tex/context/patterns/lang-zh.lua
  • tex/context/sample/khatt-ar.tex
  • tex/context/sample/khatt-en.tex

Renamed files

none

Changed files

Data files

lm-math.lfg:

  • add stmary10

keys-xx.xml:

  • add variables bigger, smaller, reference

lang-nb.pat, lang-nn.pat:

  • updated (one extra pattern: 6ans6ti )

luatex-fonts-merged.lua:

  • changes to embedded libraries (see below)

luatex-fonts.lua:

  • stop loading node-ini, node-res, node-fnt

context.cnf:

  • various updates

contextcnf.lua:

  • new structure

scripts

mtx-babel.lua:

  • trivial header change

mtx-cache.lua:

  • trivial header change
  • small rewrite

mtx-check.lua:

  • trivial header change

mtx-context.lua:

  • private debugging options removed
  • --purge and --purgeall cleaned up
  • --purgeresult purges the result file before the run (handy in automated flows)
  • support --closepdf option
  • format generation cleaned up (now internally instead of via os.execute)
  • trivial header change

mtx-convert.lua:

  • trivial header change

mtx-fonts.lua:

  • new option --statistics
  • explicit case lowering on filename extensions (bugfix)
  • trivial header change

mtx-grep.lua:

  • trivial header change

mtx-interface.lua:

  • trivial header change

mtx-metatex.lua:

  • format generation cleaned up (now internally instead of via os.execute)

mtx-modules.lua:

  • trivial header change

mtx-mptopdf.lua:

  • trivial header change

mtx-package.lua:

  • trivial header change

mtx-patterns.lua:

  • trivial header change
  • fix for agr (ancient greek)
  • eo (esperanto) support dropped because of bad pattern behaviour
  • fa (farsi) support dropped
  • generation of lang-XX.lua files added, adding --path and --destination options

mtx-profile.lua:

  • trivial header change

mtx-scite.lua:

  • trivial header change

mtx-texworks.lua:

  • trivial header change

mtx-tools.lua:

  • trivial header change

mtx-update.lua:

  • trivial header change
  • now uses mtxrun instead of luatools
  • luatools no longer needs selfmerge
  • auto-create texmf-fonts
  • disable rsync symlink following on windows

mtx-watchdog.lua:

  • trivial header change

mtxrun.lua:

  • internal library changes (see below)
  • two renamed options:
 --make   -> --makestubs
 --remove -> --removestubs
  • Lots of options taken over from luatools:
 --[show]-variables
 --[show]-expansions
 --[show]-configurations
 --find-file
 --find-path
 --expand-braces
 --expand-path
 --expand-var
 --show-path / --path-value
 --var-value / --show-value
 --format-path
 --pattern
 --generate
 --make
 --run
 --fmt
 --help
 --verbose
 (basically this means that luatools is now obsolete)
 
  • MTXRUN_EDITOR now falls back to gvim instead of vim

mptopdf.pl:

  • version 1.40, which no longer automatically runs texexec --mptex (mp label data is assumed to be plain TeX by default now)

kpse.rb:

  • delegate to mtxrun where possible

tex.rb:

  • add --pdftitle switch

texexec.rb:

  • add --pdftitle commandline option

mtxrun.dll:

  • new version (see below)

mtxrun_dll.c:

  • delegate to mtxrun base instead of luatools
  • delegate to mtxrun instead of texmfstart
  • accept texlua.exe in the folder of mtxrun.dll as a last resort

stubs/unix/luatools:

  • is now a stub for mtxrun --script base

metapost files

mp-core.mp:

  • support for par_right_skip (esp negative values)
  • internal cleanup

mp-mlib.mp:

  • a missing type definitions (bugfix)

macro files

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

  • lots of non-initialization attribute (color/transparency) related code (re)moved

back-ini.lua:

  • new hook code for structure tags and pdf reference / layer merging

back-pdf.lua:

  • internal cleanups

back-pdf.mkiv:

  • \appendtoks finalizedocument() \to \everylastbackendshipout disabled (replaced by finish_pdffile ?)

bibl-bib.lua:

  • internal cleanups

bibl-bib.mkiv:

  • use \dotypesetbibtextpublication instead of \doplacepublicationindeed (bugfix)

bibl-tra.lua:

  • internal cleanups
  • sorting fix

blob-ini.lua:

  • convert numbers to strings (bugfix)

buff-ini.lua:

  • new function buffers.evaluate()

buff-ini.mkiv:

  • add pdf tagging support
  • new macro \ctxluabuffer which evaluates a buffer cf. \getbuffer for TeX macros (experimental)

buff-ver.mkiv:

  • add \everyresettypesetting to the \everyinitializeverbatim register
  • add pdf tagging support

catc-act.tex:

  • new macro \installanddefineactivecharacter

catc-ini.mkiv:

  • code removed from \newcatcodetable: \startruntimectxluacode tex.\expandafter\gobbleoneargument\string#1 = \number#1 ;\stopruntimectxluacode}

char-def.lua:

  • various small fixes

chem-ini.lua, chem-str.lua:

  • internal cleanup in logging interface

cont-new.mkiv:

  • small logging change

cont-new.tex:

  • context version 2010.07.30 11:35
  • disable \let\cs\getvalue (bugfix)

context.mkiv:

  • removed \newif\ifCONTEXT
  • old mark file no longer loaded: trac-lmx
  • new mark files loaded: syst-mes, attr-div, strc-tag, node-spl, grph-epd.
  • removed reporting of cache/config paths

context.tex

  • context version 2010.07.30 11:35

core-con.lua:

  • make tochinese() a local function

core-def.mkiv:

  • remove \preloadlanguages and \preloadspecials from \everyjob

core-env.mkiv:

  • setups code rewritten, \startluasetups .. \stopluasetups and \luasetup added

core-fil.mkiv:

  • use {} instead of \empty in module parameter macros

core-job.mkiv:

  • remove \preloadspecials test

core-mis.mkiv:

  • add pdf tagging support
  • new macro: \subsentence (redefinition?)

core-sys.mkiv:

  • add pdf tagging support

core-uti.lua:

  • internal cleanup in logging interface
  • correct the code for 'main' -> 'luatex' table rename

core-uti.mkiv:

  • remove storage.dump(), storage.finalize(), and nodes.cleanup_reserved() from \everydump
  • remove definitions of \ifutilitydone, \checkutilities, \currentutilityfilename, \installedprogram, \installplugin (obsolete)

data-aux.lua:

  • internal cleanup in logging interface

data-con.lua:

  • internal cleanup in logging interface
  • support for multiple cache paths

data-crl.lua:

  • small simplifications

data-ctx.lua:

  • fix filename creation
  • log used files in the rl file via new directive "system.dumpfiles"

data-lst.lua:

  • add pattern argument to list() function

data-lua.lua:

  • internal cleanup in logging interface

data-pre.lua:

  • small internal cleanup

data-res.lua:

  • code distributed over other data modules
  • texmfcnf.lua replaces regular texmf.cnf file
  • not used code removed

data-sch.lua:

  • internal cleanup in logging interface
  • fix in name generation

data-tex.lua:

  • internal cleanup in logging interface

data-tmf.lua:

  • mostly rewritten

data-tmp.lua:

  • support for multiple cache paths

data-tre.lua:

  • internal cleanup

data-use.lua:

  • some code (re)moved

data-zip.lua:

  • internal cleanup in logging interface

font-afm.lua:

  • internal cleanup in logging interface
  • get_indexes() simplified (code moved to caller)

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

  • internal cleanup in logging interface

font-ctx.lua:

  • internal cleanup in logging interface
  • font color code (re)moved

font-def.lua:

  • internal cleanup in logging interface
  • font goodies code moved here

font-enc.lua:

  • internal cleanup

font-enc.lua, font-ext.lua:

  • internal cleanup in logging interface

font-fbk.lua:

  • typo fixed

font-gds.lua:

  • internal cleanup in logging interface

font-ini.lua:

  • internal cleanup in logging interface
  • explicit downcase of font file name (bugfix)

font-ini.mkii:

  • simplified by (re)moving feature code

font-ini.mkiv:

  • register lua files: font-clr and font-oth
  • font goodies support
  • fix an issue with 'big' and 'small' in font setup
  • the virtualmath feature set now has language=dflt,script=math
  • \definealternativestyle macros adjusted

font-log.lua, font-map.lua:

  • internal cleanup in logging interface

font-mis.lua:

  • bugfix in cache reading

font-ota.lua:

  • two extra locals (optimization)

font-otb.lua:

  • internal cleanup in logging interface
  • extra table code in gref() (??)

font-otc.lua, font-otd.lua:

  • internal cleanup in logging interface

font-otf.lua:

  • internal cleanup in logging interface
  • fix kerning classes initialization (??)
  • fix for horizontal / vertical math variants

font-otn.lua:

  • internal cleanup in logging interface
  • attribute paranoia added

font-otp.lua:

  • internal cleanup in logging interface

font-ott.lua:

  • k = language added in otf.meanings.normalize() (bugfix?)

font-pat.lua:

  • internal cleanup in logging interface
  • some pre-0.48 luatex code removed

font-syn.lua:

  • internal cleanup in logging interface
  • use getenv instead of env[] for MTX.FONTS.AUTOLOAD (bugfix)
  • check for "FONTCONFIG_FILE" environment variable
  • tracing code added
  • '*' expansion in lookups

font-tfm.lua:

  • internal cleanup in logging interface

font-xtx.mkii:

  • feature code moved here from font-ini.mkii

grph-fig.mkiv:

  • add pdf tagging support
  • add 'interaction' key

grph-inc.lua:

  • internal cleanup in logging interface
  • small other cleanups
  • fix caching (??)

grph-inc.mkiv:

  • new macro \figuresize
  • add 'interaction' key support

grph-u3d.lua:

  • internal cleanup in logging interface

l-aux.lua:

  • remove a bit of unreachable code

l-boolean.lua:

  • string.is_boolean() now accepts a default return value

l-dimen.lua:

  • bugfix in toscaled()

l-dir.lua:

  • trap nil and false in mkdirs()

l-file.lua:

  • path spec collapser rewritten

l-lpeg.lua:

  • new functions lpeg.stripper(), lpeg.replacer(), lpeg.firstofsplit(), lpeg.secondofsplit()

l-os.lua:

  • environment handling code rewritten
  • platform rename: kfreebsd-64 -> kfreebsd-amd64

l-pdfview.lua:

  • use resolvers.getenv() instead of os.getenv()

l-table.lua:

  • new functions table.sequenced() and table.print()

l-url.lua:

  • internal cleanups
  • file:// debugged

l-utils.lua:

  • internal cleanup

lang-ger.tex:

  • mutlilingual interface fix for english-based languages

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

  • partial rewrite to make use of lang-XX.lua files

lang-lab.mkiv:

  • various internal fixes

lang-sla.mkiv:

  • labels for Croatian

lang-wrd.lua:

  • internal cleanup in logging interface

lpdf-ano.lua:

  • internal cleanup in logging interface
  • fix for non-existing pages etc. cf. pdf/a specification

lpdf-fld.lua:

  • internal cleanup in logging interface

lpdf-ini.lua:

  • internal cleanup in logging interface
  • tiny changes (??)

lpdf-ini.mkiv:

  • register lua file lpdf-tag

lpdf-mis.lua:

  • Add support for page number labels

lpdf-pdfx.lua:

  • additional color profile support

lpdf-ren.lua, lpdf-swf.lua, lpdf-u3d.lua, lpdf-wid.lua:

  • internal optimizations

lpdf-xmp.lua:

  • new directive backend.verbosexmp

luat-bas.mkiv:

  • some low-level status message code removed

luat-cbk.lua:

  • internal cleanup in logging interface
  • callback tracing support added
  • some buildpage_filter magic (??)

luat-cnf.lua:

  • initialize a bunch of mem size variables just in case

luat-cod.mkiv:

  • register lua file luat-cod (tex code removed)

luat-dum.lua:

  • multiple cache path support

luat-env.lua:

  • internal cleanup in logging interface
  • environment handling rewritten

luat-exe.lua:

  • internal cleanup in logging interface
  • new function executer.check()

luat-fio.lua:

  • reorganized a bit
  • set texconfig.shell_escape='t'
  • no more overloads of kpse library

luat-ini.lua:

  • small internal changes

luat-ini.mkiv:

  • new macro \ctxluacode

luat-iop.lua:

  • change in debugging code

luat-lib.mkiv:

  • register new lua files: trac-set trac-pro data-ini data-exp data-env data-met data-aux

luat-run.lua:

  • correct the code for 'main' -> 'luatex' table rename
  • register pre_dump callbacks

luat-sto.lua:

  • internal cleanup in logging interface
  • small other changes

lxml-aux.lua, lxml-ent.lua, lxmp-lpt.lua, lxml-tab.lua, lxml-tex.lua:

  • internal cleanup in logging interface

m-barcodes.lua, m-pstricks.lua, m-pstricks.mkiv:

  • switch to moduledata namespace

m-punk.mkiv:

  • internal changes
  • removed the punknova typescript

m-timing.lua:

  • switch to moduledata namespace

math-def.lua:

  • default to \plainbigdelimiters (bugfix for \big cs.)

math-ext.lua:

  • add glyph 0xFE324: MATHEMATICAL SHORT BAR MIRRORED (aka \mapsfromchar)

math-ini.lua:

  • internal cleanup in logging interface

math-ini.mkiv:

  • register lua file math-tag
  • support for alternate math alphabets (\mathaltcal)
  • make \enablembox unexpandable

math-int.mkiv:

  • repeated integrals reimplemented

math-map.lua:

  • internal cleanup in logging interface
  • some extra paranoia
  • table.merge -> table.merged bugfix

math-noa.lua:

  • internal cleanup in logging interface
  • support for pdf tagging
  • support math alternates

math-vf.lua:

  • internal cleanup in logging interface
  • special code for combined char placements (\not\subset etc.)
  • support for mapsfromchar

meta-pdf.lua:

  • internal cleanup in logging interface

metatex.tex:

  • load mark files syst-mes and attr-ini

mlib-ctx.lua, mlib-pdf.lua:

  • internal cleanup in logging interface

mlib-pdf.mkiv:

  • support for pdf tagging

mlib-pps.lua:

  • internal cleanup in logging interface

mlib-pps.mkiv:

  • fix text color problem

mlib-run.lua:

  • internal cleanup in logging interface
  • support for mplib 1.5

mtx-context-arrange.tex:

  • force engine=luatex

mult-cld.lua:

  • internal cleanup in logging interface

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

  • add interface variables bigger,reference,smaller

mult-ini.mkiv:

  • \dosetvalue macros simplified

mult-sys.tex:

  • new system constants lefthyphenchar, righthyphenchar, goodies
  • new system variables el, me

node-aux.lua:

  • attribute code moved here

node-dum.lua:

  • various new internal helpers

node-fnt.lua:

  • some code moved to node-dum.lua

node-ini.lua:

  • some code moved to node-aux.lua

node-ini.mkiv:

  • attribute code removed
  • register lua file node-acc.lua

node-inj.lua:

  • internal cleanup in logging interface

node-mig.lua:

  • internal cleanup in logging interface
  • new tracker nodes.migrations

node-par.lua, node-pro.lua, node-ref.lua:

  • internal cleanup in logging interface

node-res.lua:

  • new function nodes.noad()
  • remove pre-luatex 0.51 code
  • register node cleanup finalizer

node-rul.lua:

  • internal cleanup in logging interface
  • various small internal changes

node-rul.mkiv:

  • add a \relax after numexpr (bugfix)

node-tra.lua, node-tsk.lua:

  • internal cleanup in logging interface

pack-rul.mkiv:

  • make \vboxednewline and \hboxednewline unexpandable

page-flt.lua:

  • internal cleanup in logging interface

page-flt.mkiv:

  • bugfix for floatboxes disappearing during output

page-ini.mkiv:

  • small change to \output handling

page-lin.lua:

  • internal cleanup in logging interface

page-mul.mkiv:

  • small changes to \output handling

page-str.lua:

  • internal cleanup in logging interface

page-str.mkii:

  • localfloat code removed

s-abr-01.tex:

  • make some special logos unexpandable

s-cdr-01.tex:

  • support cd-linewidth and cd-color options

s-fnt-23.tex:

  • bugfix

s-fnt-25.tex:

  • variants -> cvariants (??)
  • support range limiting (no high PUA glyphs), enabled by default
  • examples simplified

s-mod-02.tex:

  • make mkiv safe

s-pre-50.tex:

  • make mkiv safe

s-pre-66.tex:

  • demo code added

s-pre-93.tex:

  • remove \setupoutput[pdftex]

scrp-cjk.lua:

  • bugfix

scrp-ini.lua, sort-ini.lua:

  • internal cleanup in logging interface

spac-ver.lua:

  • internal cleanup in logging interface
  • new tracker: nodes.vpacking

spac-ver.mkiv:

  • add command= key to \startlines

strc-des.mkiv:

  • add pdf tagging support

strc-doc.lua:

  • internal cleanup in logging interface

strc-doc.mkiv:

  • fix missing = sign in asssingment list

strc-flt.mkii:

  • localfloats code moved here

strc-flt.mkiv:

  • add pdf tagging support

strc-ini.lua:

  • internal cleanup in logging interface

strc-itm.mkiv:

  • add pdf tagging support

strc-lst.lua:

  • internal cleanup in logging interface
  • new function lists.enforce()

strc-lst.mkiv:

  • support for destination attributes
  • some macros make \unexpandable
  • add pdf tagging support

strc-mat.mkiv:

  • support for destination attributes
  • add pdf tagging support

strc-not.lua:

  • internal cleanup in logging interface
  • paranoia
  • notes.setsymbolpage() enhanced

strc-not.mkiv:

  • bugfix (??)

strc-num.lua, stc-pag.lua, strc-ref.lua:

  • internal cleanup in logging interface

strc-ref.mkiv:

  • bugfixes
  • add pdf tagging support
  • new macro \gotowdhtbox

strc-reg.lua:

  • internal cleanup in logging interface

strc-reg.mkiv, strc-sbe.mkiv, strc-sec.mkiv:

  • add pdf tagging support

supp-fil.lua, supp-ran.lua:

  • internal cleanup in logging interface

syst-lua.lua:

  • commands.writestatus/writedebug simplified

tabl-ntb.mkiv:

  • \bTABLE and \eTABLE made unexpandable
  • add pdf tagging support

tabl-tbl.mkiv:

  • add pdf tagging support

task-ini.lua:

  • reorganized

trac-deb.lua:

  • extended

trac-deb.mkiv:

  • register lua file trac-lmx
  • removed \everyjob hook functions

trac-inf.lua, trac-log.lua:

  • reimplemented

trac-tex.mkiv:

  • register lua file trac-tex, tex macro code removed
  • new macro \nomkivstatistics

trac-tim.lua

  • move from plugins to moduledata namespace

trac-tra.lua:

  • reimplemented

type-ini.mkii:

  • fallback support code removed

type-ini.mkiv:

  • goodies support added

type-one.mkii:

  • updated for new iwona release

type-otf.mkii:

  • features=default added to \definetypeface
  • lucida typescript definitions removed

type-otf.mkiv:

  • interface internationalization fixes
  • liberation, libertine typescripts cleaned up
  • biolinum, stix, xits, punk (=punknova) typescripts added

typo-brk.lua:

  • new tracker typesetting.breakpoints
  • new function breakpoints.set()

typo-brk.mkiv:

  • \setbreakpoints redone cf. changes in typo-brk.lua

typo-cas.lua:

  • redone

typo-cas.mkiv:

  • \setcharactercasing redone cf. changes in typo-cas.lua

typo-dig.lua:

  • redone

typo-dig.mkiv:

  • \setdigitsmanipulation redone cf. changes in typo-dig.lua

typo-ini.mkiv:

  • new token register \everyresettypesetting

typo-krn.lua:

  • redone

typo-krn.mkiv:

  • \setcharacterkerning redone cf. changes in typo-krn.lua

typo-mir.lua, typo-rep.lua:

  • internal cleanup in logging interface

typo-spa.lua:

  • redone

typo-spa.mkiv:

  • \setcharacterspacing redone cf. changes in typo-spa.lua

x-asciimath.lua:

  • internal cleanup in logging interface

x-calcmath.lua:

  • move to moduledata namespace

x-mathml.mkiv:

  • new environment: \startmml ... \stopmml

x-set-11.mkiv:

  • small changes