Skip to content

Commit 502cdcb

Browse files
committed
lua : fix XML by converting para to simpara tags via script
1 parent 059bcda commit 502cdcb

File tree

14 files changed

+118
-134
lines changed

14 files changed

+118
-134
lines changed

reference/lua/book.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 46a9cdd2dbef4ec89bf65fad9930e2feb78bbb98 Maintainer: satoruyoshida Status: ready -->
4-
<book xml:id="book.lua" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
3+
<!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: satoruyoshida Status: ready -->
4+
<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="book.lua">
55
<?phpdoc extension-membership="pecl" ?>
66
<title>Lua</title>
77
<titleabbrev>Lua</titleabbrev>
88

99
<preface xml:id="intro.lua">
1010
&reftitle.intro;
11-
<para>
11+
<simpara>
1212
「Lua は、パワフル、高速、軽量かつ組み込み可能なスクリプト言語です。」
1313
この拡張モジュールは、lua インタプリタを組み込み、lua の変数と関数にオブジェクト指向の API を提供します。
14-
</para>
14+
</simpara>
1515
</preface>
1616

1717
&reference.lua.setup;
1818

1919
&reference.lua.lua;
2020
&reference.lua.luaclosure;
2121
</book>
22-
2322
<!-- Keep this comment at the end of the file
2423
Local variables:
2524
mode: sgml

reference/lua/configure.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 60270ff0cc7b9b18593c44851aa99d6408d072b1 Maintainer: satoruyoshida Status: ready -->
4-
<section xml:id="lua.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
3+
<!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: satoruyoshida Status: ready -->
4+
<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="lua.installation">
55
&reftitle.install;
66

7-
<para>
7+
<simpara>
88
&pecl.info;
99
<link xlink:href="&url.pecl.package;lua">&url.pecl.package;lua</link>
10-
</para>
11-
12-
13-
</section>
10+
</simpara>
1411

1512

13+
</section>
1614
<!-- Keep this comment at the end of the file
1715
Local variables:
1816
mode: sgml

reference/lua/lua.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: satoruyoshida Status: ready -->
4-
<reference xml:id="class.lua" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
3+
<!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: satoruyoshida Status: ready -->
4+
<reference xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="class.lua" role="class">
55

66
<title>Lua クラス</title>
77
<titleabbrev>Lua</titleabbrev>
@@ -11,9 +11,9 @@
1111
<!-- {{{ Lua intro -->
1212
<section xml:id="lua.intro">
1313
&reftitle.intro;
14-
<para>
14+
<simpara>
1515

16-
</para>
16+
</simpara>
1717
</section>
1818
<!-- }}} -->
1919

@@ -40,7 +40,7 @@
4040
</fieldsynopsis>
4141

4242
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
43-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.lua')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis)" />
43+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.lua')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis)"/>
4444
</classsynopsis>
4545
<!-- }}} -->
4646

@@ -54,7 +54,7 @@
5454
<varlistentry xml:id="lua.constants.lua-version">
5555
<term><constant>Lua::LUA_VERSION</constant></term>
5656
<listitem>
57-
<para></para>
57+
<simpara/>
5858
</listitem>
5959
</varlistentry>
6060

@@ -68,7 +68,6 @@
6868
&reference.lua.entities.lua;
6969

7070
</reference>
71-
7271
<!-- Keep this comment at the end of the file
7372
Local variables:
7473
mode: sgml

reference/lua/lua/assign.xml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 9b2d0005f7b4176929fd4df754079c1f80fdb406 Maintainer: satoruyoshida Status: ready -->
4-
<refentry xml:id="lua.assign" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
3+
<!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: satoruyoshida Status: ready -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="lua.assign">
55
<refnamediv>
66
<refname>Lua::assign</refname>
77
<refpurpose>PHP 変数を Lua にアサイン</refpurpose>
@@ -14,9 +14,9 @@
1414
<methodparam><type>string</type><parameter>name</parameter></methodparam>
1515
<methodparam><type>string</type><parameter>value</parameter></methodparam>
1616
</methodsynopsis>
17-
<para>
17+
<simpara>
1818

19-
</para>
19+
</simpara>
2020

2121
&warn.undocumented.func;
2222

@@ -28,27 +28,27 @@
2828
<varlistentry>
2929
<term><parameter>name</parameter></term>
3030
<listitem>
31-
<para>
32-
33-
</para>
31+
<simpara>
32+
33+
</simpara>
3434
</listitem>
3535
</varlistentry>
3636
<varlistentry>
3737
<term><parameter>value</parameter></term>
3838
<listitem>
39-
<para>
40-
41-
</para>
39+
<simpara>
40+
41+
</simpara>
4242
</listitem>
4343
</varlistentry>
4444
</variablelist>
4545
</refsect1>
4646

4747
<refsect1 role="returnvalues">
4848
&reftitle.returnvalues;
49-
<para>
49+
<simpara>
5050
<varname>$this</varname>、あるいは失敗した場合に &null; を返します。
51-
</para>
51+
</simpara>
5252
</refsect1>
5353

5454
<refsect1 role="examples">
@@ -82,7 +82,6 @@ Array
8282
</refsect1>
8383

8484
</refentry>
85-
8685
<!-- Keep this comment at the end of the file
8786
Local variables:
8887
mode: sgml

reference/lua/lua/call.xml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 5faa7a6747bca628b3bdcc9f93aec5603b65581f Maintainer: satoruyoshida Status: ready -->
4-
<refentry xml:id="lua.call" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
3+
<!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: satoruyoshida Status: ready -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="lua.call">
55
<refnamediv>
66
<refname>Lua::call</refname>
77
<refname>Lua::__call</refname>
@@ -22,9 +22,9 @@
2222
<methodparam choice="opt"><type>array</type><parameter>args</parameter></methodparam>
2323
<methodparam choice="opt"><type>int</type><parameter>use_self</parameter><initializer>0</initializer></methodparam>
2424
</methodsynopsis>
25-
<para>
25+
<simpara>
2626

27-
</para>
27+
</simpara>
2828

2929
&warn.undocumented.func;
3030

@@ -36,36 +36,36 @@
3636
<varlistentry>
3737
<term><parameter>lua_func</parameter></term>
3838
<listitem>
39-
<para>
39+
<simpara>
4040
lua での関数名
41-
</para>
41+
</simpara>
4242
</listitem>
4343
</varlistentry>
4444
<varlistentry>
4545
<term><parameter>args</parameter></term>
4646
<listitem>
47-
<para>
47+
<simpara>
4848
Lua 関数に渡される引数
49-
</para>
49+
</simpara>
5050
</listitem>
5151
</varlistentry>
5252
<varlistentry>
5353
<term><parameter>use_self</parameter></term>
5454
<listitem>
55-
<para>
55+
<simpara>
5656
<literal>self</literal> を使うか否か
57-
</para>
57+
</simpara>
5858
</listitem>
5959
</varlistentry>
6060
</variablelist>
6161
</refsect1>
6262

6363
<refsect1 role="returnvalues">
6464
&reftitle.returnvalues;
65-
<para>
65+
<simpara>
6666
呼び出した関数の結果を返します。引数が間違っている場合は &null;
6767
それ以外のエラーの場合は &false; を返します。
68-
</para>
68+
</simpara>
6969
</refsect1>
7070

7171
<refsect1 role="examples">
@@ -107,7 +107,6 @@ string(5) "1-2-3"
107107
</refsect1>
108108

109109
</refentry>
110-
111110
<!-- Keep this comment at the end of the file
112111
Local variables:
113112
mode: sgml

reference/lua/lua/construct.xml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: cf2b279980fc54b7f2602a0687652c170a906930 Maintainer: satoruyoshida Status: ready -->
4-
<refentry xml:id="lua.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
3+
<!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: satoruyoshida Status: ready -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="lua.construct">
55
<refnamediv>
66
<refname>Lua::__construct</refname>
77
<refpurpose>Lua コンストラクタ</refpurpose>
@@ -13,9 +13,9 @@
1313
<modifier>public</modifier> <methodname>Lua::__construct</methodname>
1414
<methodparam choice="opt"><type>string</type><parameter>lua_script_file</parameter><initializer>NULL</initializer></methodparam>
1515
</methodsynopsis>
16-
<para>
16+
<simpara>
1717

18-
</para>
18+
</simpara>
1919

2020
&warn.undocumented.func;
2121

@@ -27,23 +27,22 @@
2727
<varlistentry>
2828
<term><parameter>lua_script_file</parameter></term>
2929
<listitem>
30-
<para>
31-
</para>
30+
<simpara>
31+
</simpara>
3232
</listitem>
3333
</varlistentry>
3434
</variablelist>
3535
</refsect1>
3636

3737
<refsect1 role="returnvalues">
3838
&reftitle.returnvalues;
39-
<para>
40-
41-
</para>
39+
<simpara>
40+
41+
</simpara>
4242
</refsect1>
4343

4444

4545
</refentry>
46-
4746
<!-- Keep this comment at the end of the file
4847
Local variables:
4948
mode: sgml

reference/lua/lua/eval.xml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 9b2d0005f7b4176929fd4df754079c1f80fdb406 Maintainer: satoruyoshida Status: ready -->
4-
<refentry xml:id="lua.eval" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
3+
<!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: satoruyoshida Status: ready -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="lua.eval">
55
<refnamediv>
66
<refname>Lua::eval</refname>
77
<refpurpose>文字列を Lua コードとして評価</refpurpose>
@@ -13,9 +13,9 @@
1313
<modifier>public</modifier> <type>mixed</type><methodname>Lua::eval</methodname>
1414
<methodparam><type>string</type><parameter>statements</parameter></methodparam>
1515
</methodsynopsis>
16-
<para>
16+
<simpara>
1717

18-
</para>
18+
</simpara>
1919

2020
&warn.undocumented.func;
2121

@@ -27,20 +27,20 @@
2727
<varlistentry>
2828
<term><parameter>statements</parameter></term>
2929
<listitem>
30-
<para>
31-
32-
</para>
30+
<simpara>
31+
32+
</simpara>
3333
</listitem>
3434
</varlistentry>
3535
</variablelist>
3636
</refsect1>
3737

3838
<refsect1 role="returnvalues">
3939
&reftitle.returnvalues;
40-
<para>
40+
<simpara>
4141
コードを評価した結果を返します。引数が間違っている場合は &null;
4242
それ以外のエラーの場合は &false; を返します。
43-
</para>
43+
</simpara>
4444
</refsect1>
4545

4646
<refsect1 role="examples">
@@ -68,7 +68,6 @@ CODE
6868
</refsect1>
6969

7070
</refentry>
71-
7271
<!-- Keep this comment at the end of the file
7372
Local variables:
7473
mode: sgml
@@ -89,4 +88,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
8988
vim: et tw=78 syn=sgml
9089
vi: ts=1 sw=1
9190
-->
92-

reference/lua/lua/getversion.xml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 4aaf5b8ba0ab42b9e884a75a21fa206c30205b74 Maintainer: satoruyoshida Status: ready -->
4-
<refentry xml:id="lua.getversion" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
3+
<!-- EN-Revision: 64ae8f74549dc76c975c1e91dfb87e89f944639e Maintainer: satoruyoshida Status: ready -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="lua.getversion">
55
<refnamediv>
66
<refname>Lua::getVersion</refname>
77
<refpurpose>getversion 用途</refpurpose>
@@ -11,11 +11,11 @@
1111
&reftitle.description;
1212
<methodsynopsis>
1313
<modifier>public</modifier> <type>string</type><methodname>Lua::getVersion</methodname>
14-
<void />
14+
<void/>
1515
</methodsynopsis>
16-
<para>
16+
<simpara>
1717

18-
</para>
18+
</simpara>
1919

2020
&warn.undocumented.func;
2121

@@ -28,14 +28,13 @@
2828

2929
<refsect1 role="returnvalues">
3030
&reftitle.returnvalues;
31-
<para>
31+
<simpara>
3232
<varname linkend="lua.constants.lua-version">Lua::LUA_VERSION</varname> を返します。
33-
</para>
33+
</simpara>
3434
</refsect1>
3535

3636

3737
</refentry>
38-
3938
<!-- Keep this comment at the end of the file
4039
Local variables:
4140
mode: sgml

0 commit comments

Comments
 (0)