日本語の説明はこのファイルの後半にあります。
LaTeX Build Tools¶ ↑
LaTeX Build Tools is a tool to manage big LaTeX source files. This version is different from the old versions.
-
Use
lbtcommand to run every sub commands. -
It is provided as a gem, which is a Ruby library program.
The old versions, the one with rake and the other of bash scripts, are moved to the other branches, rake_version and bash respectively.
LaTeX Build Tools supports LuaLaTeX engine only. If you want to use another engine, you need to modify lib/lbt/build.rb and lib/lbt/part_typeset.rb.
Prerequisite¶ ↑
-
Linux operating system
-
Ruby. You can install it by one of the followings.
-
Install the distribution package
-
Install it with rbenv. Refer to Rbenv’s GitHub repository
-
LuaLaTeX. You can install it by one of the followings.
-
Install the distribution package
-
Install TexLive. Refer to TexLive website
Installation¶ ↑
You can install lbt from RubyGems.org with gem command.
$ gem install lbt
If you want to install it from the source code, do the following.
-
Click the
Codebutton, then clickDownload ZIPin the small dialog. -
Unzip the downloaded Zip file, then a new directory
LaTeX-BuildTools-masterwill be created. -
Type
gem build lbtunder the directory, then the gem filelbt-X.X.X.gemis created. The numberX.X.Xis the version number like0.5.2. -
Type
gem install lbt-X.X.X.gem, whereX.X.Xis the version number.
Document¶ ↑
See Tutorial.en.
License¶ ↑
GPL. See License.md.
LaTeX Build Tools¶ ↑
LaTeX Build Toolsは大きなLaTeXソースファイルを管理するためのツールです。 現在の版は次の2点が旧版と異なっています。
-
lbtというコマンドからすべてを起動
-
gem(Rubyのライブラリ・プログラム)として提供される
旧版の、rakeを用いる版とbashスクリプト版は、それぞれrake_versionブランチとbashブランチに移動しました。
LaTeX Build ToolsがサポートするLaTeXエンジンはLuaLaTeXです。 その他のエンジンを使いたい場合はlib/lbt/build.rbとlib/lbt/part_typeset.rbの修正が必要です。
動作条件¶ ↑
-
Linux オペレーティング・システム
-
Ruby。Rubyのインストール方法は次の2通りがある
-
ディストリビューションのパッケージをインストール
-
Rbenvを用いてインストール。詳しくはRbenvのGitHubレポジトリを参照してほしい
-
LuaLaTeX。LuaLaTeXのインストール方法は次の2通りがある
-
ディストリビューションのパッケージをインストール
-
TexLiveをインストール。詳しくはTexLiveのウェブサイトを参照してほしい
インストール¶ ↑
gemコマンドでRubyGems.orgからlbtをインストールする。
$ gem install lbt
以上が最も簡単なインストール方法だが、ソースコードからインストールしたい場合は次のようにする。
-
GitHubのレポジトリを開き
Codeボタンをクリック。小さいダイアログが現れるので、Download ZIPをクリックする -
ZIPファイルを解凍すると
LaTeX-BuildTools-masterというディレクトリが作られる -
端末をそのディレクトリに移動して
gem build lbtとタイプすると、lbt-X.X.X.gemというGemファイルが作られる。 この中のX.X.Xはバージョン番号で、例えば0.5.2などのようなものである -
gem install lbt-X.X.X.gemとタイプしてインストールする(X.X.Xはバージョン番号)
ドキュメント¶ ↑
使い方の説明はTutorial.jaを参照してほしい。
ライセンス¶ ↑
GPL。License.mdを参照。