Skip to content

Commit d58730b

Browse files
authored
Update publications.ipynb
1 parent 747e1c8 commit d58730b

File tree

1 file changed

+33
-64
lines changed

1 file changed

+33
-64
lines changed

markdown_generator/publications.ipynb

Lines changed: 33 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
{
3333
"cell_type": "code",
34-
"execution_count": 10,
34+
"execution_count": 1,
3535
"metadata": {
3636
"collapsed": false
3737
},
@@ -40,10 +40,10 @@
4040
"name": "stdout",
4141
"output_type": "stream",
4242
"text": [
43-
"pub_date\ttitle\tvenue\texcerpt\tcitation\turl_slug\tpaper_url\tslides_url\n",
44-
"2009-10-01\tPaper Title Number 1\tJournal 1\tThis paper is about the number 1. The number 2 is left for future work.\tYour Name, You. (2009). \"Paper Title Number 1.\" <i>Journal 1</i>. 1(1).\tpaper-title-number-1\thttp://academicpages.github.io/files/paper1.pdf\thttp://academicpages.github.io/files/slides1.pdf\n",
45-
"2010-10-01\tPaper Title Number 2\tJournal 1\tThis paper is about the number 2. The number 3 is left for future work.\tYour Name, You. (2010). \"Paper Title Number 2.\" <i>Journal 1</i>. 1(2).\tpaper-title-number-2\thttp://academicpages.github.io/files/paper2.pdf\thttp://academicpages.github.io/files/slides2.pdf\n",
46-
"2015-10-01\tPaper Title Number 3\tJournal 1\tThis paper is about the number 3. The number 4 is left for future work.\tYour Name, You. (2015). \"Paper Title Number 3.\" <i>Journal 1</i>. 1(3).\tpaper-title-number-3\thttp://academicpages.github.io/files/paper3.pdf\thttp://academicpages.github.io/files/slides3.pdf"
43+
"pub_date\ttitle\tvenue\texcerpt\tcitation\turl_slug\tpaper_url\r\n",
44+
"2009-10-01\tPaper Title Number 1\tJournal 1\tThis paper is about the number 1. The number 2 is left for future work.\tYour Name, You. (2009). \"Paper Title Number 1.\" <i>Journal 1</i>. 1(1).\tpaper-title-number-1\thttp://academicpages.github.io/files/paper1.pdf\r\n",
45+
"2010-10-01\tPaper Title Number 2\tJournal 1\tThis paper is about the number 2. The number 3 is left for future work.\tYour Name, You. (2010). \"Paper Title Number 2.\" <i>Journal 1</i>. 1(2).\tpaper-title-number-2\thttp://academicpages.github.io/files/paper2.pdf\r\n",
46+
"2015-10-01\tPaper Title Number 3\tJournal 1\tThis paper is about the number 3. The number 4 is left for future work.\tYour Name, You. (2015). \"Paper Title Number 3.\" <i>Journal 1</i>. 1(3).\tpaper-title-number-3\thttp://academicpages.github.io/files/paper3.pdf"
4747
]
4848
}
4949
],
@@ -62,7 +62,7 @@
6262
},
6363
{
6464
"cell_type": "code",
65-
"execution_count": 11,
65+
"execution_count": 2,
6666
"metadata": {
6767
"collapsed": true,
6868
"deletable": true,
@@ -86,7 +86,7 @@
8686
},
8787
{
8888
"cell_type": "code",
89-
"execution_count": 12,
89+
"execution_count": 3,
9090
"metadata": {
9191
"collapsed": false,
9292
"deletable": true,
@@ -97,19 +97,6 @@
9797
"data": {
9898
"text/html": [
9999
"<div>\n",
100-
"<style scoped>\n",
101-
" .dataframe tbody tr th:only-of-type {\n",
102-
" vertical-align: middle;\n",
103-
" }\n",
104-
"\n",
105-
" .dataframe tbody tr th {\n",
106-
" vertical-align: top;\n",
107-
" }\n",
108-
"\n",
109-
" .dataframe thead th {\n",
110-
" text-align: right;\n",
111-
" }\n",
112-
"</style>\n",
113100
"<table border=\"1\" class=\"dataframe\">\n",
114101
" <thead>\n",
115102
" <tr style=\"text-align: right;\">\n",
@@ -121,7 +108,6 @@
121108
" <th>citation</th>\n",
122109
" <th>url_slug</th>\n",
123110
" <th>paper_url</th>\n",
124-
" <th>slides_url</th>\n",
125111
" </tr>\n",
126112
" </thead>\n",
127113
" <tbody>\n",
@@ -134,7 +120,6 @@
134120
" <td>Your Name, You. (2009). \"Paper Title Number 1....</td>\n",
135121
" <td>paper-title-number-1</td>\n",
136122
" <td>http://academicpages.github.io/files/paper1.pdf</td>\n",
137-
" <td>http://academicpages.github.io/files/slides1.pdf</td>\n",
138123
" </tr>\n",
139124
" <tr>\n",
140125
" <th>1</th>\n",
@@ -145,7 +130,6 @@
145130
" <td>Your Name, You. (2010). \"Paper Title Number 2....</td>\n",
146131
" <td>paper-title-number-2</td>\n",
147132
" <td>http://academicpages.github.io/files/paper2.pdf</td>\n",
148-
" <td>http://academicpages.github.io/files/slides2.pdf</td>\n",
149133
" </tr>\n",
150134
" <tr>\n",
151135
" <th>2</th>\n",
@@ -156,7 +140,6 @@
156140
" <td>Your Name, You. (2015). \"Paper Title Number 3....</td>\n",
157141
" <td>paper-title-number-3</td>\n",
158142
" <td>http://academicpages.github.io/files/paper3.pdf</td>\n",
159-
" <td>http://academicpages.github.io/files/slides3.pdf</td>\n",
160143
" </tr>\n",
161144
" </tbody>\n",
162145
"</table>\n",
@@ -178,18 +161,13 @@
178161
"1 Your Name, You. (2010). \"Paper Title Number 2.... paper-title-number-2 \n",
179162
"2 Your Name, You. (2015). \"Paper Title Number 3.... paper-title-number-3 \n",
180163
"\n",
181-
" paper_url \\\n",
182-
"0 http://academicpages.github.io/files/paper1.pdf \n",
183-
"1 http://academicpages.github.io/files/paper2.pdf \n",
184-
"2 http://academicpages.github.io/files/paper3.pdf \n",
185-
"\n",
186-
" slides_url \n",
187-
"0 http://academicpages.github.io/files/slides1.pdf \n",
188-
"1 http://academicpages.github.io/files/slides2.pdf \n",
189-
"2 http://academicpages.github.io/files/slides3.pdf "
164+
" paper_url \n",
165+
"0 http://academicpages.github.io/files/paper1.pdf \n",
166+
"1 http://academicpages.github.io/files/paper2.pdf \n",
167+
"2 http://academicpages.github.io/files/paper3.pdf "
190168
]
191169
},
192-
"execution_count": 12,
170+
"execution_count": 3,
193171
"metadata": {},
194172
"output_type": "execute_result"
195173
}
@@ -210,7 +188,7 @@
210188
},
211189
{
212190
"cell_type": "code",
213-
"execution_count": 13,
191+
"execution_count": 4,
214192
"metadata": {
215193
"collapsed": true,
216194
"deletable": true,
@@ -240,7 +218,7 @@
240218
},
241219
{
242220
"cell_type": "code",
243-
"execution_count": 14,
221+
"execution_count": 5,
244222
"metadata": {
245223
"collapsed": false,
246224
"deletable": true,
@@ -270,9 +248,6 @@
270248
" \n",
271249
" md += \"\\nvenue: '\" + html_escape(item.venue) + \"'\"\n",
272250
" \n",
273-
" if len(str(item.slides_url)) > 5:\n",
274-
" md += \"\\nslidesurl: '\" + item.slides_url + \"'\"\n",
275-
"\n",
276251
" if len(str(item.paper_url)) > 5:\n",
277252
" md += \"\\npaperurl: '\" + item.paper_url + \"'\"\n",
278253
" \n",
@@ -284,10 +259,7 @@
284259
" \n",
285260
" if len(str(item.excerpt)) > 5:\n",
286261
" md += \"\\n\" + html_escape(item.excerpt) + \"\\n\"\n",
287-
"\n",
288-
" if len(str(item.slides_url)) > 5:\n",
289-
" md += \"\\n[Download slides here](\" + item.slides_url + \")\\n\" \n",
290-
"\n",
262+
" \n",
291263
" if len(str(item.paper_url)) > 5:\n",
292264
" md += \"\\n[Download paper here](\" + item.paper_url + \")\\n\" \n",
293265
" \n",
@@ -308,7 +280,7 @@
308280
},
309281
{
310282
"cell_type": "code",
311-
"execution_count": 15,
283+
"execution_count": 6,
312284
"metadata": {
313285
"collapsed": false,
314286
"deletable": true,
@@ -319,8 +291,8 @@
319291
"name": "stdout",
320292
"output_type": "stream",
321293
"text": [
322-
"2009-10-01-paper-title-number-1.md 2015-10-01-paper-title-number-3.md\n",
323-
"2010-10-01-paper-title-number-2.md 2024-02-17-paper-title-number-4.md\n"
294+
"2009-10-01-paper-title-number-1.md 2015-10-01-paper-title-number-3.md\r\n",
295+
"2010-10-01-paper-title-number-2.md\r\n"
324296
]
325297
}
326298
],
@@ -330,7 +302,7 @@
330302
},
331303
{
332304
"cell_type": "code",
333-
"execution_count": 16,
305+
"execution_count": 7,
334306
"metadata": {
335307
"collapsed": false,
336308
"deletable": true,
@@ -341,23 +313,20 @@
341313
"name": "stdout",
342314
"output_type": "stream",
343315
"text": [
344-
"---\n",
345-
"title: \"Paper Title Number 1\"\n",
346-
"collection: publications\n",
347-
"permalink: /publication/2009-10-01-paper-title-number-1\n",
348-
"excerpt: 'This paper is about the number 1. The number 2 is left for future work.'\n",
349-
"date: 2009-10-01\n",
350-
"venue: 'Journal 1'\n",
351-
"slidesurl: 'http://academicpages.github.io/files/slides1.pdf'\n",
352-
"paperurl: 'http://academicpages.github.io/files/paper1.pdf'\n",
353-
"citation: 'Your Name, You. (2009). &quot;Paper Title Number 1.&quot; <i>Journal 1</i>. 1(1).'\n",
354-
"---\n",
355-
"This paper is about the number 1. The number 2 is left for future work.\n",
356-
"\n",
357-
"[Download slides here](http://academicpages.github.io/files/slides1.pdf)\n",
358-
"\n",
359-
"[Download paper here](http://academicpages.github.io/files/paper1.pdf)\n",
360-
"\n",
316+
"---\r\n",
317+
"title: \"Paper Title Number 1\"\r\n",
318+
"collection: publications\r\n",
319+
"permalink: /publication/2009-10-01-paper-title-number-1\r\n",
320+
"excerpt: 'This paper is about the number 1. The number 2 is left for future work.'\r\n",
321+
"date: 2009-10-01\r\n",
322+
"venue: 'Journal 1'\r\n",
323+
"paperurl: 'http://academicpages.github.io/files/paper1.pdf'\r\n",
324+
"citation: 'Your Name, You. (2009). &quot;Paper Title Number 1.&quot; <i>Journal 1</i>. 1(1).'\r\n",
325+
"---\r\n",
326+
"This paper is about the number 1. The number 2 is left for future work.\r\n",
327+
"\r\n",
328+
"[Download paper here](http://academicpages.github.io/files/paper1.pdf)\r\n",
329+
"\r\n",
361330
"Recommended citation: Your Name, You. (2009). \"Paper Title Number 1.\" <i>Journal 1</i>. 1(1)."
362331
]
363332
}

0 commit comments

Comments
 (0)