JPS62117059A - Forming system for table of contents - Google Patents

Forming system for table of contents

Info

Publication number
JPS62117059A
JPS62117059A JP60257409A JP25740985A JPS62117059A JP S62117059 A JPS62117059 A JP S62117059A JP 60257409 A JP60257409 A JP 60257409A JP 25740985 A JP25740985 A JP 25740985A JP S62117059 A JPS62117059 A JP S62117059A
Authority
JP
Japan
Prior art keywords
document
file
contents
information
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60257409A
Other languages
Japanese (ja)
Inventor
Yoshizo Saito
斎藤 佳三
Matsuhiko Hirano
平野 松彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP60257409A priority Critical patent/JPS62117059A/en
Publication of JPS62117059A publication Critical patent/JPS62117059A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify a job and to shorten the forming time for a table of contents by extracting automatically the information on the page including a header part only by addition and inputting a control code to the header part in the document for the formation of the table of contents. CONSTITUTION:A document file 30 stores the format information 31 consisting of the character number 31a per line of the document, the line number 31b per page of the document, the page number 31c of the document included in the file 30 at the head part of the file 30. Then the file 30 is divided for each part of the document and furthermore the line feed information 32 on the code 'FF' is put into the file 30 as necessary by the instruction of an operator. At a display part 22 the designated head part is discriminated from other words of the document and displayed with addition of a prescribed code. When a header part is designated, the page including the designated header part is detected automatically. This page is detected through comparison carried out between both information 31 and 32 of the file 30 and the position information on the header part to which the control code is added.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明はワードプロセッサにより文書を作成する際の文
書の目次を作成する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to a method for creating a table of contents for a document when the document is created using a word processor.

〈従来の技術〉 大量の文章で構成された文書たとえば書籍等においては
、その目次を作成するのに、従来では目次に使用する各
章、各節の見出し部を文書の作成後にリストアンプし、
それが文書中のどの頁に存在するかを手作業で調べ、見
出し部と頁との対応関係を頁の順序に従って一覧表にし
て作成するという方法がとられていた。
<Prior art> In order to create a table of contents for a document consisting of a large amount of text, such as a book, conventionally, the headings of each chapter and each section used in the table of contents are listed and amplified after the document is created.
The method used was to manually check which pages in the document the headings were on, and to create a list of the correspondence between headings and pages in the order of the pages.

一方、最近ではワードプロセッサが書籍等の大量の文章
からなる文書の作成にも使用されるようになってきたが
、目次の作成は上述と同様の手順で行なわれていた。
On the other hand, word processors have recently come to be used to create documents consisting of large amounts of text such as books, but tables of contents have been created using the same procedure as described above.

〈発明が解決しようとする問題点〉 従来における目次の作成は、手作業で行なわれていたの
で、大量の文章からなる文書の場合、作業が煩雑化し長
時間を要するという欠点があった。
<Problems to be Solved by the Invention> Conventionally, the creation of a table of contents was done manually, which had the disadvantage that the work became complicated and took a long time when the document consisted of a large amount of text.

く問題点を解決する為の手段〉 本発明による目次作成方式は、ワードプロセッサにおい
て文書を構成する文章の入力の際に文書中の見出し部に
制御コードを付加して入力し、この制御コードを付加し
た見出し部をこの見出し部が存在する頁の情報とともに
抽出して目次を作成することを特徴とする。
Means for Solving Problems〉 The table of contents creation method according to the present invention adds a control code to the heading part of the document when inputting sentences constituting a document in a word processor, and adds this control code. The present invention is characterized in that a table of contents is created by extracting the heading section along with information about the page where the heading section exists.

〈実施例〉 第2図はマイクロプロセッサを利用して本発明を実施す
る装置であるワードプロセッサの構成を示す。
<Embodiment> FIG. 2 shows the configuration of a word processor that is a device that implements the present invention using a microprocessor.

入力部24は文字情報等を入力するための′4−−ボー
ド等、表示部22は処理情報を表示するためのCRT等
、印字部23は処理情報を印字するプリンタからそれぞ
れ構成されている。プログラム記憶部25には、目次作
成を含む各種の言語処理に関連した制御プログラムが書
き込まれている。
The input section 24 is composed of a '4-board or the like for inputting character information, the display section 22 is composed of a CRT or the like for displaying processing information, and the printing section 23 is composed of a printer for printing processing information. The program storage unit 25 has written therein control programs related to various language processing including table of contents creation.

RAM26は、各種のレジスタ及びバッファメモリとし
て使用される。外部記憶部27は、ミニフロッピィディ
スク等からなる。
RAM 26 is used as various registers and buffer memory. The external storage section 27 consists of a mini-floppy disk or the like.

CPU等でなる制御部21は、入力部24からの情報入
力に応じて、他の表示部22.印字部23゜RAM26
並びに外部記憶部27を制御プログラムに従って制御す
る。
A control unit 21 including a CPU or the like displays other display units 22 . Printing section 23゜RAM26
It also controls the external storage section 27 according to the control program.

第】図に本発明の実施例について処理手順を示す。FIG. 1 shows a processing procedure for an embodiment of the present invention.

先ず、入力部24から文字情報を入力し、日本語の文章
の場合には仮名・漢字変換機能また欧米語の文章の場合
にはスペルチェック機能等の言語処理機能を用いて文書
入力を行う(ステップSL)。
First, character information is input from the input unit 24, and document input is performed using language processing functions such as a kana/kanji conversion function in the case of Japanese text and a spell check function in the case of European and American texts ( Step SL).

文書入力が完了すると(ステップS2)、RAM2Gら
二は第3図に示す文書ファイル30が形成される。この
文書ファイル30には、その先頭に文書の1行当りの字
数31a2文書の1頁当りの行数31b及び文書ファイ
ル30に含まれる文書の頁数31C等からなる書式情報
31が格納されている。文書ファイル30は、文書の各
頁毎に区画され、さらに、操作者の指示により随時必要
に応じてコード“FF”の改行情報32が挿入される。
When the document input is completed (step S2), a document file 30 shown in FIG. 3 is formed in the RAM 2G. This document file 30 stores at the beginning format information 31 consisting of the number of characters per line of the document 31a, the number of lines per page of the document 31b, the number of pages of the document included in the document file 30 31C, etc. . The document file 30 is divided into sections for each page of the document, and furthermore, line feed information 32 with the code "FF" is inserted as needed according to instructions from the operator.

文書入力処理が完了すると、入力済みの文書ファイル3
0を表示部22に表示しながら、入力部24においてた
とえばカーソル等の指定キー及び制御キーを操作し7て
文書の各章、各節の見出し部を制御コードを付加して指
定する(ステップS3)。
When the document input process is completed, the input document file 3
0 is displayed on the display section 22, the entry section of each chapter and each section of the document is designated by adding a control code by operating the designation key and control key, such as a cursor, on the input section 24 (step S3). ).

表示部22では、指定された見出し2部は文書の他の用
語と区別して所定の符号が付加されて表示される。
On the display unit 22, the designated two headings are displayed with a predetermined code added thereto to distinguish them from other terms in the document.

見出し部を指定すると、この指定された見出し部が存在
する頁が自動的に検出される(ステ、ノブS4)。この
見出し部が存在する頁の検出は、文書ファイル30の改
行情報32及び書式情報31と制御コードが付加された
見出し部の位置情報とを比較することにより行なわれる
When a heading section is specified, the page where the specified heading section exists is automatically detected (step S4). Detection of the page where the heading section exists is performed by comparing the line feed information 32 and format information 31 of the document file 30 with the position information of the heading section to which the control code has been added.

見出し部が存在する頁の検出に続いて、第4図に示す目
次ファイル40がRAM26内に形成される(ステップ
S5)。この目次ファイル40は、文書中の見出し部が
存在する順序に従って、見出し部40aとこの見出し部
40aが存在する頁401)との組み合わせで構成され
る。
Following the detection of the page where the heading section exists, a table of contents file 40 shown in FIG. 4 is created in the RAM 26 (step S5). This table of contents file 40 is composed of a combination of a heading part 40a and a page 401) on which this heading part 40a exists, according to the order in which the heading parts exist in the document.

上述の手順により目次ファイル40の作成処理が完了す
ると、入力部24の“目次出力′等の制御キーを操作し
、第5図に示すような目次を表示部22に表示すると共
に印字部23で印字する(ステップS7)。
When the creation process of the table of contents file 40 is completed according to the above-described procedure, a control key such as "output table of contents" on the input section 24 is operated to display a table of contents as shown in FIG. Print (step S7).

