JPH096783A - Index preparing device - Google Patents

Index preparing device

Info

Publication number
JPH096783A
JPH096783A JP7153700A JP15370095A JPH096783A JP H096783 A JPH096783 A JP H096783A JP 7153700 A JP7153700 A JP 7153700A JP 15370095 A JP15370095 A JP 15370095A JP H096783 A JPH096783 A JP H096783A
Authority
JP
Japan
Prior art keywords
data
index
page
publication
text
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.)
Withdrawn
Application number
JP7153700A
Other languages
Japanese (ja)
Inventor
Satomi Suzuki
さとみ 鈴木
Katsutoshi Ishizuka
勝年 石塚
Sachiko Nishikawa
幸子 西川
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.)
Toppan Inc
Original Assignee
Toppan Printing Co Ltd
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 Toppan Printing Co Ltd filed Critical Toppan Printing Co Ltd
Priority to JP7153700A priority Critical patent/JPH096783A/en
Publication of JPH096783A publication Critical patent/JPH096783A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To improve efficiency for index preparation by automating the preparation of an index with the processing of any specified flow chart. CONSTITUTION: A device 100 is composed of a data processor 1, operation input means 2 connected to the data processor 1, display means 3, data input/ output means 4 and printing means 5 or the like. In this case, the preparation of the index is automated by executing the flow chart composed of a typesetting simulation means, printing position data preparing means, data retrieving means, page discriminating means and index preparing means. Namely, text data are retrieved, records consisting of the text data are retrieved, which page of text data prints data for index as a retrieving object is discriminated based on these retrieved records and the printing position data of prepared records, and the index showing the relation between the data for index and the printing page of text is prepared based on this printing page discriminated result.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、各種専門書、図鑑、歴
史本などの書籍の作成に利用される索引作成装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an index creating apparatus used for creating books such as various specialized books, pictorial books and history books.

【0002】[0002]

【従来の技術】一般に、専門書、図鑑、歴史本などの書
籍の巻末には、本文中にあるキーワードを検索するため
の索引が設けられており、このような索引を作成するに
あたっては、まず、本文を出力してから、出力した本文
中のキーワードが、該本文のいずれのページにあるかを
捜し出すようにしている。
2. Description of the Related Art Generally, at the end of books such as technical books, pictorial books, and history books, there is an index for searching for keywords in the text. After the text is output, the page in which the keyword in the output text is located is searched for.

【0003】[0003]

【発明が解決しようとする課題】そして、上述したよう
な索引の作成作業において、キーワードが本文のいずれ
のページにあるかを捜し出す検索作業は人手に依るとこ
ろが多く、多くの時間と手間を必要としていた。また、
本文が修正されて、該本文のページが全体にずれた場合
には、キーワードが掲載されるページも変わる可能性も
あり、これによって索引の作成作業を一からやり直す必
要もある。
In the index creating work as described above, the searching work for finding which page of the text the keyword is is often manual, which requires a lot of time and effort. I was there. Also,
If the text is modified and the pages of the text are shifted to the whole page, the page on which the keyword is posted may change, which requires the index creation work to be restarted from the beginning.

【0004】本発明は、上記の事情に鑑みてなされたも
のであって、索引の作成作業を自動化して作業の効率化
を図ることが可能な索引作成装置を提供することを目的
とする。
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide an index creating apparatus capable of automating the index creating operation to improve the efficiency of the operation.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に第1の発明に示す索引作成装置では、本文データに設
定されている組版データに従って、該本文データの組版
をシミュレーションする組版シミュレーション手段と、
該組版シミュレーション手段によってシミュレーション
された本文データを検索して、該本文データを構成して
いる段落毎に、掲載開始ページ、掲載開始行、掲載終了
ページを示す掲載位置データを作成する掲載位置データ
作成手段と、操作入力手段を通じて入力された索引用デ
ータが、前記組版シミュレーション手段によってシミュ
レーションされた本文データのいずれの段落にあるかを
検索するデータ検索手段と、該データ検索手段によって
検索された段落と、前記掲載位置データ作成手段によっ
て作成された当該段落の掲載位置データとに基づき、該
データ検索手段によって検索対象となった索引用データ
が、本文データの何ページ目に掲載されているかを判定
するページ判定手段と、該ページ判定手段の判定結果に
基づいて、索引用データと本文データの掲載ページとの
関係を示す索引を作成する索引作成手段を、具備したこ
とを特徴とする。
In order to achieve the above object, in the index creating apparatus according to the first invention, a typesetting simulation means for simulating the typesetting of the text data according to the typesetting data set in the text data. ,
Creation of posting position data that searches the text data simulated by the typesetting simulation means and creates posting position data indicating a posting start page, a posting start line, and a posting end page for each paragraph that constitutes the text data Means, a data search means for searching in which paragraph of the text data simulated by the typesetting simulation means, the index data input through the operation input means, and a paragraph searched by the data search means. Based on the publication position data of the paragraph created by the publication position data creating means, it is determined which page of the body data the index data searched by the data searching means is posted. For the index based on the page determination means and the determination result of the page determination means Indexing means to create an index that shows the relationship between the posted page of over data and text data, and said that it has provided.

【0006】第2の発明に示す索引作成装置では、前記
ページ判定手段において、前記掲載位置データによって
示される掲載開始ページと掲載終了ページとが異なる場
合に、索引用データの1番目の文字が、本文データの先
頭文字から何番目にあるかをカウントし、そのカウント
結果と印刷書式とに基づいて、検索対象となっている索
引用データの先頭文字が、本文データの何行目にあるか
を計算し、更に、その計算結果と、掲載位置データによ
って示される掲載開始行とに基づき、索引用データが掲
載開始ページと掲載終了ページとのいずれの側にあるか
を判定する。
In the index creating device according to the second aspect of the present invention, in the page determining means, when the publication start page and the publication end page indicated by the publication position data are different, the first character of the index data is The number of characters from the first character of the body data is counted, and based on the count result and the print format, it is determined which line of the body data the first character of the index data to be searched is. The calculation is further performed, and based on the calculation result and the publication start line indicated by the publication position data, it is determined whether the index data is on the publication start page or the publication end page.

