JP5477785B2 - Formula display control apparatus, computer program, and program storage medium - Google Patents

Formula display control apparatus, computer program, and program storage medium Download PDF

Info

Publication number
JP5477785B2
JP5477785B2 JP2009002005A JP2009002005A JP5477785B2 JP 5477785 B2 JP5477785 B2 JP 5477785B2 JP 2009002005 A JP2009002005 A JP 2009002005A JP 2009002005 A JP2009002005 A JP 2009002005A JP 5477785 B2 JP5477785 B2 JP 5477785B2
Authority
JP
Japan
Prior art keywords
mathematical expression
browser terminal
document
formula
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009002005A
Other languages
Japanese (ja)
Other versions
JP2010160656A (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.)
Kanazawa Institute of Technology (KIT)
Original Assignee
Kanazawa Institute of Technology (KIT)
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 Kanazawa Institute of Technology (KIT) filed Critical Kanazawa Institute of Technology (KIT)
Priority to JP2009002005A priority Critical patent/JP5477785B2/en
Publication of JP2010160656A publication Critical patent/JP2010160656A/en
Application granted granted Critical
Publication of JP5477785B2 publication Critical patent/JP5477785B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

この発明は、WWWサーバー機能を備えたコンピュータシステムにより、ブラウザ端末に数式を含むWebページを表示させるための制御技術に関する。   The present invention relates to a control technique for displaying a Web page including a mathematical expression on a browser terminal by a computer system having a WWW server function.

周知のごとく、HTMLに代表される文書整形言語(マークアップ言語)は、Webページがブラウザを実行するコンピュータ(ブラウザ端末)に表示された際の文章の構造(段落など)や見栄え(フォントサイズなど)の体裁(組版状態)を記述するための言語であり、その組版状態における各種指定(段落、フォントなど)をマークアップと呼び、マークアップを記述するための文字列をタグと呼んでいる。1ページ分のWebページの組版状態を記載したHTML文書などの文書整形データには、多数のタグが記述され、ブラウザ端末は、文書整形データを解釈し、各タグに記述されている指定に従って組版処理を行い、Webページの作成者が意図した組版状態でWebページを表示する。   As is well known, a document formatting language (markup language) represented by HTML is a text structure (paragraph etc.) and appearance (font size etc.) when a web page is displayed on a computer (browser terminal) executing a browser. ) (Description state), and various designations (paragraphs, fonts, etc.) in the composition state are called markup, and a character string for describing the markup is called a tag. A number of tags are described in document formatting data such as an HTML document that describes the formatting status of a Web page for one page, and the browser terminal interprets the document formatting data and formats it according to the specifications described in each tag. Processing is performed, and the web page is displayed in a typesetting state intended by the creator of the web page.

ところで、ブラウザ端末に数式を含むWebページを表示させようとする場合、数式中に文字コードが存在しない特殊な記号が存在すると、通常のHTML文書では、その記号を文字として表示させることができない。   By the way, when trying to display a Web page including a mathematical formula on the browser terminal, if a special symbol having no character code exists in the mathematical formula, the symbol cannot be displayed as a character in a normal HTML document.

しかし、特殊な記号を伴う数式があっても、数式を画像にしてしまえば、ブラウザ端末は、問題なくWebページ中に数式を表示することができる。また、数式を取り扱うための専用のマークアップ言語もあり、ブラウザ端末に実装されているブラウザがその言語に対応していれば、数式を表示することができる。例えば、MathMLと呼ばれる数式を記述するためのマークアップ言語(数式記述言語)では、WWWサーバー側で、XMLで組版状態と数式記述言語に特有のタグを指定してWebページを記述しておき、ブラウザ端末側に、この数式記述言語の解釈が可能なブラウザと数式で用いる各種記号を表現するためのフォントデータをインストールしておけば、ブラウザ端末は、数式を画像ではなく、文字として表示することができる。また、数式を記述するタグをWebページとは別のウインドウで表示したりすることができる。もちろん、数式やその数式を記述するためのタグを文字列として周知のコピー/ペーストにより他の文書に複写することもできる。   However, even if there is a mathematical expression with a special symbol, if the mathematical expression is converted into an image, the browser terminal can display the mathematical expression in the Web page without any problem. There is also a dedicated markup language for handling mathematical expressions. If a browser installed in the browser terminal supports the language, the mathematical expressions can be displayed. For example, in a markup language (math formula description language) for describing a mathematical expression called MathML, a WWW server side describes a Web page by specifying a typesetting state and a tag specific to the mathematical expression description language in XML, If you install a browser that can interpret this formula description language and font data to express various symbols used in the formula on the browser terminal side, the browser terminal will display the formula as characters instead of images. Can do. Also, a tag describing a mathematical expression can be displayed in a window separate from the Web page. Of course, a mathematical expression and a tag for describing the mathematical expression can be copied to another document as a character string by known copy / paste.

また、一部のブラウザ(例えば、インターネット・エクスプローラ[Internet Explorer](登録商標))がインストールされているブラウザ端末では、MathMLのタグを解釈して表示するプラグインと呼ばれる補助プログラム(例えば、Mathplayer)を追加インストールすることで、Webページ中にMathMLで表現された数式を表示し、その数式を拡大したり、数式やその数式を記述するタグをコピー/ペーストしたりすることができる。   In addition, in browser terminals in which some browsers (for example, Internet Explorer [registered trademark]) are installed, an auxiliary program called a plug-in that interprets and displays MathML tags (for example, Mathplayer) By additionally installing, a mathematical expression expressed in MathML can be displayed on a Web page, and the mathematical expression can be enlarged, or a mathematical expression and a tag describing the mathematical expression can be copied / pasted.

上述したように、数式を含むWebページをブラウザ端末に表示させる方式がいくつか存在するが、技術的には、数式を画像として表示させる方式(画像表示方式)と、数式記述言語によって記述する方式(数式記述言語方式)の2方式に集約できる。数式記述言語方式は、Webページの閲覧者側については、ブラウザ端末がパーソナルコンピュータなどの汎用のコンピュータであれば、数式記述言語の解釈が可能なブラウザやプラグインを別途インストールすることで容易に対応することができ、Webページの作成者側では、数式を画像に変換する作業がないので、修正などにも迅速に対応することができるという利点がある。画像よりデータ量が少ない、という利点もある。以上から、数式記述言語で数式を記述したWebページが今後の主流となる可能性が高い。   As described above, there are several methods for displaying a web page including a mathematical expression on a browser terminal. Technically, a method for displaying a mathematical expression as an image (image display method) and a method for describing a mathematical expression language (Formula description language system) can be integrated into two systems. The formula description language method can be easily handled by installing a browser or plug-in that can interpret the formula description language if the browser terminal is a general-purpose computer such as a personal computer. In addition, since there is no work for converting the mathematical expression into an image on the Web page creator side, there is an advantage that it is possible to quickly cope with correction and the like. There is also an advantage that the data amount is smaller than that of the image. From the above, it is highly likely that Web pages that describe mathematical expressions in a mathematical expression description language will become the mainstream in the future.

しかし、同じWebページを閲覧するユーザが使用するブラウザ端末が多種多様である限り、数式を含むWebページをどちらか一方の方式だけで公開することは難しい。特に、数式記述言語に対応させることが難しいブラウザを実装した携帯電話(以下、ブラウザフォン)をブラウザ端末として使用しているユーザが多数存在することを考慮すれば、数式を含む同じ内容の文書をインターネット上に公開する際には、その文書を要求してきたブラウザ端末の種別に応じて数式を画像で表示するWebページと数式記述言語記で記述したWebページを選別して送付することになる。   However, as long as there are a wide variety of browser terminals used by users who browse the same Web page, it is difficult to publish a Web page including a mathematical formula using only one of the methods. In particular, considering the fact that there are many users who use mobile phones (hereinafter referred to as browser phones) with browsers that are difficult to support mathematical expression languages as browser terminals, When publishing on the Internet, the Web page that displays the mathematical expression as an image and the Web page that is described in the mathematical expression description language are selected and sent according to the type of the browser terminal that requested the document.

ここで、画像表示方式と数式記述言語方式の両方式に対応させる場合について考察すると、数式を画像で表示するブラウザ端末用のWebページと数式記述言語記を解釈するブラウザ端末用のWebページの双方を個別の文書整形データにしてWWWサーバーの記憶資源に格納させると、その記憶資源のデータ格納容量を圧迫させてしまう。また、Webページの作成者にとっては、数式を修正する際に、画像と数式記述言語の双方を修正する必要があり、その修正作業に膨大な時間が掛かる。さらに、数式を画像で表示するブラウザ端末が画面面積の小さいブラウザフォンなどである場合、その数式の画像の表示サイズがWebページ中で相対的に小さくなるため、その数式が見にくくなる。とくに、数学や物理学、経済学など、文書において数式が最も重要な情報である場合で、しかも、教育機関がそれらの学問についての講義や基礎知識などをWebページを使って提供している場合では、各学生におけるWebページの閲覧環境の差がそのまま学力差につながる可能性もある。   Here, considering the case where both the image display method and the formula description language method are used, both the web page for the browser terminal that displays the formula as an image and the web page for the browser terminal that interprets the formula description language description Is stored as the individual document shaping data in the storage resource of the WWW server, the data storage capacity of the storage resource is compressed. For the creator of the Web page, when correcting the mathematical formula, it is necessary to correct both the image and the mathematical formula description language, and the correction work takes a lot of time. Furthermore, when the browser terminal that displays the mathematical expression as an image is a browser phone or the like having a small screen area, the display size of the mathematical expression image is relatively small in the Web page, so that the mathematical expression becomes difficult to see. Especially when mathematical formulas are the most important information in documents such as mathematics, physics, economics, etc., and educational institutions provide lectures or basic knowledge about those academic studies using Web pages. Then, there is a possibility that the difference in the viewing environment of the Web page among students directly leads to a difference in academic ability.

本発明者は、上述したような数式を含むWebページをブラウザ端末に表示させる際に生じる様々な課題について考察した。そして、数式を含むWebページとして、数式記述言語で数式を記述したWebページのみをWWWサーバーに格納しておき、アクセスしてきたブラウザの種別に応じてその数式部分を画像に変換すれば、WWWサーバーの記憶資源を節約することができ、数式の修正にも迅速に対応できると考えた。   The present inventor has considered various problems that occur when a web page including the mathematical formula as described above is displayed on a browser terminal. Then, as a Web page containing a mathematical formula, only the web page describing the mathematical formula in the mathematical formula description language is stored in the WWW server, and if the mathematical formula portion is converted into an image according to the type of the browser that has accessed, the WWW server It was thought that it was possible to save storage resources and to respond quickly to the correction of mathematical formulas.

