Skip to content
Snippets Groups Projects
Verified Commit 58db4c97 authored by ck85nori's avatar ck85nori :railway_track:
Browse files

updates paper

parent 29a6709c
No related branches found
No related tags found
No related merge requests found
......@@ -6,18 +6,27 @@
## goals
- focus on content/writing
- version control
- next generation communication
- avoid emails with attachments, right?
- reviews!
- automated publishing
- high quality typesetting
# tool overview
## markdown
- easy to learn, read and write
- no distractions to procrastinate
- no fiddling with WYSIWYG
- **easy to learn**, read and write
- no distractions to *procrastinate*
- inline LaTeX if needed: $a^2 + b^2 = c^2$
```markdown
- **easy to learn**, read and write
- no distractions to *procrastinate*
- no fiddling with `WYSIWYG`
- inline LaTeX if needed: $a^2 + b^2 = c^2$
```
## git
......@@ -31,16 +40,26 @@
- communication: discussion and reviews
- continuous deployment to e.g. cloud storage
## pandoc
## pandoc #1
- render markup source to high quality PDF
- markup usually less powerful than LaTeX, but inline LaTeX can be used
- supports templates e.g. for different journals or iDiv branding
- render markup source ...
- usually **Markdown**
- markup less powerful than LaTeX
- but inline LaTeX can be used
- ... to high quality target
- PDF via LaTeX
## pandoc #2
### supports templates
- different journals
- iDiv branding
- draft branding
## make
- automate build
- create images with visualization tools (see below)
- use visualization tools
# optional tools
......@@ -49,12 +68,12 @@
- graph visualization language
- define flowcharts with code
- **dot** handles rendering
- use **make** to automatically build
- use **make** to build
## R scripts
- turn scientific computing results (CSV) to charts
- use **make** to automatically build
- CSV2charts
- use **make** to build
# branching model
......@@ -68,16 +87,47 @@
- same paper text
- different themes for journals
- journal-themes via sub-module --> make them reusable
- journal-themes via sub-module
- make themes reusable
# workflow
## workflow #1
write paper in Markdown
## workflow #2
### discussion / reviews
- issues
- merge requests
- commit comments
invite collaborators: send link to GitLab
## workflow #3
### continuous deployment
- deploy PDF to cloud storage
- draft watermark template if commit not tagged
- send others link to PDF in cloud storage
## workflow #4
### templates
- write templates across teams
- use git sub-modules to include
- share with all@idiv / world
# misc
## helpful commands
Better diff command for text:
```bash
# better diff command for text:
git diff -w --ignore-blank-lines --word-diff
# watch source and build if changes
watchexec -w paper.md -- make paper.pdf
```
......@@ -85,3 +135,23 @@ watchexec -w paper.md -- make paper.pdf
- to wrap or not to wrap
- true paragraph-based diff
- we don't have solid CD yet
- can CD deploy to nextcloud share?
- review-able PDF template
- link to join discussion at every paragraph
# your turn
## discussion
- what do you use today?
- what annoys you the most?
## let's use it
- install tools
- set up git project
- convert existing stuff to markdown
- build with pandoc
# EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment