this is for holding javascript data
Brandon Holt make pandoc markdown -> latex work
over 9 years ago
Commit id: eca4bf1ba1ec4761496262e918dd88dc72879ee2
deletions | additions
diff --git a/.gitignore b/.gitignore
index d6e4577..9f44e83 100644
--- a/.gitignore
+++ b/.gitignore
...
.ipynb_checkpoints
data/*.pdf data/**/*.pdf
claret.pdf
claret.log
claret.tex
claret.out
diff --git a/Makefile b/Makefile
index 9f3c4f5..ac4f7b5 100644
--- a/Makefile
+++ b/Makefile
...
PDFLATEX ?= pdflatex -halt-on-error -file-line-error
BIBTEX ?= bibtex
PANDOC ?= pandoc --natbib -S --standalone
ifneq ($(QUIET),)
PDFLATEX += -interaction=batchmode
ERRFILTER := > /dev/null || (egrep ':[[:digit:]]+:' *.log && false)
BIBTEX += -terse
else
PDFLATEX += -interaction=nonstopmode
ERRFILTER=
endif
.PHONY: all
all: claret.pdf
dolphins.pdf: dolphins.tex
sed -i.bak 's/\\includegraphics{}//' $^
rm $^.bak
pdflatex $^ claret.tex: claret.md
pandoc --filter pandoc-citeproc -S --standalone --template=resources/plos-one.latex resources/template.tex Makefile
$(PANDOC) --template=resources/template.tex -o $@ $<
%.pdf: %.tex
pdflatex $(PDFLATEX) $^
bibtex $(BIBTEX) $(basename $^)
pdflatex $(PDFLATEX) $^
pdflatex $(PDFLATEX) $^
diff --git a/claret.md b/claret.md
index 4277ce1..2e30804 100644
--- a/claret.md
+++ b/claret.md
...
---
title:
Claret: Leveraging ADTs 'Claret: Using Data Types for
Efficient Transactions Highly Concurrent Distributed Transactions'
preprint: true
author:
- {family: Holt, given: Brandon, affiliation: 1, email: bholt}
...
organization:
- {id: 1, name: University of Washington}
conference:
name: PaPoC 2015
location: 'April 21, 2015, Bordeaux, France'
year: 2015
doi: 0
layout: sigplanconf
bibliography: bibliography/biblio.bib
---
leveraging data structre abstractions for highly concurrent/contended distributed transactions
using data types for highly concurrent distributed transactions
# Abstract {-} abstract: |
Building database applications out of data structures rather than simple string values allows the flexibility and fine-grained control of typical key-value databases while providing better performance and scalability. Composing transactions out of linearizable data structure operations exposes concurrency in a safe way, making it simple to implement efficiently and easy to reason about.
---
# Introduction {-}
Most web-scale services these days rely on NoSQL databases to provide scalable, fault-tolerant persistent storage.
A recent trend in the transactional memory community is to raise the level of abstraction to data structure operations to reduce the overhead of tracking individual memory accesses as well as leverage the commutativity of operations to avoid unnecessary
rollbacks[@Herlihy:PPoPP08]. rollbacks. [@Herlihy:PPoPP08]
# Evaluation {-}
To show the efficacy of leveraging commutative operations, we use an application typical of web workloads: a simplified Twitter clone known as *Retwis*.
diff --git a/resources/template.tex b/resources/template.tex
index d29f706..5aee75d 100644
--- a/resources/template.tex
+++ b/resources/template.tex
...
% Template for PLoS
% Version 1.0 January 2009
%
% To compile to pdf, run:
% latex plos.template
% bibtex plos.template
% latex plos.template
% latex plos.template
% dvipdf plos.template
\documentclass[10pt]{sigplanconf} \documentclass[10pt $if(preprint)$, preprint$endif$]{sigplanconf}
% amsmath package, useful for mathematical formulas
\usepackage{amsmath}
...
\usepackage{graphicx}
% cite package, to clean up citations in the main text. Do not remove.
% \usepackage{cite}
\usepackage{color}
\usepackage{longtable,booktabs}
% Use doublespacing - comment out for single spacing
%\usepackage{setspace}
%\doublespacing
\usepackage[unicode=true]{hyperref}
% Text layout
\topmargin 0.0cm
\oddsidemargin 0.5cm
\evensidemargin 0.5cm
\textwidth 16cm
\textheight 21cm
% Bold the 'Figure #' in the caption and separate it with a period
% Captions will be left justified
\usepackage[labelfont=bf,labelsep=period,justification=raggedright]{caption}
% Remove brackets from numbering in List of References
\makeatletter
\renewcommand{\@biblabel}[1]{\quad#1.}
\makeatother
% Leave date blank
\date{}
\pagestyle{myheadings}
%% ** EDIT HERE **
%% ** EDIT HERE **
%% PLEASE INCLUDE ALL MACROS BELOW
\newcommand{\degrees}{\ensuremath{^\circ}}
\newcommand{\minutes}{\ensuremath{^\prime}}
%% END MACROS SECTION
\begin{document}
\conferenceinfo{PaPoC~2015}{April 21, 2015, Bordeaux, France}
\copyrightyear{2015} \special{papersize=8.5in,11in}
\setlength{\pdfpageheight}{\paperheight}
\setlength{\pdfpagewidth}{\paperwidth}
\conferenceinfo{$conference.year$}{$conference.location$}
\copyrightyear{$conference.year$}
\doi{$doi$}
\title{$title$}
\authorinfo{
$for(author)$
$author.given$ $author.family$ $$^{$author.affiliation$}$$ \and $for(author)$$author.given$ $author.family$$sep$\and $endfor$
}{
$for(organization)$
$organization.id$ $organization.name$
$endfor$
}{
\{$for(author)$$author.email$,$endfor$\}@cs.washington.edu \{$for(author)$$author.email$$sep$,$endfor$\}@cs.washington.edu
}
\maketitle
\begin{flushleft}
{\Large
\textbf{$title$}}
% Insert Author names, affiliations and corresponding author email.
\\
$for(author)$
$author.given$ $author.family$ $$^{$author.affiliation$ $if(author.email)$,\ast$endif$}$$,
$endfor$
\\
$for(organization)$
\bf{$organization.id$} $organization.name$, $organization.address$
$endfor$
\\
$for(author)$
$if(author.email)$ $$\ast$$ E-mail: $author.email$ $endif$
$endfor$
\end{flushleft} \begin{abstract}
$abstract$
\end{abstract}
$body$
\bibliographystyle{abbrv}
\bibliography{$bibliography$}
\end{document}
diff --git a/resources/sigplanconf.cls b/sigplanconf.cls
similarity index 100%
rename from resources/sigplanconf.cls
rename to sigplanconf.cls