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

Peter Seibel peter at javamonkey.com
Thu Sep 30 21:34:44 UTC 2004


"Marc Battyani" <marc.battyani at fractalconcept.com> writes:

> Bob Hutchison wrote:
>> On Sep 30, 2004, at 4:39 PM, Marc Battyani wrote:
>>
>> > The multipass mechnism is integrated into typeset:with-document so it
>> > should
>> > work in your code.
>> >
>> > As they are several passes you should use:
>> >
>> >  (when (typeset::final-pass-p)
>> >    (pdf:write-document file))
>>
>> This doesn't seem to make any difference. I'm not sure what happens if
>> it isn't the final pass? how does the document get written?
>>
>> >
>> > To avoid writing the pdf file during the intermediate passes.
>> > (I will probably redefine write-document in typeset to handle this more
>> > easily.)
>> >
>> > How many passes go you get ?
>> > What are the values of *current-pass* *undefined-references*
>> > *changed-references* ?
>>
>> I am getting current pass: 1, undefined references: NIL,
>> changed-references: NIL
>
> This is not good. When the ref id is not yet defined,
> #'find-ref-point-page-number should push the missing ref id in
> *undefined-references*. This would start a second pass.

So, it looks like in my case that it's finding the ref-point. It's
just that the page-number slot of the ref point is set to 999 and is
never getting reset. What's supposed to trigger that?

-Peter

-- 
Peter Seibel                                      peter at javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp




More information about the cl-typesetting-devel mailing list