本実施例では、文書を作成した後でこの文書を表示して
見出し部を指定3“るようにしたが、見出し部の指定を
文書の作成中に随時に行な・)ようにするこたもできる
。また、指定された見出し部の表示態様としては、本実
施例における符号の付加以外に、指定された見出し部を
白黒反転して表示するとか、上側ライン表示、他の部分
と異なったカラー表示等が考えられるが、他の用途に用
いる表示態様と重複しないようにする必要があることは
言うまでもない。
In this embodiment, after creating a document, the document is displayed and the heading section is specified.However, it is also possible to specify the heading section at any time while creating the document. In addition to adding the code in this embodiment, the display mode of the specified heading section may be displaying the specified heading section in black and white inversion, displaying an upper line, or displaying a line that is different from other parts. A color display or the like may be considered, but it goes without saying that it is necessary to avoid duplication with display modes used for other purposes.

〈発明の効果〉 以上説明t7たように、本発明においては、文書中の見
出し部に制御コードを付加して入力するだけでこの見出
し部が存在する頁の情報を自動的に抽出して目次を作成
するようにし7たので、作業を簡単化するとともに、作
業に要する時間を短縮することができる。
<Effects of the Invention> As explained above, in the present invention, by simply inputting a control code to a heading section in a document, information on the page where this heading section exists is automatically extracted and a table of contents is created. 7, it is possible to simplify the work and shorten the time required for the work.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明実施例の処理手順を示すフロー図、第2
図は本発明を実施するワードプロセッサの構成を示すブ
ロック図、第3図は本発明実施例の文書ファイルの構成
を示す概念図、第4図は本発明実施例の11次ファイル
の構成を示′J概念図、第5図は本発明の方式を用いて
作成した「1次の一例を示す図である。
Fig. 1 is a flow diagram showing the processing procedure of the embodiment of the present invention;
Figure 3 is a block diagram showing the configuration of a word processor that implements the present invention, Figure 3 is a conceptual diagram showing the configuration of a document file in an embodiment of the invention, and Figure 4 shows the configuration of an 11th-order file in an embodiment of the invention. J conceptual diagram, FIG. 5 is a diagram showing an example of "first order" created using the method of the present invention.

Claims (1)

【特許請求の範囲】[Claims] ワードプロセッサにおいて文書を構成する文章の入力の
際に文書中の見出し部に制御コードを付加して入力し、
この制御コードを付加した見出し部をこの見出し部が存
在する頁の情報とともに抽出して目次を作成することを
特徴とする目次作成方式。
When inputting sentences that make up a document in a word processor, add a control code to the heading part of the document and input it.
A table of contents creation method characterized in that a table of contents is created by extracting a heading section to which this control code is added together with information about the page where this heading section exists.
JP60257409A 1985-11-15 1985-11-15 Forming system for table of contents Pending JPS62117059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60257409A JPS62117059A (en) 1985-11-15 1985-11-15 Forming system for table of contents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60257409A JPS62117059A (en) 1985-11-15 1985-11-15 Forming system for table of contents

Publications (1)

Publication Number Publication Date
JPS62117059A true JPS62117059A (en) 1987-05-28

Family

ID=17305974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60257409A Pending JPS62117059A (en) 1985-11-15 1985-11-15 Forming system for table of contents

Country Status (1)

Country Link
JP (1) JPS62117059A (en)

Similar Documents

Publication Publication Date Title
US6533822B2 (en) Creating summaries along with indicators, and automatically positioned tabs
JPS62117059A (en) Forming system for table of contents
JPS61285534A (en) Index production system
JPH0572270B2 (en)
JPS62295171A (en) Handy word processor
JPH01302483A (en) Document reader
JPH09190438A (en) Information processor and its method
JPH01139262A (en) Character laying-out apparatus
JPH01113828A (en) Document editing device
JPH01149162A (en) System for controlling syllable hyphen display and non-display
JPH01261775A (en) Method for registering document for document editer
JPH01100666A (en) Contents forming device
JPH05307550A (en) Document preparing device
JPH01173232A (en) Analysis and display system for data definition statement
JPS59220824A (en) Document creating device
JPH053618B2 (en)
JPS60189533A (en) Program document output system
JPS61219987A (en) Ruler processor for wordprocessor
JPH07168838A (en) Document processor
JPS62266648A (en) Layout display system for document preparing device
JPH04333966A (en) Document data processor
JPS62210577A (en) Documentation device
JPH10161514A (en) Computer based learning system
JPH06164777A (en) Picture processing system
JPH01129352A (en) Device for preparing presentation materials