執筆関係

執筆関係

pandoc

LaTeXからRe:Viewへの変換(インプレス)

Ubuntu 22.04コンテナを起動。ログイン。

# 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)
# textlint --rulesdir node_modules/textlint-rule-mistaken-ward-check/lib/ -f pretty-error ../path/to/document.tex
  • 執筆関係.txt
  • 最終更新: 2023/12/19 12:57
  • by tenforward