Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
gisma committed Apr 17, 2024
1 parent 541c4cc commit 927ff72
Show file tree
Hide file tree
Showing 742 changed files with 187,661 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
workflow_dispatch:
push:
branches: master

name: Quarto Publish


jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


27 changes: 27 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
workflow_dispatch:
push:
branches: main

name: Quarto Publish


jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.Rproj.user
.Rhistory
.RData
.Ruserdata
_components
docs
index.md
material2024
node_modules
package-lock.json
package.json
/.quarto/
unit04-04.qmd
Empty file added .nojekyll
Empty file.
427 changes: 427 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
# gc-geoinfo
![Course Header](https://gisma-courses.github.io/geoinfo-basis-qgis/assets/images/splash-geoinformatik.jpg "Image source: C.Reudenbach")



This course is part of [gisma spatial science ressources](https://gisma-courses.github.io/gc/) of the [Department of Geography](https://www.uni-marburg.de/fb19).



The [course content](https://gisma-courses.github.io/geoinfo-basis-qgis/) is developed and hosted on Github.


The responsibility for the content rests with the instructors. Statements, opinions and/or conclusions are the ones from the instructors and do not necessarily reflect the opinion of the representatives of Marburg University.

<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.


6 changes: 6 additions & 0 deletions _extensions/EmilHvitfeldt/roughnotation/_extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: RoughNotations
author: Emil Hvitfeldt
version: 1.0.0
contributes:
filters:
- rough.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 57 additions & 0 deletions _extensions/EmilHvitfeldt/roughnotation/rough.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
document.addEventListener("DOMContentLoaded", function () {
var rn_counter = 0;

Reveal.on("slidechanged", (event) => {
rn_counter = 0;
});

function strictly_false(x) {
var out = true;
if (x === "false") {
out = false;
}
return out;
}

Reveal.addKeyBinding(
{ keyCode: 82, key: "R", description: "Trigger RoughNotation" },
function () {
rn_counter = rn_counter + 1;

const slide = Reveal.getCurrentSlide();
const divs = Array.from(slide.querySelectorAll(".rn"));
const new_divs = divs
.filter(function (rn) {
if (rn_counter == 1) {
if (rn.dataset.rnIndex > 1) {
return false;
}
} else {
if (typeof rn.dataset.rnIndex == "undefined") {
return false;
}
if (rn.dataset.rnIndex != rn_counter) {
return false;
}
}
return true;
})
.map(function (rn) {
return RoughNotation.annotate(rn, {
type: rn.dataset.rnType || "highlight",
animate: strictly_false(rn.dataset.rnAnimate),
animationDuration: parseInt(rn.dataset.rnAnimationduration) || 800,
color: rn.dataset.rnColor || "#fff17680",
strokeWidth: parseInt(rn.dataset.rnStrokewidth) || 1,
multiline: strictly_false(rn.dataset.rnMultiline),
iterations: parseInt(rn.dataset.rnIterations) || 2,
rtl: !strictly_false(rn.dataset.rnRtl),
});
});

new_divs.map(function (rn) {
rn.show();
});
}
);
})
12 changes: 12 additions & 0 deletions _extensions/EmilHvitfeldt/roughnotation/rough.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
function Meta(m)
quarto.doc.addHtmlDependency({
name = "roughnotation",
version = "0.5.1",
scripts = {"assets/rough-notation.iife.js"}
})
quarto.doc.addHtmlDependency({
name = "roughnotation-init",
version = "1.0.0",
scripts = {"rough.js"}
})
end
69 changes: 69 additions & 0 deletions _extensions/andrewheiss/hikmah-manuscript/_extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
title: Hikma Manuscript
author: Andrew Heiss
version: 0.0.1
contributes:
formats:
common:
date-format: full
docx:
reference-doc: "styles/reference.docx"
knitr:
opts_chunk:
dev: "png"
dev-args:
- "cairo-png"
dpi: 300
out.width: "80%"
odt:
template: "templates/odt-manuscript.odt"
reference-doc: "styles/reference.odt"
knitr:
opts_chunk:
dev: "png"
dev-args:
- "cairo-png"
dpi: 300
out.width: "80%"
pdf:
documentclass: article
papersize: letter
fontsize: 12pt
linestretch: 2

# Template pieces
template-partials:
- "partials/title.tex"
- "partials/before-body.tex"
include-in-header:
- "include-in-header.tex"

# Document styling
geometry:
- top=1in
- bottom=1in
- left=1in
- right=1in

# Citations and links
colorlinks: true
linkcolor: DarkSlateBlue
urlcolor: DarkSlateBlue
citecolor: DarkSlateBlue
link-citations: true

biblio-title: "References"
biblio-config: false # Don't use the default template's biblatex commands
cite-method: biblatex
biblatex-chicago: false # Custom flag for enabling biblatex-chicago
biblio-style: apa
biblatexoptions:
- backend=biber

# The titlesec package provides its own mechanism for dealing with
# inline/block headings, so we need to disable pandoc's support for it
# (see https://stackoverflow.com/q/42916124/120898)
block-headings: false
# Indent paragraphs instead of adding space between them
indent: true
html:
theme: styles/pretty.scss
101 changes: 101 additions & 0 deletions _extensions/andrewheiss/hikmah-manuscript/include-in-header.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
% -----------------------
% CUSTOM PREAMBLE STUFF
% -----------------------

% -----------------
% Typography tweaks
% -----------------
% Indent size
\setlength{\parindent}{0.5in}
\setlength{\leftmargin}{0.5in}

% Fix widows and orphans
\usepackage[all,defaultlines=2]{nowidow}

% List things
\usepackage{enumitem}
% Same document-level indentation for ordered and ordered lists
\setlist[1]{labelindent=\parindent}
\setlist[itemize]{leftmargin=*}
\setlist[enumerate]{leftmargin=*}

% Wrap definition list terms
% https://tex.stackexchange.com/a/9763/11851
\setlist[description]{style=unboxed}


% For better TOCs
\usepackage{tocloft}

% Remove left margin in lists inside longtables
% https://tex.stackexchange.com/a/378190/11851
\AtBeginEnvironment{longtable}{\setlist[itemize]{nosep, wide=0pt, leftmargin=*, before=\vspace*{-\baselineskip}, after=\vspace*{-\baselineskip}}}

% For fancy ORCID links
\usepackage{orcidlink}

% Indent all first paragraphs because APA wants that
\usepackage{indentfirst}


% -----------------
% Title block stuff
% -----------------

% Abstract
\usepackage{abstract}
\renewcommand{\abstractnamefont}{\normalfont\normalsize\bfseries}
\renewcommand{\abstracttextfont}{\normalsize}
\setlength{\absleftindent}{\parindent}
\setlength{\absrightindent}{\parindent}


% Keywords
\providecommand{\keywords}[1]{\textbf{\textit{Keywords---}}#1}

% Title
\usepackage{titling}
\setlength{\droptitle}{2\baselineskip}
\pretitle{\begin{center}\normalfont\normalsize\bfseries}
\posttitle{\par\end{center}\vspace{2\baselineskip}}


% ------------------
% Section headings
% ------------------
\usepackage{titlesec}
\titleformat*{\section}{\center\normalsize\bfseries}
\titleformat*{\subsection}{\normalsize\bfseries}
\titleformat*{\subsubsection}{\normalsize\bfseries\itshape}
\titleformat{\paragraph}[runin]{\bfseries}{\theparagraph.}{3pt}{\space}[.]
\titleformat{\subparagraph}[runin]{\bfseries\itshape}{\thesubparagraph.}{3pt}{\space}[.]

% \titlespacing{<command>}{<left>}{<before-sep>}{<after-sep>}
% Starred version removes indentation in following paragraph
\titlespacing*{\section}{0em}{2em}{0em}
\titlespacing*{\subsection}{0em}{1em}{0em}
\titlespacing*{\subsubsection}{0em}{0em}{0em}
\titlespacing*{\paragraph}{\parindent}{1ex}{1em}
\titlespacing*{\subparagraph}{\parindent}{1ex}{1em}


% -----------
% Footnotes
% -----------
% NB: footmisc has to come after biblatex because of conflicts
\usepackage[bottom]{footmisc}
\renewcommand*{\footnotelayout}{\footnotesize}

\addtolength{\skip\footins}{12pt} % vertical space between rule and main text
\setlength{\footnotesep}{16pt} % vertical space between footnotes


% ----------
% Captions
% ----------
\usepackage[font=normalsize]{caption}


% ---------------------------
% END CUSTOM PREAMBLE STUFF
% ---------------------------
Loading

0 comments on commit 927ff72

Please sign in to comment.