JPS6239860A - Composing device - Google Patents

Composing device

Info

Publication number
JPS6239860A
JPS6239860A JP60179735A JP17973585A JPS6239860A JP S6239860 A JPS6239860 A JP S6239860A JP 60179735 A JP60179735 A JP 60179735A JP 17973585 A JP17973585 A JP 17973585A JP S6239860 A JPS6239860 A JP S6239860A
Authority
JP
Japan
Prior art keywords
typesetting
area
data
section
formatting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60179735A
Other languages
Japanese (ja)
Inventor
Mitsuyoshi Shimojo
下條 満美
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60179735A priority Critical patent/JPS6239860A/en
Publication of JPS6239860A publication Critical patent/JPS6239860A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03FPHOTOMECHANICAL PRODUCTION OF TEXTURED OR PATTERNED SURFACES, e.g. FOR PRINTING, FOR PROCESSING OF SEMICONDUCTOR DEVICES; MATERIALS THEREFOR; ORIGINALS THEREFOR; APPARATUS SPECIALLY ADAPTED THEREFOR
    • G03F1/00Originals for photomechanical production of textured or patterned surfaces, e.g., masks, photo-masks, reticles; Mask blanks or pellicles therefor; Containers specially adapted therefor; Preparation thereof

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Preparing Plates And Mask In Photomechanical Process (AREA)
  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は組版装置に関し、特に重なりのあるエリアの
処理に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a typesetting device, and particularly to processing of overlapping areas.

〔従来の技術〕[Conventional technology]

第4図は従来の組版装置の構成を示すブロック図である
。図において1llijオペレータの指示によシ、組版
指定及びテキスト・データ等の入力指示を行う入力装置
、(2)は組版結果及び入出力メツセージを表示する表
示装置、(3)は入力装置(1)から入力された命令又
はデータを解析して組版を行い表示装置(2)へ表示す
る組版プロセッサである。
FIG. 4 is a block diagram showing the configuration of a conventional typesetting device. In the figure, (2) is an input device that specifies formatting and inputs text data, etc. according to instructions from the 1llij operator, (2) is a display device that displays formatting results and input/output messages, and (3) is input device (1). This is a typesetting processor that analyzes commands or data input from the computer, performs typesetting, and displays the data on the display device (2).

次に組版プロセッサ(3)の内部構成全説明する。Next, the entire internal configuration of the typesetting processor (3) will be explained.

(4)は、入力装置(1)から入力された命令を解読す
る指令解読部、(5)は、指令解読部(4)で解読され
た命令を格納する指令解読データ格納部、(6)は、指
令解読データ格納部(5)に格納された命令によp、処
理を実行する組版指令処理部、(7)は、組版指令処理
部(6)によって組版処理を実行する処理実行部、(8
)は、指令解読データ格納部(5)に格納された命令に
より、組版データを表示装置(2)へ表示するエリアを
決定するエリア作成部、(9)は入力装置(1)の命令
により外部からの原稿データを格納、または入力装置(
1)よシ入力されたデータを格納するテキスト・データ
格納部%(10)はテキスト・データ格納部(9)に格
納されたデータを解析し、エリア内の座標を持つ組版デ
ータを作成するデータ解析部、(it )はデータ解析
部(lO)の組版状況と、エリア作成部(8)で決定さ
れたエリアとをチェックし、エリア内の組版が終了した
か否かを判定する組版状況チェック部、(12)は組版
データ全格納する組版データ格納部、(13)はデータ
解析部(1o)で作成された組版データを組版データ格
納部(12)へ格納する組版データ格納処理部、(14
)は組版データ格納部(12)へ格納された組版データ
を表示装置(2)へ表示する表示処理部である。
(4) is a command decoding unit that decodes the command input from the input device (1); (5) is a command decoding data storage unit that stores the command decoded by the command decoding unit (4); (6) (7) is a process execution unit that executes a typesetting process by the typesetting command processing unit (6); (8
) is an area creation unit that determines the area for displaying the formatted data on the display device (2) according to instructions stored in the command decoding data storage unit (5), and (9) is an area creation unit that determines the area for displaying the formatted data on the display device (2) according to instructions stored in the command decoding data storage unit (5). Store original data from or input device (
1) The text data storage section (10) that stores input data is data that analyzes the data stored in the text data storage section (9) and creates typesetting data with coordinates within the area. The analysis unit (IT) checks the typesetting status of the data analysis unit (lO) and the area determined by the area creation unit (8), and performs a typesetting status check to determine whether or not the typesetting in the area has been completed. (12) is a formatting data storage unit that stores all of the formatting data; (13) is a formatting data storage processing unit that stores the formatting data created by the data analysis unit (1o) into the formatting data storage unit (12); 14
) is a display processing section that displays the formatting data stored in the formatting data storage section (12) on the display device (2).

