commit 6a08f28adbcbc933fdf5c9ab4affd3b1317eb233 from: Mike Voznesensky via: Sergey Bronnikov date: Sat Jan 20 11:36:22 2024 UTC Updated build epub and html * Transfered the cover book to title.txt * Removed style.css file because default style decide better results * Added keys "--embed-resources --standalone" for build html commit - d60ca6c79e5ddd28ecf338461a93b919f3ee2014 commit + 6a08f28adbcbc933fdf5c9ab4affd3b1317eb233 blob - 353b814f7643f6e1a53ef9e6e24bba2648a9fd05 blob + e5adfee1661a2cbf0aad8caecb50f23f821f7834 --- Makefile +++ Makefile @@ -20,11 +20,11 @@ NAME = swebok_2004_ru all: $(NAME).html $(NAME).epub -$(NAME).epub: $(MAKRDOWN_FILES) style.css title.txt - $(PANDOC) $(PANDOC_OPT) -c style.css --epub-cover-image=images/Terrace.jpg -o $(NAME).epub +$(NAME).epub: $(MAKRDOWN_FILES) title.txt + $(PANDOC) $(PANDOC_OPT) -o $(NAME).epub $(NAME).html: $(MAKRDOWN_FILES) - $(PANDOC) $(PANDOC_OPT) -o $(NAME).html + $(PANDOC) $(PANDOC_OPT) --embed-resources --standalone -o $(NAME).html $(NAME).zip: $(NAME).html images zip -r $(NAME).zip $< images blob - 5d4f062b2e8021db1f6eb48c86a94fcc094c26a9 (mode 644) blob + /dev/null --- style.css +++ /dev/null @@ -1,74 +0,0 @@ -body { - margin: auto; - padding-right: 1em; - padding-left: 1em; - max-width: 80%; - border-left: 1px solid black; - border-right: 1px solid black; - color: black; - font-family: Verdana, sans-serif; - font-size: 100%; - line-height: 140%; - color: #333; -} -pre { - border: 1px dotted gray; - background-color: #ececec; - color: #1111111; - padding: 0.5em; -} -code { - font-family: monospace; -} -h1 a, h2 a, h3 a, h4 a, h5 a { - text-decoration: none; - color: #7a5ada; -} -h1, h2, h3, h4, h5 { font-family: verdana; - font-weight: bold; - border-bottom: 1px dotted black; - color: #7a5ada; } -h1 { - font-size: 130%; -} - -h2 { - font-size: 110%; -} - -h3 { - font-size: 95%; -} - -h4 { - font-size: 90%; - font-style: italic; -} - -h5 { - font-size: 90%; - font-style: italic; -} - -h1.title { - font-size: 200%; - font-weight: bold; - padding-top: 0.2em; - padding-bottom: 0.2em; - text-align: left; - border: none; -} - -dt code { - font-weight: bold; -} -dd p { - margin-top: 0; -} - -#footer { - padding-top: 1em; - font-size: 70%; - color: gray; - text-align: center; - } blob - 14871ffb60574235cbf5e3a9ed59b783dcce33df blob + 6955454c81e609ef8f8d2ea0e9591660c0e32997 --- title.txt +++ title.txt @@ -1,6 +1,7 @@ --- title: Основы Программной Инженерии (по SWEBOK) author: Сергей Орлик +cover-image: images/Terrace.jpg rights: SWEBOK Сopyright © 2004 by The Institute of Electrical and Electronics Engineers, Inc. All rights reserved. language: ru-RU ...