【0007】第3の発明に示す索引作成装置では、前記
索引作成手段は、索引用データと本文データの掲載ペー
ジとの関係を示す索引を、本文データと結合して出力す
ることを特徴とする。
In the index creating device according to the third aspect of the invention, the index creating means outputs an index indicating the relationship between the index data and the page on which the text data is posted in combination with the text data. .

【0008】[0008]

【作用】第1の発明に示す索引作成装置によれば、掲載
位置データ作成手段にて、組版シミュレーション手段に
よってシミュレーションされた本文データが検索され
て、該本文データを構成している段落毎に、掲載開始ペ
ージ、掲載開始行、掲載終了ページを示す掲載位置デー
タが作成される。一方、データ検索手段では、操作入力
手段を通じて入力された索引用データが、前記組版シミ
ュレーション手段によってシミュレーションされた本文
データのいずれの段落にあるかが検索され、更に、ペー
ジ判定手段では、該データ検索手段によって検索された
段落と、前記掲載位置データ作成手段によって作成され
た当該段落の掲載位置データとに基づき、該データ検索
手段によって検索対象となった索引用データが、本文デ
ータの何ページ目に掲載されているかが判定され、この
後、索引作成手段では、該ページ判定手段の判定結果に
基づいて、索引用データと本文データの掲載ページとの
関係を示す索引が作成される。すなわち、本発明の索引
作成装置では、組版シミュレーション手段、掲載位置デ
ータ作成手段、データ検索手段、ページ判定手段、索引
作成手段によって索引の作成作業を自動化することがで
きる。
According to the index creating device of the first aspect of the present invention, the publication position data creating means retrieves the text data simulated by the typesetting simulation means, and the paragraph data forming the text data is searched. Posting position data indicating a posting start page, a posting start line, and a posting end page is created. On the other hand, the data search means searches which paragraph of the text data simulated by the typesetting simulation means is in the index data input through the operation input means, and the page determination means further searches for the data. Based on the paragraph searched by the means and the publication position data of the paragraph created by the publication position data creating means, the index data searched by the data searching means is the page number of the text data. It is determined whether or not it is posted, and thereafter, the index creating means creates an index indicating the relationship between the index data and the posted page of the body data based on the determination result of the page determining means. That is, in the index creation device of the present invention, the index creation work can be automated by the typesetting simulation means, the publication position data creation means, the data search means, the page determination means, and the index creation means.

【0009】第2の発明に示す索引作成装置によれば、
掲載位置データによって示される掲載開始ページと掲載
終了ページとが異なる場合に、ページ判定手段では、索
引用データの1番目の文字が、本文データの段落の先頭
文字から何番目にあるかがカウントされ、そのカウント
結果と印刷書式とに基づいて、検索対象となっている索
引用データの先頭文字が、本文データの何行目にあるか
が計算され、更に、その計算結果と、掲載位置データに
よって示される掲載開始行とに基づき、索引用データが
掲載開始ページと掲載終了ページとのいずれの側にある
かが判定されるようになっており、これによって検索対
象である索引用データが何ページ目にあるかを確実に判
定することができる。
According to the index creating device of the second invention,
When the publication start page and the publication end page indicated by the publication position data are different, the page determination means counts the position of the first character of the index data from the first character of the paragraph of the text data. , Based on the count result and the print format, it is calculated which line of the body data the first character of the index data to be searched is, and the calculation result and the publication position data are used. Based on the displayed start line, it is determined whether the index data is on the insertion start page or the insertion end page, which determines how many pages of index data to be searched. Whether it is in the eye can be reliably determined.

【0010】第3の発明に示す索引作成装置によれば、
索引作成手段にて、索引用データと本文データの掲載ペ
ージとの関係を示す索引を、該本文データと結合して出
力するようにしたので、一回のデータ出力によって、本
文及び該本文と一体化した索引を作成することができ、
これによって索引を有する書籍の作成作業を効率良く行
うことが可能となる。
According to the index creating device of the third invention,
Since the index creating means outputs the index indicating the relationship between the index data and the page on which the text data is posted by combining the text data with the text data, the text and the text are integrated with each other by outputting the data once. You can create a customized index,
This makes it possible to efficiently perform the work of creating a book having an index.

【0011】[0011]

【実施例】以下、本発明の一実施例を図1〜図6に基づ
いて説明する。図1は索引処理装置100に使用可能な
コンピュータシステムの全体構成を示すものであって、
コンピュータ本体であるデータ処理装置1と、該データ
処理装置1に接続された操作入力手段2、表示手段3、
データ入出力手段4、印刷手段5等によって構成されて
いる。操作入力手段2は、オペレータによって操作され
るキーボード、マウス等からなるものであり、表示手段
3はCRT、液晶画面等からなるものである。データ入
力手段4は外部からの本文データ(後述する)の読み込
みを行わせることができるフロッピーディスク装置、又
は通信手段等によって構成される。また、データ入力手
段4として通信手段を設けた場合には、DTPから本文
データを直接入力することも可能となる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS. FIG. 1 shows the overall configuration of a computer system usable for the index processing device 100.
A data processing device 1 which is a computer main body, an operation input means 2 connected to the data processing device 1, a display means 3,
The data input / output unit 4 and the printing unit 5 are included. The operation input means 2 is composed of a keyboard, a mouse and the like operated by an operator, and the display means 3 is composed of a CRT, a liquid crystal screen and the like. The data input means 4 is constituted by a floppy disk device capable of reading text data (described later) from the outside or a communication means. Further, when the communication means is provided as the data input means 4, the body data can be directly input from the DTP.

【0012】次に、上記データ処理装置1のデータ処理
内容を図2のフローチャートを参照して詳細に説明す
る。 《ステップ1》索引を作成する対象となる本文データを
データ入力手段4あるいはデータ処理装置1内の記憶装
置から読み込み、この本文データについて組版処理のシ
ミュレーションを行う(組版処理のシミュレーションを
イメージした図を図3に示す)。なお、この本文データ
は、本文の内容を示すテキストデータと、該テキストデ
ータに文字毎に設定された級数、文字種、改行、禁則、
ルビ、欧文等の指示を示す組版データと、によって構成
されるものであり、このデータ処理装置1では、該組版
データと、操作入力手段2からの指示に基づき予め設定
されている印刷書式(1行文字数(図3では12文
字)、1ページ行数(図3では11行))とに従って、
該本文データ中のテキストデータを、印刷書式で設定さ
れたページ及び行単位で割り付ける組版処理シミュレー
ションを行う。また、上記本文データは一文毎に改行さ
れているものを使用する。
Next, the data processing contents of the data processing apparatus 1 will be described in detail with reference to the flowchart of FIG. << Step 1 >> The text data for which an index is to be created is read from the data input means 4 or the storage device in the data processing apparatus 1, and a simulation of the typesetting processing is performed for this text data. (Shown in Figure 3). The text data includes text data indicating the content of the text, a series set for each character in the text data, a character type, a line feed, a prohibition,
This data processing device 1 is composed of typesetting data indicating instructions such as ruby and European languages. In the data processing device 1, the typesetting data and a print format (1) set in advance based on an instruction from the operation input means 2 are used. According to the number of line characters (12 characters in FIG. 3), the number of lines per page (11 lines in FIG. 3),
A typesetting process simulation is performed in which the text data in the body data is allocated in page and line units set in the print format. In addition, the above-mentioned body data uses line breaks for each sentence.

【0013】《ステップ2》ステップ1にてシミュレー
ションを行った本文データについて、テキストデータを
段落(文頭にスペースがあるところが段落の開始位置と
なる)に付き1レコードとして分類し、更に、レコード
毎に、掲載開始ページ、掲載開始行、掲載終了ページを
示す掲載位置データを作成して付加する。具体的には、
図4に示すように、『本文用として最も多く使われてい
る書体が明朝体である。』『これは中国の明の時代に使
われはじめたもので、……、長い期間使われ続けてい
る。』『ゴシック体は縦横とも一様に太く、……見出し
などにも使用できる。』『教科書体は自体の点画を明確
に表現しており、小学生低学年の教科書や副読本に用い
られる。』『また、ゴシック体の中には…………。』等
の各文をレコード(符号・・・・・で示す)と
して分類し、これら各レコード・・・・・毎
に、掲載開始ページ、掲載開始行、掲載終了ページから
なる掲載位置データ10・11・12・13・・をそれ
ぞれ作成して付加する。
<< Step 2 >> With respect to the body data simulated in Step 1, the text data is classified as one record for each paragraph (where there is a space at the beginning of the paragraph is the start position of the paragraph), and each record is further classified. , Creating and adding posting position data indicating the posting start page, the posting start line, and the posting end page. In particular,
As shown in Figure 4, "Mincho is the typeface most often used for text. “This was first used in the Ming Dynasty of China, and it has been used for a long time. "The Gothic font is uniformly thick both vertically and horizontally, and can also be used for headings. "The text typeface clearly expresses the pointillism of itself, and is used for textbooks and sub-readers in lower grades of elementary school. "In addition, in the Gothic type ......... , Etc. is classified as a record (indicated by a code), and the publication position data including a publication start page, a publication start line, and a publication end page for each of these records. .. are created and added respectively.

【0014】《ステップ3》操作入力手段2を通じてキ
ーワードとして入力された索引用データ20が、ステッ
プ2にて分類したレコード・・・・・のいずれ
にあるかを検索し、この検索によって、該索引用データ
20が、ステップ2にて分類したレコード・・・
・・のいずれにあるかを特定する。 《ステップ4》ステップ3の検索により特定されたレコ
ード・・・・・において、掲載位置データ10
・11・12・13・・中の掲載開始ページ、掲載終了
ページが、同一値である否かを判定し、その判定結果に
基づき、ステップ5又はステップ6に進む。すなわち、
このステップ4では、掲載位置データ10・11・12
・13・・中の掲載開始ページ、掲載終了ページが同一
値であると判定した場合には、このページを索引用デー
タ20の掲載ページと確定して次のステップ6に進み、
また、掲載位置データ10・11・12・13・・中の
掲載開始ページ、掲載終了ページが同一値で無いと判定
した場合には、次のステップ5にて索引用データ20の
掲載ページを確定する。
<< Step 3 >> The index data 20 input as a keyword through the operation input means 2 is searched for in which of the records classified in step 2 ... Data 20 is a record classified in step 2 ...
・ Specify which is in << Step 4 >> In the record specified by the search in Step 3 ...
It is determined whether or not the insertion start page and the insertion end page in 11.12.13 ... are the same value, and based on the determination result, the process proceeds to step 5 or step 6. That is,
In this step 4, the posting position data 10/11/12
When it is determined that the publication start page and the publication end page in 13 are the same value, this page is confirmed as the publication page of the index data 20 and the process proceeds to the next step 6,
In addition, when it is determined that the publication start page and the publication end page in the publication position data 10, 11, 12, 13, ... Are not the same value, the publication page of the index data 20 is determined in the next step 5. To do.

【0015】具体的には、操作入力手段2を通じて『可
読性』という索引用データ20が入力された場合に、本
ステップ4では、この『可読性』がステップ2にて分類
したレコード・・・・・のいずれにあるかを検
索して特定する。そして、この検索により、『可読性』
という索引用データ20が、レコードにあることが特
定された場合に、これらレコードにおいて、各掲載位
置データ11中の掲載開始ページ、掲載終了ページが、
同一値である否かをそれぞれ判定する。そして、この場
合、レコードについては、掲載位置データ11内の掲
載開始ページと掲載終了ページとが同一値(いずれのペ
ージも1ページ目)であるので、このページ「1」を
『可読性』の掲載ページと確定する。
Specifically, when the index data 20 of "readability" is input through the operation input means 2, in this step 4, the record of which "readability" is classified in step 2 ... Search for and identify which one. And by this search, "readability"
When it is specified that the index data 20 is included in the records, the publication start page and the publication end page in each publication position data 11 in these records are
It is determined whether the values are the same. Then, in this case, regarding the record, since the publication start page and the publication end page in the publication position data 11 have the same value (any page is the first page), this page "1" is posted as "readability". Confirm with page.

【0016】一方、操作入力手段2を通じて『明朝体』
という索引用データ20が入力された場合に、本ステッ
プ4では、この『明朝体』がステップ2にて分類したレ
コード・・・・・のいずれにあるかを検索して
特定する。そして、この検索により、『明朝体』という
索引用データ20が、レコード及びレコードにある
ことが特定された場合に、これらレコード・のぞれ
ぞれにおいて、各掲載位置データ10・12中の掲載開
始ページ、掲載終了ページが、同一値である否かをそれ
ぞれ判定する。そして、この場合、レコードについて
は、掲載位置データ10内の掲載開始ページと掲載終了
ページとが同一値(いずれのページも1ページ目)であ
るので、このページ「1」を『明朝体』の掲載ページと
確定する。一方、レコードについては、掲載位置デー
タ12中の掲載開始ページと掲載終了ページとが同一値
では無く、従って、このステップ4では、レコードに
おける索引用データ20の掲載ページを確定せず、次の
ステップ5に進む。
On the other hand, through the operation input means 2, "Minchotai"
When the index data 20 is input, the present step 4 searches for and identifies which of the records classified in step 2 this "Minchotai". Then, when it is specified by this search that the index data 20 of "Minchotai" exists in the record and the record, in each of these records and each of the posting position data 10 and 12, It is determined whether the publication start page and the publication end page have the same value. Then, in this case, regarding the record, since the publication start page and the publication end page in the publication position data 10 have the same value (any page is the first page), this page "1" is set to "Minchotai". Confirmed as the posting page of. On the other hand, regarding the record, the publication start page and the publication end page in the publication position data 12 do not have the same value, and therefore, in this step 4, the publication page of the index data 20 in the record is not fixed, and the next step Go to 5.

【0017】一方、操作入力手段2を通じて『見出し』
という索引用データ20が入力された場合に、本ステッ
プ4では、この『見出し』がステップ2にて分類したレ
コード・・・・・のいずれにあるかを検索して
特定する。そして、この検索により、『見出し』という
索引用データ20がレコードにあることが特定された
場合に、これらレコードにおいて、各掲載位置データ
12中の掲載開始ページ、掲載終了ページが、同一値で
ある否かをそれぞれ判定する。そして、この場合、レコ
ードについては、上述したように掲載位置データ12
中の掲載開始ページと掲載終了ページとが同一値では無
く、従って、このステップ4では、レコードにおける
索引用データ20の掲載ページを確定せず、次のステッ
プ5に進む。
On the other hand, through the operation input means 2, "headline"
When the index data 20 is input, the present step 4 searches for and identifies which of the records classified in step 2 the "heading" is. Then, when it is specified by this search that the index data 20 called “headline” is present in the records, the publication start page and the publication end page in each publication position data 12 in these records have the same value. Whether or not each is determined. Then, in this case, as for the record, as described above, the posting position data 12
The insertion start page and the insertion end page in the inside do not have the same value. Therefore, in this step 4, the insertion page of the index data 20 in the record is not fixed, and the process proceeds to the next step 5.

【0018】なお、前述した索引用データ20は、図5
で示すように操作入力手段2を通じて入力してデータ処
理装置1に一時記憶させたものを順次読み出すことによ
り、上記ステップ4の処理を行うようにするが、これに
限定されず、操作入力手段2を通じて索引用データ20
を入力する毎に、上記ステップ4の処理を行っても良
い。また、ステップ4及び次のステップ5において、索
引用データ20の掲載ページが確定した場合には、この
索引用データ20と掲載ページとの関係は、図6に示す
ようにデータ処理装置1に一時記憶させておく。また、
上述したステップ4の具体的処理は一例であって、他の
索引用データ20により掲載ページを確定して良いこと
は言うまでも無い。
The above-mentioned index data 20 is shown in FIG.
The process of step 4 is performed by sequentially reading the data input through the operation input means 2 and temporarily stored in the data processing device 1 as shown in FIG. Through index data 20
The process of step 4 may be performed each time the input is made. Further, when the posted page of the index data 20 is determined in step 4 and the next step 5, the relationship between the index data 20 and the posted page is temporarily stored in the data processing device 1 as shown in FIG. Remember. Also,
Needless to say, the specific process of step 4 described above is an example, and the posted page may be determined by other index data 20.

【0019】《ステップ5》掲載位置データ10・11
・12・13・・によって示される掲載開始行と、ステ
ップ1で入力された本文データとに基づいて、検索対象
となっている索引用データ20が、掲載開始ページと掲
載終了ページとのいずれの側にあるかを判定する。すな
わち、ステップ4にて、検索対象となっている索引用デ
ータ20が存在し、かつ掲載開始ページと掲載終了ペー
ジとが同一値では無いと判定されたレコードについて、
索引用データ20の1番目の文字が、該レコード内の本
文データの先頭文字から何番目にあるかをカウントし
(但し、スペース、濁点は含む、半角2で全角1とす
る、禁則文字は含まず等の事前設定を行う)、そのカウ
ント結果と、印刷書式(1行文字数)とに基づいて、検
索対象となっている索引用データ20の先頭文字が、本
文データの何行目にあるかを計算し、その計算により得
られた索引用データ20の先頭文字位置を示す行と、掲
載位置データ10・11・12・13・・によって示さ
れる掲載開始行とを加減算(正確には加算してマイナス
1)し、更に、この計算値と印刷書式(1ページ行数)
との比較とから、当該先頭文字が、掲載位置データ10
・11・12・13・・によって示される掲載開始ペー
ジと掲載終了ページとのいずれの側にあるかを判定し、
その判定結果に基づいて索引用データ20の掲載ページ
を確定する。
<< Step 5 >> Posting position data 10/11
. Based on the publication start line indicated by 12.13 ... and the text data entered in step 1, the index data 20 to be searched is either the publication start page or the publication end page. Determine if it is on the side. That is, regarding the record in which it is determined in step 4 that the index data 20 to be searched exists and the publication start page and the publication end page are not the same value,
The first character of the index data 20 is counted from the first character of the body data in the record (however, including spaces and dakuten, half-width 2 is full-width 1, and prohibited characters are included). The number of characters of the index data 20 to be searched is in which line of the body data based on the count result and the print format (the number of characters per line). Is calculated, and the line indicating the first character position of the index data 20 obtained by the calculation and the posting start line indicated by the posting position data 10, 11, 12, 13 ,. Minus 1), and then this calculated value and print format (number of lines per page)
From the comparison with, the first character is 10
・ Determine which side of the publication start page and publication end page indicated by 11.12.13 ...
The posted page of the index data 20 is determined based on the determination result.

【0020】具体的には、ステップ4にて、『明朝体』
という索引用データ20が入力され、この索引用データ
20が、掲載開始ページと掲載終了ページとが同一値で
は無いレコードにあると判定された場合に、このステ
ップ5では、当該レコードにおいて『明朝体』の
『明』の字が、本文データの先頭から18番目にあるこ
とを検索し、その検索結果と、予め設定されている印刷
書式(1行文字数:12文字)とに基づいて、検索対象
となっている索引用データ20の先頭文字が、本文デー
タの2行目にあることを計算し、その計算により得られ
た索引用データ20の先頭文字位置を示す行(すなわ
ち、2行目)と、掲載位置データ12によって示される
掲載開始行(すなわち9行目)とを加減算(正確には加
算してマイナス1)し、更に、この計算値(すなわち1
0行目)と印刷書式(1ページ行数:11行)との比較
とから、当該先頭文字が、掲載位置データ12によって
示される掲載開始ページ側にあることを判定し、その判
定結果に基づいて索引用データ20の掲載ページをペー
ジ「1」と確定する。
Specifically, in step 4, "Minchotai"
If it is determined that the index start data 20 and the end page are not in the same value, the index data 20 is input in this record in step 5 Search for "Akira" in "Body" at the 18th position from the beginning of the body data, and search based on the search result and the preset print format (number of characters per line: 12 characters). The first character of the target index data 20 is calculated to be on the second line of the body data, and the line indicating the first character position of the index data 20 obtained by the calculation (that is, the second line ) And the posting start line (that is, the ninth line) indicated by the posting position data 12 are added and subtracted (to be exact, minus 1), and the calculated value (that is, 1).
From the comparison between the 0th line) and the print format (the number of lines per page: 11 lines), it is determined that the first character is on the publication start page side indicated by the publication position data 12, and based on the judgment result. Then, the posted page of the index data 20 is determined to be page “1”.

【0021】一方、他の具体例では、ステップ4にて、
『見出し』という索引用データ20が入力され、この索
引用データ20が、掲載開始ページと掲載終了ページと
が同一値では無いレコードにあると判定された場合
に、このステップ5では、当該レコードにおいて『見
出し』の『見』の字が先頭から35番目にあることを検
索し、その検索結果と、予め設定されている印刷書式
(1行文字数:12文字)とに基づいて、検索対象とな
っている索引用データ20の先頭文字が、本文データの
3行目にあることを計算し、その計算により得られた索
引用データ20の先頭文字位置を示す行(すなわち、3
行目)と、掲載位置データ12によって示される掲載開
始行(すなわち9行目)とを加減算(正確には加算して
マイナス1)し、更に、この計算値(すなわち11行
目)と印刷書式(1ページ行数:11行)との比較とか
ら、当該先頭文字が、掲載位置データ12によって示さ
れる掲載開始ページ側にあることを判定し、その判定結
果に基づいて索引用データ20の掲載ページをページ
「1」と確定する。
On the other hand, in another specific example, in step 4,
When the index data 20 called "heading" is input and it is determined that the index start page and the index end page are not in the same record, in this step 5, the index record 20 It searches for the 35th character from the beginning of the "heading" and searches for it based on the search result and the preset print format (12 characters per line). It is calculated that the first character of the index data 20 is located on the third line of the body data, and the line indicating the first character position of the index data 20 obtained by the calculation (that is, 3
Line) and the insertion start line indicated by the insertion position data 12 (that is, the ninth line) are added and subtracted (to be exact, minus 1), and the calculated value (that is, the eleventh line) and the print format. From the comparison with (the number of lines per page: 11 lines), it is determined that the first character is on the publication start page side indicated by the publication position data 12, and the index data 20 is posted based on the determination result. The page is determined to be page "1".

【0022】なお、文字データの文字数によっては、掲
載開始ページと掲載終了ページとが隣接するページとな
らない場合もあるが、このような場合には、ステップ5
では、検索対象となっている索引用データ20の先頭文
字が、掲載位置データ10・11・12・13・・によ
って示される掲載開始行から何ページ、何行目にあるか
を計算し、これによって該索引用データ20の掲載ペー
ジを確定する。
Depending on the number of characters in the character data, the publication start page and the publication end page may not be adjacent to each other. In such a case, step 5
Then, it is calculated how many pages and what line the first character of the index data 20 to be searched is from the publication start line indicated by the publication position data 10.11.12.13. The posted page of the index data 20 is determined by.

【0023】《ステップ6》ステップ1で読み込んだ本
文データのテキストデータを該本文データに設定されて
いる組版データに基づき組版し、これによって印刷手段
5にて本文データを印刷するための本文印刷用データを
作成する。 《ステップ7》ステップ4及びステップ5にて一時記憶
した索引用データ20と掲載ページとの関係(図6参
照)に基づき索引の組版を行い、これによって印刷手段
5にて索引を印刷するための索引印刷用データを作成す
る。なお、このステップ7では、索引の組版に際して、
索引文字の級数、文字種等を示す組版データを予め設定
させておき、この組版データに従って索引印刷用データ
の作成を行わせるようにする。また、ステップ7では、
索引印刷用データの作成時に、索引用データの順番を
「あいうえお……」、アルファベット順に配列し直す作
業も並行して行わせるようにすると良い。 《ステップ8》ステップ6で作成した本文印刷用データ
の最後部に、ステップ7で作成した索引印刷用データを
結合して出力し、これによって書籍全体の印刷用データ
を作成する。
<< Step 6 >> For text printing of the text data of the text data read in step 1, based on the text formatting data set in the text data, so that the printing means 5 prints the text data. Create the data. << Step 7 >> The index is formatted based on the relationship between the index data 20 temporarily stored in Steps 4 and 5 and the posted page (see FIG. 6), so that the printing unit 5 prints the index. Create index print data. In addition, in this step 7, when formatting the index,
The typesetting data indicating the series or character type of the index character is set in advance, and the index printing data is created according to the typesetting data. Also, in step 7,
When creating the index print data, it is advisable to arrange the index data to be rearranged in the alphabetical order “aiueo ...” in parallel. << Step 8 >> The index print data created in step 7 is combined with the last part of the text print data created in step 6 and output, thereby creating print data for the entire book.

【0024】以上詳細に説明したように本実施例に示さ
れる索引作成装置100によれば、ステップ2におい
て、ステップ1にてシミュレーションされた本文データ
を検索して、該本文データを構成しているレコード・
・・・・毎に、掲載開始ページ、掲載開始行、掲
載終了ページを示す掲載位置データ10・11・12・
13・・をそれぞれ作成する。一方、ステップ3では、
操作入力手段2を通じて入力された索引用データ20
が、ステップ1にてシミュレーションされた本文データ
のいずれのレコード・・・・・にあるかを検索
し、更に、ステップ4〜ステップ5では、ステップ3に
て検索されたレコード・・・・・と、ステップ
2にて作成されたレコード・・・・・の掲載位
置データ10・11・12・13・・とに基づき、検索
対象となった索引用データ20が、本文データの何ペー
ジ目に掲載されているかを判定し、この後、ステップ6
〜ステップ8では、ステップ4〜ステップ5での掲載ペ
ージ判定結果に基づいて、索引用データ20と本文の掲
載ページとの関係を示す索引を作成する。すなわち、本
実施例の索引作成装置では、上記フローチャートの処理
によって索引の作成作業を自動化することができ、これ
によって従来のように本文が修正されて、該本文のペー
ジが全体に移動した場合であってもこれに即座に対処す
ることができて、索引作成作業の効率化を図ることが可
能となる。
As described in detail above, according to the index creating device 100 shown in this embodiment, in step 2, the text data simulated in step 1 is searched to form the text data. record·
・ ・ ・ ・ Posting position data showing the starting page, starting line, and ending page for each page
13 ... On the other hand, in step 3,
Index data 20 input through the operation input means 2
, Which record of the body data simulated in step 1 ... is searched, and in steps 4-5, the record searched in step 3 ... , Based on the posting position data 10, 11, 12, 13, ... of the record created in step 2, the index data 20 that is the search target is posted on which page of the body data. Is determined, and then step 6
In step 8, based on the posted page determination results in steps 4 to 5, an index indicating the relationship between the index data 20 and the posted page of the text is created. That is, in the index creating device of the present embodiment, the index creating work can be automated by the process of the above flow chart, and when the text is modified as in the conventional case and the page of the text is moved to the whole, Even if there is, it can be dealt with immediately, and the efficiency of index creation work can be improved.

【0025】なお、上記フローチャートのステップは、
特許請求の範囲の構成要素と以下のような関係にある。
すなわち、フローチャートのステップ1は特許請求の範
囲の組版シミュレーション手段に相当し、フローチャー
トのステップ2は特許請求の範囲の掲載位置データ作成
手段に相当する。また、フローチャートのステップ3は
特許請求の範囲のデータ検索手段に相当し、フローチャ
ートのステップ4〜ステップ5は特許請求の範囲のペー
ジ判定手段に相当する。また、フローチャートのステッ
プ6〜ステップ8は特許請求の範囲の索引作成手段に相
当する。また、上記実施例では、一段落中に文章が一つ
しかない場合を例に挙げたが、これに限定されず、一段
落中に複数の文章があるものを使用しても良い。
The steps of the above flow chart are as follows.
It has the following relationship with the constituent elements of the claims.
That is, step 1 of the flowchart corresponds to typesetting simulation means in the claims, and step 2 of the flowchart corresponds to placement position data creating means in the claims. Further, step 3 of the flowchart corresponds to data searching means in the claims, and steps 4 to 5 in the flowchart correspond to page determining means in the claims. Further, steps 6 to 8 of the flowchart correspond to the index creating means in the claims. Further, in the above-described embodiment, the case where there is only one sentence in one paragraph has been described as an example, but the present invention is not limited to this, and one having a plurality of sentences in one paragraph may be used.

