mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
719613d4c3
HANXIN/QRCODE: use Hanzi/Kanji modes when compatible ECIs given manual: one true source now manual.pmd from which manual.txt is generated CLI: man page moved from frontend/zint.1.gz to docs/zint.1.gz, now generated from docs/zint.1.pmd add README.linux to root dir
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
For generation of "docs/manual.pdf" and "docs/manual.txt" from "manual.pmd" using a recent version of pandoc
|
|
|
|
On Ubuntu/Debian (tested on Ubuntu 22.04)
|
|
|
|
wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb
|
|
sudo dpkg -i pandoc-2.18-1-amd64.deb
|
|
sudo apt install python3-pip
|
|
pip install pandoc-tablenos --user
|
|
export PATH=~/.local/bin:"$PATH"
|
|
sudo apt install librsvg2-bin
|
|
sudo apt install texlive-xetex
|
|
sudo apt install texlive-lang-cjk
|
|
sudo apt install fonts-wqy-microhei
|
|
make
|
|
|
|
On Windows
|
|
|
|
Install https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-windows-x86_64.msi
|
|
|
|
From command prompt run as administrator
|
|
|
|
choco install make
|
|
choco install rsvg-convert
|
|
choco install python
|
|
choco install miktex
|
|
|
|
pip install pandoc-tablenos --user
|
|
|
|
From normal command prompt run from zint "docs" directory
|
|
|
|
set "PATH=<location-of-pandoc-tablenos>:%PATH%"
|
|
|
|
TODO
|
|
??? On make, get various font errors Helvetica, TeX Gyre Pagella which miktex can't handle ???
|