Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

gucio321/fizyka

Repository files navigation

NOTE

This project is currently deprecated and not developed anymore. Continue here: https://github.com/gucio321/matematyka

Despite some of references below may not work anymore, you can still visit this website at https://gucio321.github.io/fizyka

Thanx! gucio321 gucio321@users.noreply.github.com - editor-in-chief of "Zadania z Fizyki - Dokumentacja" website

Description

this is a source repository of (temporarly) https://gucio321.github.io/fizyka and https://walicfizyke.ddns.net

How to start

to start working with the project you need only to have python3 installed then clone the repo and in the root dir:

python3 -m pip install virtualenv
python3 -m virtualenv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt

now you can use make html to build page locally in _build

Building PDF document

Sphinx supports converting whole code to latex and then to PDF document. To do so execute make latexpdf.

Linux

There are several DNF packages you need to install before running make latexpdf. I'll try to create a full list of these packages later. For now:

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

For ubuntu-based sysstems package names might be slightly different

Spell checking

the project is using PySpelling (aspell / huspell) so ensure that you have polish dictionary installed

On Fedora:

sudo dnf install aspell-pl