From a802ba37d66fb077a0fe4b9574839cb886135acf Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 14 Sep 2021 23:04:19 +0900 Subject: Web/m-w以下の文書内のリンクURLを正規化 (#2370) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正 --- files/ja/web/mathml/attribute/index.html | 18 +++++++++--------- files/ja/web/mathml/authoring/index.html | 10 +++++----- files/ja/web/mathml/element/index.html | 8 ++++---- files/ja/web/mathml/element/mfenced/index.html | 4 ++-- files/ja/web/mathml/element/mfrac/index.html | 2 +- files/ja/web/mathml/element/mi/index.html | 4 ++-- files/ja/web/mathml/element/mmultiscripts/index.html | 10 +++++----- files/ja/web/mathml/element/mn/index.html | 4 ++-- files/ja/web/mathml/element/mo/index.html | 8 ++++---- files/ja/web/mathml/element/mover/index.html | 6 +++--- files/ja/web/mathml/element/mphantom/index.html | 4 ++-- files/ja/web/mathml/element/mspace/index.html | 4 ++-- files/ja/web/mathml/element/msub/index.html | 8 ++++---- files/ja/web/mathml/element/msup/index.html | 8 ++++---- files/ja/web/mathml/element/mtable/index.html | 10 +++++----- files/ja/web/mathml/element/mtext/index.html | 4 ++-- files/ja/web/mathml/index.html | 16 ++++++++-------- 17 files changed, 64 insertions(+), 64 deletions(-) (limited to 'files/ja/web/mathml') diff --git a/files/ja/web/mathml/attribute/index.html b/files/ja/web/mathml/attribute/index.html index 8107079bca..616a59a7c3 100644 --- a/files/ja/web/mathml/attribute/index.html +++ b/files/ja/web/mathml/attribute/index.html @@ -6,13 +6,13 @@ tags: - MathML Reference translation_of: Web/MathML/Attribute --- -

これは MathML 属性のアルファベット順リストです。各属性の詳細はそれぞれの 要素のページ にあります。

+

これは MathML 属性のアルファベット順リストです。各属性の詳細はそれぞれの 要素のページ にあります。

補足:

@@ -119,7 +119,7 @@ translation_of: Web/MathML/Attribute - + @@ -179,7 +179,7 @@ translation_of: Web/MathML/Attribute - + @@ -279,7 +279,7 @@ translation_of: Web/MathML/Attribute - + @@ -289,12 +289,12 @@ translation_of: Web/MathML/Attribute - + - + @@ -314,7 +314,7 @@ translation_of: Web/MathML/Attribute - + @@ -460,7 +460,7 @@ translation_of: Web/MathML/Attribute - + diff --git a/files/ja/web/mathml/authoring/index.html b/files/ja/web/mathml/authoring/index.html index 3546ad1808..5051453456 100644 --- a/files/ja/web/mathml/authoring/index.html +++ b/files/ja/web/mathml/authoring/index.html @@ -11,7 +11,7 @@ translation_of: Web/MathML/Authoring

数式を表現しようと思うともっと複雑です。数学には分数や平方根、行列など独自のタグが必要になるような構造がいろいろあるからです。ですから、優良な MathML エディターが求められます。以下ではその幾つかについて述べていきます。取り分け、 Mozilla の MathML 開発チームが開発中の TeXZilla は、 JavaScript 製 Unicode LaTeX-MathML コンバーターであり、本稿で紹介されているような多くの場面で用いられることを想定しています。無論、本稿のツール紹介ではすべてを網羅している訳ではありませんから、是非とも W3C が発行する MathML ソフトウェア一覧をチェックして他のツールも見てみてください。

-

なお設計上、 MathML は HTML5 によく統合されており、特に CSS, DOM, Javascript, SVG のような通常のウェブ機能を使用できることができます。これはこのドキュメントの範囲外ですが、ウェブ言語の基本的な知識があれば、誰でも簡単にこれらの機能を MathML と組み合わせることができます。詳細については、デモMathML リファレンスのページをご覧ください。

+

なお設計上、 MathML は HTML5 によく統合されており、特に CSS, DOM, Javascript, SVG のような通常のウェブ機能を使用できることができます。これはこのドキュメントの範囲外ですが、ウェブ言語の基本的な知識があれば、誰でも簡単にこれらの機能を MathML と組み合わせることができます。詳細については、デモMathML リファレンスのページをご覧ください。

MathML の使用

@@ -52,7 +52,7 @@ translation_of: Web/MathML/Authoring
<script src="https://fred-wang.github.io/mathjax.js/mpadded-min.js"></script>
-

これら 2 つのスクリプトは mspace または mpadded 要素の機能検出を行うことに注意してください (これらのページのブラウザー互換性表を参照してください)。また、良好な MathML の対応のないブラウザーのためにページの上部に警告を表示し、ユーザーに上記のフォールバックのいずれかを選択させるための同様のスクリプトもあります。

+

これら 2 つのスクリプトは mspace または mpadded 要素の機能検出を行うことに注意してください (これらのページのブラウザー互換性表を参照してください)。また、良好な MathML の対応のないブラウザーのためにページの上部に警告を表示し、ユーザーに上記のフォールバックのいずれかを選択させるための同様のスクリプトもあります。

<script src="https://fred-wang.github.io/mathml-warning.js/mpadded-min.js"></script>
@@ -76,9 +76,9 @@ var isWebKit = ua.indexOf('AppleWebKit') > -1 && ua.indexOf('Chrome')

数学記号用のフォント

-

In order to get a good layout or to allow different style, it's important to have mathematical fonts available. It's always good to provide a link to MDN's Font Instructions, so that your visitors can verify whether they have appropriate fonts installed on their system. It's also good to provide a fallback with Web fonts.

+

In order to get a good layout or to allow different style, it's important to have mathematical fonts available. It's always good to provide a link to MDN's Font Instructions, so that your visitors can verify whether they have appropriate fonts installed on their system. It's also good to provide a fallback with Web fonts.

-

Prior to Gecko 31.0 {{GeckoRelease("31.0")}}, it was a bit tedious to setup math fonts, see the font instructions for Mozilla 2.0. For Gecko 31.0 {{GeckoRelease("31.0")}}, this is much simpler and is compatible with any Web rendering engine with MathML support. For example, here is a minimal stylesheet to use Latin Modern for the text and Latin Modern Math for the mathematics:

+

Prior to Gecko 31.0 {{GeckoRelease("31.0")}}, it was a bit tedious to setup math fonts, see the font instructions for Mozilla 2.0. For Gecko 31.0 {{GeckoRelease("31.0")}}, this is much simpler and is compatible with any Web rendering engine with MathML support. For example, here is a minimal stylesheet to use Latin Modern for the text and Latin Modern Math for the mathematics:

@namespace url('http://www.w3.org/1999/xhtml');
 @namespace m url('http://www.w3.org/1998/Math/MathML');
@@ -90,7 +90,7 @@ m|math {
     font-family: Latin Modern Math;
 }
-

You can then use the @font-face rule as usual to provide WOFF fallback for Latin Modern and Latin Modern Math. See this GitHub repository to get WOFF fonts and sample CSS stylesheets to use on your Web site and check its test page.

+

You can then use the @font-face rule as usual to provide WOFF fallback for Latin Modern and Latin Modern Math. See this GitHub repository to get WOFF fonts and sample CSS stylesheets to use on your Web site and check its test page.

XML文書(XHTML,EPUB等々)におけるMathML

diff --git a/files/ja/web/mathml/element/index.html b/files/ja/web/mathml/element/index.html index a0b50d1e43..a2195bb00f 100644 --- a/files/ja/web/mathml/element/index.html +++ b/files/ja/web/mathml/element/index.html @@ -112,14 +112,14 @@ translation_of: Web/MathML/Element

他の要素

関連情報

diff --git a/files/ja/web/mathml/element/mfenced/index.html b/files/ja/web/mathml/element/mfenced/index.html index 210ce30041..c89e7f5c8c 100644 --- a/files/ja/web/mathml/element/mfenced/index.html +++ b/files/ja/web/mathml/element/mfenced/index.html @@ -19,9 +19,9 @@ translation_of: Web/MathML/Element/mfenced
href
指定されたURIへのハイパーリンクを設定するために使用されます。
mathbackground
-
背景色。##rgb#rrggbb、およびHTMLの色名を使用できます。
+
背景色。##rgb#rrggbb、およびHTMLの色名を使用できます。
mathcolor
-
テキストの色と分数数線の色。 #rgb#rrggbb、およびHTMLの色名を使用できます。
+
テキストの色と分数数線の色。 #rgb#rrggbb、およびHTMLの色名を使用できます。
open
開き記号の文字列を与えます。既定値は "(" です。空白文字はすべて無くされます。
separators
diff --git a/files/ja/web/mathml/element/mfrac/index.html b/files/ja/web/mathml/element/mfrac/index.html index 567cf6bb87..b61285d674 100644 --- a/files/ja/web/mathml/element/mfrac/index.html +++ b/files/ja/web/mathml/element/mfrac/index.html @@ -26,7 +26,7 @@ translation_of: Web/MathML/Element/mfrac
スタイルシート で装飾を行なう際に使われます。
denomalign {{deprecated_inline}}
分数の下に分母をどう揃えるかを指定します。取り得る値は leftcenter (既定値) と right です。
- この属性は、非推奨で近日中に廃止されます。代わりに CSS を用いて text-align を指定してください。
+ この属性は、非推奨で近日中に廃止されます。代わりに CSS を用いて text-align を指定してください。
href
特定の URI へのハイパーリンクを設定するのに使われます。
linethickness
diff --git a/files/ja/web/mathml/element/mi/index.html b/files/ja/web/mathml/element/mi/index.html index ee4ed66910..4f8eafe3ab 100644 --- a/files/ja/web/mathml/element/mi/index.html +++ b/files/ja/web/mathml/element/mi/index.html @@ -26,7 +26,7 @@ translation_of: Web/MathML/Element/mi
  • small: Font is rendered smaller than the current font size.
  • normal: Equivalent to 100% or 1em.
  • big: Font is rendered larger than the current font size.
  • -
  • a custom length.
  • +
  • a custom length.
  • or a unitless value which multiplies the default.
  • @@ -113,5 +113,5 @@ translation_of: Web/MathML/Element/mi diff --git a/files/ja/web/mathml/element/mmultiscripts/index.html b/files/ja/web/mathml/element/mmultiscripts/index.html index e7f6217cd3..40165c6cb6 100644 --- a/files/ja/web/mathml/element/mmultiscripts/index.html +++ b/files/ja/web/mathml/element/mmultiscripts/index.html @@ -22,17 +22,17 @@ translation_of: Web/MathML/Element/mmultiscripts
    class, id, style
    -
    Provided for use with stylesheets.
    +
    Provided for use with stylesheets.
    href
    特定の URI へのハイパーリンクをセットするのに使います。
    mathbackground
    -
    背景色。#rgb, #rrggbb および HTML color names が使えます。
    +
    背景色。#rgb, #rrggbb および HTML color names が使えます。
    mathcolor
    -
    文字色。#rgb, #rrggbb および HTML color names が使えます。
    +
    文字色。#rgb, #rrggbb および HTML color names が使えます。
    subscriptshift
    -
    The minimum space by which to shift the subscript below the baseline of the expression, as a CSS length.
    +
    The minimum space by which to shift the subscript below the baseline of the expression, as a CSS length.
    superscriptshift
    -
    The minimum space by which to shift the superscript above the baseline of the expression, as a CSS length.
    +
    The minimum space by which to shift the superscript above the baseline of the expression, as a CSS length.

    diff --git a/files/ja/web/mathml/element/mn/index.html b/files/ja/web/mathml/element/mn/index.html index 21d4fb2b84..94c9a6e47e 100644 --- a/files/ja/web/mathml/element/mn/index.html +++ b/files/ja/web/mathml/element/mn/index.html @@ -31,7 +31,7 @@ translation_of: Web/MathML/Element/mn
  • small: Font is rendered smaller than the current font size.
  • normal: Equivalent to 100% or 1em.
  • bigFont is rendered larger than the current font size.
  • -
  • a custom length.
  • +
  • a custom length.
  • or a unitless value which multiplies the default.
  • @@ -120,5 +120,5 @@ translation_of: Web/MathML/Element/mn diff --git a/files/ja/web/mathml/element/mo/index.html b/files/ja/web/mathml/element/mo/index.html index 504377c56e..2601ec133f 100644 --- a/files/ja/web/mathml/element/mo/index.html +++ b/files/ja/web/mathml/element/mo/index.html @@ -50,7 +50,7 @@ translation_of: Web/MathML/Element/mo
  • small: Font is rendered smaller than the current font size.
  • normal: Equivalent to 100% or 1em.
  • big: Font is rendered larger than the current font size.
  • -
  • a custom length.
  • +
  • a custom length.
  • or a unitless value which multiplies the default.
  • @@ -90,14 +90,14 @@ translation_of: Web/MathML/Element/mo
    If stretchy is true, this attribute specifies the maximum size of the operator. Allowed values are:
    minsize
    If stretchy is true, this attribute specifies the minimum size of the operator. Allowed values are:
    movablelimits
    @@ -174,6 +174,6 @@ translation_of: Web/MathML/Element/mo diff --git a/files/ja/web/mathml/element/mover/index.html b/files/ja/web/mathml/element/mover/index.html index 2d6619d9a1..25a137a62a 100644 --- a/files/ja/web/mathml/element/mover/index.html +++ b/files/ja/web/mathml/element/mover/index.html @@ -19,13 +19,13 @@ translation_of: Web/MathML/Element/mover
    align
    オーバースクリプトの揃え位置。取り得る値は:left, center および right.
    class, id, style
    -
    Provided for use with stylesheets.
    +
    Provided for use with stylesheets.
    href
    Used to set a hyperlink to a specified URI.
    mathbackground
    -
    The background color. You can use #rgb, #rrggbb and HTML color names.
    +
    The background color. You can use #rgb, #rrggbb and HTML color names.
    mathcolor
    -
    The text color. You can use #rgb, #rrggbb and HTML color names.
    +
    The text color. You can use #rgb, #rrggbb and HTML color names.

    diff --git a/files/ja/web/mathml/element/mphantom/index.html b/files/ja/web/mathml/element/mphantom/index.html index b3e3e2c36b..196fbc9f49 100644 --- a/files/ja/web/mathml/element/mphantom/index.html +++ b/files/ja/web/mathml/element/mphantom/index.html @@ -11,9 +11,9 @@ translation_of: Web/MathML/Element/mphantom
    class, id, style
    -
    Provided for use with stylesheets.
    +
    Provided for use with stylesheets.
    mathbackground
    -
    背景色。#rgb, #rrggbb および HTML color names を用いることができる。
    +
    背景色。#rgb, #rrggbb および HTML color names を用いることができる。

    diff --git a/files/ja/web/mathml/element/mspace/index.html b/files/ja/web/mathml/element/mspace/index.html index c5f70af81c..db5cb6ae68 100644 --- a/files/ja/web/mathml/element/mspace/index.html +++ b/files/ja/web/mathml/element/mspace/index.html @@ -11,7 +11,7 @@ translation_of: Web/MathML/Element/mspace
    class, id, style
    -
    Provided for use with stylesheets.
    +
    Provided for use with stylesheets.
    depth
    ベースラインからの希望の深さ(値と単位については length 参照)
    height
    @@ -19,7 +19,7 @@ translation_of: Web/MathML/Element/mspace
    linebreak
    この空白における改行について。取り得る値は auto(規定値),newline,nobreak,goodbreakbadbreak。MathML 3 以降は改行を制御するのに {{ MathMLElement("mo") }} を用いるのが好ましい。
    mathbackground
    -
    The background color. You can use #rgb, #rrggbb and HTML color names.
    +
    The background color. You can use #rgb, #rrggbb and HTML color names.
    width
    希望の幅(値と単位については length 参照)
    diff --git a/files/ja/web/mathml/element/msub/index.html b/files/ja/web/mathml/element/msub/index.html index 3e4f44c00f..e4be6d7edc 100644 --- a/files/ja/web/mathml/element/msub/index.html +++ b/files/ja/web/mathml/element/msub/index.html @@ -12,15 +12,15 @@ translation_of: Web/MathML/Element/msub
    class, id, style
    -
    Provided for use with stylesheets.
    +
    Provided for use with stylesheets.
    href
    Used to set a hyperlink to a specified URI.
    mathbackground
    -
    The background color. You can use #rgb, #rrggbb and HTML color names.
    +
    The background color. You can use #rgb, #rrggbb and HTML color names.
    mathcolor
    -
    The text color. You can use #rgb, #rrggbb and HTML color names.
    +
    The text color. You can use #rgb, #rrggbb and HTML color names.
    subscriptshift
    -
    下付き部分を本体のベースラインから下げる最小量を length value として指定します。
    +
    下付き部分を本体のベースラインから下げる最小量を length value として指定します。

    diff --git a/files/ja/web/mathml/element/msup/index.html b/files/ja/web/mathml/element/msup/index.html index 5d96ed2046..c1dc2d21c1 100644 --- a/files/ja/web/mathml/element/msup/index.html +++ b/files/ja/web/mathml/element/msup/index.html @@ -12,15 +12,15 @@ translation_of: Web/MathML/Element/msup
    class, id, style
    -
    Provided for use with stylesheets.
    +
    Provided for use with stylesheets.
    href
    Used to set a hyperlink to a specified URI.
    mathbackground
    -
    The background color. You can use #rgb, #rrggbb and HTML color names.
    +
    The background color. You can use #rgb, #rrggbb and HTML color names.
    mathcolor
    -
    The text color. You can use #rgb, #rrggbb and HTML color names.
    +
    The text color. You can use #rgb, #rrggbb and HTML color names.
    superscriptshift
    -
    上付き部分を本体のベースラインから持ち上げる最小の量を length value. で指定します。
    +
    上付き部分を本体のベースラインから持ち上げる最小の量を length value. で指定します。

    diff --git a/files/ja/web/mathml/element/mtable/index.html b/files/ja/web/mathml/element/mtable/index.html index 2d4c746517..c76c578e91 100644 --- a/files/ja/web/mathml/element/mtable/index.html +++ b/files/ja/web/mathml/element/mtable/index.html @@ -23,7 +23,7 @@ translation_of: Web/MathML/Element/mtable In addition, values of the align attribute can end with a rownumber (e.g. align="center 3"). This allows you to align the specified row of the table rather than the whole table. A negative Integer value counts rows from the bottom of the table. Starting with Gecko 8.0 {{ geckoRelease("8.0") }} the interpretation of negative values has been corrected ({{ bug(601436) }}). In Gecko 17.0 {{geckoRelease("17.0")}} the parsing has been updated to treat whitespace correctly.
    alignmentscope
    class, id, style
    -
    Provided for use with stylesheets.
    +
    Provided for use with stylesheets.
    columnalign
    セル内の水平方向の揃えを指定します。スペース区切りで複数の値を書くこともでき,その場合,対応する列に適用されます(例:columnalign="left right center")取り得る値は left,center(既定値)と right です。
    columnlines
    @@ -46,11 +46,11 @@ translation_of: Web/MathML/Element/mtable
    href
    Used to set a hyperlink to a specified URI.
    mathbackground
    -
    The background color. You can use #rgb, #rrggbb and HTML color names.
    +
    The background color. You can use #rgb, #rrggbb and HTML color names.
    mathcolor
    -
    The text color. You can use #rgb, #rrggbb and HTML color names.
    +
    The text color. You can use #rgb, #rrggbb and HTML color names.
    minlabelspacing
    -
    A length value specifing the minimum space between a label and the adjacent cell in the row.
    +
    A length value specifing the minimum space between a label and the adjacent cell in the row.
    rowalign
    セルの垂直方向の揃えを指定します。スペース区切りで複数の値を書くこともでき,その場合,対応する行に適用されます(例:rowalign="top bottom axis")。取り得る値は axis,baseline(既定値),bottom,centertop です。
    rowlines
    @@ -60,7 +60,7 @@ translation_of: Web/MathML/Element/mtable
    side
    {{ MathMLElement("mlabeledtr") }} ラベル要素を置く場所を指定します。 取り得る値は leftright(既定値),leftoverlaprightoverlap です。
    width
    -
    Specifies the width of the entire table. Accepts length values.
    +
    Specifies the width of the entire table. Accepts length values.

    diff --git a/files/ja/web/mathml/element/mtext/index.html b/files/ja/web/mathml/element/mtext/index.html index 7799f8b149..50c12704bf 100644 --- a/files/ja/web/mathml/element/mtext/index.html +++ b/files/ja/web/mathml/element/mtext/index.html @@ -32,7 +32,7 @@ translation_of: Web/MathML/Element/mtext
  • small:Font is rendered smaller than the current font size.
  • normal:Equivalent to 100% or 1em.
  • big:Font is rendered larger than the current font size.
  • -
  • a custom length.
  • +
  • a custom length.
  • or a unitless value which multiplies the default.
  • @@ -116,5 +116,5 @@ translation_of: Web/MathML/Element/mtext diff --git a/files/ja/web/mathml/index.html b/files/ja/web/mathml/index.html index ccfd494454..a40847e547 100644 --- a/files/ja/web/mathml/index.html +++ b/files/ja/web/mathml/index.html @@ -9,20 +9,20 @@ tags: - XML translation_of: Web/MathML --- -

    Mathematical Markup Language (MathML) は、数学的表記を記述し、その構造と内容を表現するための XML マークアップ言語です。このページには、MathML のパワフルな技術を用いた仕事を助けるための文書、サンプル、ツールへのリンクがあります。簡単な概要は、Mozilla Summit 2013 で行われた innovation fair 向けのスライド をご覧ください。

    +

    Mathematical Markup Language (MathML) は、数学的表記を記述し、その構造と内容を表現するための XML マークアップ言語です。このページには、MathML のパワフルな技術を用いた仕事を助けるための文書、サンプル、ツールへのリンクがあります。簡単な概要は、Mozilla Summit 2013 で行われた innovation fair 向けのスライド をご覧ください。

    MathML リファレンス

    -
    MathML 要素リファレンス
    +
    MathML 要素リファレンス
    各 MathML 要素の詳細とデスクトップおよびモバイルのブラウザの互換性情報。
    -
    MathML 属性リファレンス
    +
    MathML 属性リファレンス
    MathML 要素の見た目や振る舞いを変更する MathML 属性についての情報。
    -
    MathML の例
    +
    MathML の例
    MathML の動作についての理解を深めるためのサンプルと例。
    -
    MathML の書き方
    +
    MathML の書き方
    MathML を書くための提案とヒント、おすすめの MathML エディタ、その出力を Web コンテンツへ統合する方法。
    @@ -56,9 +56,9 @@ translation_of: Web/MathML

    関連トピック

    -- cgit v1.2.3-54-g00ecf
    depth {{ MathMLElement("mpadded") }}Sets or increments the depth. See length.Sets or increments the depth. See length.
    dir
    height {{ MathMLElement("mglyph") }}, {{ MathMLElement("mpadded") }}, {{ MathMLElement("mspace") }}Specifies the desired height. See lengths for possible values.Specifies the desired height. See lengths for possible values.
    href
    lspace {{ MathMLElement("mo") }}, {{ MathMLElement("mpadded") }}演算子の前側の空き量 (値と単位は length を参照)。演算子の前側の空き量 (値と単位は length を参照)。
    lquote
    mathbackground All背景色。#rgb および #rrggbbHTML カラー名 が使用できます。背景色。#rgb および #rrggbbHTML カラー名 が使用できます。
    mathcolor Allテキスト色。#rgb および #rrggbbHTML カラー名 が使用できます。テキスト色。#rgb および #rrggbbHTML カラー名 が使用できます。
    mathsize
    {{ unimplemented_inline() }} minlabelspacing {{ MathMLElement("mtable") }}A length value specifing the minimum space between a label and the adjacent cell in the row.A length value specifing the minimum space between a label and the adjacent cell in the row.
    minsize
    width {{ MathMLElement("mglyph") }}, {{ MathMLElement("mpadded") }}, {{ MathMLElement("mspace") }}, {{ MathMLElement("mtable") }}Specifies the desired width. See lengths for possible values.Specifies the desired width. See lengths for possible values.