Re: Fedora Publishing

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 02/05/2016 10:33 PM, Paul W. Frields wrote:
> 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!

It's even better than that, it means once you pick a tool it's not even much of
an effort to convert to a format it can import or use.

Cheers, Jeff.

- -- 
Jeff Fearn
Senior Software Engineer
PnT - DevOps - Development
Red Hat Asia Pacific Pty Ltd
http://dilbert.com/fast/2004-08-17/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWt8nKAAoJELs3R4zxGZvKY9IH/2gfZh+EMCgUB6D4t6w90wzj
x3xmK4THEhIsmcWzaV6G4Axu6VCiCaRCc2IvW0spa1hFDvmm2xWywuNXVmr7Tba8
uoeSrwV2SHceNUZ0vqRae4P2cL7DYFDIpTZW6p4rDUR0yOGfq1HLxriPqfUryCtq
CTenmwLCLqfJkjdGNW+wukzC4k59RTfVGMidRvyFtRmr8GorAPDHO47YdMmN7EGS
b4KvBOI4x+jPJugcMDIDqoMY1rIHd6efgvfkKSxdb4ebJg663DxtnIE0ti+dJ/qw
Fq3pFxe1qg7rlBudMtEhj87Ly482b+lPSojTIfzdFm0Jy5mUFYxEl9SqRSQi9Yg=
=H/ht
-----END PGP SIGNATURE-----
--
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