{"id":9557,"date":"2021-03-17T14:17:58","date_gmt":"2021-03-17T18:17:58","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=9557"},"modified":"2021-03-17T14:17:58","modified_gmt":"2021-03-17T18:17:58","slug":"book-publishing-with-latex-and-pandoc","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=9557","title":{"rendered":"Book Publishing with LaTeX and Pandoc"},"content":{"rendered":"<p>Dan Grec was a software engineer who gave it all up for adventures of a different kind. Now he drives his Jeep all around the world living the life he\u2019d always dreamed of. He\u2019s also published a couple of books on his adventures. Since he\u2019s familiar and comfortable with computers, he decided that he\u2019d publish them himself and sell them on Amazon.<\/p>\n<p>While Amazon will give you some tools to help you get your book into their supported formats, you\u2019re mostly on your own. That means you have to produce camera ready PDF for the physical copies and .mobi files for the ebooks. If you\u2019ve never written a book, you have no idea how many tedious details and chores the publisher handles: copy editing, editorial advice, production, design and production of the front and back covers, and much more. When you self publish, all those responsibilities fall on you.<\/p>\n<p>Grec has a <a href=\"http:\/\/theroadchoseme.com\/how-i-self-published-a-professional-paperback-and-ebook-using-latex-and-pandoc?1\">long post<\/a> on how wrote and produced his books. Because he cares about production values and wanted his books to look professionally produced, he decided against using Word and produced LaTeX source instead. He used Pandoc to convert that to PDF and .epub files. He used an Amazon tool to convert the .epub files to the .mobi files required by Amazon.<\/p>\n<p>The post provides the details of his work flow including how he generated both formats from the same source. That\u2019s not quite as trivial as it seems because some aspects of the LaTeX markup are different depending on the target format. Grec used an Eclipse plugin for the actual editing but there\u2019s no reason it couldn\u2019t be done with Org mode from the comfort of Emacs.<\/p>\n<p>If you\u2019ve ever considered writing a book and selling it through Amazon, Grec\u2019s post is a worthwhile read.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dan Grec was a software engineer who gave it all up for adventures of a different kind. Now he drives his Jeep all around the world living the life he\u2019d always dreamed of. He\u2019s also published a couple of books &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=9557\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[129],"class_list":["post-9557","post","type-post","status-publish","format-standard","hentry","category-general","tag-writing"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9557"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9557\/revisions"}],"predecessor-version":[{"id":9558,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9557\/revisions\/9558"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}