LoginSignup
0
1

More than 3 years have passed since last update.

[備忘録]Emacs上でBibTeX管理:Ebib

Last updated at Posted at 2020-06-18

1. はじめに

この記事はEmacs上でBibTeXファイルの管理を行うためのパッケージEbibのインストール手順を整理した備忘録です.

現時点ではインストールするだけの内容です.今後,設定や使い方について,適宜加筆するかもしれません.

1.1 環境

作業環境は以下の通りです.

  • MacOS: Catalina 10.15.5
  • Emacs: emacsport (Emacs 26.3)

1.2 関連記事

2. Ebib

BibTeX/BibLaTeXのデータベースを編集するためのプログラムEbibをインストールします.マニュアルによれば,Emacsのバージョンは25.1以上であれば利用できます.パッケージリポジトリのMELPAからインストールすることができるとのこと(MELPA-stableにもEbibがありますが,特に指定しない場合はMELPAの方がインストールされます).そのため,use-packageを利用しますが,そのインストールやMELPAの登録についてはこちらの記事を参照してください.

2.1 インストール

2.1.1 手順

Step 1: Emacsで初期化ファイルinit.elを開き,以下を追加する.

~/.emacs.d/init.el
(use-package ebib
  :ensure t)

Step 2: 設定を保存し(C-x C-s),Emacsを閉じる(C-x C-c).再度,Emacsを起動する.

コメント

  • Step 1は,ebibがない場合,:ensure tで自動的にebibをインストールしてくれます.
  • Step 2のEmacs再起動時にインストールされます.

2.1.2 結果

~/.emacs.d/elpa/ebibparsebibがインストールされます.

~/.emacs.d/elpa/
$ ls -l
drwxr-xr-x  22 hoge  staff   704  6  7 04:21 ebib-20200522.632
drwxr-xr-x   6 hoge  staff   192  6  7 04:21 parsebib-20200513.2352

A. 付録

A.1 出力結果

A.1.1 Ebib

Leaving directory /Users/hoge/.emacs.d/elpa/parsebib-20200513.2352

Compiling file /Users/hoge/.emacs.d/elpa/parsebib-20200513.2352/parsebib.el at Sun Jun  7 04:21:50 2020
Entering directory /Users/hoge/.emacs.d/elpa/parsebib-20200513.2352/

Compiling no file at Sun Jun  7 04:21:53 2020
Leaving directory /Users/hoge/.emacs.d/elpa/ebib-20200522.632

Compiling file /Users/hoge/.emacs.d/elpa/ebib-20200522.632/ebib-db.el at Sun Jun  7 04:21:53 2020
Entering directory /Users/hoge/.emacs.d/elpa/ebib-20200522.632/

Compiling file /Users/hoge/.emacs.d/elpa/ebib-20200522.632/ebib-filters.el at Sun Jun  7 04:21:53 2020

Compiling file /Users/hoge/.emacs.d/elpa/ebib-20200522.632/ebib-keywords.el at Sun Jun  7 04:21:53 2020

Compiling file /Users/hoge/.emacs.d/elpa/ebib-20200522.632/ebib-notes.el at Sun Jun  7 04:21:53 2020

Compiling file /Users/hoge/.emacs.d/elpa/ebib-20200522.632/ebib-reading-list.el at Sun Jun  7 04:21:53 2020

Compiling file /Users/hoge/.emacs.d/elpa/ebib-20200522.632/ebib-utils.el at Sun Jun  7 04:21:53 2020

Compiling file /Users/hoge/.emacs.d/elpa/ebib-20200522.632/ebib.el at Sun Jun  7 04:21:53 2020

Compiling file /Users/hoge/.emacs.d/elpa/ebib-20200522.632/org-ebib.el at Sun Jun  7 04:21:53 2020

Compiling no file at Sun Jun  7 04:21:54 2020
Warning (bytecomp): the function ebib--notes-buffer is not known to be defined.
Warning (bytecomp): reference to free variable ivy-minibuffer-map
Warning (bytecomp): Unused lexical variable ivy-sort-max-size
Warning (bytecomp): the following functions are not known to be defined: ivy-read,
    helm-marked-candidates, helm-build-sync-source, helm
0
1
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
0
1