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 @@ ...@@ -6,18 +6,27 @@
## goals ## goals
- focus on content/writing - focus on content/writing
- version control
- next generation communication - next generation communication
- avoid emails with attachments, right? - avoid emails with attachments, right?
- reviews! - reviews!
- automated publishing - automated publishing
- high quality typesetting
# tool overview # tool overview
## markdown ## markdown
- easy to learn, read and write - **easy to learn**, read and write
- no distractions to procrastinate - no distractions to *procrastinate*
- no fiddling with WYSIWYG - 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 ## git
...@@ -31,16 +40,26 @@ ...@@ -31,16 +40,26 @@
- communication: discussion and reviews - communication: discussion and reviews
- continuous deployment to e.g. cloud storage - continuous deployment to e.g. cloud storage
## pandoc ## pandoc #1
- render markup source to high quality PDF - render markup source ...
- markup usually less powerful than LaTeX, but inline LaTeX can be used - usually **Markdown**
- supports templates e.g. for different journals or iDiv branding - 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 ## make
- automate build - automate build
- create images with visualization tools (see below) - use visualization tools
# optional tools # optional tools
...@@ -49,12 +68,12 @@ ...@@ -49,12 +68,12 @@
- graph visualization language - graph visualization language
- define flowcharts with code - define flowcharts with code
- **dot** handles rendering - **dot** handles rendering
- use **make** to automatically build - use **make** to build
## R scripts ## R scripts
- turn scientific computing results (CSV) to charts - CSV2charts
- use **make** to automatically build - use **make** to build
# branching model # branching model
...@@ -68,16 +87,47 @@ ...@@ -68,16 +87,47 @@
- same paper text - same paper text
- different themes for journals - 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 # misc
## helpful commands ## helpful commands
Better diff command for text:
```bash ```bash
# better diff command for text:
git diff -w --ignore-blank-lines --word-diff git diff -w --ignore-blank-lines --word-diff
# watch source and build if changes
watchexec -w paper.md -- make paper.pdf watchexec -w paper.md -- make paper.pdf
``` ```
...@@ -85,3 +135,23 @@ watchexec -w paper.md -- make paper.pdf ...@@ -85,3 +135,23 @@ watchexec -w paper.md -- make paper.pdf
- to wrap or not to wrap - to wrap or not to wrap
- true paragraph-based diff - 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