【0026】[0026]

【発明の効果】以上詳細に説明したように第1の発明に
示す索引作成装置によれば、掲載位置データ作成手段に
て、組版シミュレーション手段によってシミュレーショ
ンされた本文データが検索されて、該本文データを構成
している段落毎に、掲載開始ページ、掲載開始行、掲載
終了ページを示す掲載位置データが作成される。一方、
データ検索手段では、操作入力手段を通じて入力された
索引用データが、前記組版シミュレーション手段によっ
てシミュレーションされた本文データのいずれの段落に
あるかが検索され、更に、ページ判定手段では、該デー
タ検索手段によって検索された段落と、前記掲載位置デ
ータ作成手段によって作成された当該段落の掲載位置デ
ータとに基づき、該データ検索手段によって検索対象と
なった索引用データが、本文データの何ページ目に掲載
されているかが判定され、この後、索引作成手段では、
該ページ判定手段の判定結果に基づいて、索引用データ
と本文データの掲載ページとの関係を示す索引が作成さ
れる。すなわち、本発明の索引作成装置では、組版シミ
ュレーション手段、掲載位置データ作成手段、データ検
索手段、ページ判定手段、索引作成手段によって索引の
作成作業を自動化することができ、これによって従来の
ように本文が修正されて、該本文データページが全体に
移動した場合であってもこれに即座に対処することがで
きて、索引作成作業の効率化を図ることが可能となる。
As described in detail above, according to the index creating apparatus of the first invention, the publication position data creating means retrieves the text data simulated by the typesetting simulation means, and the text data is searched. The publication position data indicating the publication start page, the publication start line, and the publication end page is created for each paragraph constituting the. on the other hand,
The data search means searches which paragraph of the text data simulated by the typesetting simulation means is in the index data input through the operation input means, and further, the page determination means uses the data search means. Based on the searched paragraph and the publication position data of the paragraph created by the publication position data creating means, the indexing data searched by the data searching means is posted on which page of the text data. It is determined whether or not
An index showing the relationship between the index data and the page in which the body data is posted is created based on the result of the page determination means. That is, in the index creation device of the present invention, the index creation work can be automated by the typesetting simulation means, the publication position data creation means, the data search means, the page determination means, and the index creation means, and as a result, the conventional method is adopted. Even when the text data page is moved to the whole by modifying the above, this can be dealt with immediately, and the efficiency of the index creation work can be improved.

【0027】第2の発明に示す索引作成装置によれば、
掲載位置データによって示される掲載開始ページと掲載
終了ページとが異なる場合に、ページ判定手段では、索
引用データの1番目の文字が、本文データの段落の先頭
文字から何番目にあるかがカウントされ、そのカウント
結果と印刷書式とに基づいて、検索対象となっている索
引用データの先頭文字が、本文データの何行目にあるか
が計算され、更に、その計算結果と、掲載位置データに
よって示される掲載開始行とに基づき、索引用データが
掲載開始ページと掲載終了ページとのいずれの側にある
かが判定されるようになっており、これによって、検索
対象である索引用データが何ページ目にあるかを確実に
判定でき、この点においても索引作成作業の効率化を図
ることが可能となる。
According to the index creating device of the second invention,
When the publication start page and the publication end page indicated by the publication position data are different, the page determination means counts the position of the first character of the index data from the first character of the paragraph of the text data. , Based on the count result and the print format, it is calculated which line of the body data the first character of the index data to be searched is, and the calculation result and the publication position data are used. Based on the displayed start line, it is determined whether the index data is on the start page or the end page, and this determines what index data is the search target. Whether or not it is on the page can be reliably determined, and in this respect as well, it is possible to improve the efficiency of the index creation work.

【0028】第3の発明に示す索引作成装置によれば、
索引作成手段にて、索引用データと本文データの掲載ペ
ージとの関係を示す索引を、該本文データと結合して出
力するようにしたので、一回のデータ出力によって、本
文及び該本文と一体化した索引を作成することができ、
これによって索引を有する書籍の作成作業を効率良く行
うことが可能となる。
According to the index creating device of the third invention,
Since the index creating means outputs the index indicating the relationship between the index data and the page on which the text data is posted by combining the text data with the text data, the text and the text are integrated with each other by outputting the data once. You can create a customized index,
This makes it possible to efficiently perform the work of creating a book having an index.

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

【図1】索引作成装置100の全体構成を示す図。FIG. 1 is a diagram showing an overall configuration of an index creating device 100.

【図2】データ処理装置1のデータ処理内容を示すフロ
ーチャート。
FIG. 2 is a flowchart showing data processing contents of the data processing device 1.

【図3】ステップ1により行われる組版シミュレーショ
ンの結果を示す図。
FIG. 3 is a diagram showing a result of a typesetting simulation performed in step 1.

【図4】本文データをレコード化して掲載位置データ1
0・11・12・13・・を書き加えた図。
[Figure 4] Posting position data 1 by converting text data into records
The figure which added 0/11/12/13 ...

【図5】索引用データ20を示す図。FIG. 5 is a diagram showing index data 20.