次に動作について説明する。入力装置(1)より、組版
プロセッサ(3)上のテキスト・データ格納部(9)に
格納された原稿データの組版指示命令が入力すると、指
令解読部(4)で、組版指示命令を解読し、解読結果を
指令解読データ格納部(5)へ格納する。
Next, the operation will be explained. When a command for formatting the manuscript data stored in the text data storage section (9) on the formatting processor (3) is input from the input device (1), the command decoding section (4) decodes the formatting command. , stores the decoding results in the command decoding data storage section (5).

次に、組版指令処理部(6)のプログラムが実行され指
令解読データ格納部(5)に格納された命令を基に処理
実行部(7)を起動する。
Next, the program of the formatting command processing section (6) is executed and the processing execution section (7) is activated based on the command stored in the command decoding data storage section (5).

処理実行部(7)では、まずエリア作成部(8)を起動
し原稿データを組版するエリアを指令解読データ格納部
(5)に格納された命令により決定し、表示処理部(1
4)に対しエリアを表示する指令を出す。
The processing execution section (7) first activates the area creation section (8), determines the area for typesetting the manuscript data based on the command stored in the command decoding data storage section (5), and then starts the display processing section (1).
4) Issue a command to display the area.

表示処理部(14)では、エリア作成部(8)の指令に
より表示装w(2)へ組版するエリアを表示させる。
The display processing section (14) displays the area to be typewritten on the display w (2) according to the command from the area creation section (8).

次にデータ解析部(10)では、テキスト−データ格納
部(9)よりi稿データを入力し、エリア作成部(8)
で決定されたエリア内への組版を開始する。
Next, the data analysis section (10) inputs the i-draft data from the text-data storage section (9), and the area creation section (8)
Start typesetting within the area determined by .

次に、組版状況チェック部(11)では、データ解析部
(10)で組版されたデータが、エリア内に納まってい
るか否かをチェックし、エリア内に納まっていれば、組
版データ格納処理部(13)へ組版データを渡し、エリ
ア内に納まらなhかまたは、テキスト・データ格納部(
9)の原稿データがなくなれば組版を終了する。
Next, the formatting status check unit (11) checks whether the data formatted by the data analysis unit (10) fits within the area, and if it does, the formatted data storage processing unit Pass the formatting data to (13) and check if it does not fit within the area or the text data storage (
When the manuscript data in 9) is no longer available, the typesetting is finished.

次に、組版データ格納処理部(13)では、組版データ
を組版データ格納部(12)へ格納する。
Next, the formatting data storage processing section (13) stores the formatting data into the formatting data storage section (12).

次に、表示処理部(14)では、組版データ格納部(1
2)へ格納された組版データを取り出し、表示装置(2
)へ、組版結果として表示する。なお、組版データは、
データ解析部(10)で、エリア作成部(11)で決定
されたエリア内への座標が付加されているため、表示装
置(2)上の表示エリア内に表示される。
Next, in the display processing section (14), the formatting data storage section (14)
The typesetting data stored in 2) is retrieved and displayed on the display device (2).
) and display it as a typesetting result. In addition, the typesetting data is
Since the data analysis section (10) has added the coordinates into the area determined by the area creation section (11), it is displayed within the display area on the display device (2).

以下、データ解析部(lO)の原稿データの組版単位(
1文字又は1行年位等)ごとに、データ解析部(10)
 %組版状況チェック部(11) %組版データ格納処
理部(13)、表示処理部(14)の順で組版し、組版
状況チェック部(11)で組版終了状態を検出するまで
、処理を続ける。
Below, the typesetting unit (
Data analysis department (10)
% Formatting Status Checking Unit (11) % Formatting is performed in the order of the Formatting Data Storage Processing Unit (13) and the Display Processing Unit (14), and the processing continues until the Formatting Status Checking Unit (11) detects the completion status of the formatting.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の組版装置は以上のように構成されているので、1
つのエリアにFi組版できるが、エリアが重なっている
場合の組版はできないという問題点があった。
Since the conventional typesetting device is configured as described above, 1.
Although Fi typesetting is possible for two areas, there is a problem in that it is not possible to typesetting when areas overlap.

この発明は上記のような間鵡点を解消するためになされ
たもので、重なったエリアの1部に組版できるとともに
、エリアの割付けにょシ組版の優先順位を自由に設定で
きる組版装置を得ることを目的とする。
This invention was made in order to solve the above-mentioned problems, and it is an object of the present invention to provide a typesetting device that can typesetting a portion of overlapping areas and can freely set the priority of area allocation and typesetting. With the goal.

〔発明を解決するための手段〕[Means for solving the invention]

この発明では、各エリアごとに優先順位を定めておき、
班なりエリアでは優先11位最高のエリア以外のエリア
に対しては組版禁止領域とし、この組版禁止領域を除い
て組版するようにしたものである。
In this invention, priorities are determined for each area,
In the group area, areas other than the 11th highest priority area are set as typesetting prohibited areas, and typesetting is performed excluding these typesetting prohibited areas.

〔作用〕[Effect]

この発明において組版するべきエリアに重なる他のエリ
アの優先順位の方が高い場合、重なりェリアは組版禁止
領域となり組版されない。
In this invention, if another area that overlaps the area to be typesetting has a higher priority, the overlapping area becomes a typesetting prohibited area and is not typesetting.

優先順位はエリア作成時に設定でき組版すべきエリアは
自由に決定できる。
Priorities can be set when creating areas, and areas to be typewritten can be freely determined.

〔実施例〕〔Example〕

以下、この発明の実施例を図について説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例を示すブロック図で、第1
図において、第4図と同一符号は同−又は相当部分を示
し、(15)は重なりェリアがあれば、エリア作成部(
8)で設定された情報をもとに重なりエリア処理を実行
する重なりェリア処理部、(16)は重なりエリアに関
する情It格納する重な9工リア情報格納部である。
FIG. 1 is a block diagram showing one embodiment of the present invention.
In the figure, the same reference numerals as in Figure 4 indicate the same or equivalent parts, and (15) indicates if there is an overlapping area, the area creation section (
8) is an overlapping area processing unit that executes overlapping area processing based on the information set in step 8), and (16) is an overlapping area information storage unit that stores information regarding the overlapping area.

また、第2図はこの発明の組版を示す説明図、第3図は
この発明の動作の一部を示すフローチャートである。
Further, FIG. 2 is an explanatory diagram showing typesetting according to the present invention, and FIG. 3 is a flowchart showing a part of the operation of the present invention.

次に、第1図に示す装置の動作について第2図及び第3
図を参照しながら説明する。
Next, we will explain the operation of the device shown in Fig. 1 in Figs. 2 and 3.
This will be explained with reference to the figures.

第1図において、エリア作成部(8)でエリア作成され
、組版の優先順位が設定されたならば、従来の場合と同
様の動作で入力データを組版していく。
In FIG. 1, once an area is created in the area creation section (8) and the priority order of formatting is set, input data is formatted in the same manner as in the conventional case.

その時エリアに重なりがあるならば重なりエリア処理部
(15)において処理される。
If there is an overlap in the areas at that time, the overlap area processing section (15) processes the overlapped areas.

以下に、優先順位設定について述べる。エリアが作成さ
れる場合、各エリアに組版する優先順位をつける。重な
υエリアの場合、第2図fa)で示すように、組版する
べきエリア(17)よシもエリア(17)に重なるエリ
ア(18)の方の優先順位が高い時(17)と(18)
の共通領域がエリア(17)に対しては組版禁止領域と
なり、組版されない。
Priority setting will be described below. When areas are created, give each area a priority for typesetting. In the case of overlapping υ areas, as shown in Figure 2 fa), when area (18) which overlaps area (17) has a higher priority than area (17) to be typesetting, 18)
The common area of area (17) becomes a typesetting prohibited area and is not typesetting.

以上のようにして、重なりエリアにおける組版するべき
エリアが決定される。すなわち、この場合には領域(1
9)はエリア(18)によって組版される。
In the manner described above, the area to be typesetting in the overlapping area is determined. That is, in this case, the area (1
9) is typewritten by area (18).

次に、上で決定されたエリアに組版する際の重な9エリ
ア処理について詳しく述べる。第2図(b)は、行の3
要素を具体的に示したものである。
Next, we will discuss in detail the overlapping nine area processing when typesetting the areas determined above. Figure 2(b) shows row 3
This shows the elements in detail.

行中の文字のうち最も高い所にある文字の上端と最も低
い所にある文字の下端との距離が行中(20)である。
The distance between the top edge of the highest character among the characters in the line and the bottom edge of the lowest character is the line length (20).

行送り(22)は前行の行中中心(21)と次行行中中
心(21)との距離を一定にする送りのことである。行
間送り (23)は前行下端と次行上端との距離を一定
にする送りのことである。
Line feed (22) is a feed that makes the distance between the center of the previous line (21) and the center of the next line (21) constant. Line spacing (23) is a feed that keeps the distance between the lower end of the previous row and the upper end of the next row constant.

第3図は、行イメージを作成する部分の処理手順を示す
フローチャートで、(27)〜(32)は各ステップで
ある。まずステップ(27)において前行位置と行送り
又は行間送りの指定状態により仮置位置を設定する。ス
テップ(28)においてステップ(27)で設定した位
置での桁長(仮行長)を求める。仮性については、行中
はゼロであるとする。仮行長で結果として得られた行イ
メージ¥rf1tいてみる。ステップ(29)において
、置いてみた行イメージと組版禁止領域が重なっている
か否かを判定する。第2図10Iのように重なっていな
ければこの位置で行位置確定となる。第2図10Iのよ
うに、重なっていればステップ(3o)において禁止領
域の最大、最小位置を求め、(31)において重なって
いない分の桁長を再設定する。その結果得られた行イメ
ージを置いてみる。そしてこの位置で行位置確定となる
。なお前記実施例は共通領域を禁止領域とした例である
が組版するべきエリアを分断する線により指定されたエ
リアを組版禁止領域として、これをよけて組版を行うこ
とも可能である。その場合分断する線を探すことにより
組版fるべきエリアを決定する。
FIG. 3 is a flowchart showing the processing procedure for creating a row image, and (27) to (32) are each step. First, in step (27), a temporary position is set based on the previous line position and the designated state of line feed or line spacing. In step (28), the column length (temporary line length) at the position set in step (27) is determined. Regarding tentativeness, it is assumed that there are zeros in the row. Try the resulting row image ¥rf1t with the temporary row length. In step (29), it is determined whether or not the placed line image overlaps the typesetting prohibited area. If they do not overlap as shown in FIG. 2 10I, the row position is determined at this position. As shown in FIG. 2, 10I, if there is overlap, the maximum and minimum positions of the prohibited areas are determined in step (3o), and the digit lengths for the non-overlapping areas are reset in step (31). Let's put the resulting line image. At this position, the line position is determined. Although the above embodiment is an example in which the common area is a prohibited area, it is also possible to set an area designated by a line dividing the area to be typewritten as a typesetting prohibited area and perform typesetting while avoiding this area. In this case, the area to be formatted is determined by searching for the dividing line.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば検数の重なった領域にで
も文字を置いた構成がわかるので複雑な文書作成が容易
にできる効果がある。
As described above, according to the present invention, the composition of characters placed even in areas where the numbers overlap can be seen, so that it is possible to easily create complex documents.

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

第1図はこの発明の一実施例を示すブロック図、第2図
はこの発明の組版を示す説明図、第3図はこの発明の動
作の一部を示すフローチャート、第4図は従来の組版装
置の構成を示すブロック図である。 (1)は入力装置、(2)は表示装置、(3)は組版プ
ロセッサ、(4)は指令M読部、(5)は指令解読デー
タ格納部、+61Fi組版指令処理部、(7)は処理実
行部、(8)はエリア作成部、(9)はテキストデータ
格納部、(10)はデータ解析部、(11)は組版状況
チェック部、(12)は組版データ格納部%(13)は
組版データ格納処理部、(14)は表示処理部、(15
)は重なりエリア処理部、(16)は重なりエリア情報
格納部。 尚、各図中同一符号は同−又は相当部分を示す。
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is an explanatory diagram showing the typesetting of the present invention, Fig. 3 is a flowchart showing a part of the operation of the present invention, and Fig. 4 is a conventional typesetting. FIG. 2 is a block diagram showing the configuration of the device. (1) is an input device, (2) is a display device, (3) is a typesetting processor, (4) is a command M reading unit, (5) is a command decoding data storage unit, +61Fi typesetting command processing unit, (7) is a Processing execution section, (8) is area creation section, (9) is text data storage section, (10) is data analysis section, (11) is formatting status check section, (12) is formatting data storage section % (13) (14) is the display processing unit, (15) is the format data storage processing unit, (14) is the display processing unit,
) is an overlapping area processing unit, and (16) is an overlapping area information storage unit. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】 原稿データをもとにして、組版データを作成し、当該組
版データを組版データ格納部に格納すると共に、上記組
版データ格納部に記憶されている組版データを表示する
表示装置を備えた組版装置において、 オペレータからの指令を入力する入力装置、この入力装
置から入力した指令を解読する指令解読部、 この指令解読部による解読結果を格納する指令解読デー
タ格納部、 この指令解読データ格納部の内容に従って組版指令する
組版指令処理部、 原稿データが格納されたテキスト・データ格納部、 上記組版指令処理部からの指令に従い組版すべきエリア
を決定し、各エリアの優先順位を定め、複数のエリアの
重なり部分があるとき、当該重なり部分における優先順
位最高のエリア以外の他のエリアに対しては組版禁止領
域とするエリア作成部、 このエリア作成部により決定されたエリアへ上記テキス
ト・データ格納部に格納されたデータの組版を行うデー
タ解析部、 このデータ解析部の組版結果より組版終了か否かを判定
する組版状況チェック部、 上記エリア作成部において決定した重なりエリアに関す
る情報を格納する重なりエリア情報格納部、 この重なりエリア情報格納部に記憶される重なりエリア
に関する情報に従い上記優先順位最高のエリア以外の他
のエリアに対し当該重なりエリアを組版禁止領域とし、
上記データ解析部の処理によりこの組版禁止領域に入る
行に対しては座標変換により行長を再設定し行位置を確
定する処理を行う重なりエリア処理部、 上記組版状況チェック部の判定結果に応じて上記データ
解析部で生成した組版データを上記組版データ格納部に
格納する組版データ格納処理部を備えたことを特徴とす
る組版装置。
[Claims] A display device that creates forme data based on manuscript data, stores the forme data in a forme data storage, and displays the forme data stored in the forme data storage. A typesetting device equipped with an input device for inputting commands from an operator, a command decoding section for decoding the commands input from this input device, a command decoding data storage section for storing the decoding results by this command decoding section, and a command decoding section for storing the decoding results by this command decoding section. A typesetting command processing unit issues typesetting commands according to the contents of the data storage unit, a text data storage unit in which manuscript data is stored, and a typesetting command processing unit that determines areas to be typesetting according to instructions from the typesetting command processing unit, and determines priorities for each area. , when there is an overlapping area between multiple areas, an area creation unit that makes typesetting prohibited for areas other than the area with the highest priority in the overlapping area; the above text is transferred to the area determined by this area creation unit; - A data analysis section that typesets the data stored in the data storage section, a formatting status check section that determines whether or not the formatting is complete based on the formatting results of this data analysis section, and a formatting status check section that determines whether or not the formatting is complete based on the formatting results of this data analysis section; an overlapping area information storage unit to store, according to the information regarding the overlapping area stored in this overlapping area information storage unit, set the overlapping area as a typesetting prohibited area for other areas other than the area with the highest priority,
The overlapping area processing unit performs processing to reset the line length and determine the line position by coordinate transformation for lines that fall into this typesetting prohibited area due to the processing of the data analysis unit; A typesetting device comprising: a typesetting data storage processing unit that stores typesetting data generated by the data analysis unit in the typesetting data storage unit.
JP60179735A 1985-08-14 1985-08-14 Composing device Pending JPS6239860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60179735A JPS6239860A (en) 1985-08-14 1985-08-14 Composing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60179735A JPS6239860A (en) 1985-08-14 1985-08-14 Composing device

Publications (1)

Publication Number Publication Date
JPS6239860A true JPS6239860A (en) 1987-02-20

Family

ID=16070951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60179735A Pending JPS6239860A (en) 1985-08-14 1985-08-14 Composing device

Country Status (1)

Country Link
JP (1) JPS6239860A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01105258A (en) * 1987-07-10 1989-04-21 Dainippon Printing Co Ltd Layout device for printing plate making
JPH01172833A (en) * 1987-12-28 1989-07-07 Dainippon Printing Co Ltd layout scanner device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01105258A (en) * 1987-07-10 1989-04-21 Dainippon Printing Co Ltd Layout device for printing plate making
JPH01172833A (en) * 1987-12-28 1989-07-07 Dainippon Printing Co Ltd layout scanner device

Similar Documents

Publication Publication Date Title
JPS6014292A (en) Document generator
JPS6239860A (en) Composing device
JPS58208865A (en) document creation device
JPH0274374A (en) Ruled line printing method
JPS61131082A (en) Rejected character display system of ocr
JPS63265374A (en) character reader
JPH02257260A (en) Document editing processor
JPH0363103B2 (en)
JPS62229317A (en) Character processor
JPS62108285A (en) Layout display system for document generator
JP2933222B2 (en) Document processing device
JPS61160792A (en) information processing equipment
JPS60207953A (en) Document processor
JPS6168631A (en) Document print processing system
JPS6084588A (en) Graphic processing device
JPS63610A (en) How to automatically execute operating procedures
JPH0465423B2 (en)
JPS63193261A (en) typesetting system
JPS63111564A (en) Word processor
JPS6148064A (en) Word processor
JPH06236369A (en) Word processor and replacing method for page
JPH0454626A (en) data output device
JPH01155482A (en) Character reader
JPH0571111B2 (en)
JPH11250047A (en) Written data processing device and program recording medium therefor