さらに、すでにある所定のマークアップ言語処理ソフトウエア(例えばmimeTeX[マイム・テフ])では、特定のマークアップ言語(例えばTeX[テフ])で規定されている記述方式に従って記述されている数式を所定形式(例えばGIF形式)の画像に変換することができるので、その既存のマークアップ言語処理ソフトウエアを有効活用することも考えた。すなわち、今後の主流となることが予想されるMathMLなどの数式記述言語で数式を記述しておき、このMathMLなどをTexなどの画像変換に有利なマークアップ言語で記述し直し、その記述し直した数式を既存のソフトウエアを使って画像に変換することを考えた。もちろん、画面サイズが小さいブラウザ端末で数式を画像で表示させてもその数式を見やすくするための技術についても考察した。   Furthermore, in a certain predetermined markup language processing software (for example, mimeTeX [Mim Tef]), a mathematical expression described according to a description system defined in a specific markup language (for example, TeX [Tef]) is predetermined. Since it can be converted into an image in a format (for example, GIF format), it was considered that the existing markup language processing software could be used effectively. In other words, a mathematical expression is written in a mathematical expression language such as MathML, which is expected to become the mainstream in the future, and this MathML is rewritten in a markup language advantageous for image conversion such as Tex, and then rewritten. I thought about converting the mathematical formula into an image using existing software. Of course, we considered the technology to make it easy to see the formula even if it is displayed as an image on a browser terminal with a small screen size.

本発明は、以上の考察に基づきなされたもので、その目的は、ユーザがブラウザ端末の種別に依らず快適に数式を含むWebページを閲覧することができ、Webページの作成者が数式を迅速に修正できるWWWサーバー機能を備えたコンピュータシステム(数式表示制御装置)と、当該数式表示制御装置自身の処理負荷を軽減させ記憶資源を節約させるための仕組みを提供することにある。   The present invention has been made on the basis of the above considerations. The purpose of the present invention is to enable a user to comfortably browse a Web page including mathematical formulas regardless of the type of browser terminal, and the creator of the Web page can quickly formulate mathematical formulas. Another object of the present invention is to provide a computer system (mathematical display control apparatus) having a WWW server function that can be modified and a mechanism for reducing the processing load of the mathematical expression display control apparatus itself and saving storage resources.

上記目的を達成するための本発明は、ブラウザ端末とHTTP通信を行うWWWサーバー機能を備えたコンピュータシステムから構成されて、数式を含んだWebページをブラウザに表示させるための数式表示制御装置であって、
記憶手段と、第1文書返送手段と、第1ページ変換手段と、数式変換手段とを備え、
記憶手段は、多数のWebページのそれぞれの起源として、Webページの組版状態が第1形式の文書整形言語で記述されているとともに、第1形式の数式記述言語で記述された数式Bと、ブラウザ端末Aに種別判別プログラムを実行させるための記載とを含んだ第1文書整形データを記憶し、
第1文書返送手段は、特定のWebページを要求してアクセスしてきたブラウザ端末Aに、当該Webページの第1文書整形データCを返送し、
種別判別プログラムは、当該プログラムを実行したブラウザ端末Aに対し、実装されているブラウザの種別を判別させるとともに、その判別結果として、前記種別が前記第1形式の数式記述言語を解釈可能な第1種ブラウザ端末である場合は第1文書整形データCを解釈させてWebページの組版を行わせるとともに、当該第1文書整形データC中の前記第1形式の数式記述言語で記述された数式Bを当該Webページに挿入表示させ、
前記種別判別プログラムを実行したブラウザ端末Aが前記第1形式の数式記述言語の解釈が不可能な第2種ブラウザ端末である場合は、前記第1文書整形データCを特定するためのページ識別情報Dをパラメータとして、当該パラメータを第1ページ変換手段に送付させ、
前記第1ページ変換手段は、前記種別判別プログラムを解釈したブラウザ端末Aから送付されてきたページ識別情報Dを取得する処理と、取得したページ識別情報Dに基づいて特定される第1文書整形データCをデータベースより取り出す処理と、当該第1文書整形データC中の数式Bを第2形式の数式記述言語で記述した数式Eに変換する処理と、前記第1形式の文書整形言語で前記組版状態を記述するとともに、数式Eと、ブラウザ端末Aに対し数式Eを数式変換手段に送付させるための数式画像要求制御文と、ブラウザ端末Aに対し前記数式変換手段から送付されてきた画像を表示させるための数式画像表示制御文とを記載した第2文書整形データFを生成する処理と、当該第2文書整形データFをブラウザ端末Aに返送する処理とを実行し、
前記数式変換手段は、第2文書整形データFを送付したブラウザ端末Aが前記数式画像要求制御文を解釈して第2形式の数式記述言語で記述された数式Eが送付されてくると、当該数式Eを画像に変換してブラウザ端末Aに送付する数式表示制御装置としている。
In order to achieve the above object, the present invention is a mathematical expression display control device configured to include a computer system having a WWW server function for performing HTTP communication with a browser terminal, and for displaying a web page including mathematical expressions on a browser. And
A storage means, a first document return means, a first page conversion means, and a mathematical expression conversion means;
The storage means includes, as the origin of each of a large number of Web pages, the typesetting state of the Web page described in the first format document formatting language, the formula B described in the first format formula description language, the browser Storing first document shaping data including a description for causing terminal A to execute the type determination program;
The first document returning means returns the first document formatting data C of the Web page to the browser terminal A that has requested and accessed the specific Web page,
The type discrimination program causes the browser terminal A that has executed the program to discriminate the type of the installed browser, and as a result of the discrimination, the type is a first that can interpret the mathematical expression description language in the first format. In the case of a seed browser terminal, the first document formatting data C is interpreted and the Web page is formatted, and the formula B described in the first format formula description language in the first document formatting data C is displayed. Insert and display on the web page,
If the browser terminal A that has executed the type determination program is a second type browser terminal that cannot interpret the first-form mathematical expression language, page identification information for specifying the first document formatting data C With D as a parameter, the parameter is sent to the first page conversion means,
The first page converting means acquires the page identification information D sent from the browser terminal A that has interpreted the type determination program, and the first document formatting data specified based on the acquired page identification information D A process of retrieving C from the database, a process of converting a mathematical expression B in the first document formatting data C into a mathematical expression E described in a second mathematical expression description language, and the typesetting state in the first document formatting language And a formula image request control statement for causing the browser terminal A to send the formula E to the formula conversion means, and causing the browser terminal A to display the image sent from the formula conversion means. Processing for generating the second document shaping data F describing the mathematical image display control statement for processing, and processing for returning the second document shaping data F to the browser terminal A The line,
When the browser terminal A that has sent the second document shaping data F interprets the formula image request control sentence and receives the formula E described in the second-form formula description language, The mathematical expression display control apparatus converts the mathematical expression E into an image and sends it to the browser terminal A.

上記数式表示制御装置は、第2ページ変換手段を備え、
前記第1種ブラウザ端末は、第1形式の数式記述言語を解釈するプログラムがブラウザ用の補助プログラムとして実装されているブラウザ端末であり、
前記種別判別プログラムは、前記判別結果として、前記種別が前記補助プログラムを必要としないで第1形式の数式言語の解釈が可能な第3種のブラウザ端末である場合、前記ブラウザ端末Aに対し、前記第1文書整形データCを特定するためのページ識別情報Dをパラメータとして、当該パラメータを前記第2ページ変換手段に送付させ、
第2ページ変換手段は、前記ブラウザ端末Aから送付されてきたページ識別情報Dを取得する処理と、取得したページ識別情報Dに基づいて特定される第1文書整形データCをデータベースより取り出す処理と、当該取り出した第1文書整形データCにおいて前記第1形式の文書整形言語で記述された前記組版状態を第2形式の文書整形言語で記述した第3文書整形データGに変換する処理と、当該第3文書整形データGを前記ブラウザ端末Aに返送する処理とを実行することとしてもよい。
The mathematical expression display control device includes second page conversion means,
The first type browser terminal is a browser terminal in which a program for interpreting a first-form mathematical expression language is implemented as an auxiliary program for a browser;
When the type determination program is a third type browser terminal capable of interpreting a first-form mathematical language without requiring the auxiliary program as the determination result, the type determination program, for the browser terminal A, Using the page identification information D for specifying the first document shaping data C as a parameter, the parameter is sent to the second page conversion means,
The second page conversion means is a process of acquiring the page identification information D sent from the browser terminal A, and a process of extracting the first document shaping data C specified based on the acquired page identification information D from the database. A process of converting the typesetting state described in the document formatting language of the first format into the third document formatting data G described in the document formatting language of the second format in the extracted first document formatting data C; The third document shaping data G may be returned to the browser terminal A.

そして、前記第1ページ変換手段は、前記第1文書整形データCに設定されているハイパーリンクについて、当該設定箇所に記載されているリンク先を識別するための情報をパラメータとして、当該パラメータを第1ページ変換手段に送付する旨のハイパーリンクに再設定し、当該再設定したハイパーリンクを前記第2文書整形データFに含ませるようにした数式表示制御装置とすることもできる。   Then, the first page conversion means uses the information for identifying the link destination described in the setting location as a parameter for the hyperlink set in the first document shaping data C, and sets the parameter as the first link. It is also possible to provide a mathematical expression display control device that resets a hyperlink to be sent to the one-page conversion means and includes the reset hyperlink in the second document shaping data F.

前記第2ページ変換手段を備えた数式表示制御装置は、前記第1文書整形データCに設定されているハイパーリンクについて、当該設定箇所に記載されているリンク先を識別するための情報をパラメータとして、当該パラメータを第2ページ変換手段に送付する旨のハイパーリンクに再設定し、当該再設定したハイパーリンクを前記第3文書整形データGに含ませるように構成してもよい。   The mathematical expression display control device including the second page conversion unit uses, as a parameter, information for identifying a link destination described in the set location of the hyperlink set in the first document shaping data C. The hyperlink indicating that the parameter is to be sent to the second page conversion means may be reset, and the reset hyperlink may be included in the third document shaping data G.

