3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

company-reftex をyatex で使う

Posted at

##company-reftex をyatex mode で使えるようにした忘備録.

Emacs で
M-x package-install company-reftex
で、package をインストール.

company-reftex.el の中の latex-mode を yatex-mode に書き換える.
つまり、159 行目を (company-reftex-20181222.906 の場合)
(and (derived-mode-p 'latex-mode)

(and (derived-mode-p 'yatex-mode)
に書き換える.その後、company-reftex.el をバイトコンパイル.

.init.el に

 (add-to-list 'company-backends 'company-reftex-citations)```
を記述して、activate.

TeXのファイルが、複数のファイルにまたがっているときは、TeX-master が適切にセットされて
いると、ファイルをまたいでReftexは見つけることができる.
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?