generated from latex4ei/CheatsheetTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8ecd60c
Showing
66 changed files
with
8,202 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "LaTeX4Ei Devcontainer", | ||
"image": "makeappdev/uselatex:latest", | ||
"extensions": [ | ||
"eamodio.gitlens", | ||
"James-Yu.latex-workshop", | ||
"ms-azuretools.vscode-docker", | ||
"ms-vscode-remote.vscode-remote-extensionpack", | ||
"ms-vscode.cmake-tools", | ||
"twxs.cmake" | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: 🔍 Search for existing issues first. | ||
url: https://github.com/latex4ei/Allgemein/issues | ||
about: Please search to see if an issue already exists, either in this repo or our common issue in https://github.com/latex4ei/Allgemein/issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Feature request | ||
description: Suggest an idea for this project | ||
labels: [enhancement] | ||
assignees: [] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
**Is your feature request related to a problem? Please describe.** | ||
- type: textarea | ||
id: problem-description | ||
attributes: | ||
label: Problem Description | ||
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
**Describe the solution you'd like** | ||
- type: textarea | ||
id: solution-description | ||
attributes: | ||
label: Solution Description | ||
description: A clear and concise description of what you want to happen. | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
**Describe alternatives you've considered** | ||
- type: textarea | ||
id: alternatives-description | ||
attributes: | ||
label: Alternatives Description | ||
description: A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
**Additional context** | ||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: Additional Context | ||
description: Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Inhaltlicher Fehler | ||
about: Hilf uns Fehler zu Verbessern | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Fehlerbeschreibung** | ||
Beschreibe hier den Fehler | ||
|
||
**Referenz** | ||
Wenn möglich immer eine Referenz zum Skript o.ä. angeben oder als Screenshot mit einfügen. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Inhaltlicher Fehler | ||
description: Hilf uns Fehler zu Verbessern | ||
labels: [bug] | ||
assignees: [] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
**Fehlerbeschreibung** | ||
- type: textarea | ||
id: error-description | ||
attributes: | ||
label: Fehlerbeschreibung | ||
description: Beschreibe hier den Fehler | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
**Referenz** | ||
- type: textarea | ||
id: reference | ||
attributes: | ||
label: Referenz | ||
description: Wenn möglich immer eine Referenz zum Skript o.ä. angeben oder als Screenshot mit einfügen. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Vorschlag Fehlerkorrektur | ||
about: Du hast einen Fehler gefunden und willst ihn korrigieren | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Fehlerbeschreibung** | ||
Beschreibe hier den Fehler | ||
|
||
**Referenz** | ||
Wenn möglich immer eine Referenz zum Skript o.ä. angeben oder als Screenshot mit einfügen. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ master, main ] | ||
pull_request: | ||
branches: [ master, main ] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.12.2' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r scripts/requirements.txt | ||
- name: Run pytest | ||
run: pytest | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
container: makeappdev/uselatex:latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git safe directory with GITHUB_WORKSPACE | ||
run: git config --global --add safe.directory $GITHUB_WORKSPACE | ||
|
||
- name: Build | ||
run: | | ||
cmake --version; pdflatex --version | ||
mkdir -p build && cd build | ||
cmake .. | ||
make | ||
- name: Prepare Deployment | ||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' | ||
run: | | ||
mkdir -p export | ||
echo "# This branch is for deployment only" >> export/README.md | ||
cp build/*.pdf export | ||
cp build/git.id export | ||
- name: Deploy | ||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' | ||
uses: JamesIves/github-pages-deploy-action@v4.5.0 | ||
with: | ||
branch: gh-pages | ||
folder: export | ||
single-commit: true | ||
silent: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Update README and LaTeX Build File | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-and-create-pr: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.12.2' | ||
|
||
- name: Run update script | ||
run: python scripts/update_files.py | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "github-actions[bot]" | ||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
- name: Commit changes to a new branch | ||
run: | | ||
git checkout -b changes/${{ github.run_id }} | ||
git add . | ||
git commit -m "Apply automated updates" | ||
git push -u origin changes/${{ github.run_id }} | ||
- name: Create Pull Request | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
gh pr create --base main --head changes/${{ github.run_id }} --title "Specify project URLs and CMake project" --body "Please review the changes applied by the automated script." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
build/ | ||
|
||
|
||
## Core latex/pdflatex auxiliary files: | ||
*.aux | ||
*.lof | ||
*.log | ||
*.lot | ||
*.fls | ||
*.out | ||
*.toc | ||
|
||
## Intermediate documents: | ||
*.dvi | ||
*-converted-to.* | ||
# these rules might exclude image files for figures etc. | ||
# *.ps | ||
# *.eps | ||
|
||
## Bibliography auxiliary files (bibtex/biblatex/biber): | ||
*.bbl | ||
*.bcf | ||
*.blg | ||
*-blx.aux | ||
*-blx.bib | ||
*.brf | ||
*.run.xml | ||
|
||
## Build tool auxiliary files: | ||
*.fdb_latexmk | ||
*.synctex.gz | ||
*.synctex.gz(busy) | ||
*.pdfsync | ||
|
||
## Auxiliary and intermediate files from other packages: | ||
|
||
# algorithms | ||
*.alg | ||
*.loa | ||
|
||
# amsthm | ||
*.thm | ||
|
||
# beamer | ||
*.nav | ||
*.snm | ||
*.vrb | ||
|
||
#(e)ledmac/(e)ledpar | ||
*.end | ||
*.[1-9] | ||
*.[1-9][0-9] | ||
*.[1-9][0-9][0-9] | ||
*.[1-9]R | ||
*.[1-9][0-9]R | ||
*.[1-9][0-9][0-9]R | ||
*.eledsec[1-9] | ||
*.eledsec[1-9]R | ||
*.eledsec[1-9][0-9] | ||
*.eledsec[1-9][0-9]R | ||
*.eledsec[1-9][0-9][0-9] | ||
*.eledsec[1-9][0-9][0-9]R | ||
|
||
# glossaries | ||
*.acn | ||
*.acr | ||
*.glg | ||
*.glo | ||
*.gls | ||
|
||
# hyperref | ||
*.brf | ||
|
||
# listings | ||
*.lol | ||
|
||
# makeidx | ||
*.idx | ||
*.ilg | ||
*.ind | ||
*.ist | ||
|
||
# minitoc | ||
*.maf | ||
*.mtc | ||
*.mtc0 | ||
|
||
# minted | ||
*.pyg | ||
|
||
# morewrites | ||
*.mw | ||
|
||
# nomencl | ||
*.nlo | ||
|
||
# sagetex | ||
*.sagetex.sage | ||
*.sagetex.py | ||
*.sagetex.scmd | ||
|
||
# sympy | ||
*.sout | ||
*.sympy | ||
sympy-plots-for-*.tex/ | ||
|
||
# todonotes | ||
*.tdo | ||
|
||
# xindy | ||
*.xdy | ||
git.id | ||
*.DS_Store | ||
*.pyc | ||
Karteikarten/eum_karten.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
cmake_minimum_required(VERSION 3.12) | ||
|
||
project(EuM-Karten NONE) | ||
include(UseLATEX) | ||
|
||
add_custom_target( | ||
writegitid ALL | ||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/write-gitid.sh | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} | ||
) | ||
|
||
set(IMAGE_DIRS | ||
img | ||
# Add subdirectories here | ||
# img/logic | ||
# img/rca | ||
) | ||
|
||
add_latex_document(Karteikarten/eum_karten.tex FORCE_PDF INCLUDE_DIRECTORIES | ||
${CMAKE_CURRENT_SOURCE_DIR}/Karteikarten/kartei DEPENDS writegitid) | ||
|
Oops, something went wrong.