Automatic compilation of Pro Git 2 Chinese to PDF and epub

in utopian-io •  7 years ago  (edited)

The compilation uses asciidoctor to generate the ebooks and the PDF. That needed to reorganize the files to fit with the requirements of the tools.
See https://github.com/progit/progit2-zh/commit/315678522c4a85f0e716931511b1cb369eb74f05

One additional difficulty was that Chinese is part of CJK languages for which the layout of PDF needs to be adapted in asciidoctor by using the tools provided by @chloerei

The compilation is automatically run on Travis- CI
at https://travis-ci.org/progit/progit2-zh
. The ebook is checked for internal consistency with epubcheck and the corresponding revision is tagged if everything is ok.

This build is orchestrated by pulling files from another dedicated repository https://progit/progit2-pub

Then the files are uploaded to the release and made available in github, but also on
https://git-scm.com/book/zh

image.png

This is part of the general effort to produce ebooks for all translations of Pro Git. I hope in the near future to be able to run for Japanese, Korean , Indonesian and many more.



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

@jnavila, Like your contribution, upvote.

Your contribution cannot be approved because it does not follow the Utopian Rules. I can see a lot of generated code in your commit and very minimal actual development work.

Generated code or other results of automated processes will not be accepted.

You can contact us on Discord.
[utopian-moderator]

Congratulations @jnavila! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

Click here to view your Board

Do not miss the last post from @steemitboard:

Valentine challenge - Love is in the air!

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @jnavila! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

Valentine's day challenge - Give a badge to your beloved!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!