pandoc aux scripts and templates

This commit is contained in:
2018-11-02 19:15:57 -03:00
parent bc38190ddb
commit 0f8e9f4fb1
7 changed files with 919 additions and 4 deletions

View File

@@ -0,0 +1,149 @@
<!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 type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline,span.s,span.S,span.sublinhado,span.u,span.U{
text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
.abstract-header {
font-size: 0.9em;
text-align: center;
}
.abstract {
font-size: 0.8em;
margin-left: 80px;
margin-right:80px;
}
body {
font-family: 'DejaVu Serif';
text-align: justify;
font-size: 12pt;
margin-top: 80px;
margin-left: 80px;
margin-right: 80px;
margin-bottom: 80px;
}
#title-block-header {
text-align: center;
}
.title {
margin-top: 0;
margin-bottom: 0;
}
.subtitle {
text-decoration: none;
}
.author {
font-weight: bold;
}
.date {
font-style: italic;
}
blockquote {
margin-left: 80px;
margin-right: 0px;
}
h1, h2, h3, h4, h5, h6 {
text-decoration: underline;
margin-top: 1em;
margin-bottom: 1em;
}
h1 {
font-size: 1.5em;
}
h2, h3, h4, h5, h6 {
font-size: 1.25em;
}
.footnotes {
font-size:0.75em;
margin-left: 0;
}
$if(quotes)$
q { quotes: "“" "”" "" ""; }
$endif$
</style>
$if(highlighting-css)$
<style type="text/css">
$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)$
<h2 class="subtitle">$subtitle$</h2>
$endif$
$for(author)$
<p class="author">$author$</p>
$endfor$
$if(date)$
<p class="date">$date$</p>
$endif$
$if(abstract)$
<h1 class="abstract-header">Abstract</h1>
<div class="abstract">$abstract$</div>
$endif$
$if(abstract-pt)$
<h1 class="abstract-header">Resumo</h1>
<div class="abstract">$abstract-pt$</div>
$endif$
$if(abstract-it)$
<h1 class="abstract-header">Riassunto</h1>
<div class="abstract">$abstract-it$</div>
$endif$
$if(abstract-fr)$
<h1 class="abstract-header">Rèsumè</h1>
<div class="abstract">$abstract-fr$</div>
$endif$
</header>
$endif$
$if(toc)$
<nav id="$idprefix$TOC">
<h1 class="toc-title">$toc-title$</h1>
$table-of-contents$
</nav>
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
</body>
</html>