上記いずれかの数式表示制御装置において、前記第1ページ変換手段は、前記数式画像要求制御文に、数式変換手段を宛先として、数式の表示サイズを指定するための数式サイズ情報の初期値をブラウザ端末Aに送付させるための記載を含ませるとともに、ブラウザ端末Aに対するユーザ入力によって表示サイズの指定を受け付ける機能と、ブラウザ端末に対するユーザ入力によって前記表示サイズの指定情報と前記ページ識別情報Dを第1ページ変換手段に送付させるための機能とを第2文書整形データFに含ませ、
前記第1ページ変換手段は、第2文書整形データFを送付したブラウザ端末において入力された前記表示サイズの指定情報Hが前記ページ識別情報Dとともに送付されてくると、当該指定情報Hとページ識別情報Dを取得する処理と、取得したページ識別情報Dに基づいて特定される第1文書整形データCをデータベースより取り出す処理と、当該第1文書整形データC中の数式Bを第2形式の数式記述言語で記述した数式Eに変換する処理と、前記第1形式の文書整形言語で前記組版状態を記述するとともに、前記指定情報Hを数式サイズ情報として、ブラウザ端末Aに対し当該数式サイズ情報と数式Eとページ識別情報Dを数式変換手段に送付させるための数式画像要求制御文と、ブラウザ端末Aに対し前記数式変換手段から送付されてきた画像を表示させるための数式画像表示制御文とを記載した第2文書整形データJを生成する処理と、当該第2文書整形データJをブラウザ端末Aに返送する処理とを実行し、
前記数式変換手段は、ブラウザ端末Aが前記数式画像要求制御文を解釈して第2形式の数式記述言語で記述された数式Eと数式サイズ情報が送付されてくると、当該数式Eを数式サイズ情報に対応する表示サイズの画像に変換してブラウザ端末Aに送付する数式表示制御装置とすることもできる。
In any one of the above mathematical expression display control devices, the first page conversion means browsers the initial value of the mathematical expression size information for designating the display size of the mathematical expression with the mathematical expression conversion means as the destination in the mathematical expression image request control statement. In addition to including a description for sending to the terminal A, the function of accepting the designation of the display size by the user input to the browser terminal A, the first specification of the display size designation information and the page identification information D by the user input to the browser terminal A function for sending to the page conversion means is included in the second document shaping data F;
When the display size designation information H input at the browser terminal that has sent the second document shaping data F is sent together with the page identification information D, the first page conversion means sends the designation information H and the page identification. A process of acquiring information D, a process of retrieving first document formatting data C specified based on the acquired page identification information D from the database, and formula B in the first document formatting data C is expressed in the second format A process of converting to the mathematical expression E described in the description language, the composition state is described in the document formatting language of the first format, and the mathematical expression size information is transmitted to the browser terminal A using the designation information H as the mathematical expression size information. A mathematical expression image request control statement for causing the mathematical expression E and the page identification information D to be sent to the mathematical expression conversion means, and sent from the mathematical expression conversion means to the browser terminal A Run image and generating a second document formatting data J that describes and formulas image display control statements to display the, and processing for returning the second document formatting data J to the browser terminal A,
When the browser terminal A interprets the formula image request control statement and receives the formula E and formula size information described in the second-form formula description language, the formula conversion means converts the formula E into the formula size. A mathematical expression display control device that converts an image having a display size corresponding to the information and sends the image to the browser terminal A can also be used.

また、本発明はコンピュータプログラムにも及んでおり、当該コンピュータプログラムは、WWWサーバー機能と前記記憶手段とを備えたコンピュータにインストールされるコンピュータプログラムであって、前記コンピュータが当該コンピュータプログラムを実行することで、上記いずれかの数式表示装置として機能することを特徴としている。そして、当該コンピュータプログラムを記憶したプログラム格納媒体も本発明の範囲とした。   The present invention also extends to a computer program, which is a computer program installed in a computer having a WWW server function and the storage means, and that the computer executes the computer program Thus, it functions as any one of the above mathematical expression display devices. A program storage medium storing the computer program is also included in the scope of the present invention.

本発明の数式表示制御装置によれば、数式を含むWebページをインターネット上に公開する際、ユーザはブラウザ端末の種別に依らず快適なWebページ閲覧環境を得ることができ、Webページの作成者は、数式を迅速に修正でき、かつ装置自体の処理負荷を低減させるとともに、記憶資源を節約することができる。   According to the mathematical expression display control apparatus of the present invention, when a web page including a mathematical expression is published on the Internet, the user can obtain a comfortable web page browsing environment regardless of the type of the browser terminal, and the creator of the web page Can quickly correct mathematical expressions, reduce the processing load on the apparatus itself, and save storage resources.

本発明の実施例における数式表示制御装置の機能ブロック構成とネットワーク構成を示す図である。It is a figure which shows the functional block structure and network structure of the numerical formula display control apparatus in the Example of this invention. 上記数式表示制御装置がインターネット上に公開するWebページの画面概略図である。It is the screen schematic diagram of the web page which the said numerical formula display control apparatus discloses on the internet. 上記Webページの起源となる第1文書整形データの一部を示す図である。It is a figure which shows a part of 1st document shaping data used as the origin of the said web page. 上記第1文書整形データに基づくWebページに含まれる機能を説明するための図である。It is a figure for demonstrating the function contained in the web page based on the said 1st document shaping data. 上記数式表示制御装置とブラウザ端末との通信手順と当該通信過程における情報処理の流れを示す図である。It is a figure which shows the flow of the information processing in the communication procedure between the said numerical formula display control apparatus and a browser terminal, and the said communication process. 第1種ブラウザ端末が表示するWebページのURLを示す図である。It is a figure which shows URL of the web page which a 1st kind browser terminal displays. 第2種ブラウザ端末が表示するWebページのURLを示す図である。It is a figure which shows URL of the web page which a 2nd type browser terminal displays. 上記第2種ブラウザ端末が表示するWebページの起源となる第2文書整形データの一部を示す図である。It is a figure which shows a part of 2nd document shaping data used as the origin of the web page which the said 2nd type browser terminal displays. 第3種ブラウザ端末が表示するWebページのURLを示す図である。It is a figure which shows URL of the web page which a 3rd type browser terminal displays. 上記第3種ブラウザ端末が表示するWebページの起源となる第3文書整形データの一部を示す図である。It is a figure which shows a part of 3rd document shaping data used as the origin of the web page which the said 3rd type browser terminal displays. 上記第2種ブラウザ端末が表示するWebページの画面概略図である。It is a screen schematic diagram of a Web page displayed by the second type browser terminal. 上記第2種ブラウザ端末が表示するWebページ中の数式画像のサイズを変更するための数式表示制御装置と第2種ブラウザ端末との通信手順と当該通信過程における情報処理の流れを示す図である。It is a figure which shows the flow of the information processing in the communication procedure of the numerical formula display control apparatus for changing the size of the numerical formula image in the web page which the said 2nd type browser terminal displays, and a 2nd type browser terminal, and the said communication process. . 上記数式表示制御装置において、第1文書整形データ中のリンクの記載を書き換える処理の概略図である。It is the schematic of the process which rewrites description of the link in 1st document shaping data in the said numerical formula display control apparatus.

===数式表示制御装置===
本発明の実施例における数式表示制御装置の機能ブロック構成を図1に示した。本実施例において、数式表示制御装置1のハードウエアは、一般的なコンピュータであり、実装されているプログラムの実行によりWWWサーバーとしての機能11を備え、インターネットやイントラネットなどのTCP/IPに準拠したネットワーク20を介してブラウザ端末とHTTP通信する。ここでは、数式表示制御装置1がインターネット20を介してブラウザ端末30と通信する例を示した。また、ブラウザフォン31もブラウザ端末30として、移動体通信網21とゲートウエイ22とを経由してインターネット20に接続されている。
=== Formula Display Control Device ===
The functional block configuration of the mathematical expression display control apparatus in the embodiment of the present invention is shown in FIG. In the present embodiment, the hardware of the mathematical expression display control device 1 is a general computer, and has a function 11 as a WWW server by executing the installed program, and is compliant with TCP / IP such as the Internet or an intranet. HTTP communication with the browser terminal is performed via the network 20. Here, an example in which the mathematical expression display control device 1 communicates with the browser terminal 30 via the Internet 20 has been shown. The browser phone 31 is also connected as a browser terminal 30 to the Internet 20 via the mobile communication network 21 and the gateway 22.

数式表示制御装置1に付帯されているデータベース12には、Webページの起源として、Webページがブラウザ端末に表示された際の組版状態を規定するための文書整形データやWebページ中に挿入される画像などのデータやCGIやjava(登録商標)プログラムなど、ブラウザ端末から送付されてきたデータを処理するためのプログラムや、ブラウザ端末側で処理されるプログラムなどが格納されている。   The database 12 attached to the mathematical expression display control device 1 is inserted into document formatting data for defining a typesetting state when a Web page is displayed on a browser terminal, or a Web page as the origin of the Web page. A program for processing data sent from a browser terminal, such as data such as images, CGI and Java (registered trademark) programs, a program processed on the browser terminal side, and the like are stored.

また、WWWサーバー機能11を含め、数式表示制御装置1が備える各種情報処理手段(13〜15)は、数式表示制御装置1に実装されているプログラムを実行することで実現される。そして、数式表示制御装置1は、WWWサーバー機能11により、数式を含むWebページをインターネット20上に公開する際、データベース12に格納されている情報やブラウザ端末30から送付されてくる情報を各種情報処理手段(11,13〜15)によって処理することで、Webページの閲覧者であるユーザに対し、使用しているブラウザ端末30におけるブラウザの種別に依存することなく快適にWebページを閲覧させることができる。また、Webページの作成者が数式を迅速に修正でき、当該制御装置1自身については、記憶資源を節約しつつ処理負荷を低減させることができる。   Various information processing means (13 to 15) included in the mathematical expression display control device 1 including the WWW server function 11 are realized by executing programs installed in the mathematical expression display control device 1. When the WWW server function 11 publishes a Web page including a mathematical expression on the Internet 20, the mathematical expression display control apparatus 1 displays various information such as information stored in the database 12 and information sent from the browser terminal 30. By processing by the processing means (11, 13 to 15), a user who is a browser of the web page can comfortably browse the web page without depending on the type of browser in the browser terminal 30 being used. Can do. Further, the creator of the Web page can quickly correct the mathematical formula, and the processing load of the control device 1 itself can be reduced while saving storage resources.

