[publican-list] Trouble changing a book's title

Jeffrey Fearn jfearn at redhat.com
Wed Feb 10 00:07:53 UTC 2010


Marius Bogoevici wrote:
> Hi,
> 
> I have created a document using publican as follows:
> 
> publican create --name guide --brand JBoss --type book
> 
> (I intend to create a guide for one of our examples). This generates all 
> the appropriate files, including guide.xml. However, once I change the 
> title of the book in Book_Info.xml, the documentation won't build using 
> publican anymore. For example, once I change it to:
> 
> <bookinfo id="book-guide-guide">
> <title>Example Guide</title>
> 
> the publican build will look for a file named Example_Guide.xml (and 
> will fail).
> 
> My question is whether there is a way to have a book title that is 
> different from the name of the documentation xml (i.e. the intended 
> title is much longer than Example Guide and I'm not sure I want to 
> create a file which such a long name; also, if the title changes, the 
> build with break, so I would like to avoid that as well).

You can set docname in publican.cfg and it will use that instead of 
extracting it from Book_Info.xml

e.g.

docname: guide

Cheers, Jeff.

-- 
Jeff Fearn <jfearn at redhat.com>
Software Engineer
Engineering Operations
Red Hat, Inc
Freedom ... courage ... Commitment ... ACCOUNTABILITY




More information about the publican-list mailing list