[cl-typesetting-devel] Page n of m?

Bob Hutchison hutch at recursive.ca
Fri Oct 1 13:26:10 UTC 2004


On Oct 1, 2004, at 8:52 AM, Bob Hutchison wrote:

>>
>> Another nice stuff related to references is the contextual variables. 
>> Have
>> you looked at it ?
>
> I just had a look. I added a contextual variable to keep track of the 
> paragraph count and I can show it in the header (yes, I know it isn't 
> a great example). Interesting effect going on, not sure why either, 
> but it seems that the paragraph count is not updated until after the 
> whole paragraph is completed (i.e. the counter will contain the number 
> of the last completed paragraph on the page). Actually, when I think 
> about it... when is the header 'computed' for the page? How is this 
> working at all? I've added the modified example at the end of this 
> post.

Sorry, my mistake. There are a bunch of errors in the code I used that 
wound up with that phenomenon. The contextual variables appear to work 
exactly as one would expect.

Cheers,
Bob





More information about the cl-typesetting-devel mailing list