Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 2.44 KB

File metadata and controls

64 lines (45 loc) · 2.44 KB

NOTE: to use pdf build GitHub action, you might need to enable Write Access for our workflow. Navigate Settings -> Actions -> General and change Workflow Permissions to Read and Write permissions

Description

Template for Physics Labs reports on AGH. -- Szablon sprawozdań z Laboratorium Fizycznego AGH.

Usage

  1. Clone this repository or create your own from the template.
  2. Edit conf.py and/or other files (I'll put list here). The variables you may want to use are on top of conf.py (title/author, e.t.c.)
  3. (Only first time) Generate virtual enviroument uv venv
  4. Activate venv source .venv/bin/activate
  5. (Only first time) Install dependencies uv sync
  6. Edit assets/document.md and/or other files
  7. Use makefile to generate project (make html / make latexpdf)
Pre requirements
  • On fedora you need to install this:
dnf install -y latexmk texlive-cmap texlive-collection-fontsrecommended texlive-fncychap texlive-wrapfig texlive-capt-of texlive-framed texlive-upquote texlive-needspace texlive-tabulary texlive-parskip texlive-oberdiek texlive-cancel texlive-hyphen-polish texlive-pict2e texlive-ellipse.noarch
  • on apt-based linux:
sudo apt install -y latexmk texlive texlive-fonts-extra texlive-full texlive-lang-polish
  • on pacman-based linux:
sudo pacman -S texlive-basic texlive-bibtexextra texlive-bin texlive-binextra texlive-fontsextra texlive-fontsrecommended texlive-langpolish texlive-latex texlive-latexextra texlive-latexrecommended texlive-luatex texlive-pictures texlive-xetex

[!note] Turns out that when texlive-fontsextra is not installed, the fancy icons next to admonition blocks are not rendered.

  • on other distros: Generally you need to find the following:

    • pdflatex command
    • something like texlive-full
    • polish babel version (e.g. search for texlive*polish*)
  • On windows: STOP USEING WINDOWS. Ok, seriously speaking: check out the previous point - you need same setup.

Available technologies:

Resources