-SRC := $(filter-out $(wildcard meta_*),$(wildcard *.m4 fsf-internship/*.m4))
-OUTPUTS := $(patsubst %.m4,out/%.html,$(SRC))
-STATIC := $(patsubst static/%,out/%,$(wildcard static/* static/.*))
+SRC := $(filter-out $(wildcard meta_*), \
+$(wildcard *.m4 fsf-internship/*.m4))
+OUTPUTS := $(patsubst %.m4,out/%.html, $(SRC))
+STATIC := $(patsubst static/%,out/%, \
+$(filter-out static/publications.html, \
+$(wildcard static/* static/.*)))
all: $(OUTPUTS) out/notes.atom out/notes.rss out/style.css $(STATIC)
m4 $< > $@
out/notes.atom: meta_feed_atom.m4 ; m4 $< > $@
out/notes.rss: meta_feed_rss.m4 ; m4 $< > $@
-$(STATIC): ; ln -s $(PWD)/static/$(notdir $@) $@
+$(STATIC): ; ln -s $(PWD)/static/$(@F) $@
+
+# publications bibliography
+static/publications.html: static/bandali.bib static/bandali-bib-*.txt
+static/publications.html: static/publications-sed.txt
+static/publications.html:
+ $(MAKE) -C $(@D) $(@F)
+out/publications.html: static/publications.html
clean:
rm -rf out/
rsync -avzLP out/ abandali@bndl.org:www/site/
ssh abandali@bndl.org mv www/site/.htaccess-www www/.htaccess
-.PHONY: deploy
+watch:
+ while true; do \
+ echo $(SRC) header.html footer.html \
+ static/bandali.bib static/bandali-bib-*.txt \
+ static/publications-sed.txt \
+ Makefile static/Makefile | \
+ tr " " "\n" | entr -d make; done
+
+.PHONY: deploy watch
</header>
<nav>
<ul>
-<li><a href="/#papers">Publications</a></li>
+<li><a href="/publications">Publications</a></li>
<li><a href="/#projects">Projects</a></li>
<li><a href="/#notes">Notes</a></li>
<li><a href="/cv" title="curriculum vitae">CV</a></li>
--- /dev/null
+dnl -*- html -*-
+define(__title, `Publications')dnl
+define(__slug, `publications')dnl
+include(header.html)dnl
+
+<article id="pubs">
+<h1>Publications</h1>
+
+include(static/publications.html)
+
+<p class="muted bibtex2html"><em>bibliography generated using
+<a href="//www.lri.fr/~filliatr/bibtex2html/">bibtex2html</a></em></p>
+</article>
+
+include(footer.html)dnl
RewriteCond %{HTTP_HOST} ^csclub\.uwaterloo\.ca$
RewriteRule ^(.*)$ https://bndl.org/$1 [R]
</IfModule>
+
+AddType text/plain .bib .org
+AddCharset utf-8 .bib .org
--- /dev/null
+publications.html: bandali.bib bandali-bib-*.txt
+ bibtex2html --citefile bandali-bib-citefile.txt \
+ --nodoc --no-header --no-footer --no-doi \
+ --reverse-sort --revkeys --sort-by-date --unicode \
+ --output publications \
+ bandali.bib
+ mv publications_bib.html bandali-bib.html
+ sed -i -f publications-sed.txt publications.html
+ sed -i -f bandali-bib-sed.txt bandali-bib.html
--- /dev/null
+DBLP:conf/re/AbbassiBDS18
+bandali2020
--- /dev/null
+# drop .html
+s/publications.html#/publications#/
+
+# linkify bandali.bib at the top
+s|bandali.bib|<a href="bandali.bib">&</a>|
--- /dev/null
+<h1><a href="bandali.bib">bandali.bib</a></h1><a name="DBLP:conf/re/AbbassiBDS18"></a><pre>
+@inproceedings{<a href="publications#DBLP:conf/re/AbbassiBDS18">DBLP:conf/re/AbbassiBDS18</a>,
+ author = {Ali Abbassi and
+ Amin Bandali and
+ Nancy A. Day and
+ Jos{\'{e}} Serna},
+ title = {A Comparison of the Declarative Modelling Languages
+ {B}, {Dash}, and {TLA\textsuperscript{+}}},
+ booktitle = {8th {IEEE} International Model-Driven Requirements
+ Engineering Workshop, MoDRE@RE 2018, Banff, AB,
+ Canada, August 20, 2018},
+ pages = {11--20},
+ year = {2018},
+ crossref = {<a href="#DBLP:conf/re/2018modre">DBLP:conf/re/2018modre</a>},
+ url = {https://doi.org/10.1109/MoDRE.2018.00008},
+ doi = {10.1109/MoDRE.2018.00008},
+ timestamp = {Thu, 14 Feb 2019 15:07:29 +0100},
+ biburl = {https://dblp.org/rec/bib/conf/re/AbbassiBDS18},
+ bibsource = {dblp computer science bibliography, https://dblp.org},
+ pdf = {https://p.bndl.org/modre2018-declarative.pdf}
+}
+</pre>
+
+<a name="DBLP:conf/re/2018modre"></a><pre>
+@proceedings{<a href="publications#DBLP:conf/re/2018modre">DBLP:conf/re/2018modre</a>,
+ editor = {Ana Moreira and
+ Gunter Mussbacher and
+ Jo{\~{a}}o Ara{\'{u}}jo and
+ Pablo S{\'{a}}nchez},
+ title = {8th {IEEE} International Model-Driven Requirements
+ Engineering Workshop, MoDRE@RE 2018, Banff, AB,
+ Canada, August 20, 2018},
+ publisher = {{IEEE} Computer Society},
+ year = {2018},
+ url = {<a href="http://ieeexplore.ieee.org/xpl/mostRecentIssue.jsp?punumber=8500723">http://ieeexplore.ieee.org/xpl/mostRecentIssue.jsp?punumber=8500723</a>},
+ isbn = {978-1-5386-8406-1},
+ timestamp = {Thu, 14 Feb 2019 15:07:29 +0100},
+ biburl = {https://dblp.org/rec/bib/conf/re/2018modre},
+ bibsource = {dblp computer science bibliography, https://dblp.org}
+}
+</pre>
+
+<a name="bandali2020"></a><pre>
+@mastersthesis{<a href="publications#bandali2020">bandali2020</a>,
+ type = {{MMath} thesis},
+ author = {Amin Bandali},
+ title = {{A Comprehensive Study of Declarative Modelling Languages}},
+ school = {University of Waterloo, David R. Cheriton School of Computer Science},
+ year = 2020,
+ month = {July},
+ publisher = {UWSpace},
+ url = {<a href="http://hdl.handle.net/10012/16059">http://hdl.handle.net/10012/16059</a>},
+ note = {\url{http://hdl.handle.net/10012/16059} and
+ \url{https://bndl.org/mmath}},
+ pdf = {https://p.bndl.org/bandali-mmath-thesis.pdf}
+}
+</pre>
+
--- /dev/null
+% bandali.bib --- bandali's bibliography -*-bibtex-*-
+
+% Copyright (C) 2020 Amin Bandali <bandali at uwaterloo.ca>
+% DBLP items under CC0 (<https://dblp.org/db/about/copyright.html>)
+
+%% ===================================================================
+%% string definitions
+%% ===================================================================
+
+@string{uwaterloo = "University of Waterloo"}
+@string{drc-scs = "David R. Cheriton School of Computer Science"}
+@string{uwaterloo-cs = uwaterloo # ", " # drc-scs}
+
+%% ===================================================================
+%% bandali's papers and talks (in chronological order)
+%% ===================================================================
+
+@inproceedings{DBLP:conf/re/AbbassiBDS18,
+ author = {Ali Abbassi and
+ Amin Bandali and
+ Nancy A. Day and
+ Jos{\'{e}} Serna},
+ title = {A Comparison of the Declarative Modelling Languages
+ {B}, {Dash}, and {TLA\textsuperscript{+}}},
+ booktitle = {8th {IEEE} International Model-Driven Requirements
+ Engineering Workshop, MoDRE@RE 2018, Banff, AB,
+ Canada, August 20, 2018},
+ pages = {11--20},
+ year = {2018},
+ crossref = {DBLP:conf/re/2018modre},
+ url = {https://doi.org/10.1109/MoDRE.2018.00008},
+ doi = {10.1109/MoDRE.2018.00008},
+ timestamp = {Thu, 14 Feb 2019 15:07:29 +0100},
+ biburl = {https://dblp.org/rec/bib/conf/re/AbbassiBDS18},
+ bibsource = {dblp computer science bibliography, https://dblp.org},
+ pdf = "https://p.bndl.org/modre2018-declarative.pdf"
+}
+
+@proceedings{DBLP:conf/re/2018modre,
+ editor = {Ana Moreira and
+ Gunter Mussbacher and
+ Jo{\~{a}}o Ara{\'{u}}jo and
+ Pablo S{\'{a}}nchez},
+ title = {8th {IEEE} International Model-Driven Requirements
+ Engineering Workshop, MoDRE@RE 2018, Banff, AB,
+ Canada, August 20, 2018},
+ publisher = {{IEEE} Computer Society},
+ year = {2018},
+ url = {http://ieeexplore.ieee.org/xpl/mostRecentIssue.jsp?punumber=8500723},
+ isbn = {978-1-5386-8406-1},
+ timestamp = {Thu, 14 Feb 2019 15:07:29 +0100},
+ biburl = {https://dblp.org/rec/bib/conf/re/2018modre},
+ bibsource = {dblp computer science bibliography, https://dblp.org}
+}
+
+@mastersthesis{bandali2020,
+ type = {{MMath} thesis},
+ author = {Amin Bandali},
+ title = {{A Comprehensive Study of Declarative Modelling Languages}},
+ school = uwaterloo-cs,
+ year = 2020,
+ month = {July},
+ publisher = "UWSpace",
+ url = {http://hdl.handle.net/10012/16059},
+ note = {\url{http://hdl.handle.net/10012/16059} and
+ \url{https://bndl.org/mmath}},
+ pdf = "https://p.bndl.org/bandali-mmath-thesis.pdf"
+}
--- /dev/null
+# delete all leading blank lines
+# tip: can use /[[:space:]]/,$!d to delete all leading space
+/./,$!d
+
+# take the rename into consideration
+s/publications_bib.html#/bandali-bib#/
+
+# linkify author names
+s|Amin Bandali|<a href="https://bndl.org">&</a>|
+s|Nancy A. Day|<a href="https://cs.uwaterloo.ca/~nday/">&</a>|
--- /dev/null
+<table>
+
+<tr valign="top">
+<td align="right" class="bibtexnumber">
+[<a name="bandali2020">2</a>]
+</td>
+<td class="bibtexitem">
+<a href="https://bndl.org">Amin Bandali</a>.
+ A Comprehensive Study of Declarative Modelling Languages.
+ MMath thesis, University of Waterloo, David R. Cheriton School of
+ Computer Science, July 2020.
+ <a href="http://hdl.handle.net/10012/16059">http://hdl.handle.net/10012/16059</a> and
+ <a href="https://bndl.org/mmath">https://bndl.org/mmath</a>.
+[ <a href="bandali-bib#bandali2020">bib</a> |
+<a href="http://hdl.handle.net/10012/16059">http</a> |
+<a href="https://p.bndl.org/bandali-mmath-thesis.pdf">.pdf</a> ]
+
+</td>
+</tr>
+
+
+<tr valign="top">
+<td align="right" class="bibtexnumber">
+[<a name="DBLP:conf/re/AbbassiBDS18">1</a>]
+</td>
+<td class="bibtexitem">
+Ali Abbassi, <a href="https://bndl.org">Amin Bandali</a>, <a href="https://cs.uwaterloo.ca/~nday/">Nancy A. Day</a>, and José Serna.
+ A comparison of the declarative modelling languages B, Dash, and
+ TLA<sup>+</sup>.
+ In Ana Moreira, Gunter Mussbacher, João Araújo, and Pablo
+ Sánchez, editors, <em>8th IEEE International Model-Driven
+ Requirements Engineering Workshop, MoDRE@RE 2018, Banff, AB, Canada, August
+ 20, 2018</em>, pages 11–20. IEEE Computer Society, 2018.
+[ <a href="bandali-bib#DBLP:conf/re/AbbassiBDS18">bib</a> |
+<a href="https://doi.org/10.1109/MoDRE.2018.00008">http</a> |
+<a href="https://p.bndl.org/modre2018-declarative.pdf">.pdf</a> ]
+
+</td>
+</tr>
+</table>
\ No newline at end of file
table td {
padding: 0.125em 0.3em;
}
+#pubs td {
+ padding-top: 0.4em;
+ padding-bottom: 0.4em;
+}
table td:first-child {
padding-left: 0;
}
text-align: right;
}
-small, dd {
+small, dd, .small, .bibtexnumber, .bibtexitem, .bibtex2html {
font-size: 0.875em;
}
.muted {
color: #666;
}
-.inbox {
+.inbox, .bibtex2html {
margin-top: 2em;
}