From 1f99fde4dc8f7047c738742da08fbadc1a8a36cd Mon Sep 17 00:00:00 2001 From: Sebastian Lenz Date: Sun, 10 Jun 2018 23:03:26 +0200 Subject: [PATCH] =?UTF-8?q?Zeilenumbruch=20in=20pre-Tags=20erm=C3=B6gliche?= =?UTF-8?q?n=20(insbesondere=20f=C3=BCrs=20ebook)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- styles/ebook.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 styles/ebook.css diff --git a/Makefile b/Makefile index 5a7e8d1..81169c9 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ git.chunked: git.chunked-prereq styles/toc.html epub: git.epub git.epub: git.txt - a2x -fepub --epubcheck $< + a2x -fepub --stylesheet="docbook-xsl.css styles/ebook.css" --epubcheck $< pdf: git.pdf diff --git a/styles/ebook.css b/styles/ebook.css new file mode 100644 index 0000000..74e3552 --- /dev/null +++ b/styles/ebook.css @@ -0,0 +1,3 @@ +body pre { + white-space: pre-wrap; +}