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

13
site.hs
View File

@ -74,21 +74,12 @@ main = hakyllWith config $ do
create [fromCapture "bibs/*.html" nick] $ do create [fromCapture "bibs/*.html" nick] $ do
route idRoute route idRoute
compile $ compile $
let itemCtx = mconcat let biblioCtx = 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
[ field "bibitems" $ return . itemBody ] in do [ field "bibitems" $ return . itemBody ] in do
bibTpl <- loadBody "templates/bibitemtpl.html" bibTpl <- loadBody "templates/bibitemtpl.html"
(bib2bib flags) (bib2bib flags)
>>= bib2bibParse >>= bib2bibParse
>>= applyTemplateList bibTpl itemCtx >>= applyTemplateList bibTpl bibEntryContext
>>= makeItem >>= makeItem
>>= loadAndApplyTemplate "templates/biblisttpl.html" biblioCtx >>= loadAndApplyTemplate "templates/biblisttpl.html" biblioCtx
>>= relativizeUrls >>= relativizeUrls

View File

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