Re: Fedora Publishing

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

 



On Fri, Feb 05, 2016 at 10:18:20AM +1000, Jeff Fearn wrote:
> 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.

So for example, moving to smaller content/other tools/different markup
doesn't mean losing existing content.  Brilliant!

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
    The open source story continues to grow: http://opensource.com
--
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