![]() |
#1 |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Sep 2018
Device: 2nd gen. Kindle Fire HD 8.9
|
Create non-fiction pamphlet on Linux?
My primary workstation(s) run Linux. I've started reading ebooks and use Calibre as my ebook archive. I've gotten interested in creating non-fiction pamphlets for my own use and on occasion for direct distribution to others.
I have a private personal journal I keep with Nanoc, a static site generator. Vim is used as the editor. Yes, I'm a tech geek (now retired). In the past I've used LyX – The Document Processor for work related technical reports. In fact, my first thought is write in LyX and then convert to epub in Calibre. Discussion please. Let me know about existing threads to look at. |
![]() |
![]() |
![]() |
#2 |
eReader Wrangler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,841
Karma: 51000001
Join Date: Mar 2013
Location: Boise, ID
Device: PB HD3, GL3, Tolino Vision 4, Voyage, Clara HD
|
I use Linux and have created a few ePub documents, but my method is extremely simple. Like you, I use a text editor for the initial writing (Jstar, a WordStar-like Joe variant), then I read that file into LibreOffice Writer (after removing the extra hard carriage returns so the text will flow, probably not necessary in vim). Then I format the document however I want, save as ODT and read that into Calibre. And then just convert to ePub. It comes out pretty well. Nothing fancy. No diagrams or images.
|
![]() |
![]() |
![]() |
#3 | |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Sep 2018
Device: 2nd gen. Kindle Fire HD 8.9
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
cacoethes scribendi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
Note that LibreOffice v6 has an epub filter of its own now. I have not yet tried it out, but you may be able to avoid the Calibre step for epub construction - if you want.
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Sep 2018
Device: 2nd gen. Kindle Fire HD 8.9
|
How about HTML -> pandoc -> epub
This looks promising to me. I have actually used "Pro Git" Creating an ebook with pandoc A real book To see what this would look like for a real book, let’s convert Scott Chacon’s book Pro Git, which he wrote using pandoc’s markdown variant and released under a Creative Commons license. (If you use the book, please consider buying a copy to help support his excellent work.) |
![]() |
![]() |
![]() |
#6 |
cacoethes scribendi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
If HTML is what you write in then pandoc might be a reasonable choice.
I try to keep the production chain as short as I can. I write in LibreOffice and from there I can go direct to epub (ebooks - currently via plug-in but now hopefully by built-in filter) or to PDF (print books), so I'm covered. But narrative fiction is easy. For non-fiction you're going to have to shop around until you find what works for you, starting with the base/original source material - whether that be raw HTML, LaTeX or whatever. (Saying you use Vim as an editor doesn't actually tell us what you're creating.) |
![]() |
![]() |
![]() |
#7 | |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Sep 2018
Device: 2nd gen. Kindle Fire HD 8.9
|
The thead so far
rcentros workflow Quote:
pandoc markdown -> pandoc -> epub And another workflow. I work with Nanoc already and have programmed with Ruby Nanoc static HTML site generator like Ruby Red Bricks with follow up All in LIbreOffice would be the most direct route. Last edited by cootcraig; 10-05-2018 at 11:23 AM. Reason: meant LibreOffice not AbiWord |
|
![]() |
![]() |
![]() |
#8 |
eReader Wrangler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,841
Karma: 51000001
Join Date: Mar 2013
Location: Boise, ID
Device: PB HD3, GL3, Tolino Vision 4, Voyage, Clara HD
|
If Writer in LibreOffice had the WordStar keystrokes I might write directly in it more often. But I'm not that fond of WYSIWYG for the writing process because I'm always worried about "how it looks" instead of what I'm writing. And text files will always be readable and easily manipulated. But mostly it's the WordStar keystrokes and commands that I want. They're hard-wired into my fingers from my DOS days.
|
![]() |
![]() |
![]() |
#9 | |
cacoethes scribendi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
Not sure I'd characterise my posts as suggesting "all". My first post merely suggested that you might try doing the "to epub" step using LibreOffice. The second post mentioned that I do it all in LibreOffice but was not supposed to indicate that I expected you to - that is going to depend on the requirements of your non-fiction publication. However, I do stand by the idea that keeping your toolchain as short as you can is a good thing (unless you also want to publish a book called "the making of my book"
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Sep 2018
Device: 2nd gen. Kindle Fire HD 8.9
|
Another approach. Ruby Red Bricks writes about Ruby ePub with Franklin
Franklin is a static-site framework, optimized for online books. |
![]() |
![]() |
![]() |
#11 |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Sep 2018
Device: 2nd gen. Kindle Fire HD 8.9
|
|
![]() |
![]() |
![]() |
#12 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
It's mostly just a basic wrapper around their XHTML export. |
|
![]() |
![]() |
![]() |
#13 | |
eReader Wrangler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,841
Karma: 51000001
Join Date: Mar 2013
Location: Boise, ID
Device: PB HD3, GL3, Tolino Vision 4, Voyage, Clara HD
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#14 |
eReader Wrangler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,841
Karma: 51000001
Join Date: Mar 2013
Location: Boise, ID
Device: PB HD3, GL3, Tolino Vision 4, Voyage, Clara HD
|
Agreed. I haven't been very happy with ePubs produced in LibreOffice, but I've got an older version so I thought maybe things had improved with the newer versions. I've had a lot better luck importing the LO Writer file (in native format) to Calibre and then converting to ePub from there.
|
![]() |
![]() |
![]() |
#15 | ||||
cacoethes scribendi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,818
Karma: 137770742
Join Date: Nov 2010
Location: Australia
Device: Kobo Aura One & H2Ov2, Sony PRS-650
|
Quote:
![]() Quote:
Quote:
Quote:
Wordstar shortcuts for Writer. The link is offered for information, NOT recommendation. From the post it seems apparent this is only partial solution, use at your own risk, backup your existing settings first, etc. etc.. As I sit here typing this I could be spending the time on a project that's been waiting for me for almost 12 months with bugger all very little progress thanks to work taking up all my head space. ... I think this all presents a lesson in the difference between professional and amateur. I am a professional software developer, I can turn it on and off at will (well, on, turning off is much harder). I am, regrettably, only an amateur writer, turning it on takes considerable and effort which means I need a big slice of time just to get started. |
||||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rudy Rucker's Pamphlet on e-Book Creation | Prestidigitweeze | General Discussions | 2 | 03-18-2014 12:42 AM |
History Gandhi, Mohandas K.: The Green Pamphlet, v.1, 27 April 2008 | vivaldirules | IMP Books | 0 | 04-27-2008 05:11 PM |
History Gandhi, Mohandas K.: The Green Pamphlet, v.1, 27 April 2008 | vivaldirules | Kindle Books | 0 | 04-27-2008 05:09 PM |
History Gandhi, Mohandas K.: The Green Pamphlet, v.1, 27 April 2008 | vivaldirules | BBeB/LRF Books | 0 | 04-27-2008 05:07 PM |