Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
git-seminar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Scientific Computing
education
git-seminar
Commits
58db4c97
Verified
Commit
58db4c97
authored
6 years ago
by
ck85nori
Browse files
Options
Downloads
Patches
Plain Diff
updates paper
parent
29a6709c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
paper.md
+84
-14
84 additions, 14 deletions
paper.md
with
84 additions
and
14 deletions
paper.md
+
84
−
14
View file @
58db4c97
...
@@ -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
-
CSV2
charts
-
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment