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

ISO/IEC Coding Guidelines: graphic attributes #217

Closed
Intelligent2013 opened this issue Sep 6, 2022 · 1 comment
Closed

ISO/IEC Coding Guidelines: graphic attributes #217

Intelligent2013 opened this issue Sep 6, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Intelligent2013
Copy link
Contributor

Source: #190

From 5.10 Graphics:

The name of the graphic file should match the ID of the figure, prefixed by "fig".

  • ISO
    • For example, fig_1 for Figure 1.
  • IEC
    • For example, fig-1 for Figure 1.

The names of inline graphics and graphics which are not part of figures are prefixed by "img".
ISO:
For example, img_21139-1_ed1TabfigA1a.
The filename convention is:
img{standard number}{-standard part number}ed{edition number}{image type and number}
...
IEC:
For example, img-10.1
The filename convention is: img-X-Y, where X is the page number in the PDF and Y the sequential number of the image on that page.

mnconvert can't analyze which are not part of figures, image type, etc. Therefore, this task for the editor who prepares the images.

@xlink:href containing the reference to the graphic file, without the file extension (e.g. ".png"):

  • ISO
    • The reference does not contain the name of the asset folder for formal figures.: <graphic xlink:href="fig_A.1"/>
  • IEC
    • The reference contains the name of the asset folder. <graphic xlink:href="asset/fig-A.1"/>
@Intelligent2013
Copy link
Contributor Author

graphic should contain the path to the image, but not the base64 encoded image. Therefore, enough set :data-uri-image: false in NISO STS to MN adoc XSLT.

Repository owner moved this from 🏗 In progress to ✅ Done in Metanorma Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

1 participant