problems with book and vm template for apt

View: New views
1 Messages — Rating Filter:   Alert me  

problems with book and vm template for apt

by Pablo Gra\~na :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi all:

I am trying to generate a latex doc from my apt documentation. Everything works
fine except until I decided to use a vm template for one of my apt docs. Here
are some relevant fragments of files:

The book configuration:
user-manual.xml
....
     <chapter>
       <id>getting-started</id>
       <title>Getting started</title>
       <sections>
         <section>
           <id>getting-started</id>
         </section>
       </sections>
     </chapter>
....

I have in the src/site/apt directory I have a file named getting-started.apt.vm.

building the site (mvn site) fails with:

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

Embedded error: No document that matches section with id=getting-started.
[INFO] ------------------------------------------------------------------------

If I just use getting-started.apt, everything works fine.

thanks all

--
Pablo Gra\~na
Chief Architect
Globant
Arg Office: +54 (11) 4109 1743
UK  Office: +44 (20) 7043 8269 int 8043
US  Office: +1 (212) 400 7686 int 8043