tikz

created : 2021-07-26T01:37:13+00:00
modified : 2021-07-26T09:34:58+00:00
tikz

tikz in jekyll

Configuration Tikz in Jekyll

1. Install Tools

sudo apt install tikzit
sudo apt install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
sudo apt install -y imagemagick

2. Configure Imagemagick

sudo sed -i_bak \
's/rights="none" pattern="PDF"/rights="read | write" pattern="PDF"/' \
/etc/ImageMagick-6/policy.xml

3. Write simple script (Writing)

#!/bin/bash
SAVEIFS=$IFS
IFS=$'\n'
filelist=($(git diff --cached --name-status | awk '$1 != "D" { print $2 }'))
IFS=$SAVEIFS
for (( i=0; i<${#filelist[@]}; i++ ))
do
  echo "$i: ${filelist[$i]}"
done

tikz 관련 자료