ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Context 2006.07.13 released
@ 2006-07-14  9:54 Taco Hoekwater
  2006-07-14 13:24 ` Hans van der Meer
  2006-07-18  7:09 ` Renaud AUBIN
  0 siblings, 2 replies; 8+ messages in thread
From: Taco Hoekwater @ 2006-07-14  9:54 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Context 2006.07.13 released
  2006-07-14  9:54 Context 2006.07.13 released Taco Hoekwater
@ 2006-07-14 13:24 ` Hans van der Meer
  2006-07-14 13:31   ` Hans Hagen
  2006-07-18  7:09 ` Renaud AUBIN
  1 sibling, 1 reply; 8+ messages in thread
From: Hans van der Meer @ 2006-07-14 13:24 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Context 2006.07.13 released
  2006-07-14 13:24 ` Hans van der Meer
@ 2006-07-14 13:31   ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2006-07-14 13:31 UTC (permalink / raw)


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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Context 2006.07.13 released
  2006-07-14  9:54 Context 2006.07.13 released Taco Hoekwater
  2006-07-14 13:24 ` Hans van der Meer
@ 2006-07-18  7:09 ` Renaud AUBIN
  2006-07-18  7:19   ` Renaud AUBIN
  2006-07-18  8:26   ` Hans Hagen
  1 sibling, 2 replies; 8+ messages in thread
From: Renaud AUBIN @ 2006-07-18  7:09 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Context 2006.07.13 released
  2006-07-18  7:09 ` Renaud AUBIN
@ 2006-07-18  7:19   ` Renaud AUBIN
  2006-07-18  8:26   ` Hans Hagen
  1 sibling, 0 replies; 8+ messages in thread
From: Renaud AUBIN @ 2006-07-18  7:19 UTC (permalink / raw)


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
>
>
>  
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Context 2006.07.13 released
  2006-07-18  7:09 ` Renaud AUBIN
  2006-07-18  7:19   ` Renaud AUBIN
@ 2006-07-18  8:26   ` Hans Hagen
  2006-07-18  8:50     ` Renaud AUBIN
  1 sibling, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2006-07-18  8:26 UTC (permalink / raw)


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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Context 2006.07.13 released
  2006-07-18  8:26   ` Hans Hagen
@ 2006-07-18  8:50     ` Renaud AUBIN
  2006-07-18 10:00       ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Renaud AUBIN @ 2006-07-18  8:50 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 5244 bytes --]



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

[-- Attachment #1.2: Type: text/html, Size: 6620 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Context 2006.07.13 released
  2006-07-18  8:50     ` Renaud AUBIN
@ 2006-07-18 10:00       ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2006-07-18 10:00 UTC (permalink / raw)


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
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-07-18 10:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-14  9:54 Context 2006.07.13 released Taco Hoekwater
2006-07-14 13:24 ` Hans van der Meer
2006-07-14 13:31   ` Hans Hagen
2006-07-18  7:09 ` Renaud AUBIN
2006-07-18  7:19   ` Renaud AUBIN
2006-07-18  8:26   ` Hans Hagen
2006-07-18  8:50     ` Renaud AUBIN
2006-07-18 10:00       ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).