File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change 5
5
# `.bib` files.
6
6
7
7
source ~ /.virtualenvs/playground/bin/activate
8
- python ~ /Projects/bastian.rieck.me/scripts/bibtex_to_markdown.py ~ /Documents/Papers.bib --blocks --level 3 -v > ../content/publications_tmp .md
8
+ python ~ /Projects/bastian.rieck.me/scripts/bibtex_to_markdown.py ~ /Documents/Papers.bib --blocks --level 3 -v > ../content/publications .md
9
9
cp /tmp/* .bib ../static/research/
10
-
11
- {
12
- echo " <div class=\" publications\" >"
13
- echo " "
14
- cat ../content/publications_tmp.md
15
- echo " "
16
- echo " </div>"
17
- } > ../content/publications.md
18
-
19
- awk '
20
- BEGIN { in_block = 0 }
21
- /<!-- BEGIN:PUBLICATIONS -->/ {
22
- print
23
- while ((getline line < "../content/publications.md") > 0) print line
24
- in_block = 1
25
- next
26
- }
27
- /<!-- END:INSERT -->/ { in_block = 0 }
28
- !in_block
29
- ' ../content/research.md > ../content/research_tmp.md
30
-
31
- mv ../content/research_tmp.md ../content/research.md
You can’t perform that action at this time.
0 commit comments