Store full links in bibtex.

More self-contained.
This commit is contained in:
Justin Hsu 2016-10-13 12:27:10 -04:00
parent 0a9b1ab9d4
commit df7ef5d6e9
3 changed files with 29 additions and 67 deletions

View File

@ -9,7 +9,7 @@
Strub, {P}ierre-{Y}ves},
year = 2016,
jh = yes,
docs = yes,
url = {http://justinh.su/files/papers/ellora.pdf},
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% JOURNALS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -25,9 +25,7 @@
reviewed = yes,
url = {http://arxiv.org/abs/1402.1526},
jh = yes,
slides = yes,
poster = yes,
eprint = yes,
poster = {http://justinh.su/files/posters/dualquery.pdf},
note = "To appear. Previously published in " # icml14 # ", 2014."
}
@ -43,8 +41,7 @@
reviewed = yes,
url = {http://arxiv.org/abs/1311.2828},
jh = yes,
poster = yes,
eprint = yes,
poster = {http://justinh.su/files/posters/matchings.pdf},
note = "To appear. Previously published in " # stoc14 # ", 2014."
}
@ -59,7 +56,6 @@
year = 2017,
reviewed = yes,
jh = yes,
eprint = yes,
url = {http://arxiv.org/abs/1607.03455},
note = {To appear.}
}
@ -75,7 +71,7 @@
year = 2017,
reviewed = yes,
jh = yes,
docs = yes,
url = {http://justinh.su/files/papers/metric-sem.pdf},
note = {To appear.}
}
@ -92,7 +88,6 @@
reviewed = yes,
url = {http://arxiv.org/abs/1502.04052},
jh = yes,
eprint = yes,
note = {To appear.}
}
@ -108,7 +103,6 @@
year = 2016,
reviewed = yes,
jh = yes,
eprint = yes,
url = {https://arxiv.org/abs/1606.07143},
note = {To appear.}
}
@ -127,7 +121,6 @@
reviewed = yes,
url = {https://arxiv.org/abs/1605.00283},
jh = yes,
eprint = yes,
note = {To appear.}
}
@inproceedings{BEFFH16,
@ -140,7 +133,6 @@
year = 2016,
reviewed = yes,
jh = yes,
eprint = yes,
url = {https://arxiv.org/abs/1605.02765},
}
@ -155,7 +147,6 @@
year = 2016,
reviewed = yes,
jh = yes,
eprint = yes,
url = {http://arxiv.org/abs/1602.05681}
}
@ -171,8 +162,7 @@
reviewed = yes,
url = {http://arxiv.org/abs/1601.05047},
jh = yes,
eprint = yes,
slides = yes
slides = {http://justinh.su/files/slides/approx-couplings.pdf}
}
@inproceedings{HMRRV16,
@ -187,7 +177,6 @@
reviewed = yes,
url = {http://arxiv.org/abs/1511.00925},
jh = yes,
eprint = yes,
}
@inproceedings{HHRW16,
@ -201,8 +190,7 @@
reviewed = yes,
url = {http://arxiv.org/abs/1411.0998},
jh = yes,
eprint = yes,
slides = yes,
slides = {http://justinh.su/files/slides/privdude.pdf},
}
@inproceedings{BEGHSS15,
@ -217,8 +205,7 @@
year = 2015,
reviewed = yes,
jh = yes,
slides = yes,
eprint = yes,
slides = {http://justinh.su/files/slides/couplings.pdf},
volume = {9450},
pages = {387--401},
publisher = springer,
@ -227,15 +214,13 @@
}
@inproceedings{AHJ15,
title = {Online assignment with heterogeneous tasks in crowdsourcing
markets},
title = {Online assignment with heterogeneous tasks in crowdsourcing markets},
author = {Assadi, Sepehr and Hsu, Justin and Jabbari, Shahin},
year = {2015},
booktitle = hcomp15,
reviewed = yes,
reviewed = yes,
url = {http://arxiv.org/abs/1508.03593},
jh = yes,
eprint = yes,
}
@inproceedings{GHaccuracy,
@ -246,8 +231,8 @@
booktitle = snapl15,
jh = yes,
reviewed = yes,
slides = yes,
docs = yes
slides = {http://justinh.su/files/slides/theory-ab.pdf},
url = {http://justinh.su/files/papers/theory-ab.pdf}
}
@inproceedings{BGGHRS15,
@ -264,8 +249,7 @@
reviewed = yes,
url = {http://arxiv.org/abs/1407.6845},
jh = yes,
slides = yes,
eprint = yes
slides = {http://justinh.su/files/slides/hoare2.pdf},
}
@inproceedings{AGGH14,
@ -280,8 +264,7 @@
reviewed = yes,
url = {http://arxiv.org/abs/1503.04522},
jh = yes,
slides = yes,
eprint = yes
slides = {http://justinh.su/files/slides/dfuzz-tc.pdf},
}
@inproceedings{BGGHKS14,
@ -297,7 +280,6 @@
reviewed = yes,
url = {http://arxiv.org/abs/1407.2988},
jh = yes,
eprint = yes
}
@inproceedings{HGH14,
@ -314,8 +296,7 @@
reviewed = yes,
url = {http://arxiv.org/abs/1402.3329},
jh = yes,
slides = yes,
eprint = yes
slides = {http://justinh.su/files/slides/epsilon.pdf},
}
@inproceedings{HRRU14,
@ -333,8 +314,7 @@
biburl = {http://dblp.uni-trier.de/rec/bib/conf/icalp/HsuRRU14},
bibsource = {dblp computer science bibliography, http://dblp.org},
jh = yes,
slides = yes,
eprint = yes
slides = {http://justinh.su/files/slides/priv-lp.pdf},
}
inproceedings{GGHRW14,
@ -349,9 +329,9 @@ inproceedings{GGHRW14,
reviewed = yes,
url = {http://arxiv.org/abs/1402.1526},
jh = yes,
slides = yes,
poster = yes,
eprint = yes }
slides = {http://justinh.su/files/slides/dualquery.pdf},
poster = {http://justinh.su/files/poser/dualquery.pdf}
}
inproceedings{HHRRW14,
author = {Hsu, Justin and
@ -369,8 +349,7 @@ inproceedings{HHRRW14,
biburl = {http://dblp.uni-trier.de/rec/bib/conf/stoc/HsuHRRW14},
bibsource = {dblp computer science bibliography, http://dblp.org},
jh = yes,
poster = yes,
eprint = yes
poster = {http://justinh.su/files/poster/matchings.pdf},
}
@inproceedings{WHE13,
@ -383,7 +362,6 @@ inproceedings{HHRRW14,
year = {2013},
reviewed = yes,
jh = yes,
docs = yes
}
@inproceedings{HRU13,
@ -397,8 +375,7 @@ inproceedings{HHRRW14,
year = {2013},
reviewed = yes,
jh = yes,
slides = yes,
eprint = yes
slides = {http://justinh.su/files/slides/analyst-priv.pdf},
}
@inproceedings{GHHNP13,
@ -414,7 +391,6 @@ inproceedings{HHRRW14,
year = {2013},
reviewed = yes,
jh = yes,
docs = yes
}
@inproceedings{HKR12,
@ -431,8 +407,7 @@ inproceedings{HHRRW14,
note = {Thanks to Raef Bassily and Adam Smith for spotting an error, now
fixed.},
jh = yes,
slides = yes,
eprint = yes
slides = {http://justinh.su/files/slides/heavy-hh.pdf},
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SURVEYS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -452,7 +427,6 @@ inproceedings{HHRRW14,
url = {http://siglog.hosting.acm.org/wp-content/uploads/2016/01/siglog_news_7.pdf},
reviewed = no,
jh = yes,
eprint = yes
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% WORKSHOPS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -477,8 +451,8 @@ inproceedings{HHRRW14,
booktitle = snapl15,
reviewed = no,
jh = yes,
slides = yes,
docs = yes
slides = {http://justinh.su/files/slides/taxes.pdf},
url = {http://justinh.su/files/papers/taxes.pdf}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TALKS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

13
site.hs
View File

@ -74,21 +74,12 @@ main = hakyllWith config $ do
create [fromCapture "bibs/*.html" nick] $ do
route idRoute
compile $
let itemCtx = mconcat
[ bibEntryContext
, functionField "doclink"
(\(i:_) _ -> return $ "files/docs/" ++ i ++ "paper.pdf")
, functionField "slidelink"
(\(i:_) _ -> return $ "files/slides/" ++ i ++ "slides.pdf")
, functionField "posterlink"
(\(i:_) _ -> return $ "files/posters/" ++ i ++ "poster.pdf")
]
biblioCtx = mconcat
let biblioCtx = mconcat
[ field "bibitems" $ return . itemBody ] in do
bibTpl <- loadBody "templates/bibitemtpl.html"
(bib2bib flags)
>>= bib2bibParse
>>= applyTemplateList bibTpl itemCtx
>>= applyTemplateList bibTpl bibEntryContext
>>= makeItem
>>= loadAndApplyTemplate "templates/biblisttpl.html" biblioCtx
>>= relativizeUrls

View File

@ -10,17 +10,14 @@
$if(journal)$
$journal$, $volume$($number$):$pages$, $month$ $year$.</br>
$endif$
$if(eprint)$
[<a href="$url$">eprint</a>]
$endif$
$if(docs)$
[<a href="$doclink(identifier)$">Paper</a>]
$if(url)$
[<a href="$url$">Paper</a>]
$endif$
$if(slides)$
[<a href="$slidelink(identifier)$">Slides</a>]
[<a href="$slides$">Slides</a>]
$endif$
$if(poster)$
[<a href="$posterlink(identifier)$">Poster</a>]
[<a href="$poster$">Poster</a>]
$endif$
<br>
$if(note)$