Context 2006.07.13 released
Hello all, I am pleased to announce that the new ConTeXt release from Hans Hagen can be downloaded as of now from the Pragma ADE website or one of its mirrors. http://www.pragma-ade.com/context/current/cont-tmf.zip http://context.aanhet.net/context/current/cont-tmf.zip http://mirror.contextgarden.net/context/current/cont-tmf.zip The current release has version 2006.07.13 A very short list of changes is given below. As usual, there is an html page with more detailed release notes available on the Wiki, see: http://wiki.contextgarden.net/Release_Notes New features since 2006.05.11: * The use of \sometxt in MetaPost figures (instead of \textext) can remove the need for indirect "texexec" runs, resulting in a massive speed improvement for heavy documents. * Table splitting is reimplemented and improved * Initial support for the new TeXGyre font families * A new release of the bib module, with better support for interaction and per-chapter bibliographies * Some small extensions to \framed * The database module now supports ASCII (non-TeX) files with CSV quoting * \setupformulae accepts a conversion parameter now * More built in math support (matrices etc.) * A prerelease of the "koeieletters" font * A new module for R integration * Itemizations can be randomized (for multiple-choice courseware) * Support for typesetting OpenMath (via MathML) Happy TeXing, Taco Hoekwater
On Jul 14, 2006, at 11:54, Taco Hoekwater wrote:
New features since 2006.05.11:
* The use of \sometxt in MetaPost figures (instead of \textext) can remove the need for indirect "texexec" runs, resulting in a massive speed improvement for heavy documents.
Do I understand correct that this is meant to generally replace \textext from inside metapost figures? Is the following change correct, for example: % prevent wobbling of text boxes with uneven depth pic := textext("\setbox0=\hbox{"&labeltext&"}\dp0=0pt\box0"); into: pic := sometxt("\setbox0=\hbox{"&labeltext&"}\dp0=0pt\box0"); Are there restrictions? When to use \sometxt and when is there need for \textext? Hans van der Meer
Hans van der Meer wrote:
On Jul 14, 2006, at 11:54, Taco Hoekwater wrote:
New features since 2006.05.11:
* The use of \sometxt in MetaPost figures (instead of \textext) can remove the need for indirect "texexec" runs, resulting in a massive speed improvement for heavy documents.
Do I understand correct that this is meant to generally replace \textext from inside metapost figures?
Is the following change correct, for example: % prevent wobbling of text boxes with uneven depth pic := textext("\setbox0=\hbox{"&labeltext&"}\dp0=0pt\box0"); into: pic := sometxt("\setbox0=\hbox{"&labeltext&"}\dp0=0pt\box0");
this should work
Are there restrictions? When to use \sometxt and when is there need for \textext?
when such texts are used in e.g. mp loops, you should use textext Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi, I'have updated my local ConTeXt to rel. 2006.07.14 and I obtain : <to be read again> directdiscretionary l.71 enddef \directdiscretionary {;} Cheers, Renaud
Minimal test: \useencoding[ffr] \mainlanguage[fr] \starttext Un essai, de ponctuation; un autre. \startuseMPgraphic{testMP} draw origin--(1cm,1cm); draw (origin--(1cm,1cm)) rotated 180; \stopuseMPgraphic \placefigure[here]{none}{\useMPgraphic{testMP}} \stoptext texexec returns: This is MetaPost, Version 0.901 (Web2C 7.5.3) (test-mpgraph.mp
currentpen.directdiscretionary ! Improper type. <to be read again> { l.145 draw origin--(1cm,1cm)\directdiscretionary { ;}
Renaud AUBIN a écrit :
Hi,
I'have updated my local ConTeXt to rel. 2006.07.14 and I obtain :
<to be read again> directdiscretionary l.71 enddef \directdiscretionary {;}
Cheers,
Renaud _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Renaud AUBIN wrote:
Hi,
I'have updated my local ConTeXt to rel. 2006.07.14 and I obtain :
<to be read again> directdiscretionary l.71 enddef \directdiscretionary {;}
Cheers,
anything funny in your cont-loc/cont-sys or so? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen a écrit :
Renaud AUBIN wrote:
Hi,
I'have updated my local ConTeXt to rel. 2006.07.14 and I obtain :
<to be read again> directdiscretionary l.71 enddef \directdiscretionary {;}
Cheers,
anything funny in your cont-loc/cont-sys or so?
Hi Hans, The problem is apparently due to \useencoding[ffr] \mainlanguage[fr] without it works well... All I can say is: It was working well before updating (ConTeXt 2006.06.09 + bib beta 5)... I have just updated cont-tmf... It's maybe due to \scanurl-related modifications ??? My cont-sys.tex: %D \module %D [ file=cont-sys, %D version=1995.10.10, %D title=\CONTEXT\ Miscellaneous Macros, %D subtitle=System Specific Setups, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA / Hans Hagen \& Ton Otten}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. \unprotect % Speed up typescript loading, but at the cost of much memory: % \preloadtypescripts % If you want another default font: % % \let\preloadfonts\relax % \usetypescript[palatino][\defaultencoding] % \setupbodyfont[palatino,rm,12pt] % % Please make sure that this defines rm, ss, tt and mm. % Occasionally we will support both A4 and letter in % styles. If you want letter size paper to be the default, % uncomment: % % \enablemode[\systemmodeprefix letter] % % If you always want to default to letter, you may uncomment % the following line, but beware: it makes your documents less % portable: % % \setuppapersize[letter][letter] % If you want some extras, just uncomment the following % line: % % \usemodule[plus] % experimental code % % Here you can take care of overloading some (style) % defaults. What goes here, depends on your local system. % The following commands sets the default font encoding: % \setupencoding [\s!default=texnansi] % % or: %\setupencoding [\s!default=ec] % If you want the default berry names: % % \usetypescript [berry] [\defaultencoding] % % or, if you also want other encodings: \usetypescript [berry] [ec,t5,8r] % texnansi is never present % If you run into missing font metrics kind of problems, % you may want to uncomment: % % \usetypescript[adobekb] [\defaultencoding] % You can let \CONTEXT\ load the map files for \PDFTEX. \autoloadmapfilestrue % (1) you can prevent loading with: % % \preloadmapfile[<...somename...>.map] % % (2) otherwise, use this if you have a fast machine % %\resetmapfiles \usetypescript [map] [base] [all] % % (3) or this if it's a slow one: \resetmapfiles \donefalse \ifx\pdftexversion\undefined \else \ifnum\number\pdftexversion>119 \donetrue \fi \fi \ifdone \loadmapfile[original-base.map] \loadmapfile[original-ams-base.map] \loadmapfile[original-public-lm.map] \else \loadmapfile[original-base.map] \loadmapfile[texnansi-base.map] \loadmapfile[ec-base.map] \loadmapfile[qx-base.map] \loadmapfile[t5-base.map] %loadmapfile[il2-base.map] %loadmapfile[pl0-base.map] \loadmapfile[8r-base.map] \loadmapfile[original-ams-base.map] \loadmapfile[original-ams-euler.map] \loadmapfile[original-public-lm.map] \loadmapfile[texnansi-public-lm.map] \loadmapfile[ec-public-lm.map] \loadmapfile[qx-public-lm.map] \loadmapfile[t5-public-lm.map] %loadmapfile[pl0-public-lm.map] %loadmapfile[il2-public-lm.map] \fi % When you have your own fonts installed, you may want to predefine: % \usetypescriptfile[type-buy] % Some styles default to Lucida Bright. You can overload % Lucida by Times cum suis. Watch out, the pos collection % is not scaled relatively. % % \definetypescriptsynonym [lbr] [pos] % Compensate for missing files: % % \definefontsynonym [gbhei] [gbsong] % \definefontsynonym [gbheisl] [gbsong] % \definefontsynonym [gbheisl] [gbsong] % Setting up a global figure path % % \setupexternalfigures [\c!directory={e:/fig/eps,t:/mine/figs}] % % Loading a specific special driver: % % \setupoutput [dviwindo] % Changing language defaults % % \setuplanguage % [nl] % [\c!leftquote=\upperleftsinglesixquote, % \c!leftquotation=\upperleftdoublesixquote] % Loading local preferences, for example % % \input prag-gen % company styles % \input prag-log % more company styles % % Enabling run time \METAPOST\ (also enable \write18 in % texmf.cnf): \runMPgraphicstrue \runMPTEXgraphicstrue % This saves some runtime, but needs a format, which you can % make with 'texexec --make --alone metafun'. Make sure that % the mem files are moved to the used web2c path (locate with % 'kpsewhich plain.mem'). \useMETAFUNformattrue % This can be a way to get things working on system with % name clashes. (Some \TeX's tend do search system wide.) \protectbufferstrue % You can enable a more extensive figure searching, but % normally this is not really needed and even annoying. % % \runutilityfiletrue % So far. \protect \endinput
Renaud AUBIN wrote:
Hans Hagen a écrit :
Renaud AUBIN wrote:
Hi,
I'have updated my local ConTeXt to rel. 2006.07.14 and I obtain :
<to be read again> directdiscretionary l.71 enddef \directdiscretionary {;}
Cheers,
anything funny in your cont-loc/cont-sys or so?
Hi Hans,
The problem is apparently due to \useencoding[ffr] \mainlanguage[fr]
without it works well...
All I can say is: It was working well before updating (ConTeXt 2006.06.09 + bib beta 5)... I have just updated cont-tmf... It's maybe due to \scanurl-related modifications ???
My cont-sys.tex:
%D \module %D [ file=cont-sys, %D version=1995.10.10, %D title=\CONTEXT\ Miscellaneous Macros, %D subtitle=System Specific Setups, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA / Hans Hagen \& Ton Otten}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details.
\unprotect
% Speed up typescript loading, but at the cost of much memory: % \preloadtypescripts
% If you want another default font: % % \let\preloadfonts\relax % \usetypescript[palatino][\defaultencoding] % \setupbodyfont[palatino,rm,12pt] % % Please make sure that this defines rm, ss, tt and mm.
% Occasionally we will support both A4 and letter in % styles. If you want letter size paper to be the default, % uncomment: % % \enablemode[\systemmodeprefix letter] % % If you always want to default to letter, you may uncomment % the following line, but beware: it makes your documents less % portable: % % \setuppapersize[letter][letter]
% If you want some extras, just uncomment the following % line: % % \usemodule[plus] % experimental code % % Here you can take care of overloading some (style) % defaults. What goes here, depends on your local system.
% The following commands sets the default font encoding: % \setupencoding [\s!default=texnansi] % % or:
%\setupencoding [\s!default=ec]
% If you want the default berry names: % % \usetypescript [berry] [\defaultencoding] % % or, if you also want other encodings:
\usetypescript [berry] [ec,t5,8r] % texnansi is never present
% If you run into missing font metrics kind of problems, % you may want to uncomment: % % \usetypescript[adobekb] [\defaultencoding]
% You can let \CONTEXT\ load the map files for \PDFTEX.
\autoloadmapfilestrue
% (1) you can prevent loading with: % % \preloadmapfile[<...somename...>.map] % % (2) otherwise, use this if you have a fast machine % %\resetmapfiles \usetypescript [map] [base] [all] % % (3) or this if it's a slow one:
\resetmapfiles
\donefalse \ifx\pdftexversion\undefined \else \ifnum\number\pdftexversion>119 \donetrue \fi \fi \ifdone
\loadmapfile[original-base.map] \loadmapfile[original-ams-base.map] \loadmapfile[original-public-lm.map]
\else
\loadmapfile[original-base.map] \loadmapfile[texnansi-base.map] \loadmapfile[ec-base.map] \loadmapfile[qx-base.map] \loadmapfile[t5-base.map] %loadmapfile[il2-base.map] %loadmapfile[pl0-base.map] \loadmapfile[8r-base.map]
\loadmapfile[original-ams-base.map] \loadmapfile[original-ams-euler.map]
\loadmapfile[original-public-lm.map] \loadmapfile[texnansi-public-lm.map] \loadmapfile[ec-public-lm.map] \loadmapfile[qx-public-lm.map] \loadmapfile[t5-public-lm.map] %loadmapfile[pl0-public-lm.map] %loadmapfile[il2-public-lm.map]
\fi
% When you have your own fonts installed, you may want to predefine: % \usetypescriptfile[type-buy]
% Some styles default to Lucida Bright. You can overload % Lucida by Times cum suis. Watch out, the pos collection % is not scaled relatively. % % \definetypescriptsynonym [lbr] [pos]
% Compensate for missing files: % % \definefontsynonym [gbhei] [gbsong] % \definefontsynonym [gbheisl] [gbsong] % \definefontsynonym [gbheisl] [gbsong]
% Setting up a global figure path % % \setupexternalfigures [\c!directory={e:/fig/eps,t:/mine/figs}] % % Loading a specific special driver: % % \setupoutput [dviwindo]
% Changing language defaults % % \setuplanguage % [nl] % [\c!leftquote=\upperleftsinglesixquote, % \c!leftquotation=\upperleftdoublesixquote]
% Loading local preferences, for example % % \input prag-gen % company styles % \input prag-log % more company styles % % Enabling run time \METAPOST\ (also enable \write18 in % texmf.cnf):
\runMPgraphicstrue \runMPTEXgraphicstrue
% This saves some runtime, but needs a format, which you can % make with 'texexec --make --alone metafun'. Make sure that % the mem files are moved to the used web2c path (locate with % 'kpsewhich plain.mem').
\useMETAFUNformattrue
% This can be a way to get things working on system with % name clashes. (Some \TeX's tend do search system wide.)
\protectbufferstrue
% You can enable a more extensive figure searching, but % normally this is not really needed and even annoying. % % \runutilityfiletrue
% So far.
\protect \endinput
hm, messy active french ; again ... \ifx\disablediscretionaries\undefined \let\disablediscretionaries\relax \fi \appendtoks \disablediscretionaries \to \everyMPgraphic add this to cont-new.tex Soon we will get rid of the active stuff (since pdftex has pre/post char kerning features built in now Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Hans van der Meer
-
Renaud AUBIN
-
Taco Hoekwater