neo-layout/grafik
Hartmut Goebel 0982d8234a Eliminate the need for php.
Replace the only php script in "grafik" by a python script.
Unfortunately this requires the Python package "lxml" (which is
commonly used, though), since the "xml" package from the Python
standard library is not quite capable.

Since the original php script created a quite ugly and redundant svg
file, I took the one from "grafik/bilder-einzeln/flat" as a basis.

The new image is a bit different from the original, as it takes some
ideas from "grafik/aufkleber/alle-grau-1234.py". Anyhow, almost all
design parameters can be adjusted in the the stylesheet.
2022-02-06 17:46:27 +01:00
..
_not_working Grafikverzeichnis neu organisiert 2021-04-24 00:42:09 +02:00
aufkleber Eliminate the need for perl. 2022-02-05 21:36:23 +01:00
aufsteller Grafikverzeichnis neu organisiert 2021-04-24 00:42:09 +02:00
bilder-einzeln grafik: Fix Makefile for generating flat images. 2022-01-18 21:02:49 +01:00
bilder-uebersicht Eliminate the need for php. 2022-02-06 17:46:27 +01:00
handbuch-cover Grafikverzeichnis neu organisiert 2021-04-24 00:42:09 +02:00
heatmap Grafikverzeichnis neu organisiert 2021-04-24 00:42:09 +02:00
logos Logos: generiere ico/icns aus pngs, die direkt aus inkscape stammen 2021-04-24 00:42:09 +02:00
maskottchen Grafikverzeichnis neu organisiert 2021-04-24 00:42:09 +02:00
trailer Alte Logo-Vorschläge gelöscht, ebenso das Promotion-Material. Kaputte Software verschoben. 2021-03-30 21:03:09 +02:00
COPYING Grafikverzeichnis neu organisiert 2021-04-24 00:42:09 +02:00
Makefile Grafikverzeichnis neu organisiert 2021-04-24 00:42:09 +02:00
Readme.md Eliminate the need for php. 2022-02-06 17:46:27 +01:00
common.mk Grafikverzeichnis neu organisiert 2021-04-24 00:42:09 +02:00
shell.nix Eliminate the need for php. 2022-02-06 17:46:27 +01:00

Readme.md

Readme

Die meisten der Neo-Grafiken gibt es in vier Formaten:

  • svg
  • svg mit Text in Pfade umgewandelt
  • png
  • pdf

In diesem Reposity befinden sich aber nur svgs und Skripte, mit denen man noch mehr svgs (aus Treibern oder Referenzen) und daraus dann die anderen Formate erstellt. Die fertigen Grafiken befinden sich aber auf https://dl.neo-layout.org/grafik .

Um alle Bilder erzeugen können, benötigt man eine Vielzahl an Abhängigkeiten:

  • make
  • inkscape
  • optipng
  • imagemagick
  • libicns
  • libreoffice
  • sed
  • ed
  • libxkbcommon (xkbcli)
  • python mit jinja2, numpy, pandas, matplotlib, seaborn und lxml
  • Linux Libertine
  • Gentium Plus Compact
  • DejaVu Sans Mono
  • vermutlich noch weitere Schriften

Sind alle Abhängigkeiten erfüllt, sollte man alle Bilder mit make erstellen können. Man kann make auch in jedem Unterverzeichnis ausführen, um jeweils weniger Bilder zu generieren. Außerdem können gewünschte Formate oder gar Dateinamen direkt als Target übergeben werden• `