-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Columns of requirements class table are too narrow on the PDF #629
Comments
@Intelligent2013 could you please help urgently? Thanks. |
XML fragment: <table id="rc_movingfeature" class="modspec" type="recommendclass">
<thead>
<tr>
<th scope="colgroup" colspan="2">
<p class="RecommendationTitle">Requirements class 2: Requirements Class ‘Moving Features’</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<th>Identifier</th>
<td>
<tt>http://www.opengis.net/spec/ogcapi-movingfeatures-1/1.0/req/movingfeatures</tt>
</td>
</tr> Internally, in XSL-FO the table contains 6 columns with non determined widths: <fo:table id="rc_movingfeature" table-omit-footer-at-break="true" table-layout="fixed" width="100%">
<fo:table-column column-width="proportional-column-width(NaN)"/>
<fo:table-column column-width="proportional-column-width(NaN)"/>
<fo:table-column column-width="proportional-column-width(NaN)"/>
<fo:table-column column-width="proportional-column-width(NaN)"/>
<fo:table-column column-width="proportional-column-width(NaN)"/>
<fo:table-column column-width="proportional-column-width(NaN)"/>
<fo:table-header> I'll investigate what's happened. @ronaldtse FYI, the current issue doesn't relate to the The latest version is 1.82 (https://github.com/metanorma/mn2pdf/releases/tag/v1.82) May be something wrong in the metanorma container?
|
common.xsl update for fixing issue metanorma/metanorma-ogc#629
@ronaldtse issue fixed in https://github.com/metanorma/metanorma-ogc and https://github.com/metanorma/mn2pdf/releases/tag/v1.83. |
@Intelligent2013 it's a little strange that the table column balancing depends on the ID...? |
@ronaldtse table column balancing algorithm based on the Apache Intermediate Format (IF) XML processing. Apache IF XML doesn't contain table 'as is'. It contains the portions of the text with the 'x,y' coordinates. For identifying the relation each text to the table, we need to mark each text with id = table's id + row number + column number. In the algorithm there was issue with the extraction the row number + column number after the table's id. Now it's fixed. |
Discussed 2024-03-19 Confirmed that the fix worked. |
Requirements Class 2 on pdf page 52. Table is not filling the width of the page.
The result is that the columns become too narrow.
https://opengeospatial.github.io/ogcna-auto-review/22-003.pdf
The text was updated successfully, but these errors were encountered: