Skip to content

Science, Programming, Art and Radioelectronics Club (SPARC) book.

License

Notifications You must be signed in to change notification settings

artyom-poptsov/SPARC

Repository files navigation

Science, Programming, Art and Radioelectronics Club (SPARC) book

https://github.com/artyom-poptsov/SPARC/actions/workflows/pdf.yaml/badge.svg

This README is also available in other languages: ru

A book dedicated to the connection of science, programming, art and radio electronics as part of independent studies or for conducting clubs and practical sessions on microcontroller programming.

License

This work is distributed under the terms of the Attribution-ShareAlike license «Attribution-ShareAlike» 4.0 Worldwide (CC BY-SA 4.0) (https://creativecommons.org/licenses/by-sa/4.0/deed.ru)

The book uses images created by The Noun Project, which are located in the public domain or under a Creative Commons license.

Installation

Manual Installation

The Installation is done via GNU Autotools:

$ git clone https://github.com/artyom-poptsov/SPARC.git
$ cd SPARC
$ autoreconf -vif
$ ./configure
$ make -j$(nproc)

You can clear the directory of generated files using the command:

$ make clean

GNU Guix

Build and install the version from the repository (the book will be located in ~/.guix-profile/share/doc/sparc/sparc.pdf):

guix package -f guix.scm

To generate the book, it is convenient to use Guix Shell:

guix shell --pure -D -f guix.scm
make -j$(nproc)

Ubuntu GNU/Linux 22.04

Installing dependencies from the repository:

sudo apt update
sudo apt install -yqq \
    git \
    automake \
    make \
    lilypond \
    biber \
    fonts-liberation \
    texlive-full \
    python3-pygments \
    inkscape

Installing the Lilyglyphs package:

cd /tmp/
wget https://mirrors.ctan.org/macros/unicodetex/latex/lilyglyphs.zip
unzip lilyglyphs.zip
sudo cp -r ./lilyglyphs/tex/* /usr/share/texmf/tex/latex/
sudo mktexlsr

The rest of the assembly can be done manually, as shown above.