jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven Doxia Tools
  • DOXIATOOLS-23

Nested APT file directories and PDF generation

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: doxia-book-1.2
  • Fix Version/s: None
  • Component/s: Book
  • Labels:
    None
  • Environment:
    OSX 10.5.7, Java 5, Maven 2.2

Description

Hi

I have a chapter declared like this in xxx.xml:

<chapter>
<id>xxx_Integration</id>
<title>xxx Integration</title>
<sections>
<section>
<id>xxx/index</id>
</section>
</sections>
</chapter>

Where:

src/site/apt/xxx/integraion

Contains some documentation specific to xxx.

When I try to use mvn site with this config in pom.xml:

<book>
<directory>src/site/apt</directory>
<descriptor>src/site/xxx.xml</descriptor>
<formats>
<format>
<id>pdf</id>
</format>
</formats>
</book>

I get this error:

ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error while generating book in format 'pdf'.

Embedded error: No document that matches section with id=xxx/index.

I don't know whether this should work, or whether this is a new feature request.

Thanks

Nathan

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Lukas Theussl added a comment - 15/Jul/09 6:34 AM

I think this should work. It's not very intuitive though since slashes are not legal characters in Doxia id's. But as far as I know, the section id is only used by the book code to resolve relative links between different source documents, so slashes are necessary if you have sub-directories.

Anyway, I think the book descriptor is too complicated in general and should be replaced by something more usable. It's probably going to be deprecated in a future major doxia release.

Show
Lukas Theussl added a comment - 15/Jul/09 6:34 AM I think this should work. It's not very intuitive though since slashes are not legal characters in Doxia id's. But as far as I know, the section id is only used by the book code to resolve relative links between different source documents, so slashes are necessary if you have sub-directories. Anyway, I think the book descriptor is too complicated in general and should be replaced by something more usable. It's probably going to be deprecated in a future major doxia release.
Hide
Permalink
Nathan Sowatskey added a comment - 15/Jul/09 8:07 AM

Thanks. It doesn't work. Would you like to me to provide a test case to help facilitate a fix, or is the description sufficient?

Show
Nathan Sowatskey added a comment - 15/Jul/09 8:07 AM Thanks. It doesn't work. Would you like to me to provide a test case to help facilitate a fix, or is the description sufficient?
Hide
Permalink
Lukas Theussl added a comment - 15/Jul/09 8:38 AM

A test case always helps... if you have something ready please attach it. But I don't promise anything, I'm not very familiar with the book code.

Show
Lukas Theussl added a comment - 15/Jul/09 8:38 AM A test case always helps... if you have something ready please attach it. But I don't promise anything, I'm not very familiar with the book code.

People

  • Assignee:
    Unassigned
    Reporter:
    Nathan Sowatskey
Vote (0)
Watch (0)

Dates

  • Created:
    10/Jul/09 8:35 AM
    Updated:
    05/Apr/12 2:38 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.