From b3de042dd3b6f73caf38534c01933afd064dfc05 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 15 Mar 2021 18:02:02 +0100 Subject: [PATCH] =?UTF-8?q?PDF=E2=86=92EPUB:=20Add=20more=20menu=20markup.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/posts/how-i-convert-pdfs-to-epub.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/posts/how-i-convert-pdfs-to-epub.adoc b/content/posts/how-i-convert-pdfs-to-epub.adoc index 72157dd..4c086c7 100644 --- a/content/posts/how-i-convert-pdfs-to-epub.adoc +++ b/content/posts/how-i-convert-pdfs-to-epub.adoc @@ -50,15 +50,15 @@ guide. Click on menu:Add books[Add empty book]. Then fill in the metadata and select “EPUB” as format. You can add more metadata and a cover image by right-clicking -the book and then selecting “Edit metadata”. Open Calibre's editor by right -clicking on the book and selecting “Edit book”. You start with a single XHTML +the book and then selecting menu:Edit metadata[]. Open Calibre's editor by right +clicking on the book and selecting menu:Edit book[]. You start with a single XHTML file, `start.xhtml`. I always use that for the title page, the copyright notice and so on. You can force a page break to separate the title and the copyright notice with CSS: Add `style="page-break-after: always;"` to the last element of the virtual “page” or use a CSS class. To add a CSS file click menu:File[New file] and enter a filename ending with `.css`. Add the CSS file to the document -by right clicking on `start.xhtml` in the file browser and selecting “Link -stylesheets…”. +by right clicking on `start.xhtml` in the file browser and selecting +menu:Link stylesheets…[]. [NOTE] The built-in preview does not show page breaks.