From c3a55274ac49b0db017b255aa628a36a373276a0 Mon Sep 17 00:00:00 2001 From: crc Date: Thu, 1 Oct 2020 16:50:36 +0000 Subject: [PATCH] epub: minor restructuring of source locations FossilOrigin-Name: 522f32b3aa14ccc1ca01350073b3251e68bc10a755c83e5b9ee473f4866f5e6e --- generate-epub.retro | 10 +--------- .../chapters-to-xhtml.retro} | 0 2 files changed, 1 insertion(+), 9 deletions(-) rename tools/{book-chapters-to-xhtml.retro => epub/chapters-to-xhtml.retro} (100%) diff --git a/generate-epub.retro b/generate-epub.retro index 456240b..1b850c0 100755 --- a/generate-epub.retro +++ b/generate-epub.retro @@ -16,7 +16,6 @@ Our structure will look like: |-- toc.ncx |-- chapters/... - Begin by defining some helper functions for writing to a file. @@ -101,12 +100,6 @@ Then create `META-INF/container.xml`. ~~~ - - cover - - - - # Create the CONTENT.OPF Create `content.opf`. This will need to lest all of the files @@ -149,7 +142,7 @@ drop ~~~ 'Convert_chapters_to_XHTML s:put nl -'retro_tools/book-chapters-to-xhtml.retro unix:system +'retro_tools/epub/chapters-to-xhtml.retro unix:system ~~~ # Assemble the pieces @@ -178,6 +171,5 @@ Cleanup is the final step. Remove the temporary epub directory ~~~ 'Cleanup s:put nl -'cp_-r_chapters_~/atua unix:system 'rm_-rf_epub_chapters unix:system ~~~ diff --git a/tools/book-chapters-to-xhtml.retro b/tools/epub/chapters-to-xhtml.retro similarity index 100% rename from tools/book-chapters-to-xhtml.retro rename to tools/epub/chapters-to-xhtml.retro