---------- Forwarded message ---------- From: Bob Stayton <> Date: Tue, Sep 25, 2012 at 7:30 PM Subject: Re: [docbook-apps] Re: docbook-slides: footnote in title ?
This error comes from a bug in the old slides stylesheet that fails to process the title in the correct mode for the headers and footers. In fo, the title in its original location in the content can support links and footnotes. But copies of that title in the TOC cannot support links because the title in the TOC is already a link into the body of the document, and you cannot nest links. Similarly, footnote in a static-content area like header/footer is not supported in FO output. For these reasons, when a title is processed anywhere but for its original location, it should be processed in mode="title.markup" without setting the template param allow-anchors=1, and that is what the FO stylesheets do. That will skip footnotes among other things. The slides stylesheet processes the title for the header/footer in mode="titlepage.mode", which is the mode used for the original location of the title, and that mode uses allow-anchors=1, so it tries to include the footnote. In slides/plain.xsl, in the template named "running.head.mode", it uses mode="itlepage.mode". That should be changed to mode="title.markup" instead so that footnotes and links are ignored in the title. Bob Stayton Sagehill Enterprises -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

