Context 2010.05.21

From ConTeXt wiki

< Release Notes

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

News for cont-ext.zip

no changes

News for cont-img.zip

no changes

News for cont-mpd.zip

no changes

News for cont-ppc.zip

no changes

News for cont-tmf.zip

Deleted files

  • lang-no.*: obsolete
  • lang-ba.*: obsolete
  • lang-il.*: obsolete
  • chem-str-test.tex sort-lan-test.tex x-cml-test.tex x-cml-test.xml x-ct-test.tex x-ct-test.xml x-mmp-test.tex x-mmp-test.xml: tests

New files

  • bxml-apa.mkiv: for the new xml bib code (in progress)
  • lang-wrd.lua, lang-wrd.mkiv: spell checking code
  • lpdf-pdx.lua, lpdf-pdx.mkiv: PDF-X code
  • mtx-context-common.tex: shared mtx-context tex code
  • spac-hor.lua: code for spac-hor.mkiv
  • informal-math.lfg: goodies file for Informal
  • lang-cy.rme, lang-is.rme: readme's for patterns
  • lang-mn.*: patterns for Mongolian
  • lang-sr.*: patterns for Serbian (Cyrillic only; Mojca thinks that the name needs to be changed since Serbian could be also written with Latin script)
  • lang-zh.*: patterns for Chinese pinyin syllables (Mojca thinks that the name might need to be changed to make it clear that it's just for Pinjin and not for normal Chinese)

Renamed files

  • supp-mat.tex: split into mkii and mkiv.

Changed files

Data files

cont-xx-scite.properties:

  • reformatted

context-xxxx.lmx:

  • switch to text/javascript mimetype

cont-xx.xml:

  • range added to \setuptyping (was lines but that was already in use)
  • more documented values for \setuplinenumbering[location]

keys-xx.xml:

  • new variables: begin, end
  • new constant: monthconversion

lang-es.pat, lang-es.rme:

  • new version

lang-is.pat:

  • new version (now actually contains patterns)

lang-tk.pat, lang-tk.rme:

  • new version

scripts

All lua files: replacement of ipairs() by for loops; replacement of pairs() by next; replacement of sortedpairs by sortedhash (in preparation of lua 5.2)

  • luatools.lua: various changes integrated libraries (see below)
  • mtx-check.lua: extra lpeg check in 'setup' for empty brackets.
  • mtx-interface.lua: add check for environment searching for mult-def.lua and mult-des.lua
  • mtx-mptopdf.lua: message changed
  • mtx-patterns.lua: various language names and identifiers added/updated (catalan,welsh,ancient greek, esperanto, farsi, icelandic, mongolian, slovak, serbian, chinese Pinyin)
  • mtx-update.lua: now creates and empty 'texmf-project' TDS tree
  • mtx-watch.lua: fix 'machine' replacement
  • mtxrun.lua: various changes integrated libraries (see below)
  • x-ldx.lua: delete a block of code dealing with .cod escapes (??)

metapost files

no changes

macro files

All lua files: replacement of ipairs() by for loops; replacement of pairs() by next (in preparation of lua 5.2)

back-pdf.lua:

  • local pdfstring (bugfix)

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

  • various small improvements
  • new code for pure XML bibliography database support (work in progress)

bibl-tra.lua:

  • better compare function

bibl-tra.mkiv:

  • add default layout setting (bugfix for num style)
  • drop an \unskip and an \ignorespaces (bugfix)

buff-ini.lua:

  • detection of empty lines
  • new function: buffers.settablength

buff-ver.mkiv:

  • drop setting of \obeytabs (no longer needed)
  • new macro \askedverbatimtab (tab=yes/no support)
  • support align= key
  • fix indentnext

char-ini.lua:

  • new functions characters.upper, characters.lower

char-tex.lua:

  • characters.tex.toutf() improved

colo-hex.mkiv:

  • switch to x= key for hex color (was h=)

cont-new.tex:

  • context version 2010.05.21 11:10

context.mkii:

  • load supp-mat.mkii instead of supp-mat.tex

context.mkiv:

  • load supp-mat.mkiv instead of supp-mat.tex
  • load lpdf-pdx.mkiv and lang-wrd.mkiv

context.tex:

  • context version 2010.05.21 11:10

core-def.mkiv:

  • typo in \writestatus message

core-uti.lua:

  • add "processors" key
  • add assignment to pages (bugfix)

data-con.lua:

  • containers.is_valid(): don't test for table emptiness (bugfix)

data-res.lua:

  • switch to lpeg splitter

enco-ini.mkiv:

  • extra \empty inside \dohandleaccent (bugfix)
  • extra \defineaccent commands to handle cases like \^{}

font-ctx.lua:

  • new functions fonts.name_to_slot and fonts.char

font-dum.lua:

  • new functions fonts.otf.name_to_slot and fonts.otf.char

font-ini.mkiv:

  • \saverelativefontsize commented out
  • new: \savemathtextstyle \currentmathtextstyle \savefontclassparameters
  • internal save of fontclassfeatures and fontclassfallbacks now take the style into account
  • font variants (\variant, \definefontvariant) are now disabled

font-otc.lua:

  • removed functions otf.name_to_slot and otf.char

font-otn.lua:

  • support simple 'glyphs' lookups

font-tfm.lua:

  • new function tfm.checked_filename()

l-lpeg.lua:

  • new functions lpeg.split, lpeg.checkedsplit

l-table.lua:

  • provide a fallback definition for pairs(), ipairs() and unpack(), just in case

l-unicode.lua:

  • unicode.utftype: fix discovery of multi-byte UTF

lang-ini.lua:

  • small internal changes
  • languages.{} code moved to new file

lang-ini.mkiv:

  • spell checking code moved to different file
  • languages.enable() has an extra argument now

lang-sla.tex:

  • head text translation corrections

lpdf-ini.lua:

  • better pdf 'Name' escaping

lpdf-u3d.lua:

  • bugfixes

luat-env.lua:

  • add "x" to the environment

luat-ini.lua:

  • new function document.setfilename()

luat-ini.mkiv:

  • new macros \getdocumentargumentdefault, \doif{not,}documentfilename{else,}

luat-iop.lua:

  • internal changes

luat-sta.lua:

  • guard for broken state files

lxml-sor.lua:

  • switch xmlw to lua

lxml-tex.lua:

  • new functions finalizers.lower and finalizers.upper

m-database.tex:

  • bugfixes (utf-8)

m-narrowtt.tex:

  • use modern-condensed typescript instead of modern-cond

math-ini.mkiv:

  • new macro \mathstylefont
  • append \_ def to \everymathematics
  • some juggling with catcode of & (for \nonknuthmode)

math-int.mkiv:

  • fix handling of multi-integrals

meta-ini.mkii:

  • change to \activecharactermode (bugfix)

meta-ini.mkiv:

  • change handling of MP clippaths

meta-tex.mkii:

  • change to \activecharactermode (bugfix)

mlib-pps.lua:

  • ignore verbatimtex ... etex blocks

mtx-context-arrange.lua:

  • keep insertpages handling in lua

mtx-context-combine.tex:

  • move some code to mtx-context-common.tex

mtx-context-combine.tex:

  • change handling of paper sizes and nx/ny

mtx-context-listing.tex:

  • move some code to mtx-context-common.tex
  • load mtx-context-common.tex
  • handle topspace and backspace

mult-cld.lua:

  • internal changes (??)

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

  • new interface variables: begin, end
  • new interface constants: monthconversion, range

mult-ini.mkiv:

  • internal defs of \!!TLT and \!!TRT

mult-sys.tex:

  • new system constant: SerifCaps
  • new system variable: ic

node-tsk.lua:

  • small changes in generated output

pack-rul.mkiv:

  • replace $ by verbose primitives

page-lin.lua:

  • \makenumber now has an extra argument (direction)
  • remove test for node.first_character

page-lin.mkiv:

  • redefine \makenumber to eat 6 arguments
  • add support for begin/end values

page-mar.mkiv:

  • remove definitions of \lrlap and \rllap

pret-lua.lua:

  • updated for lua 5.2

s-abr-01.tex:

  • fix \THANH macro

s-map-01.tex:

  • remove \usemathcollection in mkiv mode

scrn-fld.mkiv:

  • replace $ by \mathematics

sort-ini.lua:

  • new tracker sorters.tests
  • rewrite

sort-lan.lua:

  • support cz sorting
  • internal cleanup
  • bugfix for sl sorting

sort-lan.mkii:

  • fix cz sorting

spac-hor.mkiv:

  • \unexpanded added to a bunch of macros
  • \outdented moved from bib module to here

strc-lst.mkiv:

  • small changes (bugfixes)

strc-mat.mkiv:

  • add \noindent before displays (vertical spacing fix)
  • change to \inside{sub,}formulas handling

strc-reg.lua:

  • simplifications

strc-reg.lua:

  • \goto goes to internal() now, not page()

strc-syn.mkiv:

  • handle \c!next parameters
  • add \currentsorting definition

supp-dir.mkiv:

  • new macro \showdirsinmargin
  • new direction test macros \is{tlt,trt,}{text,par}dir

supp-vis.tex:

  • additional macros \hfilneg, \vfilneg, \hfilllneg, \vfilllneg

syst-aux.mkiv:

  • new macro \getxparameters
  • small changes to \dosetvalue etc. (bugfix)

type-buy.mkiv:

  • informal typescript cleaned up

type-ini.mkiv:

  • \dodefinetypeface rewritten

type-one.mkii:

  • libertine typescript added

type-otf.mkiv:

  • computer-modern typescripts folded into latin-modern
  • modern-vari renamed to modern-variable
  • new typescripts modern-mono, modern-base-mono, modern-variable, modern-variable-light
  • support for font variants removed
  • antykwa-poltawskiego typescripts updated
  • iwona math typescripts removed
  • libertine typescript added
  • inconsolata typescript added

lua-fonts-merged.lua:

  • internal library changes (see above)