Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3608864B2 - Typesetting method and apparatus - Google Patents
[go: Go Back, main page]

JP3608864B2 - Typesetting method and apparatus - Google Patents

Typesetting method and apparatus Download PDF

Info

Publication number
JP3608864B2
JP3608864B2 JP07487396A JP7487396A JP3608864B2 JP 3608864 B2 JP3608864 B2 JP 3608864B2 JP 07487396 A JP07487396 A JP 07487396A JP 7487396 A JP7487396 A JP 7487396A JP 3608864 B2 JP3608864 B2 JP 3608864B2
Authority
JP
Japan
Prior art keywords
style
name
typesetting
temporary
composition
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.)
Expired - Fee Related
Application number
JP07487396A
Other languages
Japanese (ja)
Other versions
JPH09262957A (en
Inventor
英樹 柴田
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.)
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Screen Holdings Co Ltd
Dainippon Screen Manufacturing 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 Screen Holdings Co Ltd, Dainippon Screen Manufacturing Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP07487396A priority Critical patent/JP3608864B2/en
Publication of JPH09262957A publication Critical patent/JPH09262957A/en
Application granted granted Critical
Publication of JP3608864B2 publication Critical patent/JP3608864B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Document Processing Apparatus (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、組版方法及び装置に関し、特にスタイル名を示すタグが組み込まれた組版原稿を組版するための組版方法及び装置に関する。
【0002】
【従来の技術】
コンピュータを利用した組版方式の一つに、ユーザが原稿中に組版スタイルを指定するタグをマークアップし、組版装置がそのタグを解釈して組版を行うという方式がある。
【0003】
この方式では、複数の組版スタイルの内容を示すデータ(以下、スタイル情報と呼ぶ)を、あらかじめテーブルとして組版装置に登録しておく。このテーブルのことをスタイルテーブルと呼ぶ。このスタイルテーブルでは、各スタイル情報は、その名称(以下、スタイル名と呼ぶ)と、書体や文字サイズなどの具体的なスタイル内容とを含んでいる。ユーザは、原稿の各部分ごとに対して、その部分に適用する組版スタイルのスタイル名を指定するタグを付加する。このようにして原稿中にタグを付加したものを、以下では「組版原稿」と呼ぶ。組版装置は、ユーザが作成した組版原稿を受け取り、その中からタグを検出するごとに、そのタグに対応するスタイル情報をスタイルテーブルから検索し、検索したスタイル情報に従って原稿中の当該タグに対応する部分の組版を行う。
【0004】
図11は、この方式における組版原稿の一例を示している。この組版原稿において、“<”と“>”とで囲まれた部分がタグであり、各タグは、その次のタグまでに記述されたテキスト部分のスタイルを指定する。例えば図11の例において、1行目のタグ<見出し1>は、「第1章、発明の概要」というテキストのスタイルを指定する。図12は、スタイルテーブルの一例を示す図である。図12に示すように、スタイルテーブルには、各スタイル名ごとに、それに対応するスタイル内容が登録されている。図12に示されたスタイルテーブルを有する組版装置にて図11の組版原稿を組版した結果を図13に示す。
【0005】
【発明が解決しようとする課題】
この方式においては、ユーザが、組版原稿中に、誤ってスタイルテーブルに登録されていないスタイル名を指定したタグ(以下、未登録タグと呼ぶ)を記述した場合、組版装置はそのタグについては組版処理を行うことができない。このような場合における対応処理の方式としては、従来より、次のような方式が知られている。
【0006】
まず第1の処理方式は、組版原稿中から未登録タグを検出した時点でエラーメッセージを出力し、組版処理を終了するというものである。この方式では、ユーザは、エラーメッセージに基づいて、組版原稿作成に用いたエディタなどを用いて組版原稿中の未登録タグを正しいものに修正し、この修正した組版原稿を再度組版装置に入力して組版をやり直していた。従って、この方式では、組版原稿から未登録タグが検出されるごとに、組版処理を終了し、組版原稿の修正、組版装置への修正原稿の入力、再組版という一連の処理を繰り返す必要があった。ページ物などのように組版原稿が大きくなるものの場合には、そのような未登録タグも多くなりがちであり、そのような処理の繰り返しは組版処理の効率を著しく低減させるものであった。
【0007】
また第2の処理方式は、未登録タグに対応する部分についてはあらかじめ設定されたデフォルトのスタイル情報を用いることにより、組版原稿全体をいったん仮組版してしまうというものである。この方式では、仮組版結果がディスプレイ等に表示され、ユーザはこの表示を見て不適切なスタイル付けが行われている部分を特定し、組版原稿においてこの部分に対応するタグを適切なものに修正する。そして、組版原稿全体についてタグの修正が終わると、修正原稿を組版装置に入力して再組版処理を行う。この方式では、1回の修正作業ですべての未登録タグに対する処理が終了するので前述の第1の方式のような欠点はないが、ユーザが仮組版結果を見て修正の必要な箇所を特定する必要があるため、修正作業に時間を要するという問題があった。
【0008】
また、第2の方式を用いる組版装置には、未登録タグを検出する度にログにエラーメッセージを書き込む機能を有するものがあり、この装置ではログを参照することにより要修正箇所の特定が容易となる。しかしながら、この装置でも、要修正箇所が複数ある場合には、各箇所ごとにユーザが正しいスタイルを判定しなくてはならず、例えば組版原稿中に同じ誤り(未登録タグ)が数箇所にわたって存在する場合でも、この方式では各箇所ごとに仮組版結果を見て正しいスタイルを決定する必要があり、効率的とはいえなかった。
【0009】
本発明は、このような問題を解決するためになされたものであり、スタイルテーブルに登録されたスタイル情報を用いて組版原稿中に組み込まれたタグを逐次解釈して組版処理を行う組版方法及び装置において、組版原稿中に未登録タグが含まれる場合の修正処理を効率化することを目的とする。
【0010】
【課題を解決するための手段】
前述の目的を達成するために、本発明に係る組版方法は、スタイル名にて検索可能なスタイル情報が登録されたスタイルテーブルを有し、スタイル名を示すタグが組み込まれた組版原稿を読み込んで順次タグを検出し、検出したタグに対応するスタイル情報を前記スタイルテーブルから検索して組版処理を行う組版装置において、組版原稿からタグを検出するごとにスタイルテーブルを検索し、当該タグに対応するスタイル情報がスタイルテーブルに登録されている場合はそのスタイル情報を用いて組版を行い、登録されていない場合は所定の仮スタイル情報を用いて組版を行うと共に当該タグに示されたスタイル名を前記スタイルテーブルに仮登録する仮組版工程と、仮組版工程にて仮登録されたスタイル名を表示する仮組版結果表示工程と、仮登録スタイル名の表示に基づき行われたユーザからのスタイル情報入力に基づき、前記スタイルテーブルの各仮登録スタイル名に対してスタイル情報を登録するテーブル修正工程と、テーブル修正工程にて修正されたスタイルテーブルを用いて、前記組版原稿を本組版する本組版工程とを含む。
【0011】
この構成では、タグに指定されたスタイル名がスタイルテーブルに登録されていない場合には所定の仮スタイル情報を用いて組版を行うことにより、組版原稿全体をいったん仮組版してしまう。このとき、スタイルテーブルに登録されていなかったスタイル名は、スタイルテーブルに仮登録する。この仮登録されたスタイル名を表示することにより、ユーザは、誤って記述したタグを一目瞭然に知ることができる。そして、ユーザは各仮登録スタイル名に対して正しいスタイル情報を入力する。これら入力された各スタイル情報は、各仮登録スタイル名と対応づけて前記スタイルテーブルに登録される。そして、このようにして修正されたスタイルテーブルを用いて前記組版原稿を本組版する。
【0012】
すなわち、本構成では、組版原稿中の誤記のタグはそのままにして、そのタグに対応するスタイル情報を追加することによりスタイルテーブルを修正し、この修正されたスタイルテーブルを用いて本組版を行う。この構成によれば、ユーザは、修正の必要な部分を容易に特定することができると共に、組版原稿中で同じタグの誤記が複数箇所にわたっている場合においては、当該タグに対応する1つの仮登録スタイル名についてスタイル情報の設定を行えば全箇所の修正が一度に済むため、修正作業の効率が向上する。
【0013】
本発明の別の態様では、前記仮組版結果表示工程において、さらに前記仮組版工程における仮組版結果をイメージ表示し、前記仮組版結果表示工程での仮登録スタイル名の表示においては、各仮登録スタイル名をそれぞれ異なる表示形態で表示するとともに、前記仮組版結果のイメージ表示においては、各仮登録スタイル名に対応する部分を、各仮登録スタイル名の表示形態に対応する表示形態で表示する。
【0014】
この態様では、各仮登録スタイル名とそれに対応する仮組版結果の各部分とを、互いに対応する表示形態、例えば同じ色など、にて表示する。このような表示によれば、各仮登録スタイル名と、仮組版結果における対応部分とを容易に判別することができるので、ユーザは各仮登録スタイル名に対して設定すべき正しいスタイル情報を容易に判別することが可能となる。
【0015】
一方、本発明に係る組版装置は、スタイル名にて検索可能なスタイル情報が登録されたスタイルテーブルと、組版原稿からタグを検出して当該タグに指定されたスタイル名を前記スタイルテーブルから検索し、当該タグに対応するスタイル情報が前記スタイルテーブルに登録されている場合はそのスタイル情報を読み出して組版処理を行い、登録されていない場合には当該タグに示されたスタイル名を前記スタイルテーブルに仮登録すると共に所定の仮スタイル情報を用いて組版処理を行う組版処理部と、前記スタイルテーブルから、仮登録されたスタイル名を検出するとともに、仮登録スタイル名に対するユーザからのスタイル情報の入力を受け、このスタイル情報を前記スタイルテーブルに登録するテーブル修正処理部と、前記テーブル修正処理部にて検出された仮登録スタイル名を表示するスタイル名表示部とを備える。
【0016】
この構成では、まず組版原稿が入力されると、組版処理部はスタイルテーブルを参照して組版処理を行う。このとき、組版処理部は、スタイルテーブルに未登録のスタイル名を指定するタグを発見した場合は、所定の仮スタイル情報を用いて組版処理を行い、当該スタイル名を前記スタイルテーブルに仮登録する。本構成では、このようにして組版原稿全体をいったん仮組版してしまう。そして、テーブル修正処理部は、この仮組版後にスタイルテーブルから仮登録スタイル名を読み出し、仮登録スタイル名の一覧情報を生成する。この情報はスタイル名表示部に表示される。ユーザは、この表示を見ることにより、タグの記述誤りを識別することができる。そして、ユーザは、表示された各仮登録スタイル名に対して正しいスタイル情報を入力する。テーブル修正処理部は、この入力を受け取って前記スタイルテーブルに登録する。この処理を全仮登録スタイル名について行うことにより、組版原稿中のすべてのタグについて正しいスタイル情報が設定される。従って、この処理によって修正されたスタイルテーブルを用いて組版原稿を本組版することにより、ユーザが意図した組版結果を得ることができる。
【0017】
この発明の別の態様では、前記スタイルテーブルは、各スタイル名ごとに、当該スタイル名が仮登録されたものか否かを示す仮登録フラグを有し、前記組版処理部は、前記スタイルテーブルへスタイル名を仮登録した場合に当該スタイル名についての前記仮登録フラグをセットし、前記テーブル修正処理部は、前記仮登録フラグに基づき仮登録スタイル名の判別を行う。
【0018】
この態様では、スタイルテーブルに対して仮登録フラグを設け、スタイル名の仮登録の際にそのフラグをセットすることにより、テーブル修正処理部は、スタイルテーブルに登録された各スタイル名が仮登録スタイル名であるか否かの判別を容易に行うことができる。
【0019】
また、本発明のさらに別の態様では、テーブル修正処理部は、仮登録スタイル名に対するユーザからのスタイル情報入力を前記スタイルテーブルに登録した場合に、当該仮登録スタイル名についての仮登録フラグをリセットする。
【0020】
すなわち、この態様では、ユーザからのスタイル情報の登録がなされた仮登録スタイル名については仮登録フラグをリセットすることにより、仮登録スタイル名のうち、スタイル情報の登録が完了したものと未完了のものとを識別することができる。従って、この仮登録フラグを参照して、スタイル情報の登録が完了したものから順次仮登録スタイル名の表示を取り止める構成とすれば、すべての仮登録スタイル名についてもれなくスタイル情報の登録を行うことが可能となる。
【0021】
また、本発明のさらに別の態様では、スタイルテーブルは、各スタイル名ごとに、当該スタイル名を表示する際の表示形態の種類を示す表示識別子を有し、組版処理部は、前記スタイルテーブルにスタイル名を仮登録する際に各スタイル名ごとに異なる前記表示識別子を設定すると共に、前記表示識別子に対応する表示形態にて組版処理を行い、この組版処理の結果を前記仮登録スタイル名の表示と同時にイメージ表示する。
【0022】
この態様では、スタイルテーブルにおいて各スタイル名ごとに表示識別子を設定可能とし、組版処理部にてスタイル名の仮登録を行う際に表示識別子の設定を行う。このとき、表示識別子は、各仮登録スタイル名ごとに異なったものを設定する。これにより、スタイル名表示部における表示においては、各スタイル名ごとの表示形態にて表示を行うことができる。そして、組版処理部は、各仮登録スタイル名に対応する部分の組版処理を行う際に、その対応部分が当該仮登録スタイル名に与えた表示識別子に対応する表示形態にて表示されるように組版を行う。これにより、各仮登録スタイル名とそれに対応する仮組版結果の各部分とを、互いに対応する表示形態、例えば同じ色など、にて表示することができるので、ユーザは各仮登録スタイル名に対して設定すべき正しいスタイル情報を容易に判別することができる。
【0023】
【発明の実施の形態】
以下、本発明の好適な実施形態を図面に基づいて説明する。
【0024】
図1は、本発明に係る組版装置の構成を示した機能ブロック図である。
【0025】
図1において、スタイルテーブル24には、あらかじめ1又は複数のスタイル情報がテーブルとして登録されている。このスタイルテーブル24では、各スタイル情報は、例えば図5に示すように、スタイル名、フラグ、スタイル内容を含んでおり、各スタイル情報がそのスタイル名にて検索可能となっている。なお、スタイルテーブルにおける「フラグ」は、スタイル名が仮登録されたものか否かを示す仮登録フラグであり、これについては後に詳述する。このスタイルテーブル24には、ユーザ自身が、使用したい組版スタイルのデータをあらかじめ登録しておく。一度構築したスタイルテーブル24は、そのままで又は内容を更新して再利用することができる。
【0026】
一方、組版原稿100は、例えば図4のように、元の文書原稿に組版スタイルを指定するタグが挿入されたテキストデータである。この組版原稿100は、各ユーザがエディタなどを用いて作成する。作成された組版原稿100は、例えばネットワークを介して、本組版装置の原稿入力部10に入力される。原稿入力部10から読み込まれた組版原稿100のデータは、メモリ12に保持される。
【0027】
組版処理部14は、メモリ12に保持された組版原稿100のデータを順次読み出して、組版処理を行う。すなわち、組版処理部14は、組版原稿100からタグを検出するごとに、当該タグに指定されたスタイル情報をスタイルテーブル24から検索し、この検索結果に基づき組版処理を行う。ここで、組版原稿100中に、スタイルテーブル24に登録されていないスタイル名を指定したタグが含まれていた場合は、組版処理部14は、スタイルテーブル24に対してこのスタイル名を仮登録すると共に、スタイルテーブル24にあらかじめ設定されているデフォルトスタイル情報を読み出し、これを仮のスタイル情報として用いて組版処理を行う。従って、本実施形態では、組版原稿中に、スタイルテーブル24に登録されていないタグが含まれる場合でも、処理を中断せずにいったん最後まで組版処理が行われる。組版処理部14の組版処理の結果は、表示制御部16を介して表示部18に表示される。
【0028】
テーブル修正処理部20は、スタイルテーブル24の修正のために、スタイルテーブル24に対してデータの読み書きを行う。ここで、テーブル修正処理部20には、大まかにいって次の2つの機能がある。
【0029】
第1は、スタイルテーブル24に登録されたスタイル情報を読み出して、スタイルテーブル24内のスタイル名のリストを作成する機能である。このリストは、スタイル名と仮登録フラグのデータを含む。このようにして作成されたスタイル名リストは、表示制御部16を介して表示部18に表示される。なお、表示制御部16は、組版処理部14及びテーブル修正処理部20の出力データを受け取り、これらデータに基づき例えば図7に示すようなウインドウ形式の表示データを形成して、表示部18に出力する。
【0030】
テーブル修正処理部20の第2の機能は、ユーザ入力部22を介してユーザから入力されたスタイル情報を用いてスタイルテーブル24を修正する機能である。ユーザ入力部22にはキーボードやマウスなどが含まれ、ユーザからの入力を受け付ける。テーブル修正処理部20は、表示部18の表示に従って行われたユーザからのスタイル情報入力を、前記のスタイル名リストを用いてスタイルテーブル24の各スタイル情報と対応づける。そして、スタイルテーブル24の各スタイル情報を、ユーザからの入力に従って修正する。
【0031】
本実施形態では、以上のような構成により、スタイルテーブル24に登録されていないタグが組版原稿100に含まれている場合は、いったん仮のスタイル情報を用いて仮組版を行い、この仮組版の結果を参照してユーザ入力によりスタイルテーブル24を修正し、この修正後のスタイルテーブル24を用いて組版原稿100を再度組版する。
【0032】
以下、本実施形態の組版装置の処理手順をさらに詳しく説明する。以下では、スタイルテーブル24に図5に示す内容が登録されている場合に、スタイルテーブル24にないスタイル情報の指定を含んだ図4の組版原稿が入力された場合を例にとって説明を行う。
【0033】
図2に示すように、本実施形態では、組版原稿100が入力されると、まずあらかじめ用意されたスタイルテーブル24を用いた仮組版を行い(S1)、この仮組版結果を表示し(S2)、次に仮組版結果を反映してスタイルテーブルを修正し(S3)、最後に修正されたスタイルテーブル24を用いて本組版を行う(S4)。以下、各工程について図2及び図3を用いて詳述する。
【0034】
まず、仮組版工程(S1)では、まず組版原稿100が原稿入力部10から読み込まれ、メモリ12に格納される(S11)。次に、組版処理部14は、メモリ12に格納された組版原稿100のデータを先頭から順に読み取っていく。このときタグを検出する(S12)と、組版処理部14はこのタグに指定されたスタイル情報をスタイルテーブル24より検索する(S13)。
【0035】
この検索処理において、指定されたスタイル情報がスタイルテーブル24に存在する場合(S14)は、組版処理部14は、そのスタイル情報をスタイルテーブル24から読み出し(S15)、そのスタイル情報に従って、組版原稿において当該タグの直後から次のタグまでに記述された文字列の組版を行う。この組版処理の結果、当該文字列の各文字の位置が決定され、これら各文字の位置情報を含む組版結果データが生成される。
【0036】
一方、S13の検索処理において、指定されたスタイル情報がスタイルテーブル24に存在しなかった場合(S14)は、当該タグに示されたスタイル名をスタイルテーブル24に仮登録する(S17)と共に、スタイルテーブル24にあらかじめ設定されているデフォルトスタイル情報を読み出し、これを仮のスタイル情報として用いて、次のタグまでに記述された文字列の組版を行う(S18)。なお、S17とS18とはどちらを先に行ってもよい。
【0037】
このようにして、検出したタグに対応する文字列の組版処理が終了すると、組版原稿において次のタグの有無を調べ(S19)、次のタグがなくなるまでS12以下の処理を繰り返す。
【0038】
以上の手順に従って図4の組版原稿を仮組版した場合について説明する。この場合、まず組版原稿の1行目についてはスタイルテーブル24にあらかじめ登録された情報(図5参照)に従って組版が行われる。しかしながら、2行目の<見出し2>というタグに記述されたスタイル名は、図5に示すスタイルテーブルには登録されていないので、この「見出し2」というスタイル名がスタイルテーブル24に仮登録される(S17)。このとき、当該スタイル名が仮登録されたことを示すために、「見出し2」についての仮登録フラグを「1」にセットする(図6参照)。また、組版処理部14は、タグ<見出し2>から次のタグ<本文2>までの文字列「第2章 発明の詳細」を、スタイルテーブル24が保持しているデフォルトのスタイル内容を仮のスタイル内容として用い、組版処理する(S18)。図6において、見出し2のスタイル内容として記述されている「書体c,サイズ15,横組1段・・・」がこのデフォルトスタイル内容である。このデフォルトスタイル内容は、タグ<本文3>についての仮組版においても用いられる。なお、図6の例では、仮登録されたスタイル名に対するスタイル内容として、このデフォルトスタイル内容が実際にスタイルテーブル24に設定されているが、このような設定は必須のものではなく、仮登録スタイル名に対応するスタイル内容を未設定のままにしておいても問題はない。
【0039】
以上のような処理を図4の組版原稿の末尾に達するまで行うことにより、書体、文字サイズなどのスタイル指定と各文字の位置情報とを含んだ仮組版結果データが生成され、スタイルテーブル24が図6に示した内容に更新される。
【0040】
このようにして組版原稿全体についての仮組版処理(S1)が終了すると、次にS2にて仮組版結果の表示を行う。すなわち、S2においては、まず表示制御部16が、組版処理部14から受け取った仮組版結果データに基づき、仮組版結果のイメージを生成して表示部18に表示する。またこれと並行して、テーブル修正処理部20が、スタイルテーブル24から各スタイル情報のスタイル名及び仮登録フラグを読み出しスタイル名リストを作成する。表示制御部16は、テーブル修正処理部20からこのスタイル名リストのデータを受け取って、スタイル名リストのイメージを生成し、表示部18に表示する。このとき、表示制御部16は、仮登録されたスタイル名を、あらかじめ登録されていたスタイル名と区別できるように、各スタイル名の表示形態を仮登録フラグの値に応じて変える。これには、例えばスタイル名表示の色を変えるなどの方法がある。
【0041】
図7は、このようにして得られた仮組版結果の表示部画面180の様子を示す。図7は、仮組版結果をマルチウインドウシステムで表示した場合の例を示す。この例では、組版処理部14で得られた仮組版結果のイメージが組版結果ウインドウ182に表示され、テーブル修正処理部20で得られたスタイル名リストのイメージがスタイル名ウインドウ184に表示される。スタイル名ウインドウ184では、仮登録スタイル名(見出し2、本文3)の表示が、他とは異なった表示形態で表示されている。
【0042】
このようにして、仮組版結果及びスタイル名リストが表示されると、ユーザがこの表示を見ながら、スタイルテーブルの修正を行う(S3)。この修正は、仮登録されたスタイル名について、ユーザが正しいスタイル情報を入力することにより行う。
【0043】
この修正処理においては、ユーザは、図7に示した表示部画面180において、スタイル名ウインドウ184内の所望のスタイル名をクリックし、当該スタイル名に対するスタイル情報ウインドウ186を開く。このスタイル情報ウインドウ186は、各スタイル情報の内容を表示するウインドウである。本実施形態では、このスタイル情報ウインドウ186において、スタイル内容の各項目のデータを書き替えることにより、スタイルテーブル24の内容を修正することができる。
【0044】
従って、ユーザは、スタイル名ウインドウ184に表示された仮登録スタイル名をクリックし、この仮登録スタイル名についてのスタイル情報ウインドウ186を開き、スタイル内容の各項目を正しいデータに書き替えていく。例えば、<見出し2>が<見出し1>の書き誤りであった場合には、「見出し2」と「見出し1」についてのスタイル情報ウインドウをそれぞれ開き、「見出し1」のスタイル内容を参照しながら「見出し2」のスタイル内容の各項目を修正する。なお、「見出し2」のスタイル情報ウインドウ186を開いた後、スタイル名ウインドウ184の「見出し1」をクリックすると、「見出し1」のスタイル内容が「見出し2」にコピーされる構成としてもよい。このようにして修正されたスタイル内容により、スタイルテーブル24の内容が更新される。このとき、修正されたスタイル情報の仮登録フラグは「0」にリセットされる。すなわち、これ以降は、このスタイル情報は正式に登録されたスタイル情報として扱われる。すべての仮登録スタイル名に対してスタイル内容の修正が完了したときのスタイルテーブル24の内容の例を図8に示す。図8に示すように、修正完了後のスタイルテーブル24では、すべてのスタイル情報の仮登録フラグが「0」となっている。
【0045】
このようにしてスタイルテーブル24の修正が完了すると、この修正されたスタイルテーブル24を用いて、組版処理部14にて、メモリ12に保持されている組版原稿を再度組版する。今回の組版処理では、スタイルテーブル24には、組版原稿内のすべてのタグについて正しいスタイル情報が格納されているので、ユーザの意図する組版処理が行われる。そこで、今回の組版処理のことを本組版処理と呼ぶ。この本組版処理の手順は、図3に示した仮組版の手順からS17及びS18を除いたものと同様である。このような本組版処理の結果、ユーザの意図する正しい組版結果データが得られる。
【0046】
このように、本実施形態によれば、スタイル名リストにおいて仮登録スタイル名を明示的に表示することにより、ユーザは誤って記載したタグを容易に知ることができる。そして、この表示に従って、仮登録スタイル名に対して正しいスタイル情報を登録してスタイルテーブル24の修正を行い、この修正されたスタイルテーブル24を用いて再度組版を行うことにより、ユーザの意図した正しい組版結果を得ることができる。また、本実施形態では、図4における<見出し2>のように、組版原稿中で同じタグの誤記が複数箇所ある場合にも、当該タグに対応する1つの仮登録スタイル名についてスタイル情報の設定を行えば全箇所の修正が一度に済むため、修正作業の効率が向上する。
【0047】
次に、本実施形態の変形例について説明する。この変形例は、仮登録スタイル名に対する正しいスタイル情報の設定をより容易にすることを意図したものである。
【0048】
この変形例では、図9に示すようにスタイル名ウインドウ184の表示において、各仮登録スタイル名をそれぞれ異なる表示形態(例えば、異なる色付け)にて表示するとともに、仮組版結果のイメージ表示において、各仮登録スタイル名に対応する部分を、対応仮登録スタイル名と同じ又は容易に関連付け可能な表示形態で表示する。このような表示を採用することにより、ユーザは、各仮登録スタイル名が仮組版結果のどの部分に対応しているかを一目で把握できるので、各仮登録スタイル名に対して設定すべきスタイル内容の決定が容易となる。
【0049】
図9のような表示を実現するための方法としては、次のような方法が考えられる。この方法では、図10に示すように、スタイルテーブル24において各スタイル情報に表示識別子の項目を加え、スタイル名の仮登録を行う度(図3のS17)に、当該仮登録スタイル名に対して異なった表示識別子を割り当てていく。この表示識別子はスタイル名リストの表示の際に読み出され、これに基づき各スタイル名は各表示識別子に対応した表示形態で表示される。そして、当該仮登録スタイル名に対応する部分の組版処理を行う(図3のS18)際に、当該仮登録スタイル名に対して割り当てた表示識別子を組版指示データとして付加する。そして、表示制御部16は、仮組版結果データを表示する際に各表示識別子に対応した表示形態にて表示を行う。
【0050】
このような方法により、図9に示すような仮登録スタイル名と仮組版結果との関連付け表示を行うことにより、ユーザは各仮登録スタイル名に対して設定すべきスタイル内容を容易に決定することが可能となる。
【0051】
なお、以上の実施形態では、仮組版結果の表示においてスタイルテーブル24内のすべてのスタイル名を表示していたが、これに限らず、仮登録されたスタイル名のみを表示する構成とした場合でも、本発明の効果を得ることができる。
【0052】
また、上記実施形態では、スタイルテーブル24のデータを読み取ってスタイル名リストを作成したが、これに限らず、組版処理部14にて新たなスタイル名を発見するごとに、それをテーブル修正処理部20にてスタイル名リストに追加し、このリストを表示する構成とすることもできる。
【図面の簡単な説明】
【図1】本発明に係る組版装置の構成を示す機能ブロック図である。
【図2】本実施形態の全体的な処理手順を示すフローチャートである。
【図3】仮組版工程の処理手順を示すフローチャートである。
【図4】組版原稿の一例を示す図である。
【図5】あらかじめ設定されたスタイルテーブル24の内容を示す図である。
【図6】仮組版処理によって更新されたスタイルテーブル24の内容を示す図である。
【図7】仮組版結果の表示例を示す図である。
【図8】ユーザ入力により修正されたスタイルテーブル24の内容を示す図である。
【図9】仮組版結果の表示において、仮登録スタイル名と仮組版結果とを関連付け表示する表示例を示す図である。
【図10】図9の表示を実現するためのスタイルテーブル24のデータ構造の一例を示す図である。
【図11】組版原稿の一例を示す図である。
【図12】従来の組版方式におけるスタイルテーブルの内容を示す図である。
【図13】図11の組版原稿を図12のスタイルテーブルを用いて組版した組版結果を示す図である。
【符号の説明】
10 原稿入力部、12 メモリ、14 組版処理部、16 表示制御部、18 表示部、20 テーブル修正処理部、22 ユーザ入力部、24 スタイルテーブル。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a typesetting method and apparatus, and more particularly to a typesetting method and apparatus for typesetting a typesetting document in which a tag indicating a style name is incorporated.
[0002]
[Prior art]
One of the typesetting methods using a computer is a method in which a user marks up a tag for specifying a typesetting style in a document, and the typesetting device interprets the tag and performs typesetting.
[0003]
In this method, data indicating the contents of a plurality of typesetting styles (hereinafter referred to as style information) is registered in advance in the typesetting apparatus as a table. This table is called a style table. In this style table, each style information includes its name (hereinafter referred to as a style name) and specific style contents such as a typeface and character size. The user adds a tag for designating the style name of the composition style to be applied to each part of the document. In this way, a document with a tag added thereto is hereinafter referred to as a “typed document”. Each time the typesetting apparatus receives a typesetting manuscript created by the user and detects a tag from the typesetting manuscript, it searches the style table for style information corresponding to the tag, and corresponds to the tag in the manuscript according to the retrieved style information. Format the part.
[0004]
FIG. 11 shows an example of a typesetting document in this method. In this typesetting document, a portion surrounded by “<” and “>” is a tag, and each tag designates a style of a text portion described up to the next tag. For example, in the example of FIG. 11, the tag <Heading 1> on the first line specifies the text style “Chapter 1, Summary of Invention”. FIG. 12 is a diagram illustrating an example of a style table. As shown in FIG. 12, in the style table, the style content corresponding to each style name is registered. FIG. 13 shows the result of composition of the composition document of FIG. 11 by the composition apparatus having the style table shown in FIG.
[0005]
[Problems to be solved by the invention]
In this method, when a user has described a tag (hereinafter referred to as an unregistered tag) in which a style name that is not registered in the style table is mistakenly described in the typesetting document, the typesetting device sets the tag for the typesetting. Processing cannot be performed. Conventionally, the following method is known as a handling method in such a case.
[0006]
First, the first processing method is to output an error message when an unregistered tag is detected in a typesetting document and end the typesetting process. In this method, based on the error message, the user corrects the unregistered tag in the formatted document using the editor or the like used for creating the formatted document, and inputs the modified formatted document to the composition apparatus again. And retyped. Therefore, with this method, each time an unregistered tag is detected from a typesetting document, it is necessary to end the typesetting process and repeat a series of processes including correction of the typesetting manuscript, input of the corrected manuscript to the typesetting apparatus, and reformatting. It was. Such a non-registered tag tends to increase in the case of a large typesetting document such as a page material, and the repetition of such processing significantly reduces the efficiency of the typesetting processing.
[0007]
The second processing method temporarily provisionally forms the entire formatted document by using preset default style information for the part corresponding to the unregistered tag. In this method, the provisional composition result is displayed on a display or the like, and the user identifies the part that is improperly styled by looking at this display, and sets the tag corresponding to this part in the composition document to an appropriate one. Correct it. When the correction of the tag is completed for the entire typesetting document, the corrected document is input to the typesetting apparatus and the reformatting process is performed. In this method, processing for all unregistered tags is completed in one correction operation, so there is no disadvantage as in the first method described above, but the user identifies the part that needs correction by looking at the temporary composition result. Therefore, there was a problem that the correction work took time.
[0008]
In addition, some typesetting devices using the second method have a function of writing an error message in a log each time an unregistered tag is detected. With this device, it is easy to specify a correction point by referring to the log. It becomes. However, even in this apparatus, when there are a plurality of points requiring correction, the user must determine the correct style for each portion. For example, the same error (unregistered tag) exists in several places in the typesetting document. Even in this case, this method is not efficient because it is necessary to determine the correct style by looking at the temporary composition results for each part.
[0009]
The present invention has been made in order to solve such a problem, and a composition method for performing composition processing by sequentially interpreting tags incorporated in a composition document using style information registered in a style table, and An object of the present invention is to improve the efficiency of correction processing when an unregistered tag is included in a typesetting document.
[0010]
[Means for Solving the Problems]
In order to achieve the above-described object, the composition method according to the present invention includes a style table in which style information searchable by style name is registered, and reads a composition document in which a tag indicating the style name is incorporated. In a typesetting apparatus that sequentially detects tags, searches style information corresponding to the detected tags from the style table, and performs typesetting processing, the style table is searched each time a tag is detected from the typesetting document, and the tag is handled. If the style information is registered in the style table, typesetting is performed using the style information. If the style information is not registered, typesetting is performed using predetermined temporary style information and the style name indicated by the tag is Temporary composition process for provisional registration in the style table and provisional composition result display process for displaying the style name provisionally registered in the provisional composition process Based on the style information input from the user performed based on the display of the temporary registration style name, the table correction process for registering style information for each temporary registration style name in the style table and the table correction process And a main composition step for main composition of the composition manuscript using a style table.
[0011]
In this configuration, when the style name specified in the tag is not registered in the style table, the entire formatted document is temporarily formatted by performing the formatting using predetermined temporary style information. At this time, style names that have not been registered in the style table are temporarily registered in the style table. By displaying the temporarily registered style name, the user can know at a glance the tag that has been erroneously described. Then, the user inputs correct style information for each temporarily registered style name. Each input style information is registered in the style table in association with each temporarily registered style name. Then, the composition document is fully composed using the style table corrected in this way.
[0012]
That is, in this configuration, the style table is corrected by adding the style information corresponding to the tag while keeping the erroneously written tag in the formatted document as it is, and the formatted composition is performed using the corrected style table. According to this configuration, the user can easily specify the portion that needs to be corrected, and when the same tag includes a plurality of errors in the formatted document, one temporary registration corresponding to the tag is made. If the style information is set for the style name, all parts need to be corrected at once, so that the efficiency of the correction work is improved.
[0013]
In another aspect of the present invention, in the provisional composition result display step, the provisional composition result in the provisional composition step is further displayed as an image, and the provisional registration style name is displayed in the provisional composition result display step. The style names are displayed in different display forms, and in the image display of the temporary composition result, the portion corresponding to each temporary registration style name is displayed in the display form corresponding to the display form of each temporary registration style name.
[0014]
In this aspect, each temporary registration style name and each part of the temporary composition result corresponding thereto are displayed in a display form corresponding to each other, for example, the same color. According to such a display, each temporary registration style name and the corresponding part in the temporary composition result can be easily distinguished, so that the user can easily set the correct style information to be set for each temporary registration style name. Can be determined.
[0015]
On the other hand, the typesetting device according to the present invention detects a tag from a typesetting manuscript with a style table in which style information that can be searched by style name is registered, and searches the style table for the style name specified for the tag. If the style information corresponding to the tag is registered in the style table, the style information is read and typesetting is performed. If the style information is not registered, the style name indicated by the tag is stored in the style table. Temporarily registering and performing a typesetting process using predetermined temporary style information, and detecting the temporarily registered style name from the style table and inputting the style information from the user for the temporarily registered style name And a table correction processing unit for registering the style information in the style table, and the table And a style name display unit for displaying a temporary registration style names that are detected by the positive processing unit.
[0016]
In this configuration, when a typesetting document is input, the typesetting processing unit performs typesetting processing with reference to the style table. At this time, if the typesetting processing unit finds a tag that designates an unregistered style name in the style table, the typesetting process performs typesetting processing using predetermined temporary style information, and temporarily registers the style name in the style table. . In this configuration, the entire typesetting document is temporarily temporarily set in this way. Then, the table correction processing unit reads temporary registration style names from the style table after the temporary composition, and generates list information of temporary registration style names. This information is displayed in the style name display area. The user can identify the description error of the tag by viewing this display. Then, the user inputs correct style information for each temporarily registered style name displayed. The table correction processing unit receives this input and registers it in the style table. By performing this process for all temporarily registered style names, correct style information is set for all tags in the formatted document. Therefore, the composition result intended by the user can be obtained by subjecting the composition document to the main composition using the style table corrected by this processing.
[0017]
In another aspect of the present invention, the style table has, for each style name, a temporary registration flag indicating whether or not the style name is temporarily registered, and the typesetting processing unit stores the style table in the style table. When the style name is temporarily registered, the temporary registration flag for the style name is set, and the table correction processing unit determines the temporary registration style name based on the temporary registration flag.
[0018]
In this aspect, by providing a temporary registration flag for the style table and setting the flag at the time of temporary registration of the style name, the table correction processing unit allows each style name registered in the style table to be temporarily registered in the style table. It is possible to easily determine whether or not the name is a name.
[0019]
In still another aspect of the present invention, the table correction processing unit resets the temporary registration flag for the temporary registration style name when the style information input from the user for the temporary registration style name is registered in the style table. To do.
[0020]
That is, in this aspect, by resetting the temporary registration flag for the temporary registration style name for which the style information has been registered by the user, among the temporary registration style names, the registration of the style information is completed and the incomplete processing is completed. Can be identified. Therefore, with reference to the temporary registration flag, if the configuration is such that the display of temporary registration style names is sequentially canceled from the one for which registration of style information has been completed, the style information can be registered for all temporary registration style names. It becomes possible.
[0021]
In yet another aspect of the present invention, the style table has, for each style name, a display identifier that indicates the type of display mode when the style name is displayed, and the typesetting processing unit includes the style table. When temporarily registering a style name, the display identifier that is different for each style name is set, and a formatting process is performed in a display form corresponding to the display identifier, and the result of the formatting process is displayed as the temporary registered style name. At the same time, an image is displayed.
[0022]
In this aspect, a display identifier can be set for each style name in the style table, and the display identifier is set when the style name is temporarily registered in the composition processing unit. At this time, a different display identifier is set for each temporary registration style name. Thereby, in the display in a style name display part, it can display in the display form for every style name. Then, when the composition processing unit performs the composition processing of the part corresponding to each temporary registration style name, the corresponding part is displayed in a display form corresponding to the display identifier given to the temporary registration style name. Perform typesetting. As a result, each temporary registration style name and each part of the corresponding temporary composition result can be displayed in a display form corresponding to each other, for example, the same color, etc. The correct style information to be set can be easily determined.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the drawings.
[0024]
FIG. 1 is a functional block diagram showing a configuration of a typesetting apparatus according to the present invention.
[0025]
In FIG. 1, one or a plurality of style information is registered in advance in the style table 24 as a table. In the style table 24, as shown in FIG. 5, for example, each style information includes a style name, a flag, and style contents, and each style information can be searched by the style name. The “flag” in the style table is a temporary registration flag indicating whether or not the style name has been temporarily registered. This will be described in detail later. In the style table 24, the user himself / herself registers the data of the formatting style that the user wants to use. The style table 24 once constructed can be reused as it is or after updating its contents.
[0026]
On the other hand, the formatted document 100 is text data in which a tag for specifying a formatted style is inserted into the original document document as shown in FIG. This typesetting document 100 is created by each user using an editor or the like. The created typesetting document 100 is input to the document input unit 10 of the typesetting device via a network, for example. Data of the formatted original 100 read from the original input unit 10 is held in the memory 12.
[0027]
The composition processing unit 14 sequentially reads the data of the composition document 100 held in the memory 12 and performs composition processing. That is, each time the typesetting processing unit 14 detects a tag from the typesetting original 100, it searches the style table 24 for style information designated by the tag, and performs typesetting processing based on the search result. Here, if the typesetting document 100 includes a tag specifying a style name that is not registered in the style table 24, the typesetting processing unit 14 temporarily registers the style name in the style table 24. At the same time, default style information set in advance in the style table 24 is read out, and this is used as temporary style information to perform the composition process. Therefore, in the present embodiment, even if the typesetting document includes a tag that is not registered in the style table 24, the typesetting process is performed once to the end without interrupting the process. The result of the composition processing of the composition processing unit 14 is displayed on the display unit 18 via the display control unit 16.
[0028]
The table correction processing unit 20 reads / writes data from / to the style table 24 to correct the style table 24. Here, the table correction processing unit 20 roughly has the following two functions.
[0029]
The first function is to read the style information registered in the style table 24 and create a list of style names in the style table 24. This list includes data of style names and temporary registration flags. The style name list created in this way is displayed on the display unit 18 via the display control unit 16. The display control unit 16 receives the output data of the typesetting processing unit 14 and the table correction processing unit 20, forms display data in the window format as shown in FIG. 7 based on these data, and outputs it to the display unit 18. To do.
[0030]
A second function of the table correction processing unit 20 is a function of correcting the style table 24 using style information input from the user via the user input unit 22. The user input unit 22 includes a keyboard, a mouse, and the like, and receives input from the user. The table correction processing unit 20 associates the style information input from the user made according to the display on the display unit 18 with each style information of the style table 24 using the style name list. Then, the style information in the style table 24 is corrected according to the input from the user.
[0031]
In the present embodiment, when a tag that is not registered in the style table 24 is included in the typesetting document 100 with the above-described configuration, the temporary typesetting is performed once using the temporary style information. The style table 24 is corrected by user input with reference to the result, and the formatted document 100 is formatted again using the corrected style table 24.
[0032]
Hereinafter, the processing procedure of the typesetting apparatus of this embodiment will be described in more detail. In the following, a description will be given by taking as an example a case where the typesetting document of FIG. 4 including designation of style information not included in the style table 24 is input when the contents shown in FIG. 5 are registered in the style table 24.
[0033]
As shown in FIG. 2, in this embodiment, when a typesetting document 100 is input, first, a temporary typesetting using a style table 24 prepared in advance is performed (S1), and this temporary typesetting result is displayed (S2). Then, the style table is corrected by reflecting the temporary composition result (S3), and finally the composition is performed using the modified style table 24 (S4). Hereafter, each process is explained in full detail using FIG.2 and FIG.3.
[0034]
First, in the temporary composition process (S1), first, the composition document 100 is read from the document input unit 10 and stored in the memory 12 (S11). Next, the composition processing unit 14 reads the data of the composition document 100 stored in the memory 12 in order from the top. When a tag is detected at this time (S12), the composition processing unit 14 searches the style table 24 for style information designated by this tag (S13).
[0035]
In this search process, when the specified style information exists in the style table 24 (S14), the typesetting processing unit 14 reads the style information from the style table 24 (S15), and in the typesetting document according to the style information. The character string described immediately after the tag until the next tag is formatted. As a result of this typesetting process, the position of each character in the character string is determined, and typesetting result data including the position information of each character is generated.
[0036]
On the other hand, if the specified style information does not exist in the style table 24 in the search process of S13 (S14), the style name indicated in the tag is provisionally registered in the style table 24 (S17) and the style The default style information set in advance in the table 24 is read out, and this is used as temporary style information, and the character string described up to the next tag is formatted (S18). Either S17 or S18 may be performed first.
[0037]
In this way, when the formatting process of the character string corresponding to the detected tag is completed, the presence or absence of the next tag is checked in the formatted document (S19), and the processes from S12 are repeated until the next tag is eliminated.
[0038]
A case will be described in which the typesetting document of FIG. In this case, for the first line of the typesetting document, the typesetting is performed according to information (see FIG. 5) registered in advance in the style table 24. However, since the style name described in the tag <heading 2> on the second line is not registered in the style table shown in FIG. 5, the style name “heading 2” is provisionally registered in the style table 24. (S17). At this time, the temporary registration flag for “Heading 2” is set to “1” to indicate that the style name has been temporarily registered (see FIG. 6). Further, the typesetting processing unit 14 temporarily sets the character string “Chapter 2 Details of Invention” from the tag <Heading 2> to the next tag <Body 2> and the default style content held in the style table 24. It is used as style content and is subjected to typesetting (S18). In FIG. 6, the default style content is “typeface c, size 15, horizontal assembly 1 level...” Described as the style content of heading 2. This default style content is also used in the temporary composition for the tag <text 3>. In the example of FIG. 6, the default style content is actually set in the style table 24 as the style content for the temporarily registered style name. There is no problem if the style content corresponding to the name is left unset.
[0039]
By performing the above processing until the end of the typesetting document in FIG. 4 is reached, provisional typesetting result data including style designation such as typeface and character size and position information of each character is generated. The contents are updated to the contents shown in FIG.
[0040]
When the provisional composition process (S1) for the entire composition document is completed in this way, the provisional composition result is displayed in S2. That is, in S <b> 2, first, the display control unit 16 generates an image of the temporary composition result based on the temporary composition result data received from the composition processing unit 14 and displays it on the display unit 18. In parallel with this, the table correction processing unit 20 reads the style name and temporary registration flag of each style information from the style table 24 and creates a style name list. The display control unit 16 receives the data of the style name list from the table correction processing unit 20, generates an image of the style name list, and displays it on the display unit 18. At this time, the display control unit 16 changes the display form of each style name according to the value of the temporary registration flag so that the temporarily registered style name can be distinguished from the previously registered style name. For example, there is a method of changing the color of the style name display.
[0041]
FIG. 7 shows a state of the display screen 180 of the temporary composition result obtained in this way. FIG. 7 shows an example when the temporary composition result is displayed by the multi-window system. In this example, the image of the temporary composition result obtained by the composition processing unit 14 is displayed in the composition result window 182, and the image of the style name list obtained by the table correction processing unit 20 is displayed in the style name window 184. In the style name window 184, the temporarily registered style names (heading 2 and body 3) are displayed in a different display form.
[0042]
When the temporary composition result and the style name list are displayed in this manner, the user corrects the style table while viewing the display (S3). This correction is performed when the user inputs correct style information for the temporarily registered style name.
[0043]
In this correction process, the user clicks a desired style name in the style name window 184 on the display unit screen 180 shown in FIG. 7, and opens a style information window 186 for the style name. The style information window 186 is a window that displays the contents of each style information. In the present embodiment, the contents of the style table 24 can be corrected by rewriting the data of each item of the style contents in the style information window 186.
[0044]
Therefore, the user clicks the temporary registration style name displayed in the style name window 184, opens the style information window 186 for the temporary registration style name, and rewrites each item of the style contents with correct data. For example, if <Heading 2> is a writing error of <Heading 1>, the style information windows for "Heading 2" and "Heading 1" are opened, while referring to the style contents of "Heading 1". Correct each item of the style contents of “Heading 2”. Note that after opening the style information window 186 of “Heading 2”, clicking “Heading 1” in the style name window 184 may copy the style contents of “Heading 1” to “Heading 2”. The contents of the style table 24 are updated with the style contents thus corrected. At this time, the temporary registration flag of the modified style information is reset to “0”. That is, after this, this style information is treated as officially registered style information. FIG. 8 shows an example of the contents of the style table 24 when the modification of the style contents is completed for all temporarily registered style names. As shown in FIG. 8, in the style table 24 after the correction is completed, the temporary registration flags of all the style information are “0”.
[0045]
When the correction of the style table 24 is completed in this way, the typesetting document held in the memory 12 is reformatted by the typesetting processing unit 14 using the corrected style table 24. In this typesetting process, correct style information is stored in the style table 24 for all tags in the typesetting document, so that the typesetting process intended by the user is performed. Therefore, this typesetting process is called the main typesetting process. The procedure of the main composition process is the same as that obtained by removing S17 and S18 from the provisional composition process shown in FIG. As a result of this typesetting process, correct typesetting result data intended by the user is obtained.
[0046]
As described above, according to the present embodiment, by explicitly displaying the temporarily registered style name in the style name list, the user can easily know the erroneously described tag. Then, according to this display, correct style information is registered with respect to the temporarily registered style name, the style table 24 is corrected, and formatting is performed again using the corrected style table 24, so that the correct user's intention is obtained. A typesetting result can be obtained. Further, in the present embodiment, as shown in <Heading 2> in FIG. 4, even when there are a plurality of errors in the same tag in the formatted document, the style information is set for one temporarily registered style name corresponding to the tag. If all the points are corrected at once, the efficiency of the correction work is improved.
[0047]
Next, a modification of this embodiment will be described. This modification is intended to make it easier to set correct style information for a temporarily registered style name.
[0048]
In this modification, each temporary registration style name is displayed in a different display form (for example, different coloring) in the display of the style name window 184 as shown in FIG. The part corresponding to the temporary registration style name is displayed in the same display form as the corresponding temporary registration style name or can be easily associated. By adopting such a display, the user can grasp at a glance which part of the temporary composition style name each temporary registration style name corresponds to, so the style contents to be set for each temporary registration style name Is easy to determine.
[0049]
As a method for realizing the display as shown in FIG. 9, the following method can be considered. In this method, as shown in FIG. 10, the display identifier item is added to each style information in the style table 24, and the temporary registration of the style name (S17 in FIG. 3) is performed for the temporary registration style name. Assign different display identifiers. This display identifier is read when the style name list is displayed, and based on this, each style name is displayed in a display form corresponding to each display identifier. Then, when performing the formatting process for the portion corresponding to the temporary registration style name (S18 in FIG. 3), the display identifier assigned to the temporary registration style name is added as the formatting instruction data. The display control unit 16 performs display in a display form corresponding to each display identifier when displaying the temporary composition result data.
[0050]
With this method, the user can easily determine the style content to be set for each temporary registration style name by displaying the association between the temporary registration style name and the temporary composition result as shown in FIG. Is possible.
[0051]
In the above embodiment, all the style names in the style table 24 are displayed in the temporary composition result display. However, the present invention is not limited to this, and even when only the temporarily registered style names are displayed. The effects of the present invention can be obtained.
[0052]
In the above embodiment, the style name list is created by reading the data of the style table 24. However, the present invention is not limited to this, and every time a new style name is found in the typesetting processing unit 14, it is converted into a table correction processing unit. It is also possible to add to the style name list at 20 and display this list.
[Brief description of the drawings]
FIG. 1 is a functional block diagram showing a configuration of a typesetting apparatus according to the present invention.
FIG. 2 is a flowchart showing an overall processing procedure of the present embodiment.
FIG. 3 is a flowchart showing a processing procedure of a temporary composition process.
FIG. 4 is a diagram illustrating an example of a typesetting document.
FIG. 5 is a diagram showing the contents of a preset style table 24;
FIG. 6 is a diagram showing the contents of the style table 24 updated by temporary composition processing.
FIG. 7 is a diagram illustrating a display example of a temporary composition result.
FIG. 8 is a diagram showing the contents of a style table 24 modified by user input.
FIG. 9 is a diagram illustrating a display example in which a temporary registration style name and a temporary composition result are displayed in association with each other when displaying a temporary composition result.
10 is a diagram illustrating an example of a data structure of a style table 24 for realizing the display of FIG. 9;
FIG. 11 is a diagram illustrating an example of a typesetting document.
FIG. 12 is a diagram showing the contents of a style table in a conventional typesetting system.
13 is a diagram showing a typesetting result obtained by formatting the typesetting original shown in FIG. 11 using the style table shown in FIG. 12;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 Document input part, 12 Memory, 14 Typesetting process part, 16 Display control part, 18 Display part, 20 Table correction process part, 22 User input part, 24 Style table.

Claims (6)

スタイル名にて検索可能なスタイル情報が登録されたスタイルテーブルを有し、スタイル名を示すタグが組み込まれた組版原稿を読み込んで順次タグを検出し、検出したタグに対応するスタイル情報を前記スタイルテーブルから検索して組版処理を行う組版装置において、
組版原稿からタグを検出するごとにスタイルテーブルを検索し、当該タグに対応するスタイル情報がスタイルテーブルに登録されている場合はそのスタイル情報を用いて組版を行い、登録されていない場合は所定の仮スタイル情報を用いて組版を行うと共に当該タグに示されたスタイル名を前記スタイルテーブルに仮登録する仮組版工程と、
仮組版工程にて仮登録されたスタイル名を表示する仮組版結果表示工程と、
仮登録スタイル名の表示に基づき行われたユーザからのスタイル情報入力に基づき、前記スタイルテーブルの各仮登録スタイル名に対してスタイル情報を登録するテーブル修正工程と、
テーブル修正工程にて修正されたスタイルテーブルを用いて、前記組版原稿を本組版する本組版工程と、
を含むことを特徴とする組版方法。
It has a style table in which style information searchable by style name is registered, reads a typesetting manuscript in which a tag indicating the style name is incorporated, detects the tag sequentially, and the style information corresponding to the detected tag In a typesetting device that searches from a table and performs typesetting processing,
Each time a tag is detected from the formatted manuscript, the style table is searched. If the style information corresponding to the tag is registered in the style table, the style information is used for formatting. A provisional composition step of performing provisional composition using the provisional style information and provisionally registering the style name indicated in the tag in the style table;
A temporary composition result display process for displaying the temporarily registered style name in the temporary composition process;
A table correction step of registering style information for each temporary registration style name of the style table based on the style information input from the user performed based on the display of the temporary registration style name;
Using the style table corrected in the table correction process, the main composition process for main composition of the composition document;
A typesetting method comprising:
請求項1記載の組版方法であって、
前記仮組版結果表示工程は、前記仮組版工程における仮組版結果をイメージ表示する工程を含み、
前記仮組版結果表示工程での仮登録スタイル名の表示においては、各仮登録スタイル名をそれぞれ異なる表示形態で表示するとともに、前記仮組版結果のイメージ表示においては、各仮登録スタイル名に対応する部分を、各仮登録スタイル名の表示形態に対応する表示形態で表示することを特徴とする組版方法。
A typesetting method according to claim 1, wherein
The temporary composition result display step includes a step of displaying an image of the temporary composition result in the temporary composition step,
In displaying the temporary registration style name in the temporary composition result display step, each temporary registration style name is displayed in a different display form, and in the image display of the temporary composition result, it corresponds to each temporary registration style name. A typesetting method, wherein the portion is displayed in a display form corresponding to a display form of each temporary registration style name.
スタイル名にて検索可能なスタイル情報が登録されたスタイルテーブルと、
組版原稿からタグを検出して当該タグに指定されたスタイル名を前記スタイルテーブルから検索し、当該タグに対応するスタイル情報が前記スタイルテーブルに登録されている場合はそのスタイル情報を読み出して組版処理を行い、登録されていない場合には当該タグに示されたスタイル名を前記スタイルテーブルに仮登録すると共に所定の仮スタイル情報を用いて組版処理を行う組版処理部と、
前記スタイルテーブルから、前記仮登録されたスタイル名を検出するとともに、仮登録スタイル名に対するユーザからのスタイル情報の入力を受け、このスタイル情報を前記スタイルテーブルに登録するテーブル修正処理部と、
前記テーブル修正処理部にて検出された仮登録スタイル名を表示するスタイル名表示部と、
を備えることを特徴とする組版装置。
A style table in which style information searchable by style name is registered, and
A tag is detected from the typesetting manuscript, the style name designated for the tag is searched from the style table, and if style information corresponding to the tag is registered in the style table, the style information is read and typesetting processing If not registered, a typesetting processing unit that temporarily registers the style name indicated in the tag in the style table and performs a typesetting process using predetermined temporary style information;
A table correction processing unit that detects the temporarily registered style name from the style table, receives input of style information from the user for the temporarily registered style name, and registers the style information in the style table;
A style name display unit for displaying the temporarily registered style name detected by the table correction processing unit;
A typesetting device comprising:
請求項3記載の組版装置において、
前記スタイルテーブルは、各スタイル名ごとに、当該スタイル名が仮登録されたものか否かを示す仮登録フラグを有し、
前記組版処理部は、前記スタイルテーブルへスタイル名を仮登録した場合に当該スタイル名についての前記仮登録フラグをセットし、
前記テーブル修正処理部は、前記仮登録フラグに基づき仮登録スタイル名の判別を行うことを特徴とする組版装置。
In the typesetting device according to claim 3,
The style table has, for each style name, a temporary registration flag indicating whether or not the style name is temporarily registered,
The typesetting processing unit sets the temporary registration flag for the style name when the style name is temporarily registered in the style table,
The type correction apparatus, wherein the table correction processing unit determines a temporary registration style name based on the temporary registration flag.
請求項4記載の組版装置において、
前記テーブル修正処理部は、仮登録スタイル名に対するユーザからのスタイル情報入力を前記スタイルテーブルに登録した場合に、当該仮登録スタイル名についての前記仮登録フラグをリセットすることを特徴とする組版装置。
The typesetting device according to claim 4,
The table correction processing unit, when registering style information input from a user for a temporary registration style name in the style table, resets the temporary registration flag for the temporary registration style name.
請求項3〜5のいずれかに記載の組版装置であって、
前記スタイルテーブルは、各スタイル名ごとに、当該スタイル名を表示する際の表示形態の種類を示す表示識別子を有し、
前記組版処理部は、前記スタイルテーブルにスタイル名を仮登録する際に各スタイル名ごとに異なる前記表示識別子を設定すると共に、前記表示識別子に対応する表示形態にて組版処理を行い、
この組版処理の結果を前記仮登録スタイル名の表示と同時にイメージ表示することを特徴とする組版装置。
A typesetting device according to any one of claims 3 to 5,
The style table has, for each style name, a display identifier indicating a type of display form when the style name is displayed,
The composition processing unit sets a different display identifier for each style name when temporarily registering a style name in the style table, and performs a composition process in a display form corresponding to the display identifier,
A typesetting apparatus that displays the result of the typesetting process as an image simultaneously with the display of the temporarily registered style name.
JP07487396A 1996-03-28 1996-03-28 Typesetting method and apparatus Expired - Fee Related JP3608864B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07487396A JP3608864B2 (en) 1996-03-28 1996-03-28 Typesetting method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07487396A JP3608864B2 (en) 1996-03-28 1996-03-28 Typesetting method and apparatus

Publications (2)

Publication Number Publication Date
JPH09262957A JPH09262957A (en) 1997-10-07
JP3608864B2 true JP3608864B2 (en) 2005-01-12

Family

ID=13559901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07487396A Expired - Fee Related JP3608864B2 (en) 1996-03-28 1996-03-28 Typesetting method and apparatus

Country Status (1)

Country Link
JP (1) JP3608864B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002278952A (en) * 2001-03-15 2002-09-27 Toshiba Corp Output style generation program, output style generation method, and output style generation device
JP5244370B2 (en) * 2007-11-15 2013-07-24 株式会社日立製作所 Screen design specification creation method, screen design specification creation program, and screen design specification creation device
JP5741219B2 (en) * 2011-05-30 2015-07-01 大日本印刷株式会社 CONTENT GENERATION DEVICE, CONTENT GENERATION METHOD, AND PROGRAM

Also Published As

Publication number Publication date
JPH09262957A (en) 1997-10-07

Similar Documents

Publication Publication Date Title
JPH10124495A (en) Original text generation processing device and its program storage medium
JP3608864B2 (en) Typesetting method and apparatus
JPH06230844A (en) Method for starting processing
JPH10269203A (en) Automatic linking device
JPH11282599A (en) Display method and device for change of file contents and medium recording display program
JP2959490B2 (en) String addition method
JP3476338B2 (en) Information processing apparatus and computer-readable recording medium recording information processing program
JP2000047779A (en) Help system, help method, and medium
JP2000322444A (en) Document display device
JPS63108430A (en) Document display system
JPH0612542B2 (en) How to copy the mark part of structured document
JPH05181661A (en) General purpose menu system for each user
JP3237709B2 (en) Document processing apparatus and document processing method
JPH07110765A (en) Document editing method
JP3067083B2 (en) Document input device
JPH08339413A (en) Data entry device
JPH0683818A (en) Document data processor
JPH05307475A (en) Process control processing method
JPH07249034A (en) Character string extraction processing device
JPH03156667A (en) Document editing processor
JPH05341983A (en) Information processing system
JPH03166642A (en) Method and device for inputting text
JPH0877164A (en) Document processor
JPH0573543A (en) Electronic document handling method and device
JPH04287221A (en) Device for managing progress of program development

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041005

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041012

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071022

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081022

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees