Skip to content
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

PDF: full-page-width and column-width tables and figures #1111

Closed
Intelligent2013 opened this issue Feb 22, 2024 · 2 comments
Closed

PDF: full-page-width and column-width tables and figures #1111

Intelligent2013 opened this issue Feb 22, 2024 · 2 comments
Assignees

Comments

@Intelligent2013
Copy link
Contributor

Source issues:

The documents contain tables and figures in full page width and column width:

  • full page width figure
    image

  • column width figure
    image

  • full-page table
    image

  • column-width table
    image

Currently, BSI XSLT and metanorma-bsi support them already. Need extend to another XSLT.

@Intelligent2013
Copy link
Contributor Author

@opoudjis metanorma-bsi allows to set [width=text-width] and presentation XML contains the attribute width for figure:

<figure id="fig1" width="text-width">

(https://github.com/metanorma/metanorma.org/blob/doc20230209/author/bsi/topics/markup.adoc#figures)

I've tried to set [width=text-width] for ISO document:

[[figureA-1]]
.Split-it-right sample divider
[width=text-width]
image::images/a1.png[Alt1]

and the tag image has width="text-width", but not figure:

<figure id="figureA-1">
<name>Figure A.1 — Split-it-right sample divider</name>
<image src="data:image/png;base64,iVBOR..." mimetype="image/png" id="_4989f791-b93f-831b-5d40-402089695052" height="auto" width="text-width" alt="Alt1"/></figure>

Is there a way to move text-width to the figure?

@opoudjis opoudjis moved this from 🆕 New to 🏗 In progress in Metanorma Mar 7, 2024
@opoudjis
Copy link
Contributor

I will make that a Metanorma-wide change.

opoudjis added a commit to metanorma/metanorma.org that referenced this issue Mar 12, 2024
opoudjis added a commit to metanorma/metanorma-model-iso that referenced this issue Mar 12, 2024
opoudjis added a commit to metanorma/metanorma-model-standoc that referenced this issue Mar 12, 2024
opoudjis added a commit to metanorma/metanorma-standoc that referenced this issue Mar 12, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Metanorma Mar 12, 2024
ronaldtse pushed a commit to metanorma/metanorma.org that referenced this issue Mar 18, 2024
ronaldtse pushed a commit to metanorma/metanorma.org that referenced this issue Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants