View Single Post
Old 04-10-2021, 01:43 PM   #3
Dekker500
Junior Member
Dekker500 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2019
Device: Web + Pixel(Android)
But that is what I don't understand...

I use the ebook-convert with the following arguments:
Code:
ebook-convert '.\Pathless Trail - Manual Edit.txt' .\PT.epub --formatting-type markdown --input-encoding UTF-8 --markdown-extensions=footnotes,tables,toc,smarty,nl2br --extra-css "./custom.css"
and the custom.css is thus:
Code:
.mytitle {
    display: block;
    font-size: 1.41667em;
    font-weight: bold;
    line-height: 1.2;
    margin: 0.83em 0;
	text-align:center
    }
.mysubtitle {
    display: block;
    line-height: 1.2;
    text-align:center;
    color:blue
    }
The conversion seems to happen OK:
Code:
Conversion options changed from defaults:
  extra_css: './custom.css'
  markdown_extensions: 'footnotes,tables,toc,smarty,nl2br'
  formatting_type: 'markdown'
  input_encoding: 'UTF-8'
...
but when I explode the .epub file I can find no instance of "mytitle". Where should it be located in the final epub file?
Dekker500 is offline   Reply With Quote