===文書整形データ===
数式表示制御装置1の基本機能は、アクセスしてきたブラウザ端末30に実装されているブラウザの種別(以下、ブラウザ端末の種別)に応じて、数式記述言語で記述した数式を含むWebページ、あるいは画像にした数式(以下、数式画像)を含むWebページのいずれかをブラウザ端末30に送付することにある。しかし、本実施例の数式表示制御装置1は、同じ内容の一つのWebページについて、ブラウザ端末30の種別に応じて複数種類の文書整形データを用意せず、原型となる文書整形データ(第1文書整形データ)のみをデータベース12に格納しておき、アクセスしてきたブラウザ端末30の種別に応じてその第1文書整形データを他の文書整形データに変換することとしている。それによって、データベース12の記憶容量を節約している。
=== Document Formatting Data ===
The basic function of the mathematical expression display control device 1 is a Web page or an image including a mathematical expression described in a mathematical expression description language according to the type of browser (hereinafter referred to as the type of browser terminal) installed in the accessed browser terminal 30. One of the Web pages including the mathematical formula (hereinafter, mathematical formula image) is sent to the browser terminal 30. However, the mathematical expression display control apparatus 1 according to the present embodiment does not prepare a plurality of types of document formatting data according to the type of the browser terminal 30 for one Web page having the same content, and the original document formatting data (first Document formatting data) is stored in the database 12 and the first document shaping data is converted into other document shaping data according to the type of the browser terminal 30 that has accessed. Thereby, the storage capacity of the database 12 is saved.

図2に本実施例の数式表示制御装置1がWWWサーバー機能11によってインターネット20上に公開しているWebページの画面概略を示した。Webページ50aには、積分に関する内容が記載され、変数や関数や関係式など(以下、数式)51aが記載されている。図3に、データベース12に格納されているこのWebページの起源となる第1文書整形データの一部を示した。所定のマークアップ言語(本実施例では、HTML)によって記述された文書中に所定の数式記述言語(本実施例ではMathML)によって記述された数式61aが含まれている。この文書整形データ60aは、特定のブラウザ(本実施例ではInternet Explorer)と特定のプラグイン(本実施例ではMathPlayer)が実装されたブラウザ端末(第1種ブラウザ端末)を対象として作成されたものである。この第1種ブラウザ端末であれば、この第1文書整形データ60aを解釈実行して図2に示したWebページ50aを表示することができる。   FIG. 2 shows an outline of a screen of a Web page that is displayed on the Internet 20 by the WWW server function 11 by the mathematical expression display control device 1 of this embodiment. The web page 50a describes the contents related to integration, and describes variables, functions, relational expressions (hereinafter, mathematical expressions) 51a. FIG. 3 shows a part of the first document shaping data that is the origin of this Web page stored in the database 12. A document described in a predetermined markup language (HTML in the present embodiment) includes a mathematical expression 61a described in a predetermined mathematical expression language (MathML in the present embodiment). The document formatting data 60a is created for a browser terminal (first type browser terminal) in which a specific browser (Internet Explorer in this embodiment) and a specific plug-in (MathPlayer in this embodiment) are mounted. It is. With this first type browser terminal, the first document shaping data 60a can be interpreted and executed to display the Web page 50a shown in FIG.

なお、本実施例における文書整形データ60aでは、マークアップ言語としてHTMLを使用するとともに、objectタグ63を用いてMathMLの解釈にMathplayerを使用する旨、すなわちMathPlayerの実行ファイルを指定する旨が記述されている。このように、数式を記述する部分以外をHTML形式で記述することは、HTMLが文法エラーに対する許容範囲がXMLと比較して広く、Webページの作成者にとっては、第1文書データを厳密に設計しなくても済み、修正や更新作業が容易となる、という利点がある。例えば、改行タグもxmlでは<br/>を使わなければならないが、htmlでは<br>を使えばよい。同様に、imgタグもxmlでは厳密に、<mg ・・・・・・ />と記述しなければならいが、HTMLでは<img ・・・・・・>と記述すればよい。   In the document formatting data 60a in the present embodiment, it is described that HTML is used as a markup language and that Mathplayer is used to interpret MathML using the object tag 63, that is, that an execution file of MathPlayer is specified. ing. As described above, the description of the part other than the part describing the mathematical formula in the HTML format is that HTML has a wider tolerance for grammatical errors than XML, and for the creator of the Web page, the first document data is strictly designed. There is an advantage that it is not necessary to do so, and correction and update work are facilitated. For example, <br/> must be used for line break tags in xml, but <br> should be used for html. Similarly, the img tag must be described strictly as <mg... /> In xml, but may be described as <img...> In HTML.

そして、上述したプラグインが実装されているブラウザ端末であれば、この第1文書整形データ60aを解釈実行して図2に示したWebページ50aを表示することができる。また、図4に示したように、数式の部分を拡大表示させたり(図中符号52参照)、数式部分のタグをコピーして(図中符号53参照)、他の文書に複写したりすることができる。   Then, if it is a browser terminal in which the plug-in described above is installed, the first document formatting data 60a can be interpreted and executed to display the Web page 50a shown in FIG. Also, as shown in FIG. 4, the portion of the mathematical expression is enlarged (see reference numeral 52 in the figure), or the tag of the mathematical expression part is copied (see reference numeral 53 in the figure) and copied to another document. be able to.

本実施例において、数式表示制御装置1は、WebページのURLを指定してアクセスしてきたブラウザ端末30に対し、まず、第1文書整形データ60aを送付することとしている。そのため、第1文書整形データ60aにおける数式記述言語を解釈できないブラウザ端末30は、Webページを正しく表示することができない。そこで、第1文書整形データ60aには、どのような種別のブラウザ端末30であっても、最終的には正しく数式を含んだWebページを表示させるための制御文(図3符号62)が含まれている。この制御文62自体は、ブラウザ端末30の種別に依らず、どのようなブラウザ端末30でも解釈可能であり、この制御文62を解釈したブラウザ端末30は、数式表示制御装置1と各種情報をやりとりながら、最終的に数式を含んだWebページを正しく表示するための文書整形データを受け取って、そのWebページを表示する。   In the present embodiment, the mathematical expression display control apparatus 1 first sends the first document shaping data 60a to the browser terminal 30 that has been accessed by designating the URL of the Web page. Therefore, the browser terminal 30 that cannot interpret the mathematical expression description language in the first document shaping data 60a cannot correctly display the Web page. Therefore, the first document shaping data 60a includes a control statement (reference numeral 62 in FIG. 3) for displaying a Web page that correctly includes a mathematical expression regardless of the type of browser terminal 30 in the end. It is. The control statement 62 itself can be interpreted by any browser terminal 30 regardless of the type of the browser terminal 30, and the browser terminal 30 interpreting the control statement 62 exchanges various information with the mathematical expression display control device 1. However, it finally receives the document formatting data for correctly displaying the Web page including the mathematical formula, and displays the Web page.

===ブラウザの種別===
本実施例では、ブラウザ端末30の種別として、上記特定のブラウザに特定のプラグインを実装し、第1文書整形データから直接Webページを表示する第1種ブラウザ端末と、数式記述言語の解釈が不可能で、数式を画像として表示する第2種ブラウザ端末(例えば、オペラ[Opera]、ブラウザフォンなど)に加え、上記数式記述言語を単独で解釈可能なブラウザ(本実施例では、XMLとMathMLをともに解釈可能なブラウザ:例えば、ファイヤーフォックス[Firefox](登録商標))と数式に使用される各種記号に対応するフォントデータが実装されている第3種ブラウザ端末を想定している。なお、インターネット・エクスプローラを実装していても、MathPlayerがインストールされていないブラウザ端末は、第2種ブラウザ端末となる。
=== Type of browser ===
In this embodiment, as a type of the browser terminal 30, a specific plug-in is installed in the specific browser, and the first type browser terminal that directly displays the Web page from the first document formatting data, and the interpretation of the mathematical expression description language. In addition to a second type browser terminal that displays mathematical expressions as images (for example, Opera, browser phone, etc.), a browser that can interpret the mathematical expression description language alone (in this embodiment, XML and MathML). Is assumed to be a third-type browser terminal in which font data corresponding to various symbols used in mathematical expressions is implemented. Even if Internet Explorer is implemented, a browser terminal in which MathPlayer is not installed is a second type browser terminal.

また、以下では、第2種ブラウザ端末が数式を含むWebページを表示するために解釈実行する文書整形データを第2文書整形データとし、第3種ブラウザ端末がWebページを表示する際に解釈する文書整形データを第3文書整形データと称することにする。   In the following, the document formatting data that is interpreted and executed by the second type browser terminal to display the Web page including the mathematical formula is referred to as second document formatting data, and is interpreted when the third type browser terminal displays the Web page. The document shaping data will be referred to as third document shaping data.

===数式を含むWebページの表示制御===
図5に、数式表示制御装置1とブラウザ端末30との通信手順や、数式表示制御装置1、およびブラウザ端末30における情報処理の流れを示した。まず、数式表示制御装置1は、ブラウザ端末30が数式を含むWebページのURL(初期URL)を指定してHTTPリクエストを送付してくると(s1)、先の第1文書整形データを返送する(s2)。図6に初期URL70aの文字列を例示した。第1文書整形データには、ブラウザ端末30に対し、所定のプログラム(種別判別プログラム)を取り寄せて解釈実行させるための先の制御文(図3符号62)が記載されている。ブラウザ端末30は、返送されてきた第1文書整形データ60aを解釈し、この制御文62に従って種別判別プログラムを数式表示制御装置1に要求し、それを返送してもらう(s3〜s5)。そして、そのプログラムを実行する(s6)。なお、本実施例では、種別判別プログラムは、JavaScript(Javaは登録商標)によって記述されており、第1〜第3種のブラウザ端末はいずれも、JavaScriptの解釈が可能で、かつ、JavaScriptを実行を許可するように設定されているものとする。
=== Display control of Web page including mathematical formula ===
FIG. 5 shows a communication procedure between the mathematical expression display control device 1 and the browser terminal 30, and a flow of information processing in the mathematical expression display control device 1 and the browser terminal 30. First, when the browser terminal 30 sends an HTTP request by designating the URL (initial URL) of the Web page containing the mathematical expression (s1), the mathematical expression display control apparatus 1 returns the first document formatting data. (S2). FIG. 6 illustrates a character string of the initial URL 70a. In the first document shaping data, the control statement (reference numeral 62 in FIG. 3) for causing the browser terminal 30 to obtain a predetermined program (type discrimination program) and interpret and execute it is described. The browser terminal 30 interprets the returned first document shaping data 60a, requests the type discrimination program from the mathematical expression display control device 1 according to the control statement 62, and returns it (s3 to s5). Then, the program is executed (s6). In this embodiment, the type identification program is written in JavaScript (Java is a registered trademark), and any of the first to third browser terminals can interpret JavaScript and execute JavaScript. Is set to be permitted.

