\placeregister[index][compress=yes] BROKEN ??
Hi, please have a look at following minimal: \starttext \placeregister[index][compress=no] \blank[5*big] \placeregister[index][compress=yes] \page test text \index{test index} \section{heading} more test text \index{test index} \section{heading} more test text \index{test index} %\page test text% <--- comment / uncomment this line \page \section{heading text \index{test index}} more test text \index{test index} \page test text \index{test index} \section{heading text \index{test index}} more test text \index{test index} \stoptext The "compress=yes" seems to be corrupt. Steffen (I am using vers. 2008.01.03)
Steffen Wolfrum wrote:
Hi,
please have a look at following minimal:
I can confirm that it is indeed broken, but because of the mkii/mkiv split, it is hard for me to track the exact cause. Do you happen to know when the last moment (i.e. context release) was that it *did* work? Best wishes, Taco
\starttext
\placeregister[index][compress=no] \blank[5*big] \placeregister[index][compress=yes]
\page test text \index{test index} \section{heading} more test text \index{test index} \section{heading} more test text \index{test index} %\page test text% <--- comment / uncomment this line \page \section{heading text \index{test index}} more test text \index{test index} \page test text \index{test index} \section{heading text \index{test index}} more test text \index{test index}
\stoptext
The "compress=yes" seems to be corrupt.
Steffen (I am using vers. 2008.01.03)
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Am 28.01.2008 um 18:45 schrieb Taco Hoekwater:
Steffen Wolfrum wrote:
Hi,
please have a look at following minimal:
I can confirm that it is indeed broken, but because of the mkii/mkiv split, it is hard for me to track the exact cause. Do you happen to know when the last moment (i.e. context release) was that it *did* work?
Not ad hoc. But I can run some tests tomorrow. Thanks, Steffen
In context version 20070417 it works. The next one (2007-07-24) fails. Yours, Steffen Am 28.01.2008 um 18:45 schrieb Taco Hoekwater:
Steffen Wolfrum wrote:
Hi,
please have a look at following minimal:
I can confirm that it is indeed broken, but because of the mkii/mkiv split, it is hard for me to track the exact cause. Do you happen to know when the last moment (i.e. context release) was that it *did* work?
Best wishes, Taco
\starttext
\placeregister[index][compress=no] \blank[5*big] \placeregister[index][compress=yes]
\page test text \index{test index} \section{heading} more test text \index{test index} \section{heading} more test text \index{test index} %\page test text% <--- comment / uncomment this line \page \section{heading text \index{test index}} more test text \index{test index} \page test text \index{test index} \section{heading text \index{test index}} more test text \index{test index}
\stoptext
The "compress=yes" seems to be corrupt.
Steffen (I am using vers. 2008.01.03)
_____________________________________________________________________ ______________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net _____________________________________________________________________ ______________
______________________________________________________________________ _____________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ______________________________________________________________________ _____________
Steffen Wolfrum wrote:
In context version 20070417 it works. The next one (2007-07-24) fails.
And here is a document-level patch (mkii mode) that fixes it. I leave it up to Hans to formalize this properly. \unprotect % The standard \mkloadregister takes one 1 argument, not enough % because the before and after placeregister commands are then % not executed. Xtended definition: \def\mkloadregisterX#1#2#3% {\doutilities{#1}{\registerparameter\c!file}{#1}{#2}{#3}} \def\doplaceregister[#1][#2]% {\iffirstargument \begingroup \edef\currentregister{#1}% \setupregister[\currentregister][#2]% \doifelse{\registerparameter\c!compress}\v!yes % new {\chardef\collapseregisterpages\plusone} {\chardef\collapseregisterpages\zerocount}% \raggedright \startcolumns [\c!n=\registerparameter\c!n, \c!balance=\registerparameter\c!balance, \c!align=\registerparameter\c!align]% \dontcomplain \startpacked[\v!blank]% \mkloadregisterX % TH this does it \currentregister\dobeforeplaceregister\doafterplaceregister \stoppacked \stopcolumns \endgroup \fi} \protect Best wishes, Taco
Taco Hoekwater wrote:
Steffen Wolfrum wrote:
In context version 20070417 it works. The next one (2007-07-24) fails.
And here is a document-level patch (mkii mode) that fixes it. I leave it up to Hans to formalize this properly.
ok ----------------------------------------------------------------- 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 (3)
-
Hans Hagen
-
Steffen Wolfrum
-
Taco Hoekwater