From 71e38fc768c0dec1c98fc30727233f799e90070f Mon Sep 17 00:00:00 2001 From: sejo Date: Mon, 10 Jan 2022 12:20:44 -0600 Subject: [PATCH] correct version, header and main are back --- g2e.awk | 4 ++-- templates/content-header.opf | 2 +- templates/header.xhtml | 8 +++++--- templates/style.css | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/g2e.awk b/g2e.awk index 25bb7aa..7f02cee 100644 --- a/g2e.awk +++ b/g2e.awk @@ -116,7 +116,7 @@ ARGIND==2 && FNR==1{ if(id~meta["cover"]){ properties = "properties=\"cover-image\"" } - content = content " \n" + content = content " \n" } $0 = line @@ -137,7 +137,7 @@ function finishfile(){ # finish writing the previous content file if(is_list){ append(""); is_list = 0 } if(is_pre){ append(""); is_pre = 0 } - out = out " \n" + out = out " \n \n" print out > nameout } function append(line){ diff --git a/templates/content-header.opf b/templates/content-header.opf index 79f2778..943de1c 100644 --- a/templates/content-header.opf +++ b/templates/content-header.opf @@ -1,5 +1,5 @@ - + {title} diff --git a/templates/header.xhtml b/templates/header.xhtml index ef92fa9..3c5ab8a 100644 --- a/templates/header.xhtml +++ b/templates/header.xhtml @@ -1,10 +1,12 @@ - - - + + {title} +

{title}

+
+
diff --git a/templates/style.css b/templates/style.css index 87c8185..13d489c 100644 --- a/templates/style.css +++ b/templates/style.css @@ -15,7 +15,7 @@ pre{ blockquote{ font-style: italic; } -h1.header{ +header h1{ font-size:3em; } h1,h2,h3{