種別判別プログラムを解釈実行したブラウザ端末30は、まず、自身の種別(ブラウザの種別、プラグインの有無など)に応じ、第1文書整形データ60aの解釈実行を継続するか、あるいは次のHTTPリクエストの内容を決定する。このリクエストの送付先は、数式表示制御装置1に実装されているCGIであり、第1ページ変換手段13、あるいは第2ページ変換手段14に対応する。そして、HTTPリクエストを送出する場合には、その送付先のCGIに、例えば、図6におけるサーバー名やファイル名などからなる初期URL70aに含まれているWebページの識別情報(ページ識別情報)71をパラメータとして送付する。なお、種別判別プログラムに相当するスクリプトが第1文書整形データ60a中に記載されていてもよい。   The browser terminal 30 interpreting and executing the type determination program first continues to interpret and execute the first document formatting data 60a according to its type (browser type, presence or absence of plug-in, etc.), or the next HTTP request. Determine the contents. This request is sent to the CGI implemented in the mathematical expression display control apparatus 1 and corresponds to the first page conversion means 13 or the second page conversion means 14. When an HTTP request is sent, the Web page identification information (page identification information) 71 included in the initial URL 70a including the server name and file name in FIG. Send as a parameter. A script corresponding to the type determination program may be described in the first document shaping data 60a.

本実施例では、ブラウザ端末30が第1種ブラウザ端末である場合は、そのまま第1文書整形データを読み込む。そして、第1文書整形データ中に記述されている数式記述言語をプラグインに処理させて図2に示した数式51aを含むWebページ50aを表示させる(s7→s8)。   In this embodiment, when the browser terminal 30 is the first type browser terminal, the first document shaping data is read as it is. Then, the formula description language described in the first document formatting data is processed by the plug-in to display the Web page 50a including the formula 51a shown in FIG. 2 (s7 → s8).

第2種ブラウザ端末である場合は、第1文書整形データを第2文書整形データに変換するためのCGIプログラム(第1ページ変換手段)13を宛先として、当該手段13に、Webページの識別データ71をパラメータとして送付する(s7→s9→s10)。   In the case of the second type browser terminal, the CGI program (first page conversion means) 13 for converting the first document shaping data into the second document shaping data is used as the destination, and the web page identification data is sent to the means 13. 71 is sent as a parameter (s7 → s9 → s10).

図7に第1ページ変換手段13に相当する所在72とパラメータ(ページ識別情報71)を含んだURL70bの文字列を示した。そして、第1ページ変換手段13は、パラメータとして受け取ったページ識別情報71に基づいて特定される第1文書整形データ60aをデータベース12より取り出し、これを第2文書整形データに変換してブラウザ端末30に返送する(s11,s12)。   FIG. 7 shows a character string of a URL 70b including a location 72 corresponding to the first page conversion means 13 and a parameter (page identification information 71). Then, the first page conversion means 13 takes out the first document shaping data 60a specified based on the page identification information 71 received as a parameter from the database 12, converts it into the second document shaping data, and converts it into the second document shaping data. (S11, s12).

具体的には、第1ページ変換手段13は、様々な数式語号や数式の表記の仕方について、MathMLとTeXとの対応表などを備え、その対応表に基づいて第1文書整形データ60aにおいてMathMLで記述された数式61をTeX形式で記述し直す。また、第1文書データにおいて組版状態を規定するタグについては、そのまま採用する。図8に第2文書整形データ60bの一部を示した。MathMLで記述されていた数式61aがTeXで規定されている形式で記述されている。また、その数式部分61bは、周知のURLエンコード形式に変換されている。そして、ブラウザ端末30に対し、そのTeXで記述された数式61bと数式の表示サイズを指定するための表示サイズ情報とを所定のCGI(数式変換手段)65に送付させるとともに、その数式変換手段から返送されてきた画像を表示する旨の指示66が記載されている。なお、表示サイズ情報は、第1ページ変換手段13により初期値に設定されている。もちろん、数式変換手段が一律に所定サイズの数式画像を生成するのであれば、この初期値の設定は必要ない。   Specifically, the first page conversion means 13 is provided with a correspondence table between MathML and TeX, etc., regarding various mathematical formulas and expressions, and in the first document formatting data 60a based on the correspondence table. Rewrite the formula 61 described in MathML in the TeX format. Further, the tag that defines the typesetting state in the first document data is adopted as it is. FIG. 8 shows a part of the second document shaping data 60b. Formula 61a described in MathML is described in a format defined by TeX. The mathematical formula portion 61b is converted into a well-known URL encoding format. Then, the browser terminal 30 is caused to send the formula 61b described in TeX and display size information for designating the display size of the formula to a predetermined CGI (formula conversion means) 65, and from the formula conversion means. An instruction 66 for displaying the returned image is described. The display size information is set to an initial value by the first page conversion means 13. Of course, if the mathematical formula conversion means uniformly generates a mathematical image of a predetermined size, this initial value setting is not necessary.

第1ページ変換手段13から返送されてきた第2文書整形データ60bを解釈したブラウザ端末30は、TeXで記述された数式61bを含むタグを解釈し、数式変換手段15にそのTeX形式の数式61bと数式サイズ情報の初期値64とを送付する(s13,s14)。本実施例では、数式変換手段15としてMimeTeXが実装されており、数式変換手段15は、ブラウザ端末30から送付されてきた数式61bを指定されたサイズ(初期値)の大きさの画像に変換して返送する(s15,s16)。ブラウザ端末30は、この画像をWebページ中に挿入し、数式を表示する(s17)。   The browser terminal 30 interpreting the second document formatting data 60b sent back from the first page conversion means 13 interprets a tag including the mathematical expression 61b described in TeX, and the mathematical expression conversion means 15 causes the mathematical expression 61b in the TeX format to be interpreted. And the initial value 64 of the formula size information are sent (s13, s14). In this embodiment, MimeTeX is implemented as the mathematical formula converting means 15, and the mathematical formula converting means 15 converts the mathematical formula 61 b sent from the browser terminal 30 into an image having a specified size (initial value). To return (s15, s16). The browser terminal 30 inserts this image into the Web page and displays the mathematical formula (s17).

第3種ブラウザ端末である場合は、第1文書整形データを第3文書整形データに変換するためのCGIプログラム(第2ページ変換手段)14を宛先として、当該手段14にページ識別情報71をパラメータとして送付する(s9→s18)。すなわち、第1ページ変換手段14に相当する所在とパラメータを含んだURLを含んだHTTPリクエストをインターネット上に送出する。図9に当該URL70cの文字列を示した。第2ページ変換手段14に相当するCGIの所在74とページ識別情報71とが含まれている。そして、第2ページ変換手段14は、パラメータとして受け取ったページ識別情報71に基づいて特定される第1文書整形データをデータベース12より取り出し、これを第3文書整形データに変換してブラウザ端末30に返送する(s19,s20)。図10に第3文書整形データ60cの一部を示した。第3種ブラウザ端末は、プラグインが不要であるが、第3文書整形データ60cでは、HTMLでは規定されていないMathMLで記述されたタグを指定する必要から、XMLをマークアップ言語として宣言する記載67とそのタグを指定する旨の記載68を含んでいる。MathMLによる数式の記述部分61は第1文書整形データ60aと同じである。そして、ブラウザ端末30は、返送されてきた第3文書整形データ60cを解釈実行して数式を含むWebページを表示する(s21)。   In the case of the third type browser terminal, the CGI program (second page conversion means) 14 for converting the first document shaping data into the third document shaping data is set as the destination, and the page identification information 71 is set as a parameter to the means 14. (S9 → s18). That is, an HTTP request including a location corresponding to the first page conversion means 14 and a URL including parameters is transmitted to the Internet. FIG. 9 shows the character string of the URL 70c. A CGI location 74 and page identification information 71 corresponding to the second page conversion means 14 are included. Then, the second page conversion means 14 takes out the first document shaping data specified based on the page identification information 71 received as a parameter from the database 12, converts it into the third document shaping data, and sends it to the browser terminal 30. Return (s19, s20). FIG. 10 shows a part of the third document shaping data 60c. The third type browser terminal does not require a plug-in, but in the third document formatting data 60c, it is necessary to specify a tag described in MathML that is not defined in HTML, so that XML is declared as a markup language. 67 and a description 68 indicating that the tag is designated. The mathematical expression description portion 61 by MathML is the same as the first document shaping data 60a. Then, the browser terminal 30 interprets and executes the returned third document shaping data 60c and displays a Web page including a mathematical formula (s21).

===数式画像サイズ変換==
上述したように、第1ページ変換手段13は、数式画像を初期値のサイズで表示させるためのタグを生成し、そのタグを第2文書整形データ中に含め、数式変換手段15はその数式画像を初期値のサイズとなるように生成している。しかし、ブラウザ端末の画面サイズによっては、数式画像のサイズが初期値では小さくて見づらい場合も想定される。そして、数式画像は、数式記述言語による数式のよう拡大して表示させることができない。そこで、本実施例の数式表示制御装置1は、数式画像のサイズをユーザが指定するサイズに変換し直して第2文書整形データを再作成し、その再作成した第2文書整形データを第2種ブラウザ端末に返送する機能も備えている。
=== Formula image size conversion ==
As described above, the first page conversion means 13 generates a tag for displaying the mathematical expression image with the initial size, includes the tag in the second document shaping data, and the mathematical expression conversion means 15 uses the mathematical expression image. Is generated to have the initial size. However, depending on the screen size of the browser terminal, it may be assumed that the size of the mathematical expression image is small at the initial value and is difficult to see. The mathematical expression image cannot be enlarged and displayed like a mathematical expression in the mathematical expression description language. Therefore, the mathematical expression display control apparatus 1 according to the present embodiment re-creates the second document shaping data by converting the size of the mathematical expression image to the size designated by the user, and the second document shaping data thus recreated as the second document shaping data. It also has the function of returning to the seed browser terminal.

