Re: Fedora Publishing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/02/16 08:33, Jeff Fearn wrote:
> On 04/02/16 20:54, Paul W. Frields wrote:
>> For instance, AsciiDoc has really been embraced 
> 
> FYI it is easy to convert a Publican book to AsciiDoc.
> 
> $ publican build --formats xml --langs en-US
> $ cd tmp/en-US/xml
> $ xmllint --xinclude $main.xml --output escape_xml_hell.xml
> $ pandoc --to=asciidoc --from=docbook escape_xml_hell.xml -o foo.txt
> $ a2x -f xhtml foo.txt
> $ firefox foo.html
> 
> Fly my pretties, FLY!
> 
> Cheers, Jeff.
> 

P.S. You can then use po4a to get POT/PO files from the AsciiDoc.

Cheers, Jeff.

-- 
Jeff Fearn
Senior Software Engineer
PnT - DevOps - Development
Red Hat Asia Pacific Pty Ltd
http://dilbert.com/fast/2004-08-17/
--
docs mailing list
docs@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
http://lists.fedoraproject.org/admin/lists/docs@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux