Nevermind--I was misreading the code. The condition is just determining
whether a bookmark list entry is created for the ToC page itself.
Cheers,
E.
On 8/29/11 10:50 AM, "Eliot Kimber" <drmacro@...> wrote:
> I'm reworking the bookmark list generation as part of my larger PDF
> refactor experiment.
>
> I notice that for bookmaps, the bookmark tree is only generated if
> there is a <toc> element that doesn't point to a resource. But for all
> other map types, the bookmark list is always generated.
>
> This seems inconsistent--I would expect the bookmark list to be
> generated in all cases and if you don't want a bookmark list there
> should be a runtime parameter to turn it off for all map types.
>
> I understand the Bookmap <toc> element to indicate where the ToC page
> goes in the main PDF flow, not whether or not there should be a
> bookmark tree.
>
> Is the current behavior reflective of some specific requirement or
> just the way the Idiom developers originally interpreted the Bookmap
> spec?
>
> Cheers,
>
> E.
>
>
> --
> Eliot Kimber
>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> Dita-ot-developer mailing list
> Dita-ot-developer@...
> https://lists.sourceforge.net/lists/listinfo/dita-ot-developer
--
Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 512.554.9368
http://www.reallysi.com
http://www.rsuitecms.com
|