執筆関係

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
執筆関係 [2023/07/18 13:34] – [執筆関係] tenforward執筆関係 [2024/10/15 13:18] (現在) tenforward
行 9: 行 9:
   * [[http://www.yamanouchi-yri2.com/index.htm|技術文書の書き方]]   * [[http://www.yamanouchi-yri2.com/index.htm|技術文書の書き方]]
  
 +====== pandoc ======
 +LaTeXからRe:Viewへの変換(インプレス)
 +
 +Ubuntu 22.04コンテナを起動。ログイン。
 +
 +<code>
 +# apt install ruby pandoc
 +# gem install pandoc2review
 +</code>
 +
 +incusコンテナでの設定(ホストPCとコンテナでディレクトリを共有)デバイス部分のみ。
 +
 +<code>
 +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
 +</code>
 +
 +<code>
 +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
 +</code>
 ====== my textlint 環境 ====== ====== my textlint 環境 ======
  
行 14: 行 51:
 $ docker run -ti --name text-checker -v /home/karma/Documents:/Documents text-checker bash $ docker run -ti --name text-checker -v /home/karma/Documents:/Documents text-checker bash
 #(コンテナ内bash) #(コンテナ内bash)
-# textlint --rulesdir node_modules/textlint-rule-mistaken-ward-check/lib/ ../path/to/document.tex+# cd text-checker 
 +# textlint --rulesdir node_modules/textlint-rule-mistaken-ward-check/lib/ -f pretty-error ../path/to/document.tex
 </code> </code>
  
  • 執筆関係.1689687241.txt.gz
  • 最終更新: 2023/07/18 13:34
  • by tenforward