From: SourceForge.net <no...@so...> - 2005-04-01 09:38:24
|
Bugs item #1174719, was opened at 2005-04-01 12:38 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1174719&group_id=21935 Category: DocBook XSL Group: Print/FO/PDF Status: Open Resolution: None Priority: 5 Submitted By: Jere Kapyaho (jkapyaho) Assigned to: Nobody/Anonymous (nobody) Summary: ID attribute not output to FO from reference with partintro Initial Comment: The ID attribute of a reference element is not output to FO when there is a partintro in the reference. This causes an "unresolved internal destination" error from XEP 4.2. Bob Stayton in docbook-apps 2005-03-31: "I can see there is a bug in the logic of how a partintro in a reference is handled, and it affects the id for the reference." Here is the edited output from XEP: (document [system-id file:/H:/Projects/docbook-xsl-idbug/id-bug-sample.xml]Makin g portrait pages on USletter paper (8.5inx11in) (validate [validation OK]) ... [warning] unresolved internal destination: 'REF-1' ) (generate [output-format pdf][1][2][iii][4][5])) It was produced by this command in Windows 2000: c:\tools\xep-4.2\xep -xml id-bug-sample.xml -xsl c:\tools\docbook-xsl-1.68.1\fo\docbook.xsl -param draft.mode=no -pdf id-bug-sample.pdf Attached is a ZIP file containing a simple DocBook XML file, 'id-bug-sample.xml' and the resulting PDF, 'id-bug-sample.pdf'. In the PDF you can see that the ToC entry for the reference has '?' as the page number because the ID was not found. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1174719&group_id=21935 |