This page is translated with IBM Translation King 3.0.0.
このページは IBM 翻訳の王様バージョン 3.0.0 によって翻訳されたものです。


Using Emacs' outline-mode for writing a paper outline/draft and presentation slides (2005/6/8)
論文にアウトライン/草案とプレゼンテーション・スライド(2005/6/8)を書くためのemacsのアウトライン・モードを使う

[Japanese]
[日本語]

  1. Add these lines to your ~/.emacs.
    これらの回線を加えるへのあなた~/。emacs。
      ;; outline
      (add-hook 'outline-mode-hook
              '(lambda ()
                 (setq outline-regexp "\\(\\*\\|-\\|  -\\|    -\\)")
                 (setq outline-level
                       '(lambda ()
                          (cond ((looking-at "\\*") 1)
                                ((looking-at "-") 2)
                                ((looking-at "  -") 3)
                                ((looking-at "    -") 4)
                                (t 1000))))))
      (setq outline-font-lock-keywords
        '(;;
          ;; Highlight headings according to the level.
          (eval . (list (concat "^" outline-regexp ".+")
                      0 '(or (cdr (assq (outline-font-lock-level)
                                        '((1 . font-lock-function-name-face)
                                          (2 . font-lock-variable-name-face)
                                          (3 . font-lock-doc-face)
                                          (4 . font-lock-comment-face)
                                          (5 . font-lock-comment-face)
                                          (6 . font-lock-type-face)
                                          (7 . font-lock-type-face)
                                          (8 . font-lock-string-face))))
                             font-lock-warning-face)
                      nil t))))

    ;;アウトライン(付け加えよ-かぎ「アウトライン-方法-かぎ」(ラムダ()(setqアウトライン-regexp"\\(\\*\\|-\\| -\\| -\\)")(setqアウトライン-レベル’(ラムダ()(見ているcond(("\\*")1)見ている(("-")2)見ている(("-")3)見ている(("-")4) (t 1000)))))) (setqアウトライン-フォント-錠-キーワード '(;; ;;レベルに従って見出しを強調せよ。 (eval。(リスト(concat「^」アウトライン-regexp「.+」)0’(あるいは(cdr(assq(アウトライン-フォント-ロック-レベル)’((1。フォント-ロック機能-名前-顔)(2。フォントだ-ロック-変数名-顔)(3。フォントだ-ロック-文書-顔)(4。フォントだ-ロック-コメント-顔)(5。フォントだ-ロック-コメント-顔)(6。フォントだ-ロック-活字づら)(7。フォントだ-ロック-活字づら)(8。フォント-ロック文字列-顔))))フォント-ロックが警告をしている-顔)無のt))))

    Note that this definition overrides outline-mode definition of Emacs.
    この定義がemacsのアウトライン・モード定義に取って代わることに注意せよ。

  2. Write a paper outline/draft or presentation slides as follows.
    以下のように論文にアウトライン/草案またはプレゼンテーション・スライドを書け。
      * Top Level Item
      
      - Second level item
        - Third level item
          - Fourth level item

    *トップレベルの項目 - 第2のレベルの項目 - 第3のレベルの項目 - 第4のレベルの項目

    Emacs automatically highlits each level with a different face.
    自動的にhighlitsが異なる顔に本当のことをそれぞれ言うemacs。

    An example of my presentation slides, which was presented at SPIE's International Symposium on the Convergence of Information Technologies and Communications (ITCom 2004), is shown below.
    情報技術とコミュニケーション(ITCom 2004)の集合でSPIEの国際的なシンポジウムで公開された私のプレゼンテーション・スライドの例が見せられるの下に。

      -*- Outline -*-
      
      * Title
      
      - On Packet Marking Function of Active Queue Management Mechanism: Should It Be Linear, Concave, or Convex?
      - Hiroyuki Ohsaki and Masayuki Murata
      - Graduate School of Information Science and Technology, Osaka University, Japan
      - oosaki[atmark]ist.osaka-u.ac.jp
      
      * Contents
      
      - Introduction
        - RED (Random Early Detection)
        - Objectives
      - Analysis
      - Numerical Examples
      - Conclusion
      
      * Background
      
      - AQM (Active Queue Management) mechanisms
        - Studied by many researchers
        - Supports the congestion control mechanism of TCP
      
      - RED (Random Early Detection)
        - A representative AQM mechanism
        - Randomly discards an arriving packet
          - Keeps the average queue length small
          - Achieves high throughput
        - Its operation algorithm is quite simple
      
      * RED Known Problems
      
      - Parameter sensitivity
        - Effectiveness is dependent on four control parameters
        - Average queue length is dependent on traffic load
          - i.e., the number of active TCP connections
      
      - Parameter tuning difficulty
        - The optimal control parameters is affected by traffic load
      
      - More understanding on RED is necessary
      
      * RED Packet Marking Probability
      
      - RED randomly discards an arriving packet with a probability proportional to its average queue length
      
      * Question on RED Packet Marking Probability
      
      - Analytically known facts
        - TCP throughput is inversely proportional to p^(1/2)
          - p: the packet loss probability in the network
        - For M/M/1 queueing system, the average queue length is (rho/(1-rho))
          - rho: utilization factor
        - So, should the packet marking probability not be changed linearly?
      
      - Question
        - For achieving good steady state and transient state performances...
        - Whether the packet marking probability should be proportional to the average queue length or not? 
      
      * Objectives
      
      - Investigate effect of packet marking function on RED's performance
        - Steady state performance
        - Transient state performance
      
      - Show how the packet marking function should be determined
        - Utilize analytic results of TCP and RED steady state analysis
      
      - Consider three classes of packet marking functions
        - Linear, concave, and convex
        - Show which packet marking functions is the best...
          - in terms of good transient state performance and robustness
      
      * Analysis Overview
      
      - 1. Replace the packet marking function with a generic one
      
      - 2. Combining two analytic models
        - Stochastic model of TCP window size
        - Deterministic model of RED queue length
      
      - 3. Analyze toward what value the average queue length converges...
        - for a given average queue length
      
      * 1. Replace Packet Marking Function and Define Queue Occupancy
      
      - The packet marking function is replaced by
        - (2)
      
      - Introduce ``queue occupancy''
      
      * 2. Combining Two Analytic Models
      
      - Expected value of TCP window size: w(p)
        - (3)
        - (4)
        - b: the number of packets required for returning an ACK packet
        - p: the packet loss probability in the network
      
      - Queue length of RED in steady state: qavg
        - (5)
        - N: the number of TCP connections
        - w: TCP window size
        - B: maximum transmission capacity of RED router
        - tau: two-way propagation delay of TCP connection
      
      * 3. Analyze Average Queue Length Convergence Point
      
      - Average queue length convergence point: qavg
        - (8)
      - Queue occupancy in steady state: x^*
        - (9)
      
      * Effect of Packet Marking Function
      
      - Fig. 2
      
      * Optimal Packet Marking Function
      
      - Packet marking function should be chosen such that Eq. (9) becomes a linear function 
        - (10)
      
      - By solving the above equation, we have
        - (11)
      
      - To optimize the steady state and transient state performances...
        - f(x) must be changed according to N
        - N: the number of active TCP connections
      
      - However, Eq. (11) is impractical...
        - since RED router has no capability to know the number of active TCP connections
      
      * Three Function Classes: Linear, Concave, Convex
      
      - Linear
        - Eq (11)
      
      - Concave
        - Eq (12)
      
      - Convex
        - Eq. (13)
      
      * RED Queue Occupancy (Linear Case)
      
      - Fig. 3
      
      * RED Queue Occupancy (Concave Case)
      
      - Fig. 4
      
      * RED Queue Occupancy (Convex Case)
      
      - Fig. 5
      
      * Conclusion
      
      - Analyze effect of packet marking function on RED's performance
        - Steady state performance
        - Transient state performance
      
      - Show how the packet marking function should be determined
        - Utilize analytic results of TCP and RED steady state analysis
        - Derive the optimal packet marking function
      
      - Consider three classes of packet marking functions
        - Linear, concave, and convex
        - Show RED with concave function works best...
          - in terms of good transient state performance and robustness

    -*- 概略を述べよ-*- *タイトル - 活動的なキュー管理メカニズムのパケット模様機能で:それは、線に、凹面の、または凸面であるべきか? - 大崎博之と雅行Murata - 大学院情報科学研究科、大阪大学、日本 - oosaki[atmark]ist.osaka-u.ac.jp *コンテンツ - 概要 - 赤(無作為の早期発見) - 目標 - 分析 - 数の例 - 結論 *背景 - AQM(活動的なキュー管理)メカニズム - 多くの研究者によって故意だ - TCPのふくそう制御メカニズムをサポートする - 赤(無作為の早期発見) - 代表のAQMメカニズム - 手当たりしだいに着いているパケットを処分する - 平均のキュー長さを小さく保つ - 高いスループットをなし遂げる - その操作アルゴリズムは、まったくシンプルだ *赤い知られる問題 - パラメーター感性 - 有効性が4つの制御パラメーターに依存している  - 平均のキュー長さがトラヒック・ロードに依存している  - すなわち、活動的なTCPコネクションの数 -パラメーター・チューニング困難 - 最適制御パラメーターは、トラヒック・ロードに影響される -赤のより多くの理解は、必要だ *共産主義者パケット模様確率 -赤は、その平均のキュー長さに比例する確率で手当たりしだいに着いているパケットを処分する *共産主義者パケット模様確率の質問 - 分析的に知られていた事実 - TCPスループットがp^(1/2)に反比例する  - p:ネットワークのパケット損失確率 - M/M/1のために、システム、平均のキュー長さを列に並べることがそうだ(ロー/(1-ロー)) - ロー:利用要因 - それで、べきだ確率に印をつけているパケットない直線的に変えられる? - 質問 - なぜなら、よい定常状態と一時的な国のパフォーマンスをなし遂げること... - 確率に印をつけているパケットが平均のキュー長さに比例すべきかどうか? *目標 - 赤のパフォーマンスに機能の印をつけてパケットの結果を調査せよ - 定常状態パフォーマンス - 一時的な国のパフォーマンス -どのように機能に印をつけているパケットが決められるべきかを示せ - TCPと赤の定常状態分析の分析的な結果を使いこなせ - 3つのクラスの印をつけているパケットが作用すると思え - 線の、凹面の、そして凸面だ - 機能に印をつけているどちらのパケットがベストであることを示せ... - よい一時的な国のパフォーマンスと頑強性に関して *分析概要 - 1. 機能に属のものの印をつけているパケットを置き換えよ - 2. 2つの分析的なモデルを結び合わせること - StochasticモデルのTCPウィンドウ・サイズ - 決定論のモデルの赤いキュー長さ - 3. どのような価値へ長さが集める平均のキューを分析せよ... -なぜなら、与えられた平均のキュー長さ * 1. パケット模様機能を置き換えて、そしてキュー占有を定義せよ -機能が置き換えられることに印をつけているパケット - (2) -「キュー占有」を導入せよ * 2. 2つの分析的なモデルを結び合わせること -TCPウィンドウ・サイズの期待値:w(p) - (3) - (4) -b:パケットの数は、ACKパケットに戻るために必要とした-p:ネットワークのパケット損失確率 -定常状態で赤の範囲を列に並べよ:qavg - (5) - N:TCPコネクションの数 - w:TCPウィンドウ・サイズ - B:赤いルーターの最大限の伝送容量 - タウ:TCPコネクションの双方向の繁殖遅延 * 3. 平均のキュー長さ集合点を分析せよ -平均のキュー長さ集合点:qavg - (8) -定常状態のキュー占有:x^* - (9) *パケット模様機能の結果 -盛装させよ。2 *最良のパケット模様機能 -機能に印をつけているパケットが選ばれるべきだようにEq。(9)一次関数になる - (10) -上記の均衡を解くことによって、我々は持っている - (11) - 安定している国の、と一時的な国のパフォーマンスを最適化すること... - f(x)は、Nによると変えられなくてはいけない - N:活動的なTCPコネクションの数 -しかし、Eq。(11)は実用的でない... -赤いルーターが知っているためのいかなる機能も持っていないので活動的なTCPコネクションの数 *3つの機能クラス:一次の、凹面の、凸面だ -一次だ - Eq(11) -くぼみ - Eq(12) -凸面だ - Eq。(13) *共産主義者キュー占有(一次のケース) -盛装させよ。3 *共産主義者キュー占有(凹面のケース) -盛装させよ。4 *共産主義者キュー占有(凸面のケース) -盛装させよ。5 *結論 - 赤のパフォーマンスに機能の印をつけてパケットの結果を分析せよ - 定常状態パフォーマンス - 一時的な国のパフォーマンス - どのように機能に印をつけているパケットが決められるべきかを示せ - TCPと赤の定常状態分析の分析的な結果を使いこなせ - 機能に印をつけている最良のパケットを引き出せ - 3つのクラスの印をつけているパケットが作用すると思え - 一次の、凹面の、そして凸面だ - くぼみをもつ共産主義者に機能がよく働くことを示せ... - よい一時的な国のパフォーマンスと頑強性に関して
  3. Navigate using standard outline-mode's features.
    使っている標準をナビゲーションする概略を述べよ-方法だ機能。

    See the "Outline Mode" section of GNU Emacs manual page for details of the outline-mode, or run M-x describe-mode or M-x describe-bindings for usage summary.
    アウトライン・モード、あるいは走行の詳細に関してGNU Emacsマニュアル・ページの「アウトライン・モード」セクションを参照するM-x述べよ-方法あるいはM-x述べよ-バインディング使い方要約のために。

      Commands:
      C-c C-n   outline-next-visible-heading      move by visible headings
      C-c C-p   outline-previous-visible-heading
      C-c C-f   outline-forward-same-level        similar but skip subheadings
      C-c C-b   outline-backward-same-level
      C-c C-u   outline-up-heading              move from subheading to heading
      
      C-c C-t       make all text invisible (not headings).
      C-c C-a       make everything in buffer visible.
      
      The remaining commands are used when point is on a heading line.
      They apply to some of the body or subheadings of that heading.
    This page is translated with IBM Translation King 3.0.0.
    このページは IBM 翻訳の王様バージョン 3.0.0 によって翻訳されたものです。 C-c C-d hide-subtree make body and subheadings invisible. This page is translated with IBM Translation King 3.0.0.
    このページは IBM 翻訳の王様バージョン 3.0.0 によって翻訳されたものです。 C-c C-s show-subtree make body and subheadings visible. This page is translated with IBM Translation King 3.0.0.
    このページは IBM 翻訳の王様バージョン 3.0.0 によって翻訳されたものです。 C-c TAB show-children make direct subheadings visible. No effect on body, or subheadings 2 or more levels down. This page is translated with IBM Translation King 3.0.0.
    このページは IBM 翻訳の王様バージョン 3.0.0 によって翻訳されたものです。 With arg N, affects subheadings N levels down. C-c C-c make immediately following body invisible. This page is translated with IBM Translation King 3.0.0.
    このページは IBM 翻訳の王様バージョン 3.0.0 によって翻訳されたものです。 C-c C-e make it visible. C-c C-l make body under heading and under its subheadings invisible. This page is translated with IBM Translation King 3.0.0.
    このページは IBM 翻訳の王様バージョン 3.0.0 によって翻訳されたものです。 The subheadings remain visible. C-c C-k make all subheadings at all levels visible.

    コマンド: アウトライン-次の目に見える-見出しの行動目に見える見出しcc C-pによるアウトライン-前の目に見える-見出しのcc C-fアウトライン-フォワード-よく似たレベルしかしアウトライン-上の見出しのスキップ小見出しcc C-bアウトライン-後方の-レベルcc Cuが小見出しから見出しへ動かすcc C-n cc Ctは、(見出しではなく)すべてのテキストを見えなくする。 cc C-aメイク目に見えるバッファのすべて。 点が進んでいる回線にあるときに、残っているコマンドは使われる。 彼らは、その見出しの本体あるいは小見出しの一部に適用される。 cc Cd皮膚-subtreeは、本体と小見出しを見えなくする。 cc C-sショー-subtreeは、本体と小見出しを目に見えるようにする。 ccタブ見えよ-子供直接の小見出しを目に見えるようにせよ。 下へ本体、あるいは小見出し2以上のレベルに結果をおかないこと。 arg Nで、Nが一様の高さに下げる小見出しに影響する。 cc ccは、ただちに本体に従うことを見えなくする。 cc C-eは、それを目に見えるようにする。 cc clは、見出しのもとでの、とその小見出しのもとでの本体を見えなくする。 小見出しは目に見えるままでいる。 cc C-kは、全段階のすべての小見出しを目に見えるようにする。
  4. Convert the outline file to LaTeX format, if you need.
    もしあなたが必要とすれば、アウトライン・ファイルをLaTeXフォーマットに変えよ。

    Use a simple Perl script for outline-to-LaTeX conversion.
    アウトラインからLaTeXのためにシンプルなPerlスクリプトを使う転換。

      http://www.ispl.jp/~oosaki/software/perl/outline2tex

    http://www.ispl.jp/~oosaki/software/perl/outline2tex

    For converting to a presentation slide, use -s option.
    プレゼンテーション・スライドに変えるために、-sオプションを使え。

  5. Convert the outline file to HTML format or PPT (Microsoft PowerPoint) format, if you need.
    もしあなたが必要とすれば、アウトライン・ファイルをHTMLフォーマットまたはPPT(Microsoft PowerPoint)フォーマットに変えよ。

    Use a simple Perl script for outline-to-HTML conversion.
    アウトラインからHTMLのためにシンプルなPerlスクリプトを使う転換。

      http://www.ispl.jp/~oosaki/software/perl/outline2html

    http://www.ispl.jp/~oosaki/software/perl/outline2html

    For converting to a PPT file, take the following steps:
    PPTファイルに変えるために、以下のステップを取れ:

    1. Open the HTML-converted file with Microsoft Word.
      Microsoft WordでHTMLを換金されたファイルを開け。
    2. In Microsoft Word, use File -> Send... -> Microsoft PowerPoint.
      Microsoft Wordで、使用ファイル->送れ... ->Microsoft PowerPoint。

Hiroyuki Ohsaki (oosaki[atmark]ist.osaka-u.ac.jp)
This page is translated with IBM Translation King 3.0.0.
このページは IBM 翻訳の王様バージョン 3.0.0 によって翻訳されたものです。