天高任鸟飞 海阔凭鱼跃

……C++正在学习中……
posts - 28, comments - 0, trackbacks - 0, articles - 0
  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

我的开发之道:建档(author:yazy)

Posted on 2006-11-21 02:00 Jaunt 阅读(198) 评论(0)  编辑 收藏 引用 所属分类: 编程人生
 我的开发之道:建档

  1. LaTeX
  2. Texinfo


1. LaTex



2. Texinfo

Texinfo creates printed documents via TeX.
Texinfo source file is a plain ASCII file containing text interspered with "@-commands" that tell the typesetting and formatting program what to do.
Texinfo provides a "texinfo.tex" that contains informations (definition of macros) that TeX uses it to convert "@-commands" into TeX commands.
Texinfo source contains SIX section:
    1. Header
      \input texinfo.tex @c -*- texinfo -*-
      @c %**start of header
      @setfilename FILENAME.info   @c for Info
      @settitle TITLE   @c for HTML(maybe)
      @c %**end of header
    2. Summary and Copyright

    3. Title and Copyright
      @copying
      GOES SOME SHORT PERMISSION MESSAGE.
      @end copying

      @titlepage
      @title THE TITLE GOES HERE
      @insertcopying  @c Should be other information
      @end titlepage

      @contents  @c Table of Contents

    4. Top Node and Master Menu (for Info)
      @ifnottex
      @node Top
      @top THE TOP NODE TITLE
      @insertcopying  @c Let the Permission information goes here.
      @end ifnottex

      @menu
      * Node1::          BREIF INTRO
      * Node2::          BREIF INTRO
      @end menu

      @node Node1  @c see @menu
      @c goes others...

      @node Node2  @c see @menu
      @c goes others...

    5. Body
      @chapter Chapter1
      @c goes others...

      @chapter Chapter2
      @c goes others...

      @printindex   @c Prints the Index

    6. End
      @bye  @c Stops typesettings





只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   博问   Chat2DB   管理