For faster navigation, this Iframe is preloading the Wikiwand page for Texinfo.

Texinfo

Texinfo
An example of printed Texinfo output; page 25 of the official GNU Texinfo manual.
開発元 Karl Berry
初版 1986年2月 (38年前) (1986-02) [1]
最新版
7.1ウィキデータを編集 / 2023-10-18
リポジトリ ウィキデータを編集
プログラミング
言語
C言語Perl[2]
サポート状況 active
種別 Documentation
ライセンス GNU General Public License
公式サイト http://www.gnu.org/s/texinfo
テンプレートを表示

GNU Texinfo (テックインフォ) は、フリーコンピュータ・プログラム であり、一式のソースコードから複数の形式で文書を生成する。また、GNUプロジェクトで公式の文書体系として用いられている。 Texinfo は、言語の構文や、このアプリケーションの入力用ソースファイルを指してもいう。

Texinfoのソース・ファイル

[編集]

Texinfoは、章、節、相互参照、索引のある本のような文書を構成できる。 ソースは、ほぼ プレーンテキスト だが、厳密には「@」から始まるコマンドで フォーマットしたテキスト である。 部分的なソース・ファイルの例は、次のとおり:

@ifnottex
@node Top
@top Short Sample

@insertcopying
@end ifnottex

@menu
* First Chapter::    The first chapter is the
                     only chapter in this sample.
* Index::            Complete index.
@end menu

このコマンド群は、章といった構造を表したり、一定の出力種類だけで処理される部分的なソースを示したりしている。

出力の生成

[編集]

Texinfoのサポートする出力形式には、 プレーンテキスト、info、HTMLDVIPDFXMLDocBookがある。

印刷のできる形式として、Texinfoは、TeXを使っている。これは、TexinfoのコマンドをTeX自体に解釈させるのに必要な命令の発行による。

出力形式に manページのないことに注意してほしい。Texinfo は、GNU/Linuxといった Unix系環境で典型的に使われている GNUソフトウェアの文書を書くのに使うが、そういった環境の伝統的文書形式はmanページである。manページには、きっちりした慣例の形式がある一方、Texinfoの典型的適用例は、入門書や参照マニュアルである。伝統的にクイック・リファレンス・マニュアルであるようなmanページに Texinfoを使っても、利点はない。GNUプロジェクトの多くのプロジェクトは、manページを避けているが、infoのページを参照するように書いたきり放置したmanページもある。

脚注

[編集]
  1. ^ Richard M. Stallman (1986年2月). “Gnu Status”. G N U ' S B U L L E T I N, Volume 1 No.1. 2013年5月26日閲覧。 “I now have a truly compatible pair of programs which can convert a file of texinfo format documentation into either a printed manual or an Info file.”
  2. ^ 江添 亮 (2013年2月18日). “GNU Texinfoのmakeinfoの実装がCからPerlになった”. 本の虫. 2024年7月7日閲覧。

外部リンク

[編集]
{{bottomLinkPreText}} {{bottomLinkText}}
Texinfo
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?