Merge branch 'add-css' of https://git.hcoder.org/emanchado/themediocreprogrammer...
authorCraig Maloney <craig@decafbad.net>
Sun, 24 May 2020 12:43:41 +0000 (08:43 -0400)
committerCraig Maloney <craig@decafbad.net>
Sun, 24 May 2020 12:43:41 +0000 (08:43 -0400)
Pandoc/templates/cs-6x9-pdf.latex
gratitude.md
images/cover.jpg [deleted file]
images/cover.png [new symlink]
images/cover_ebook_1600x2400.png
metadata.xml
metadata.yaml
title.txt

index 04c3b96566847078f89b2bbe3e314a89ce0be38b..25087c5dccf0171b9f11da7426f79c9035a48f99 100644 (file)
 \usepackage[bookmarks=true]{hyperref}
 
 
+
 \hypersetup{pdfstartpage={}}
 
 \hypersetup{unicode=true,
@@ -273,6 +274,13 @@ $endif$
 \newfontfamily\normalfont[Ligatures=TeX, Numbers=OldStyle]{Linux Biolinum O}
 \newfontfamily\titlefont[Scale=1.75, Ligatures=TeX]{Linux Biolinum O}
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%% Images
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Needed for images; used for cover
+% \usepackage{incgraph,tikz}
+\usepackage{pdfpages}
+
 %\setmainfont
 %\renewcommand{\sfdefault}{URW Gothic}
 %\setmonofont
@@ -323,6 +331,23 @@ $endif$
 % These pages don't count for document page numbering
 \frontmatter
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%% Create a cover page
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% No headers or footers
+\pagestyle{empty}
+
+% The image
+\includepdf{$cover-image$}
+% \incgraph[documentpaper]
+% [height=\paperheight]{$cover-image$} % Fit to height
+
+%% Stretch image to fit page
+%  [width=\paperwidth,height=\paperheight]{$cover-image$}
+
+% End the page
+\clearpage
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%
 %% Create a titlepage
index 01e96c42fef0688c4edea7a832b2c80c92081784..0bab37c323de5a54ebe0fecf6c0e3968773bb30d 100644 (file)
@@ -4,7 +4,7 @@ This book would not exist without the folks who have accompanied me on my journe
 
 I also am grateful for the work of Leo Babauta of [Zen Habits][5] which provided me the ideas of mindfulness and focus containers. They have been transformative in my own work, as this book demonstrates. I committed to spending at least 10 minutes each morning writing each section, and the results are the work you see before you.
 
-Thank you to those who helped me directly with this project. Thank you to my mom, Sharon Maloney, for help in my editing  of this book. Any mist steaks what remain are an responsibilities of the author. Thank you to Beau Sheldon for reviewing the chapter on mental health and for helping me to better understand and highlight areas where folks struggle. Thank you to my friend, David Revoy, for his amazing cover art and for his inspiration throughout the project. Thank you to the beta readers for your valuable comments and feedback in the Framagit Repository, including (in alphabetical order by handle or first name): Brendan Kidwell, D. Joe Anderson, David Revoy, Jer Lance, Matthew Piccinato, Matthew Balch, Midgard, Nicholas Guarracino, RJ Quiralta, Valvin, and Wilhelm Fitzpatrick.
+Thank you to those who helped me directly with this project. Thank you to my mom, Sharon Maloney, for help in my editing  of this book. Any mist steaks what remain are an responsibilities of the author. Thank you to Beau Sheldon for reviewing the chapter on mental health and for helping me to better understand and highlight areas where folks struggle. Thank you to my friend, David Revoy, for his amazing cover art and for his inspiration throughout the project. Thank you to the beta readers for your valuable comments and feedback in the Framagit Repository, including (in alphabetical order by handle or first name): Brendan Kidwell, D. Joe Anderson, David Revoy, Eric Hallam, Jer Lance, Matthew Piccinato, Matthew Balch, Midgard, Nicholas Guarracino, RJ Quiralta, Valvin, and Wilhelm Fitzpatrick.
 
 My deepest gratitude goes to my wife JoDee and my parents for their support and belief in me. Words cannot express the love and thanks I have for you.
 
diff --git a/images/cover.jpg b/images/cover.jpg
deleted file mode 100644 (file)
index d92d4b8..0000000
Binary files a/images/cover.jpg and /dev/null differ
diff --git a/images/cover.png b/images/cover.png
new file mode 120000 (symlink)
index 0000000..4d4d4a3
--- /dev/null
@@ -0,0 +1 @@
+cover_ebook_1600x2400.png
\ No newline at end of file
index c7bb205e635ce86f134ec9f3b3835aa431fd50b6..91f545de0a43b7d34516243e3881f960a90d2bf0 100644 (file)
Binary files a/images/cover_ebook_1600x2400.png and b/images/cover_ebook_1600x2400.png differ
index 6b6c9f8d99245a07476d952e2d5b34ea9b53c65b..9aee1ace8f7f83f4ed4601cb6927930e95dfd320 100644 (file)
@@ -1,2 +1,2 @@
-<dc:rights>Copyright 2019, Craig Maloney. Released under a CC-BY-SA International 4.0 License</dc:rights>
+<dc:rights>Copyright 2020, Craig Maloney. Released under a CC-BY-SA International 4.0 License</dc:rights>
 <dc:language>en-US</dc:language>
index c13b150ed31de854f8e24e9e42eec7927a8f2bdf..0625d67a2ddf32a6cf39f5b283f47581db83c238 100644 (file)
@@ -8,5 +8,6 @@ contributors:
 publisher: 'Craig Maloney'
 website: 'http://themediocreprogrammer.com'
 tags: [developer, programmer, mediocre]
-year: 2019
+year: 2020
+cover-image: './images/cover.png'
 ---
index 1bce45e2534694622bdd45a6b7986a261e9d87db..813ac56f9bd7f90f4198391912124c2e1c49e84e 100644 (file)
--- a/title.txt
+++ b/title.txt
@@ -1,3 +1,3 @@
 % The Mediocre Programmer
-% Written by Craig Maloney
-% \textcopyright 2018 by Craig Maloney. \par Released under the CC-BY-SA International 4.0 license.\par Edited by Sharon Maloney. \break Cover artwork by David Revoy.
+% Written by Craig Maloney.  Edited by Sharon Maloney.  Cover artwork by David Revoy.
+% &copy; 2020 by Craig Maloney. Released under the CC-BY-SA International 4.0 license.