/FinalStupidty2021

Теми за държавен изпит теория по (псевдо)специалност "Софтуерно инженерство" във ФМИ

Primary LanguageTeX

Exam preparation

Prepare for the end is near. 🌋 🌋 🍃

Ahhh shit here we go again!

Dev guideline

🐧 Ubuntu

To install TeX simply run:

sudo apt install texlive texlive-lang-cyrillic texlive-latex-extra
# For VS Code integration
sudo apt install latexmk

Then in VSCode:

  1. Install VS Code extension LaTeX Workshop
  2. Go to TeX sidebar tab
  3. Click View LaTeX PDF

ℹ️ VS Code updates automatically on .tex save.

🍎 MacOS

To install TeX follow this tutorial (it covers VS Code integartion).

Conventions

Always put your topic in a folder named xx where xx are digits representing the topic number. Always add your images in a subfolder of the topic folder named img, i.e. xx/img. Always begin your topic title with Тема xx\\ .

Creating a release

You need to have installed jq, zip and docker as a prerequisite.

We have a script that uses docker latex to build all topic tex files, bundle them up, create a github release and upload the bundle as an asset. You could run it with:

source .envrc # or just use direnv
GITHUB_API_TOKEN=api-token ./hack/release.sh tag=vx.x.x

Links to useful resources