imk / docbkx-tools

Automatically exported from code.google.com/p/docbkx-tools
0 stars 0 forks source link

generate-pdf fails when collectXRefTargets=only #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set collectXrefTargets=only
2. Run generate-pdf goal
3. Check error transcript

What is the expected output? What do you see instead?

Expected output is that the olinkdb file is generated and the PDF is not.
The FO is not generated, but the PDF transformation phase is still attempted 
and this fails because the FO is not present.

What version of the product are you using? On what operating system?
2.0.14 Mac OS X Mountain Lion

Please provide any additional information below.

Original issue reported on code.google.com by nkers...@gmail.com on 19 Nov 2013 at 9:57

GoogleCodeExporter commented 9 years ago
Comited in r278: #106, xref database are generated using attribute 
collectXrefTargets with value "yes" or "only".

The file will be named <filename>.<extension>.target.db

I don't know much about linking documents in docbook, do I have to make 
something else?

Original comment by MimilO...@gmail.com on 7 Jan 2014 at 5:08

GoogleCodeExporter commented 9 years ago
The target.db generation was already happening correctly, it was just that the 
PDF generation step was failing (due to reasons given above). 

To verify that the issue has been rectified, you would need to set 
collectXRefTargets=only, and ensure that the generate-pdf target does not fail.

Original comment by nkers...@gmail.com on 9 Jan 2014 at 10:14

GoogleCodeExporter commented 9 years ago
Yes it works now, the pdf is not created. The pluging now generated the 
.target.db file in the proper location but "targetsFilename" filename attribut 
will be overriden.

Original comment by MimilO...@gmail.com on 10 Jan 2014 at 10:58

GoogleCodeExporter commented 9 years ago

Original comment by MimilO...@gmail.com on 19 Jan 2014 at 7:05