* \placeregister[index][compress=yes] BROKEN ??
@ 2008-01-16 9:47 Steffen Wolfrum
2008-01-28 17:45 ` Taco Hoekwater
0 siblings, 1 reply; 6+ messages in thread
From: Steffen Wolfrum @ 2008-01-16 9:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
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)
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: \placeregister[index][compress=yes] BROKEN ??
2008-01-16 9:47 \placeregister[index][compress=yes] BROKEN ?? Steffen Wolfrum
@ 2008-01-28 17:45 ` Taco Hoekwater
2008-01-28 19:46 ` Steffen Wolfrum
2008-01-29 16:17 ` Steffen Wolfrum
0 siblings, 2 replies; 6+ messages in thread
From: Taco Hoekwater @ 2008-01-28 17:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: \placeregister[index][compress=yes] BROKEN ??
2008-01-28 17:45 ` Taco Hoekwater
@ 2008-01-28 19:46 ` Steffen Wolfrum
2008-01-29 16:17 ` Steffen Wolfrum
1 sibling, 0 replies; 6+ messages in thread
From: Steffen Wolfrum @ 2008-01-28 19:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: \placeregister[index][compress=yes] BROKEN ??
2008-01-28 17:45 ` Taco Hoekwater
2008-01-28 19:46 ` Steffen Wolfrum
@ 2008-01-29 16:17 ` Steffen Wolfrum
2008-01-29 16:45 ` Taco Hoekwater
1 sibling, 1 reply; 6+ messages in thread
From: Steffen Wolfrum @ 2008-01-29 16:17 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Taco Hoekwater
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
> ______________________________________________________________________
> _____________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: \placeregister[index][compress=yes] BROKEN ??
2008-01-29 16:17 ` Steffen Wolfrum
@ 2008-01-29 16:45 ` Taco Hoekwater
2008-02-06 21:00 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2008-01-29 16:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: \placeregister[index][compress=yes] BROKEN ??
2008-01-29 16:45 ` Taco Hoekwater
@ 2008-02-06 21:00 ` Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2008-02-06 21:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-02-06 21:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-16 9:47 \placeregister[index][compress=yes] BROKEN ?? Steffen Wolfrum
2008-01-28 17:45 ` Taco Hoekwater
2008-01-28 19:46 ` Steffen Wolfrum
2008-01-29 16:17 ` Steffen Wolfrum
2008-01-29 16:45 ` Taco Hoekwater
2008-02-06 21: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).