図11に第2種ブラウザ端末が表示するWebページ50bの画面概略を示した。上述したように、当該画面の起源となる第2文書整形データは、第1ページ変換手段13が第1文書整形データを処理することで生成される。このWebページ50bには画像データに変換された数式(数式画像)51bとその数式画像51bのサイズを指定するためのリストダウンボックス54と、そのサイズを数式表示制御装置1に送付して、指定のサイズの数式画像51bを表示するための第2文書整形データを返送してもらうためのボタン55とが配設されており、このボタン55には、第1文書変換手段13を宛先として、ブラウザ端末30によってリストダウンボックス54から選択されたサイズと現在表示中のWebページのページ識別情報を当該ブラウザ端末30に送付させるためのタグが対応付けされている。   FIG. 11 shows an outline of the web page 50b displayed by the second type browser terminal. As described above, the second document shaping data that is the origin of the screen is generated by the first page conversion means 13 processing the first document shaping data. In this Web page 50b, a mathematical expression (formula image) 51b converted into image data, a list down box 54 for designating the size of the mathematical expression image 51b, and the size are sent to the mathematical expression display control device 1 for designation. A button 55 is provided for returning the second document shaping data for displaying the mathematical expression image 51b of the size of the browser. The button 55 has a browser for the first document conversion means 13 as a destination. The size selected from the list down box 54 by the terminal 30 is associated with a tag for causing the browser terminal 30 to send the page identification information of the currently displayed Web page.

図12に、第2種ブラウザ端末が一度表示したWebページの数式画像の部分を指定したサイズで再表示するまでの数式表示制御装置1との通信手順や情報処理の流れを示した。なお、この図12には、この数式のサイズを変更するための通信手順や情報処理に関連して、図5に記載した通信手順や情報処理ステップの一部(s15〜s17)も含まれている。   FIG. 12 shows a communication procedure with the mathematical expression display control device 1 and a flow of information processing until the mathematical image portion of the Web page once displayed by the second type browser terminal is displayed again at a specified size. Note that FIG. 12 also includes some of the communication procedures and information processing steps (s15 to s17) described in FIG. 5 in relation to the communication procedures and information processing for changing the size of the mathematical expression. Yes.

まず、ブラウザ端末30は、第2文書データを解釈して数式の画像サイズが初期値になっているWebページを表示し、この状態で、数式のサイズがユーザ入力により選択され、上記ボタン55が指示されると、図7に示したURLにおける数式の表示サイズの記載部分73がリストダウンボックス54から選択したサイズと置換されたURLを含むHTTPリクエストを数式表示制御装置1に送付する(s31→s32→s33)。すなわち、ブラウザ端末30はユーザが指定したサイズの数式サイズ情報とページ識別情報とを第1ページ変換手段13に送付する。   First, the browser terminal 30 interprets the second document data and displays a Web page in which the formula image size is the initial value. In this state, the formula size is selected by user input, and the button 55 is pressed. When instructed, the HTTP request including the URL in which the display portion 73 of the expression display size in the URL shown in FIG. 7 is replaced with the size selected from the list down box 54 is sent to the expression display control device 1 (s31 → s32 → s33). That is, the browser terminal 30 sends the formula size information and the page identification information of the size specified by the user to the first page conversion means 13.

第1ページ変換手段13は、送付されてきたページ識別情報に対応する第1文書整形データを第2文書整形データに変換する(s34)。このとき、TeX形式で記述する数式を含むタグには、このタグがブラウザ端末30により解釈された際に、この数式と指定の数式サイズ情報とを数式変換手段15に送付させる旨を記載する。そして、この第2文書整形データをブラウザ端末30に返送する(s35)。ブラウザ端末30は、この第2文書整形データを解釈し(s36)、数式とユーザが指定したサイズに相当する数式サイズ情報とを数式変換手段15に送付して指定のサイズの数式画像を生成して返送してもらい、その数式画像を含むWebページを表示する(s15〜s17)。   The first page conversion means 13 converts the first document shaping data corresponding to the received page identification information into second document shaping data (s34). At this time, the tag including the mathematical expression described in the TeX format describes that when the tag is interpreted by the browser terminal 30, the mathematical expression and designated mathematical expression size information are sent to the mathematical expression converting means 15. Then, the second document shaping data is returned to the browser terminal 30 (s35). The browser terminal 30 interprets the second document shaping data (s36), and sends the mathematical formula and mathematical formula size information corresponding to the size designated by the user to the mathematical formula conversion means 15 to generate a mathematical formula image of the designated size. The web page including the mathematical formula image is displayed (s15 to s17).

===リンク先変換===
ここで、例えば、ユーザがブラウザ端末30によって、数式を含むあるWebページ(第1ページとする)を閲覧し、そのWebページ中のリンクを指示して同じWebサイトの他の数式を含むWebページ(第2ページ)を表示させたとする。第1ページを再表示させる場合で、このリンク先の第2ページにリンク元の第1ページへのリンクが設定されていない場合には、ユーザはブラウザの「戻る」ボタンを指示して、ブラウザ端末30の外部記憶にキャッシュとして残っている第1ページを再表示させる。そして、その再表示させた第1ページのリンクを指示して第2ページとは異なる数式を含むWebページ(第3ページ)を表示させようとする。
=== Conversion of link destination ===
Here, for example, the user browses a certain Web page (referred to as the first page) containing a mathematical expression with the browser terminal 30, and indicates a link in the Web page, and includes another mathematical expression on the same website. Assume that (second page) is displayed. When the first page is displayed again, and the link to the first page of the link source is not set in the second page of the link destination, the user instructs the browser's “return” button, and the browser The first page remaining as a cache in the external storage of the terminal 30 is displayed again. Then, the link of the redisplayed first page is instructed to display a Web page (third page) including a mathematical expression different from the second page.

このような場合では、普通、Webページ中で、同じWebサイトにあるWebページへのリンクへの設定箇所には、WWWサーバーのデータベースに格納されている文書整形データを取り寄せるためのURLが記載されている。本実施例の場合では、第1文書整形データを取り寄せるためのURLが記載されている。確かに、ブラウザ端末30が第1種ブラウザ端末である場合には、これで問題がない。しかし、第2種、第3種のブラウザ端末である場合には、リンクが指示される度に数式表示制御装置1は、第1文書整形データをブラウザ端末30に送付し、ブラウザ端末30は、先の制御文(図3符号62)を解釈して自身の種別に応じて第1文書整形データを第2あるいは第3文書整形データに変換してもらい、その文書整形データを返送してもらう。そのため、第1文書整形データの送付からブラウザ端末30の種別に応じた文書整形データの送付までの処理ステップ数が増加し、数式表示制御装置1の処理負荷が増大する。また、ブラウザ端末30側でもリンクを指示する度に第1文書整形データを解釈して先の制御文62の解釈や種別判別プログラムの処理が必要となる。したがって、Webページを表示するまでに時間が掛かる。   In such a case, the URL for obtaining the document formatting data stored in the database of the WWW server is usually described in the setting part to the link to the Web page on the same Web site in the Web page. ing. In the case of the present embodiment, a URL for obtaining the first document shaping data is described. Certainly, when the browser terminal 30 is the first type browser terminal, there is no problem. However, in the case of the second type and third type browser terminals, the mathematical expression display control device 1 sends the first document shaping data to the browser terminal 30 every time a link is instructed. The previous control statement (reference numeral 62 in FIG. 3) is interpreted, the first document shaping data is converted into the second or third document shaping data according to its own type, and the document shaping data is returned. Therefore, the number of processing steps from sending the first document shaping data to sending the document shaping data according to the type of the browser terminal 30 increases, and the processing load of the mathematical expression display control device 1 increases. The browser terminal 30 also needs to interpret the first document shaping data every time a link is instructed, interpret the previous control statement 62, and process the type determination program. Therefore, it takes time until the Web page is displayed.

ブラウザフォン31では、移動体通信事業者とユーザがパケット従量制の料金体系で契約している場合、第1文書整形データを取り寄せるための通信費が余分に掛かることにもなる。   In the case of the browser phone 31, if the mobile communication carrier and the user have a contract based on a packet-based charge system, an extra communication cost is required for obtaining the first document shaping data.

本実施例では、第1種ブラウザ端末と第3種ブラウザ端末は、ともにMathMLを解釈可能であり、これらブラウザ端末がWebページの表示起源として解釈する第1文書整形データと第3文書整形データとには大きな差が無く、第1文書整形データから第3文書整形データに変換する処理に掛かる負担も小さい。また、第1種ブラウザ、端末第2種ブラウザ端末は、処理能力が高いパーソナルコンピュータなどである可能性が高いことから、第2種ブラウザ端末が上記第1ページを起点としてWebサイト内の他のWebページヘのリンクを指示する場合に限り、第1文書整形データを再度送付することなく、第2文書整形データを直接送付できるようにしている。そのために、第1文書整形データを第2文書整形データに変換する際、第1文書整形データ中のリンクの記載を第1ページ変換手段13を宛先としたリンクの記載に書き換えている。   In the present embodiment, both the first type browser terminal and the third type browser terminal can interpret MathML, and the first document formatting data and the third document formatting data which these browser terminals interpret as the display origin of the Web page, Are not significantly different, and the burden on the process of converting the first document shaping data to the third document shaping data is small. In addition, since the first type browser and the terminal type 2 browser terminal are highly likely to be personal computers with high processing capabilities, the second type browser terminal is used as a starting point for the other pages in the website. Only when the link to the Web page is instructed, the second document shaping data can be directly sent without sending the first document shaping data again. Therefore, when converting the first document shaping data to the second document shaping data, the description of the link in the first document shaping data is rewritten to the description of the link with the first page conversion means 13 as the destination.

