mxochicale / figures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Figures

This repository contains a collection of images and figures. Maybe the most relevant fetaure is the makefile template to edit figures in inkspace. I however would like to think that is important to choose a nice image that lives in the wallpaper of your machine. The repo is helpful to keep some nice images when I migrate to other machines.

Clone repository

After generating your SSH keys as suggested here or here with few personal notes. You can then clone the repository by typing (or copying) the following line in a terminal at your selected path in your machine:

cd && mkdir -p repositories/mxochicale && cd repositories/mxochicale
git clone git@github.com:mxochicale/figures.git

Installing inkscape in Ubuntu*

  • Installation
sudo add-apt-repository --yes ppa:inkscape.dev/stable
sudo apt --yes update
sudo apt --yes install inkscape
sudo add-apt-repository --remove ppa:inkscape.dev/stable

Alternative, you might like to check https://github.com/mxochicale/tools/tree/main/inkscape for installation in other versions of Ubuntu!

Installing GIMP

sudo apt-get update 
sudo apt-get install gimp

Usage

Once installed, you can create a vector drawing and convert it easily in the terminal using the following commands!

make png
make pdf
make view-png #eog *.png
make view-pdf #evince *.pdf
make reduce-pdf-size dPDFSETTING=book # screen, ebook, prepress, printer and default
make edit # inkscape vector/drawing-v$NN.svg
make clean

See and download template 00_template-vector-images to automatically convert svg files to png or pdf.

Issues

Please open an issue if you have specific questions about the content of this repository.

About


Languages

Language:Makefile 100.0%