metanorma / mn-samples-plateau

Project PLATEAU by MLIT: Japanese Ministry of Land, Infrastructure, Transport and Tourism (国土交通省)
https://www.mlit.go.jp/plateau/
0 stars 0 forks source link

Document 01: tables with partitioned rows exhibit incorrect indenting #133

Open ReesePlews opened 1 month ago

ReesePlews commented 1 month ago

in document 01, when a table has a row that is partitioned (multi-row cells, in a single row) i am noticing some strange indents on the text that is placed into the partitioned row after the first row.

image

i am not sure if this is a document code issue, or something related to the plateau flavor. it seems to only occur in rows that are partitioned. any feedback is helpful on this. thank you.

i have tried to document in the following images.

table: 3) 建築物モデル(LOD3.1)の定義 code:

.2+| LOD3.1
.2+| ●
.2+| WallSurface
.2+| MultiSurface
| 短辺が実長1m以上 +
かつ +
側方からの正射影の面積3m2以上の外壁
|
* 外壁の角に囲まれた外周を取得する。
* 方位が変化する場所で区切る。

【建築物の上方からの正射影の外周と、建築物の設置面における外周との水平距離が1m以上】

* 屋根面の外周と、外壁面の上端の外周により囲まれた面を取得する。
|
* 曲面の場合は、データセットが採用する地図情報レベルの水平及び高さの誤差の標準偏差に収まるよう平面に分割する。

| 幅1m以上の軒裏
|
* 屋根面の上方からの正射影の外周と、地表面と外壁面との交線により囲まれた面を取得する。
* 高さは、各頂点の高さとする。
|
| LOD3.1 | ■ | BuildingPart | Solid | 一棟の建築物を、属性の異なる複数の部分に分ける場合に必須とする。
|
* 屋根面(RoofSurface)、外壁面(WallSurface)、屋外床面(OuterFloorSurface)、屋外天井面(OuterCeilingSurface)、底面(GroundSurface)、閉鎖面(ClosureSurface)、扉(Door)及び窓(Window)を境界面とする立体を作成する。
|

image


table: 4) 建築物モデル(LOD3.2)の定義 code:

.2+| LOD3.2
.2+| ●
.2+| WallSurface
.2+| MultiSurface
| 短辺が実長1m以上 +
かつ +
側方からの正射影の面積3m2以上の外壁
|
* 外壁の角に囲まれた外周を取得する。
* 方位が変化する場所で区切る。

【建築物の上方からの正射影の外周と、建築物の設置面における外周との水平距離が1m以上】

* 屋根面の外周と、壁面の上端の外周により囲まれた面を取得する。
|
* 曲面の場合は、データセットが採用する地図情報レベルの水平及び高さの誤差の標準偏差に収まるよう平面に分割する。

| 幅1m以上の軒裏
|
* 屋根の上方からの正射影の外周と、地表面と外壁面との交線により囲まれた面を取得する。
* 高さは、各頂点の高さとする。
|

image

ronaldtse commented 1 month ago

Seems like a PDF spacing issue. @Intelligent2013 could you help check? Thanks!

Intelligent2013 commented 1 month ago

From section-04\section-02.adoc:

| 幅1m以上の軒裏
|
* 屋根面の上方からの正射影の外周と、地表面と外壁面との交線により囲まれた面を取得する。
* 高さは、各頂点の高さとする。

The Presentation XML contains align="center" for 2nd td:

<tr>
    <td valign="top" align="left">
        <p id="_74c0f7ad-cb74-d99a-3acd-b71226f80324">幅1m以上の軒裏</p>
    </td>
    <td valign="top" align="center">
        <ul id="_05815cba-9a0e-0e5f-d304-9e5c6dfbbe20">
            <li>
                <p id="_30eec4ee-b406-70fa-fac9-f6992630e9df">屋根面の上方からの正射影の外周と、地表面と外壁面との交線により囲まれた面を取得する。</p>
            </li>
            <li>
                <p id="_8b1e9777-d127-3101-745f-00dd200659f1">高さは、各頂点の高さとする。</p>
            </li>
        </ul>
    </td>
    <td valign="top" align="left"/>
</tr>

But actually this table cell is 6th (due the spanned rows) image

In the adoc the 2nd column (for the characters ●,■ and 〇) is centered (^3a):

[cols="7a,^3a,7a,7a,16a,20a,16a"]

I've tried to remove ^ for 2nd column (just for experiment) in the table attributes, and PDF renders OK for 6th column (but 2nd column isn't centered as expected):

image

There is the known 10 years old issue in asciidoctor https://github.com/asciidoctor/asciidoctor/issues/989.

How to solve: change ^3a to 3a, and add ^ before each table cell with ●,■ and 〇, for instance:

.2+| LOD3.1
.2+^| ●
.2+| WallSurface
.2+| MultiSurface
| 短辺が実長1m以上 +
かつ +
側方からの正射影の面積3m2以上の外壁