図13に当該リンクの記載を書き換える処理の概略を示した。この図では、第1種ブラウザ端末が表示する第1ページ(図2符号50a)におけるあるWebページ(第2ページ)へのリンク設定箇所(図2符号56a)と、第2種ブラウザ端末が表示する第1ページ(図11符号50b)における第2ページへのリンク設定箇所(図11符号56b)について、第1文書整形データにおける第2ページへのリンクを示すタグ記載部分80aと第2文書整形データにおける第2ページへのリンクを示すタグ記載部分80bとを比較している。   FIG. 13 shows an outline of processing for rewriting the description of the link. In this figure, the link setting location (56a in FIG. 2) to a certain Web page (second page) in the first page (50a in FIG. 2) displayed by the first type browser terminal and the second type browser terminal are displayed. For the link setting location (reference numeral 56b in FIG. 11) to the second page in the first page (reference numeral 50b in FIG. 11), the tag description part 80a indicating the link to the second page in the first document formatting data and the second document formatting Comparison is made with the tag description portion 80b indicating the link to the second page in the data.

第1文書整形データにおけるリンクのタグ記載部分80aには、第1文書整形データ81を要求する旨が記載されている。第2文書整形データにおけるリンクのタグ記載部分80bには、第1文書整形データのページ識別情報82と数式サイズ情報83と第1変換手段の所在84とが記載され、ページ識別情報82と数式サイズ情報83をパラメータとして第1変換手段13に送付させる旨が記載されている。   The tag description portion 80a of the link in the first document shaping data describes that the first document shaping data 81 is requested. In the tag description portion 80b of the link in the second document shaping data, the page identification information 82, the formula size information 83, and the location 84 of the first conversion means of the first document shaping data are described. The page identification information 82 and the formula size It is described that the information 83 is sent to the first conversion means 13 as a parameter.

なお、ユーザによって数式画像のサイズが指定された後にブラウザ端末に送付された第2文書整形データでは、上記リンクの記載箇所80bの数式サイズ情報83が指定された数式サイズ情報となる。それによって、ユーザの指定により数式画像のサイズが変更された後は、再度数式のサイズを指定しなくても、ユーザが先に指定したサイズの数式画像を表示するための第2文書整形データがブラウザ端末30に送付されてくることになる。   In the second document shaping data sent to the browser terminal after the size of the formula image is specified by the user, the formula size information 83 of the link description location 80b is the specified formula size information. Thereby, after the size of the mathematical formula image is changed by the user's designation, the second document formatting data for displaying the mathematical formula image of the size specified by the user first without specifying the size of the mathematical formula again. It will be sent to the browser terminal 30.

===ブラウザフォンについて===
ブラウザフォンは、画面サイズが小さく、機種によってディスプレイの画素数も異なる。そのため、第2種ブラウザ端末として、パーソナルコンピュータとブラウザフォンを一律に扱うと、ブラウザフォンでは、正しい組版状態でWebページが表示されない可能性がある。そこで、種別判別プログラムは、ブラウザ端末30によって処理されてその種別がブラウザフォン31であった場合には、その機種情報を第1ページ変換手段13に送付させるようにしてもよい。もちろん、機種情報に代えて画面サイズや画素数を送付させるようにしてもよい。そして、第1ページ変換手段13は、画面サイズや画素数に応じて第2文書整形データの組版状態を決定するようにしてもよい。
=== About Browser Phone ===
Browser phones have a small screen size, and the number of display pixels varies depending on the model. Therefore, if the personal computer and the browser phone are uniformly handled as the second type browser terminal, the browser phone may not display the web page in the correct typesetting state. Therefore, when the type is processed by the browser terminal 30 and the type is the browser phone 31, the type determination program may send the model information to the first page conversion unit 13. Of course, the screen size and the number of pixels may be sent instead of the model information. Then, the first page conversion unit 13 may determine the typesetting state of the second document shaping data according to the screen size and the number of pixels.

種別判別プログラムがブラウザフォン31に機種情報を送付させる場合には、記憶手段12にブラウザフォン31の機種と画面サイズや画素数を対応付けしたテーブルを格納しておき、第1ページ変換手段13は、そのテーブルを参照して第2文書整形データに記述する組版状態を決定すればよい。あるいは、ブラウザフォンは、普通、HTTPリクエストに自身の機種番号を含めているので、第1ページ変換手段13が、送付されてきた機種番号と上記テーブルと同様の対応表とに基づいて組版状態を決定することもできる。   When the type determination program causes the browser phone 31 to send model information, the storage unit 12 stores a table in which the model of the browser phone 31 is associated with the screen size and the number of pixels, and the first page conversion unit 13 The typesetting state described in the second document shaping data may be determined with reference to the table. Alternatively, since the browser phone normally includes its model number in the HTTP request, the first page conversion means 13 changes the typesetting state based on the model number sent and the correspondence table similar to the above table. It can also be determined.

1 数式表示制御装置
11 WWWサーバー
12 データベース
13 第1ページ変換手段
14 第2ページ変換手段
15 数式変換手段
20 インターネット
30 ブラウザ端末
31 ブラウザフォン
50a、50b Webページ
51a、51b Webページに表示された数式
60a 第1文書整形データ
60b 第2文書整形データ
60c 第3文書整形データ
DESCRIPTION OF SYMBOLS 1 Numerical formula display control apparatus 11 WWW server 12 Database 13 1st page conversion means 14 2nd page conversion means 15 Numerical formula conversion means 20 Internet 30 Browser terminal 31 Browser phone 50a, 50b Web page 51a, 51b Numerical formula displayed on Web page 60a First document shaping data 60b Second document shaping data 60c Third document shaping data

Claims (7)

