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

Historical PDF layout: 1951 to 1971 layout #1089

Open
ronaldtse opened this issue Feb 7, 2024 · 24 comments
Open

Historical PDF layout: 1951 to 1971 layout #1089

ronaldtse opened this issue Feb 7, 2024 · 24 comments
Assignees

Comments

@ronaldtse
Copy link
Contributor

ronaldtse commented Feb 7, 2024

ISO/R1-1951(E) is the first publication of ISO, and provides this layout that is being used until 1971.

ISO-R-1-1951.pdf

From: https://cdn.standards.iteh.ai/samples/14/2c071d0698d64948a4b9f21a6314072b/ISO-R-1-1951.pdf

These documents provide a good representation of the layout throughout the years. All of these are samples from iTeh:

ISO-R-1699-1970.pdf
ISO-R-1173-1970.pdf
ISO-R-2014-1971.pdf
ISO-R-191-1971.pdf
ISO-R-775-1969.pdf
ISO-R-866-1968.pdf
ISO-R-186-1968.pdf
ISO-R-478-1966.pdf
ISO-R-438-1965.pdf
ISO-R-453-1965.pdf
ISO-R-299-1963.pdf
ISO-R-298-1963.pdf
ISO-R-184-1961.pdf
ISO-R-145-1960.pdf
ISO-R-58-1958.pdf
ISO-R-27-1956.pdf
ISO-R-29-1956.pdf
ISO-R-13-1955.pdf
ISO-R-4-1953.pdf

@ronaldtse
Copy link
Contributor Author

ronaldtse commented Feb 11, 2024

Here's a full document found on the Internet so we can see how the pages end.

Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Feb 12, 2024
Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Feb 14, 2024
Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Feb 18, 2024
Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Mar 11, 2024
@Intelligent2013
Copy link
Contributor

The document may contain one or more 'Brief history' sections (preface sections):
image

The first documents published with Foreword instead of 'Brief history'
image

Looks like, 'Brief history' is a kind or Foreword, so markup may be:

[.preface,heading=foreword]
== Brief history

Text

[.preface,heading=foreword]
== Brief history relating to the 2nd edition

Text

@Intelligent2013
Copy link
Contributor

The footnotes prefixed by asterisk(s):
image

Note: example from ISO-R-438-1965.pdf

Each page has independent footnotes 'numbering'
image

This case can't be achieved in the XSL-FO, therefore footnotes will have continues numbering: *, **, ***, ****, etc.

@Intelligent2013
Copy link
Contributor

No need to treat as Foreword. Just enough to set [.preface]:

[.preface]
== Brief history

Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Mar 12, 2024
@Intelligent2013
Copy link
Contributor

Need to add the document attributes for
image

:presentation-metadata-first-printing-date: 1965-12-01
:presentation-metadata-price: Sw. fr. 3.--

Note: 'Date of the first printing' may be different (later) than the date from cover page:
image

@Intelligent2013
Copy link
Contributor

Intelligent2013 commented Jul 25, 2024

  • NOTE in small-caps, with dot and em-dash:
    image

@Intelligent2013
Copy link
Contributor

The last page might contain the 'Date of the second printing'. For instance, for the ISO/R 145 (1st Edition, February 1960):
image

So, instead of the attribute
:presentation-metadata-first-printing-date: 1967-02-01
we need to use with 'printing number' prefix like this:
:presentation-metadata-printing-date: second,1967-02-01.

'printing number' prefix can be omitted for the 'first' printing number.
I'll update blog post.

@Intelligent2013
Copy link
Contributor

  • the date on the cover page isn't the same as on the main section 1st page

  • example ISO R 1:

    • cover page
      image
    • main section 1st page
      image
  • example ISO R 4:

    • cover page
      image
    • main section 1st page
      image

Looks like the date on the main section 1st page is the issued date (:issued-date:):

  • from ISO R 1 Foreword:
    image

  • from ISO R 4 Foreword:
    image

I've found this case for the ISO R 1, 4 and 13 from the references documents.
ISO R 27 and 29 doesn't contain the date on the cover page.

But I don't figure out what does mean the date on the cover page.

@Intelligent2013
Copy link
Contributor

Intelligent2013 commented Jul 30, 2024

  • example displays centered (Example in smallcaps):
    image

@Intelligent2013
Copy link
Contributor

  • footnotes in the preface tables should be displayed at page bottom (as usual text footnote)
    The example from ISO R 58:
    image

@Intelligent2013
Copy link
Contributor

[ ] different font sizes in the table

The different font-size can be achieved via the CSS command (https://www.metanorma.org/author/topics/inline_markup/text_formatting/#css) like this:

^|[css font-size:65%]#Number# ^| [css font-size:65%]#Symbol# ^| [css font-size:65%]#Designation#

Source PDF:
image

Resulted PDF:
image

@opoudjis
Copy link
Contributor

opoudjis commented Aug 5, 2024

While this is an edge case, the Russian needs inflection:

date_printing: Дата % печати

the % needs to be in the genitive. I've got that implemented somewhere, just need to look it up; hopefully twitter-cldr-rb knows about inflected ordinals.

opoudjis added a commit that referenced this issue Aug 5, 2024
i18n date_printing added for 1951 layout, #1089
Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Aug 6, 2024
Intelligent2013 added a commit to metanorma/metanorma.org that referenced this issue Aug 7, 2024
@Intelligent2013
Copy link
Contributor

  • Figure and Table should be in small caption
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 In progress
Development

No branches or pull requests

3 participants