執筆関係

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
執筆関係 [2023/07/18 13:10] tenforward執筆関係 [2024/10/15 13:18] (現在) tenforward
行 5: 行 5:
   * [[https://gist.github.com/jinjor/afd84a159021a1ad65b2284b724a2a05|技術文書アンチパターン集]]   * [[https://gist.github.com/jinjor/afd84a159021a1ad65b2284b724a2a05|技術文書アンチパターン集]]
   * [[https://azu.github.io/slide/2022/lint-night/textlint.html|textlint]]   * [[https://azu.github.io/slide/2022/lint-night/textlint.html|textlint]]
 +  * [[https://xkenshirou.hatenablog.com/entry/2021/02/09/180000|文章添削を簡単にできるシステムをDockerで作ってみた ~textlint~]]
   * [[https://www.jtca.org/standardization/katakana_guide_3_20171222.pdf|外来語(カタカナ)表記ガイドライン]]   * [[https://www.jtca.org/standardization/katakana_guide_3_20171222.pdf|外来語(カタカナ)表記ガイドライン]]
   * [[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 環境 ======
  
行 13: 行 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>
  
  • 執筆関係.1689685822.txt.gz
  • 最終更新: 2023/07/18 13:10
  • by tenforward