hackademic 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 003e23e04013e7abdb74cedeb8014af0815e3159
4
- data.tar.gz: 356a094e0979d0a45cf3bf436bbcdf4df35ec9c2
3
+ metadata.gz: 285e9c888a7c5213b75349f3e32028f25e45b975
4
+ data.tar.gz: 50c1106a390b3f5266c0a9b8fe09dc2de79b2e53
5
5
  SHA512:
6
- metadata.gz: 975a228e6566621d7e64cfb35ce979957a911c6f37eca4f11f8b2842c484b8503861f910f3c13fb088c09a81a2d27404d875b558c8baf45b54a9633ee5b6aaa9
7
- data.tar.gz: 1264be8502dcb3465ec2a316995dbca51b523d8ee61900ec2f3ee78181e86f450e5ad11b23d1cc4c2b3bd105fab05d8aad6bd7610e714b4905db4f6539084cd4
6
+ metadata.gz: 5baa1bcfba0c3a5b2a48904ba59fdbdea2217cba612c197dfe0e5487641cd1acac6ecfd37b301c88c5f95c434f151b233a1e3a97c5e1039e7ffe3a7377f0b55b
7
+ data.tar.gz: ce47babd7e1a4601c14157dbeea66df08d959bdaee2d98c2f25dbaa5c12983e25871a1bea1e7a146d1a19c340d730befb48ff58249162ccb8f325f62d18eec78
@@ -0,0 +1,2 @@
1
+ .DS_Store
2
+ vendor
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'hackademic'
3
- s.version = '0.2.6'
3
+ s.version = '0.2.7'
4
4
  s.date = '2016-01-03'
5
5
  s.summary = "Create and manage your academic workflow"
6
6
  s.description = "Hackademic manages your plain-text academic workflow."
