03-05-2018, 09:22 AM | #16 | ||
Guru
Posts: 924
Karma: 53902736
Join Date: Jun 2015
Device: multiple
|
Quote:
Quote:
Now based on the Markdown syntax guide, instead of using ## to mark chapter breaks, maybe I'm supposed to use #title# or ##title## to mark the chapter headers? I can't find anything specific on chapters. P.S. I *can* get Html file breaks with just ##, but I don't get any table of contents. I went through all the conversion options, and can't find "Generate ToC from Files." I tried "Force use of Auto-Generated Table of Contents," but it didn't do anything. Last edited by MarjaE; 03-05-2018 at 09:50 AM. |
||
03-05-2018, 10:17 AM | #17 |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
Then you did everything right, since you ended up with separate html files, which was the intended results of the first steps. To get the table of contents, you have to do the last step that was in my original post. The first two steps were to have separate files for each section that will later be listed in your table of contents.
Open the editor. Click on the ToC button. Click on Generate Toc from files. Then click on Ok at the bottom and exit the ToC plugin. You should now have a table of contents. You might have to go to Preferences, Toolbars, and add the ToC (table of contents) button to your toolbar. Adding ## to your text file won't generate the table of contents. You have to do the last step, so let me know if you still don't understand. |
Advert | |
|
03-05-2018, 10:57 AM | #18 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2018
Location: Quetzaltenango
Device: SONY Reader Wi-Fi PRS-T2
|
This works for text formatted as per PeterT in message #11:
Code:
pandoc --from markdown --to epub --output=outputfile.epub inputfile.txt |
03-06-2018, 05:02 AM | #19 | |
Wizard
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Quote:
It is not up to me to argument if someone like / have to use it or not. My intension was to give @MarjaE a functional example (as one of more possible solutions, like the one from @PeterT) and not running into these kind of discussions. I will now stop helping as it starts to be painful and a waste of time. |
|
03-06-2018, 07:57 AM | #20 | |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
Quote:
I think you and I were talking about two separate functions, so I was concerned that your posts were confusing to her and didn't answer her original question. |
|
Advert | |
|
Tags |
calibre, conversion, txt to epub, txt to mobi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there any downside to making REALLY short epubs? | Gregg Bell | Sigil | 8 | 05-21-2017 08:59 AM |
Sideloading epubs and mobis to the iPad under Linux | davidnye | Devices | 2 | 06-01-2012 08:30 AM |
Rudy Rucker on Making Epubs | Snooty Baronet | ePub | 7 | 09-25-2011 01:35 AM |
Making ePubs show cover image on Kobo. | Vanguard3000 | ePub | 3 | 01-03-2011 02:11 PM |
Making epubs for Stanza on Ipod Touch | Quasar | Calibre | 2 | 04-08-2010 10:35 PM |