ブラウザ端末とHTTP通信を行うWWWサーバー機能を備えたコンピュータシステムから構成されて、数式を含んだWebページをブラウザに表示させるための数式表示制御装置であって、
記憶手段と、第1文書返送手段と、第1ページ変換手段と、数式変換手段とを備え、
記憶手段は、多数のWebページのそれぞれの起源として、Webページの組版状態が第1形式の文書整形言語で記述されているとともに、第1形式の数式記述言語で記述された数式Bと、ブラウザ端末Aに種別判別プログラムを実行させるための記載とを含んだ第1文書整形データを記憶し、
第1文書返送手段は、特定のWebページを要求してアクセスしてきたブラウザ端末Aに、当該Webページの第1文書整形データCを返送し、
種別判別プログラムは、当該プログラムを実行したブラウザ端末Aに対し、実装されているブラウザの種別を判別させるとともに、その判別結果として、前記種別が前記第1形式の数式記述言語を解釈可能な第1種ブラウザ端末である場合は第1文書整形データCを解釈させてWebページの組版を行わせるとともに、当該第1文書整形データC中の前記第1形式の数式記述言語で記述された数式Bを当該Webページに挿入表示させ、
前記種別判別プログラムを実行したブラウザ端末Aが前記第1形式の数式記述言語の解釈が不可能な第2種ブラウザ端末である場合は、前記第1文書整形データCを特定するためのページ識別情報Dをパラメータとして、当該パラメータを第1ページ変換手段に送付させ、
前記第1ページ変換手段は、前記種別判別プログラムを解釈したブラウザ端末Aから送付されてきたページ識別情報Dを取得する処理と、取得したページ識別情報Dに基づいて特定される第1文書整形データCをデータベースより取り出す処理と、当該第1文書整形データC中の数式Bを第2形式の数式記述言語で記述した数式Eに変換する処理と、前記第1形式の文書整形言語で前記組版状態を記述するとともに、数式Eと、ブラウザ端末Aに対し数式Eを数式変換手段に送付させるための数式画像要求制御文と、ブラウザ端末Aに対し前記数式変換手段から送付されてきた画像を表示させるための数式画像表示制御文とを記載した第2文書整形データFを生成する処理と、当該第2文書整形データFをブラウザ端末Aに返送する処理とを実行し、
前記数式変換手段は、第2文書整形データFを送付したブラウザ端末Aが前記数式画像要求制御文を解釈して第2形式の数式記述言語で記述された数式Eが送付されてくると、当該数式Eを画像に変換してブラウザ端末Aに送付する
ことを特徴とする数式表示制御装置。
A mathematical expression display control device configured to display a web page including a mathematical formula on a browser, comprising a computer system having a WWW server function for performing HTTP communication with a browser terminal,
A storage means, a first document return means, a first page conversion means, and a mathematical expression conversion means;
The storage means includes, as the origin of each of a large number of Web pages, the typesetting state of the Web page described in the first format document formatting language, the formula B described in the first format formula description language, the browser Storing first document shaping data including a description for causing terminal A to execute the type determination program;
The first document returning means returns the first document formatting data C of the Web page to the browser terminal A that has requested and accessed the specific Web page,
The type discrimination program causes the browser terminal A that has executed the program to discriminate the type of the installed browser, and as a result of the discrimination, the type is a first that can interpret the mathematical expression description language in the first format. In the case of a seed browser terminal, the first document formatting data C is interpreted and the Web page is formatted, and the formula B described in the first format formula description language in the first document formatting data C is displayed. Insert and display on the web page,
If the browser terminal A that has executed the type determination program is a second type browser terminal that cannot interpret the first-form mathematical expression language, page identification information for specifying the first document formatting data C With D as a parameter, the parameter is sent to the first page conversion means,
The first page converting means acquires the page identification information D sent from the browser terminal A that has interpreted the type determination program, and the first document formatting data specified based on the acquired page identification information D A process of retrieving C from the database, a process of converting a mathematical expression B in the first document formatting data C into a mathematical expression E described in a second mathematical expression description language, and the typesetting state in the first document formatting language And a formula image request control statement for causing the browser terminal A to send the formula E to the formula conversion means, and causing the browser terminal A to display the image sent from the formula conversion means. Processing for generating the second document shaping data F describing the mathematical image display control statement for processing, and processing for returning the second document shaping data F to the browser terminal A The line,
When the browser terminal A that has sent the second document shaping data F interprets the formula image request control sentence and receives the formula E described in the second-form formula description language, A mathematical expression display control device, wherein the mathematical expression E is converted into an image and sent to the browser terminal A.
第2ページ変換手段を備え、
前記第1種ブラウザ端末は、第1形式の数式記述言語を解釈するプログラムがブラウザ用の補助プログラムとして実装されているブラウザ端末であり、
前記種別判別プログラムは、前記判別結果として、前記種別が前記補助プログラムを必要としないで第1形式の数式言語の解釈が可能な第3種のブラウザ端末である場合、前記ブラウザ端末Aに対し、前記第1文書整形データCを特定するためのページ識別情報Dをパラメータとして、当該パラメータを前記第2ページ変換手段に送付させ、
第2ページ変換手段は、前記ブラウザ端末Aから送付されてきたページ識別情報Dを取得する処理と、取得したページ識別情報Dに基づいて特定される第1文書整形データCをデータベースより取り出す処理と、当該取り出した第1文書整形データCにおいて前記第1形式の文書整形言語で記述された前記組版状態を第2形式の文書整形言語で記述した第3文書整形データGに変換する処理と、当該第3文書整形データGを前記ブラウザ端末Aに返送する処理とを実行する
ことを特徴とする請求項1に記載の数式表示制御装置。
Second page conversion means,
The first type browser terminal is a browser terminal in which a program for interpreting a first-form mathematical expression language is implemented as an auxiliary program for a browser;
When the type determination program is a third type browser terminal capable of interpreting a first-form mathematical language without requiring the auxiliary program as the determination result, the type determination program, for the browser terminal A, Using the page identification information D for specifying the first document shaping data C as a parameter, the parameter is sent to the second page conversion means,
The second page conversion means is a process of acquiring the page identification information D sent from the browser terminal A, and a process of extracting the first document shaping data C specified based on the acquired page identification information D from the database. A process of converting the typesetting state described in the document formatting language of the first format into the third document formatting data G described in the document formatting language of the second format in the extracted first document formatting data C; The mathematical expression display control device according to claim 1, wherein a process of returning the third document shaping data G to the browser terminal A is executed.
前記第1ページ変換手段は、前記第1文書整形データCに設定されているハイパーリンクについて、当該設定箇所に記載されているリンク先を識別するための情報をパラメータとして、当該パラメータを第1ページ変換手段に送付する旨のハイパーリンクに再設定し、当該再設定したハイパーリンクを前記第2文書整形データFに含ませることを特徴とする請求項1または2に記載の数式表示制御装置。   For the hyperlink set in the first document formatting data C, the first page conversion means uses information for identifying the link destination described in the setting location as a parameter, and uses the parameter as the first page. 3. The mathematical expression display control apparatus according to claim 1, wherein the hyperlink to be sent to the conversion unit is reset, and the reset hyperlink is included in the second document shaping data F. 4. 前記第2ページ変換手段は、前記第1文書整形データCに設定されているハイパーリンクについて、当該設定箇所に記載されているリンク先を識別するための情報をパラメータとして、当該パラメータを第2ページ変換手段に送付する旨のハイパーリンクに再設定し、当該再設定したハイパーリンクを前記第3文書整形データGに含ませることを特徴とする請求項2または3に記載の数式表示制御装置。   For the hyperlink set in the first document shaping data C, the second page conversion means uses the information for identifying the link destination described in the setting location as a parameter, and uses the parameter as the second page 4. The mathematical expression display control apparatus according to claim 2, wherein the hyperlink to be sent to the conversion means is reset, and the reset hyperlink is included in the third document shaping data G. 前記第1ページ変換手段は、前記数式画像要求制御文に、数式変換手段を宛先として、数式の表示サイズを指定するための数式サイズ情報の初期値をブラウザ端末Aに送付させるための記載を含ませるとともに、ブラウザ端末Aに対するユーザ入力によって表示サイズの指定を受け付ける機能と、ブラウザ端末に対するユーザ入力によって前記表示サイズの指定情報と前記ページ識別情報Dを第1ページ変換手段に送付させるための機能とを第2文書整形データFに含ませ、
前記第1ページ変換手段は、第2文書整形データFを送付したブラウザ端末において入力された前記表示サイズの指定情報Hが前記ページ識別情報Dとともに送付されてくると、当該指定情報Hとページ識別情報Dを取得する処理と、取得したページ識別情報Dに基づいて特定される第1文書整形データCをデータベースより取り出す処理と、当該第1文書整形データC中の数式Bを第2形式の数式記述言語で記述した数式Eに変換する処理と、前記第1形式の文書整形言語で前記組版状態を記述するとともに、前記指定情報Hを数式サイズ情報として、ブラウザ端末Aに対し当該数式サイズ情報と数式Eとページ識別情報Dを数式変換手段に送付させるための数式画像要求制御文と、ブラウザ端末Aに対し前記数式変換手段から送付されてきた画像を表示させるための数式画像表示制御文とを記載した第2文書整形データJを生成する処理と、当該第2文書整形データJをブラウザ端末Aに返送する処理とを実行し、
前記数式変換手段は、ブラウザ端末Aが前記数式画像要求制御文を解釈して第2形式の数式記述言語で記述された数式Eと数式サイズ情報が送付されてくると、当該数式Eを数式サイズ情報に対応する表示サイズの画像に変換してブラウザ端末Aに送付する
ことを特徴とする請求項1〜4のいずれかに記載の数式表示制御装置。
The first page conversion means includes a description for causing the mathematical expression image request control statement to send an initial value of mathematical expression size information for designating a display size of the mathematical expression to the browser terminal A with the mathematical expression conversion means as a destination. A function for accepting display size designation by user input to the browser terminal A, and a function for causing the first page conversion means to send the display size designation information and the page identification information D by user input to the browser terminal. Is included in the second document shaping data F,
When the display size designation information H input at the browser terminal that has sent the second document shaping data F is sent together with the page identification information D, the first page conversion means sends the designation information H and the page identification. A process of acquiring information D, a process of retrieving first document formatting data C specified based on the acquired page identification information D from the database, and formula B in the first document formatting data C is expressed in the second format A process of converting to the mathematical expression E described in the description language, the composition state is described in the document formatting language of the first format, and the mathematical expression size information is transmitted to the browser terminal A using the designation information H as the mathematical expression size information. A mathematical expression image request control statement for causing the mathematical expression E and the page identification information D to be sent to the mathematical expression conversion means, and sent from the mathematical expression conversion means to the browser terminal A Run image and generating a second document formatting data J that describes and formulas image display control statements to display the, and processing for returning the second document formatting data J to the browser terminal A,
When the browser terminal A interprets the formula image request control statement and receives the formula E and formula size information described in the second-form formula description language, the formula conversion means converts the formula E into the formula size. The mathematical expression display control device according to claim 1, wherein the mathematical expression display control device converts the image into a display size image corresponding to the information and sends the image to the browser terminal A.
WWWサーバー機能と前記記憶手段とを備えたコンピュータにインストールされるコンピュータプログラムであって、
前記コンピュータが当該コンピュータプログラムを実行することで、請求項1〜5の何れかに記載の数式表示装置として機能することを特徴とするコンピュータプログラム。
A computer program installed in a computer having a WWW server function and the storage means,
A computer program that functions as the mathematical expression display device according to any one of claims 1 to 5 when the computer executes the computer program.
請求項6に記載のコンピュータプログラムを記憶したプログラム格納媒体。   A program storage medium storing the computer program according to claim 6.
JP2009002005A 2009-01-07 2009-01-07 Formula display control apparatus, computer program, and program storage medium Expired - Fee Related JP5477785B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009002005A JP5477785B2 (en) 2009-01-07 2009-01-07 Formula display control apparatus, computer program, and program storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009002005A JP5477785B2 (en) 2009-01-07 2009-01-07 Formula display control apparatus, computer program, and program storage medium

Publications (2)

Publication Number Publication Date
JP2010160656A JP2010160656A (en) 2010-07-22
JP5477785B2 true JP5477785B2 (en) 2014-04-23

Family

ID=42577770

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009002005A Expired - Fee Related JP5477785B2 (en) 2009-01-07 2009-01-07 Formula display control apparatus, computer program, and program storage medium

Country Status (1)

Country Link
JP (1) JP5477785B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7096629B1 (en) 2021-06-21 2022-07-06 特許業務法人Ipx Information processing equipment, information processing methods and programs

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3414352B2 (en) * 2000-02-03 2003-06-09 日本電気株式会社 Wireless terminal, information processing system and external processing terminal
WO2001065377A1 (en) * 2000-03-01 2001-09-07 Flex-Firm Inc. Contents providing service
JP2006129468A (en) * 2004-09-30 2006-05-18 Matsushita Electric Ind Co Ltd Contents conversion apparatus, and reproduction client device
JP2005346734A (en) * 2005-07-25 2005-12-15 Flex-Firm Inc Method of providing content

Also Published As

Publication number Publication date
JP2010160656A (en) 2010-07-22

Similar Documents

Publication Publication Date Title
US8055997B2 (en) System and method for implementing dynamic forms
US9047261B2 (en) Document editing method
AU2019226143B2 (en) Modifying native document comments in a preview
WO2016032080A1 (en) Chart conversion system using metadata and method therefor
US20190073342A1 (en) Presentation of electronic information
US9141596B2 (en) System and method for processing markup language templates from partial input data
CN104050238A (en) Map labeling method and map labeling device
JP2014146128A (en) Information processing apparatus, information processing system, information processing method, and program
WO2015180422A1 (en) Page layout method and device
US8239754B1 (en) System and method for annotating data through a document metaphor
JPH10124495A (en) Original text generation processor and medium for storing program for the same
KR102574306B1 (en) dynamic typesetting
Artail et al. Device-aware desktop web page transformation for rendering on handhelds
JP5477785B2 (en) Formula display control apparatus, computer program, and program storage medium
JP2009163326A (en) Markup language document conversion device, method, program, and system
JP2008123234A (en) Translation server device, translation system, translation method, and translation program
KR101546359B1 (en) Web page making system and method for maintaining compatibility of web browser and font
RU2634221C2 (en) Method and device for drawing presentation of electronic document on screen
CN104216868A (en) Adaptation method and device for document display format
JP6687801B1 (en) Document display system, server device, information terminal device, document display method, and document display program
EP2557505A1 (en) Web display program conversion system, web display program conversion method, and program for web display program conversion
EP3532956B1 (en) System and method for on-the-fly conversion of non-accessible online documents to accessible documents
JP3589400B2 (en) Server client system, network server, client, form providing method, storage medium, and program transmission device
JP5181289B2 (en) Document display system, document display method and program
Rachovski et al. Models and methodologies for automated creating of webpage mobile versions

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130319

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: 20140107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140203

R150 Certificate of patent or registration of utility model

Ref document number: 5477785

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees