執筆関係
参考文献のリンクとか。
pandoc
LaTeXからRe:Viewへの変換(インプレス)
Ubuntu 22.04コンテナを起動。ログイン。(Ubuntu 24.04のpandoc2reviewだとうまくいかない)
# apt install ruby pandoc # gem install pandoc2review
incusコンテナでの設定(ホストPCとコンテナでディレクトリを共有)デバイス部分のみ。
devices:
impress3:
path: /home/karma/impress3
shift: "true"
source: /home/karma/Documents/impress3
type: disk
linux_container_book:
path: /home/karma/linux_container_book
readonly: "true"
shift: "true"
source: /home/karma/Documents/linux_container_book
type: disk
arma@borg:~$ incus shell pandoc2review root@pandoc2review:~# ls root@pandoc2review:~# su - karma (変換元ディレクトリへ移動) $ for f in $(ls *.tex) > do > pandoc2review $f > /path/to/conv/$f > done
my textlint 環境
$ docker run -ti --name text-checker -v /home/karma/Documents:/Documents text-checker bash #(コンテナ内bash) # cd text-checker # textlint --rulesdir node_modules/textlint-rule-mistaken-ward-check/lib/ -f pretty-error ../path/to/document.tex