@@ -0,0 +1,35 @@
1
+ $if(titleblock)$
2
+ $title$
3
+ $if(author)$
4
+ $for(author)$$author$$sep$; $endfor$
5
+ $endif$
6
+ $if(date)$
7
+ $date$
8
+ $endif$
9
+ $if(keywords)$
10
+ :keywords: $for(keywords)$$keywords$$sep$, $endfor$
11
+ $endif$
12
+ $if(toc)$
13
+ :toc:
14
+ $endif$
15
+
16
+ $endif$
17
+ $if(abstract)$
18
+ [abstract]
19
+ == Abstract
20
+ $abstract$
21
+
22
+ $endif$
23
+ $for(header-includes)$
24
+ $header-includes$
25
+
26
+ $endfor$
27
+ $for(include-before)$
28
+ $include-before$
29
+
30
+ $endfor$
31
+ $body$
32
+ $for(include-after)$
33
+
34
+ $include-after$
35
+ $endfor$
@@ -0,0 +1,72 @@
1
+ <!DOCTYPE html>
2
+ <html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="generator" content="pandoc">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
7
+ <style>
8
+ * {
9
+ font-family: Garamond;
10
+ }
11
+ </style>
12
+ $for(author-meta)$
13
+ <meta name="author" content="$author-meta$">
14
+ $endfor$
15
+ $if(date-meta)$
16
+ <meta name="dcterms.date" content="$date-meta$">
17
+ $endif$
18
+ $if(keywords)$
19
+ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
20
+ $endif$
21
+ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
22
+ <style type="text/css">code{white-space: pre;}</style>
23
+ $if(quotes)$
24
+ <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
25
+ $endif$
26
+ $if(highlighting-css)$
27
+ <style type="text/css">
28
+ $highlighting-css$
29
+ </style>
30
+ $endif$
31
+ $for(css)$
32
+ <link rel="stylesheet" href="$css$">
33
+ $endfor$
34
+ $if(math)$
35
+ $math$
36
+ $endif$
37
+ <!--[if lt IE 9]>
38
+ <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
39
+ <![endif]-->
40
+ $for(header-includes)$
41
+ $header-includes$
42
+ $endfor$
43
+ </head>
44
+ <body>
45
+ $for(include-before)$
46
+ $include-before$
47
+ $endfor$
48
+ $if(title)$
49
+ <header>
50
+ <h1 class="title">$title$</h1>
51
+ $if(subtitle)$
52
+ <h1 class="subtitle">$subtitle$</h1>
53
+ $endif$
54
+ $for(author)$
55
+ <h2 class="author">$author$</h2>
56
+ $endfor$
57
+ $if(date)$
58
+ <h3 class="date">$date$</h3>
59
+ $endif$
60
+ </header>
61
+ $endif$
62
+ $if(toc)$
63
+ <nav id="$idprefix$TOC">
64
+ $toc$
65
+ </nav>
66
+ $endif$
67
+ $body$
68
+ $for(include-after)$
69
+ $include-after$
70
+ $endfor$
71
+ </body>
72
+ </html>
@@ -0,0 +1,256 @@
1
+ \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
2
+ $if(fontfamily)$
3
+ \usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
4
+ $else$
5
+ \usepackage{lmodern}
6
+ $endif$
7
+ $if(linestretch)$
8
+ \usepackage{setspace}
9
+ \setstretch{$linestretch$}
10
+ $endif$
11
+ \usepackage{amssymb,amsmath}
12
+ \usepackage{ifxetex,ifluatex}
13
+ \usepackage{fixltx2e} % provides \textsubscript
14
+ \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
15
+ \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
16
+ \usepackage[utf8]{inputenc}
17
+ $if(euro)$
18
+ \usepackage{eurosym}
19
+ $endif$
20
+ \else % if luatex or xelatex
21
+ \ifxetex
22
+ \usepackage{mathspec}
23
+ \else
24
+ \usepackage{fontspec}
25
+ \fi
26
+ \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
27
+ $if(euro)$
28
+ \newcommand{\euro}{€}
29
+ $endif$
30
+ $if(mainfont)$
31
+ \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
32
+ $endif$
33
+ $if(sansfont)$
34
+ \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
35
+ $endif$
36
+ $if(monofont)$
37
+ \setmonofont[Mapping=tex-ansi$if(monofontoptions)$,$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$endif$]{$monofont$}
38
+ $endif$
39
+ $if(mathfont)$
40
+ \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
41
+ $endif$
42
+ $if(CJKmainfont)$
43
+ \usepackage{xeCJK}
44
+ \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
45
+ $endif$
46
+ \fi
47
+ % use upquote if available, for straight quotes in verbatim environments
48
+ \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
49
+ % use microtype if available
50
+ \IfFileExists{microtype.sty}{%
51
+ \usepackage{microtype}
52
+ \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
53
+ }{}
54
+ $if(geometry)$
55
+ \usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
56
+ $endif$
57
+ \usepackage{hyperref}
58
+ $if(colorlinks)$
59
+ \PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
60
+ $endif$
61
+ \hypersetup{unicode=true,
62
+ $if(title-meta)$
63
+ pdftitle={$title-meta$},
64
+ $endif$
65
+ $if(author-meta)$
66
+ pdfauthor={$author-meta$},
67
+ $endif$
68
+ $if(keywords)$
69
+ pdfkeywords={$for(keywords)$$keywords$$sep$; $endfor$},
70
+ $endif$
71
+ $if(colorlinks)$
72
+ colorlinks=true,
73
+ linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$,
74
+ citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$,
75
+ urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$,
76
+ $else$
77
+ pdfborder={0 0 0},
78
+ $endif$
79
+ breaklinks=true}
80
+ \urlstyle{same} % don't use monospace font for urls
81
+ $if(lang)$
82
+ \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
83
+ \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
84
+ $if(babel-newcommands)$
85
+ $babel-newcommands$
86
+ $endif$
87
+ \else
88
+ \usepackage{polyglossia}
89
+ \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
90
+ $for(polyglossia-otherlangs)$
91
+ \setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
92
+ $endfor$
93
+ \fi
94
+ $endif$
95
+ $if(natbib)$
96
+ \usepackage{natbib}
97
+ \bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
98
+ $endif$
99
+ $if(biblatex)$
100
+ \usepackage$if(biblio-style)$[style=$biblio-style$]$endif${biblatex}
101
+ $if(biblatexoptions)$\ExecuteBibliographyOptions{$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$}$endif$
102
+ $for(bibliography)$
103
+ \addbibresource{$bibliography$}
104
+ $endfor$
105
+ $endif$
106
+ $if(listings)$
107
+ \usepackage{listings}
108
+ $endif$
109
+ $if(lhs)$
110
+ \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
111
+ $endif$
112
+ $if(highlighting-macros)$
113
+ $highlighting-macros$
114
+ $endif$
115
+ $if(verbatim-in-note)$
116
+ \usepackage{fancyvrb}
117
+ \VerbatimFootnotes % allows verbatim text in footnotes
118
+ $endif$
119
+ $if(tables)$
120
+ \usepackage{longtable,booktabs}
121
+ $endif$
122
+ $if(graphics)$
123
+ \usepackage{graphicx,grffile}
124
+ \makeatletter
125
+ \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
126
+ \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
127
+ \makeatother
128
+ % Scale images if necessary, so that they will not overflow the page
129
+ % margins by default, and it is still possible to overwrite the defaults
130
+ % using explicit options in \includegraphics[width, height, ...]{}
131
+ \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
132
+ $endif$
133
+ $if(links-as-notes)$
134
+ % Make links footnotes instead of hotlinks:
135
+ \renewcommand{\href}[2]{#2\footnote{\url{#1}}}
136
+ $endif$
137
+ $if(strikeout)$
138
+ \usepackage[normalem]{ulem}
139
+ % avoid problems with \sout in headers with hyperref:
140
+ \pdfstringdefDisableCommands{\renewcommand{\sout}{}}
141
+ $endif$
142
+ $if(indent)$
143
+ $else$
144
+ \IfFileExists{parskip.sty}{%
145
+ \usepackage{parskip}
146
+ }{% else
147
+ \setlength{\parindent}{0pt}
148
+ \setlength{\parskip}{6pt plus 2pt minus 1pt}
149
+ }
150
+ $endif$
151
+ \setlength{\emergencystretch}{3em} % prevent overfull lines
152
+ \providecommand{\tightlist}{%
153
+ \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
154
+ $if(numbersections)$
155
+ \setcounter{secnumdepth}{5}
156
+ $else$
157
+ \setcounter{secnumdepth}{0}
158
+ $endif$
159
+ $if(subparagraph)$
160
+ $else$
161
+ % Redefines (sub)paragraphs to behave more like sections
162
+ \ifx\paragraph\undefined\else
163
+ \let\oldparagraph\paragraph
164
+ \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
165
+ \fi
166
+ \ifx\subparagraph\undefined\else
167
+ \let\oldsubparagraph\subparagraph
168
+ \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
169
+ \fi
170
+ $endif$
171
+ $if(dir)$
172
+ \ifxetex
173
+ % load bidi as late as possible as it modifies e.g. graphicx
174
+ $if(latex-dir-rtl)$
175
+ \usepackage[RTLdocument]{bidi}
176
+ $else$
177
+ \usepackage{bidi}
178
+ $endif$
179
+ \fi
180
+ \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
181
+ \TeXXeTstate=1
182
+ \newcommand{\RL}[1]{\beginR #1\endR}
183
+ \newcommand{\LR}[1]{\beginL #1\endL}
184
+ \newenvironment{RTL}{\beginR}{\endR}
185
+ \newenvironment{LTR}{\beginL}{\endL}
186
+ \fi
187
+ $endif$
188
+ $for(header-includes)$
189
+ $header-includes$
190
+ $endfor$
191
+
192
+ $if(title)$
193
+ \title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
194
+ $endif$
195
+ $if(subtitle)$
196
+ \providecommand{\subtitle}[1]{}
197
+ \subtitle{$subtitle$}
198
+ $endif$
199
+ $if(author)$
200
+ \author{$for(author)$$author$$sep$ \and $endfor$}
201
+ $endif$
202
+ \date{$date$}
203
+
204
+ \begin{document}
205
+ $if(title)$
206
+ \maketitle
207
+ $endif$
208
+ $if(abstract)$
209
+ \begin{abstract}
210
+ $abstract$
211
+ \end{abstract}
212
+ $endif$
213
+
214
+ $for(include-before)$
215
+ $include-before$
216
+
217
+ $endfor$
218
+ $if(toc)$
219
+ {
220
+ $if(colorlinks)$
221
+ \hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$}
222
+ $endif$
223
+ \setcounter{tocdepth}{$toc-depth$}
224
+ \tableofcontents
225
+ }
226
+ $endif$
227
+ $if(lot)$
228
+ \listoftables
229
+ $endif$
230
+ $if(lof)$
231
+ \listoffigures
232
+ $endif$
233
+ $body$
234
+
235
+ $if(natbib)$
236
+ $if(bibliography)$
237
+ $if(biblio-title)$
238
+ $if(book-class)$
239
+ \renewcommand\bibname{$biblio-title$}
240
+ $else$
241
+ \renewcommand\refname{$biblio-title$}
242
+ $endif$
243
+ $endif$
244
+ \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
245
+
246
+ $endif$
247
+ $endif$
248
+ $if(biblatex)$
249
+ \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
250
+
251
+ $endif$
252
+ $for(include-after)$
253
+ $include-after$
254
+
255
+ $endfor$
256
+ \end{document}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hackademic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Petty
@@ -17,6 +17,7 @@ executables:
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - ".gitignore"
20
21
  - Gemfile
21
22
  - Gemfile.lock
22
23
  - README.md
@@ -33,6 +34,9 @@ files:
33
34
  - templates/README.md.tt
34
35
  - templates/TODO.txt.tt
35
36
  - templates/apa.csl
37
+ - templates/default.asciidoc
38
+ - templates/default.html5
39
+ - templates/default.latex
36
40
  - templates/pandoc-word-template.docx
37
41
  - templates/xelatex.template
38
42
  homepage: http://github.com/kizmeta/hackademic