mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 13:48:34 +00:00
initial
This commit is contained in:
parent
c22eab7406
commit
876e8be54e
12
paper/filter.py
Executable file
12
paper/filter.py
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
|
||||
from pandocfilters import toJSONFilter, RawBlock
|
||||
|
||||
def toMiniREPL(key, value, format, meta):
|
||||
# print(value, file=sys.stderr)
|
||||
if key == 'CodeBlock':
|
||||
return RawBlock("markdown", "<MiniRepl tune={`" + value[1] + "`} />")
|
||||
|
||||
if __name__ == "__main__":
|
||||
toJSONFilter(toMiniREPL)
|
||||
15
paper/make.sh
Executable file
15
paper/make.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -d "$HOME/.cabal/bin" ] ; then
|
||||
PATH="$HOME/.cabal/bin:$PATH"
|
||||
fi
|
||||
|
||||
# --template=templates/template.latex \
|
||||
|
||||
pandoc -s paper.md \
|
||||
--from markdown+auto_identifiers -V colorlinks --number-sections --citeproc --pdf-engine=xelatex \
|
||||
--dpi=300 --bibliography strudel.bib -o paper.pdf
|
||||
|
||||
pandoc -s paper.md --filter filter.py --citeproc --bibliography strudel.bib \
|
||||
-t markdown-citations -t markdown-fenced_divs \
|
||||
-o paper-preprocessed.md
|
||||
14
paper/paper-preprocessed.md
Normal file
14
paper/paper-preprocessed.md
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
bibliography: strudel.bib
|
||||
date: 2022-03-22
|
||||
title: Strudel
|
||||
---
|
||||
|
||||
# Introduction
|
||||
|
||||
That @roberts2015 are excellent, I reference their work at least twice
|
||||
per sentence [@roberts2015, p. 3].
|
||||
|
||||
<MiniRepl tune={`"1 2 3"`} />
|
||||
|
||||
# References {#references .unnumbered}
|
||||
15
paper/paper.md
Normal file
15
paper/paper.md
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
title: 'Strudel'
|
||||
date: '2022-03-22'
|
||||
---
|
||||
|
||||
# Introduction
|
||||
|
||||
That @roberts2015 are excellent, I reference their work at least twice per sentence [@roberts2015, p. 3].
|
||||
|
||||
```javascript
|
||||
"1 2 3"
|
||||
```
|
||||
|
||||
# References
|
||||
|
||||
BIN
paper/paper.pdf
Normal file
BIN
paper/paper.pdf
Normal file
Binary file not shown.
16
paper/strudel.bib
Normal file
16
paper/strudel.bib
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
@inproceedings{roberts2015,
|
||||
title = {Beyond {{Editing}}: {{Extended Interaction}} with {{Textual Code Fragments}}},
|
||||
shorttitle = {Beyond {{Editing}}},
|
||||
booktitle = {Proceedings of the International Conference on {{New Interfaces}} for {{Musical Expression}}},
|
||||
author = {Roberts, Charles and Wright, Matthew and Kuchera-Morin, JoAnn},
|
||||
date = {2015-05-30},
|
||||
series = {{{NIME}} 2015},
|
||||
pages = {126--131},
|
||||
publisher = {{The School of Music and the Center for Computation and Technology (CCT), Louisiana State University}},
|
||||
location = {{Baton Rouge, Louisiana, USA}},
|
||||
abstract = {We describe research extending the interactive affordances of textual code fragments in creative coding environments. In particular we examine the potential of source code both to display the state of running processes and also to alter state using means other than traditional text editing. In contrast to previous research that has focused on the inclusion of additional interactive widgets inside or alongside text editors, our research adds a parsing stage to the runtime evaluation of code fragments and imparts additional interactive capabilities on the source code itself. After implementing various techniques in the creative coding environment Gibber, we evaluate our research through a survey on the various methods of visual feedback provided by our research. In addition to results quantifying preferences for certain techniques over others, we found near unanimous support among survey respondents for including similar techniques in other live coding environments.},
|
||||
isbn = {978-0-692-49547-6}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user