【図6】ステップ4〜ステップ5のページ判定により確
定された索引用データ20の掲載ページを示す図。
FIG. 6 is a diagram showing a posting page of the index data 20 determined by page determination in steps 4 to 5;

【符号の説明】[Explanation of symbols]

1 データ処理装置 2 操作入力手段 3 表示手段 4 データ入出力手段 5 印刷手段 10 掲載位置データ 11 掲載位置データ 12 掲載位置データ 13 掲載位置データ 20 索引用データ 100 索引作成装置 DESCRIPTION OF SYMBOLS 1 data processing device 2 operation input means 3 display means 4 data input / output means 5 printing means 10 posting position data 11 posting position data 12 posting position data 13 posting position data 20 index data 100 index creating device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 本文データに設定されている組版データ
に従って、該本文データの組版をシミュレーションする
組版シミュレーション手段と、 該組版シミュレーション手段によって組版がシミュレー
ションされた本文データを検索して、該本文データを構
成している段落毎に、掲載開始ページ、掲載開始行、掲
載終了ページを示す掲載位置データを作成する掲載位置
データ作成手段と、 操作入力手段を通じて入力された索引用データが、前記
組版シミュレーション手段によってシミュレーションさ
れた本文データのいずれの段落にあるかを検索するデー
タ検索手段と、 該データ検索手段によって検索された段落と、前記掲載
位置データ作成手段によって作成された当該段落の掲載
位置データとに基づき、該データ検索手段によって検索
対象となった索引用データが、本文データの何ページ目
に掲載されているかを判定するページ判定手段と、 該ページ判定手段の判定結果に基づいて、索引用データ
と本文データの掲載ページとの関係を示す索引を作成す
る索引作成手段と、とを具備したことを特徴とする索引
作成装置。
1. A typesetting simulation means for simulating the typesetting of the text data according to the typesetting data set in the text data, and text data whose typesetting has been simulated by the typesetting simulation means are searched to retrieve the text data. The publication position data creating means for creating the publication starting page, the publication starting line, and the publication ending page for each of the constituent paragraphs, and the indexing data input through the operation inputting means are the typesetting simulation means. Data retrieval means for retrieving which paragraph of the body data simulated by the paragraph, the paragraph retrieved by the data retrieval means, and the publication position data of the paragraph created by the publication position data creating means. Based on the data search means, The page determination means for determining which page of the body data the discontinued index data is posted, and the relationship between the index data and the posted page of the body data based on the determination result of the page determination means. An index creating device comprising: an index creating means for creating the index shown.
【請求項2】 前記ページ判定手段において、前記掲載
位置データによって示される掲載開始ページと掲載終了
ページとが異なる場合に、索引用データの1番目の文字
が、本文データの段落の先頭文字から何番目にあるかを
カウントし、そのカウント結果と印刷書式とに基づい
て、検索対象となっている索引用データの先頭文字が、
本文データの何行目にあるかを計算し、更に、その計算
結果と、掲載位置データによって示される掲載開始行と
に基づき、索引用データが掲載開始ページと掲載終了ペ
ージとのいずれの側にあるかを判定することを特徴とす
る請求項1記載の索引作成装置。
2. In the page determination means, when the publication start page and the publication end page indicated by the publication position data are different, the first character of the index data is determined from the first character of the paragraph of the text data. The first character of the index data that is the search target is counted based on the count result and the print format.
Calculate which line of the main text data, and based on the calculation result and the starting line indicated by the posting position data, the index data will be displayed on either the starting page or the ending page. The index creating device according to claim 1, wherein it is determined whether there is any.
【請求項3】 前記索引作成手段は、索引用データと本
文データの掲載ページとの関係を示す索引を、該本文デ
ータと結合して出力することを特徴とする請求項1又は
2のいずれかに記載の索引作成装置。
3. The index creating means outputs an index indicating the relationship between the index data and the page on which the text data is posted in combination with the text data and outputting the index. The index creating device described in.
JP7153700A 1995-06-20 1995-06-20 Index preparing device Withdrawn JPH096783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7153700A JPH096783A (en) 1995-06-20 1995-06-20 Index preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7153700A JPH096783A (en) 1995-06-20 1995-06-20 Index preparing device

Publications (1)

Publication Number Publication Date
JPH096783A true JPH096783A (en) 1997-01-10

Family

ID=15568209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7153700A Withdrawn JPH096783A (en) 1995-06-20 1995-06-20 Index preparing device

Country Status (1)

Country Link
JP (1) JPH096783A (en)

Similar Documents

Publication Publication Date Title
US6533822B2 (en) Creating summaries along with indicators, and automatically positioned tabs
JPH0776958B2 (en) Document shaping device
JPS6283787A (en) Output control system for display screen
JPH05158401A (en) Document fast reading support/display system and document processor and document retrieving device
US5835921A (en) Data processing apparatus for creating and storing a text file from input data
JPH096783A (en) Index preparing device
JPH0612548B2 (en) Document processor
JPH0375912B2 (en)
JPH0883280A (en) Document processor
JPH0412866B2 (en)
JP3744136B2 (en) Translation device and storage medium
JP3720882B2 (en) Information search method, information search system, and information search device
JP2002297574A (en) System and program for kana putting along side chinese characters
JPS61156366A (en) Word processor
JP4044158B2 (en) Code verification device and code verification method
JPH03188556A (en) Automatic document preparing system
JPS61285534A (en) Index production system
JPH09190438A (en) Information processor and its method
JPH07182344A (en) Machine translation system
JPH03105667A (en) Automatic generation processing system for index page data
JPH02136956A (en) Extracting method for layout information
JPS61134843A (en) Program structure processing system
JPS6364162A (en) Document processor
JPS61169961A (en) Character processor provided with user dictionary
JPH07141366A (en) Word processor and method for generating document with notes

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020903