-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructured build process and added HTML output format. Also created…
… TODO in README.md
- Loading branch information
1 parent
cfba5b6
commit b04589d
Showing
18 changed files
with
279 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-F pandoc-crossref | ||
-F pandoc-citeproc | ||
--bibliography=src/bibliography.yaml | ||
--csl .template/ieee.csl | ||
--metadata-file=.template/metadata.yml | ||
--lua-filter=.template/date.lua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--standalone | ||
--self-contained | ||
--number-sections | ||
--toc | ||
--css=.template/html/layout.css | ||
--template=.template/html/template.phtml | ||
-t html5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--template=.template/tex/template.tex | ||
--include-in-header=.template/tex/packages.tex | ||
--include-before-body=.template/tex/theme.tex | ||
--include-before-body=.template/tex/layout.tex | ||
--number-sections | ||
-t latex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-t plain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ services: | |
build: . | ||
command: ${BUILD_PARAMETERS:-build} | ||
volumes: | ||
- ../:/project | ||
- ../:/project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
function Meta(m) | ||
language, _ = m["lang"][1]["text"]:gsub("-", "_") | ||
os.setlocale(language) | ||
m.date = os.date("%B %e, %Y") | ||
return m | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
@import url('https://cdn.rawgit.com/dreampulse/computer-modern-web-font/master/font/Sans/cmun-sans.css'); | ||
|
||
html { | ||
background-color: #455a64; | ||
font-family: "Computer Modern Sans", sans-serif; | ||
} | ||
|
||
body { | ||
background-color: #fafafa; | ||
|
||
margin: 16px auto; | ||
max-width: 1000px; | ||
min-width: 600px; | ||
width: 50%; | ||
|
||
padding: 32px; | ||
|
||
box-shadow: 0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12); | ||
} | ||
|
||
#title-block-header { | ||
text-align: center; | ||
} | ||
|
||
#title-block-header::before { | ||
content: ''; | ||
background: url('../logo.png'); | ||
background-size: cover; | ||
width: 300px; | ||
height: 91.3px; | ||
display: block; | ||
margin: 64px auto; | ||
} | ||
|
||
#title-block-header, #TOC { | ||
padding-bottom: 32px; | ||
margin-bottom: 32px; | ||
border-bottom: 1px solid #eee; | ||
} | ||
|
||
a { | ||
color: rgb(5, 56, 121); | ||
margin-bottom: 2px; | ||
border-bottom: 0px solid black; | ||
transition: all .2s ease-in-out; | ||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
border-bottom-width: 2px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="generator" content="pandoc" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> | ||
$for(author-meta)$ | ||
<meta name="author" content="$author-meta$" /> | ||
$endfor$ | ||
$if(date-meta)$ | ||
<meta name="dcterms.date" content="$date-meta$" /> | ||
$endif$ | ||
$if(keywords)$ | ||
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> | ||
$endif$ | ||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> | ||
<style> | ||
code{white-space: pre-wrap;} | ||
span.smallcaps{font-variant: small-caps;} | ||
span.underline{text-decoration: underline;} | ||
div.column{display: inline-block; vertical-align: top; width: 50%;} | ||
$if(quotes)$ | ||
q { quotes: "“" "”" "‘" "’"; } | ||
$endif$ | ||
</style> | ||
$if(highlighting-css)$ | ||
<style> | ||
$highlighting-css$ | ||
</style> | ||
$endif$ | ||
$for(css)$ | ||
<link rel="stylesheet" href="$css$" /> | ||
$endfor$ | ||
$if(math)$ | ||
$math$ | ||
$endif$ | ||
<!--[if lt IE 9]> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> | ||
<![endif]--> | ||
$for(header-includes)$ | ||
$header-includes$ | ||
$endfor$ | ||
</head> | ||
<body> | ||
$for(include-before)$ | ||
$include-before$ | ||
$endfor$ | ||
$if(title)$ | ||
<header id="title-block-header"> | ||
<h1 class="title">$title$</h1> | ||
$if(subtitle)$ | ||
<p class="subtitle">$subtitle$</p> | ||
$endif$ | ||
$for(author)$ | ||
<p class="author">$author$</p> | ||
$endfor$ | ||
$if(date)$ | ||
<p class="date">$date$</p> | ||
$endif$ | ||
</header> | ||
$endif$ | ||
$if(toc)$ | ||
<nav id="$idprefix$TOC"> | ||
$table-of-contents$ | ||
</nav> | ||
$endif$ | ||
$body$ | ||
$for(include-after)$ | ||
$include-after$ | ||
$endfor$ | ||
</body> | ||
</html> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ link-citations: true | |
Deckblatt: true | ||
toc: true | ||
lot: false | ||
lof: false | ||
lof: false |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.