metanorma / metanorma-ieee

Metanorma for IEEE SA
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

differences in line spacing in clauses (x, x.1) between PDF and MS-Word versions #371

Closed ReesePlews closed 4 months ago

ReesePlews commented 4 months ago

hello @opoudjis and @ronaldtse

i am seeing the following differences between clause/subclause (x, x.1) line spacing the in the current IEEE template.

pdf left, ms-word right

image

mn code details are:

Run metanorma --version
Metanorma 1.7.7
Metanorma::Cli 1.9.8
Metanorma::Standoc 2.8.9/IsoDoc 2.10.2
Metanorma::ISO 2.7.8
Metanorma::Iec 2.4.7
Metanorma::IEEE 1.2.8
...

if you need the files please let me know. thank you for checking this.

opoudjis commented 4 months ago

... Which one is the right one?

ReesePlews commented 4 months ago

i would say the example on the right (the ms-word render) is the correct render, the spacing looks more appropriate then the PDF on the left.

opoudjis commented 4 months ago

@Intelligent2013 Over to you :)

Intelligent2013 commented 4 months ago

The XSLT for the PDF generation developed based on the sample from the ticket https://github.com/metanorma/metanorma-ieee/issues/11. Currently, the line spacing in the rendered PDF (by Metanorma) is the same as in the sample IEEE%20P802.1DF:D0.0.pdf.

Left pane - generated PDF by Metanorma, right pane - original sample PDF:

image

@ReesePlews @ronaldtse after all, should I decrease the line spacing in the PDF?

ReesePlews commented 4 months ago

hi @Intelligent2013 thank you for checking this. i understand better now, why it is set this way however i think the two sample standards you may be using are old. please try and find a newer standard.

this is an example of an IEEE standard from 2020

image

this is an example of an IEEE standard from 2022

image

i believe there are some open IEEE standards available at: https://ieeexplore.ieee.org/browse/standards/get-program/page

and to clarify these are just random standards, they are not any type of "master document."

ronaldtse commented 4 months ago

The PDF layout and Word masters are officially from IEEE master documents. We should not change anything until we have official IEEE notice that they have changed masters.

Intelligent2013 commented 4 months ago

Ok, then close the ticket.

ReesePlews commented 4 months ago

see related https://github.com/Spatial-Web-Foundation/SWF-Corpus_and_IEEEP2874-D2/issues/1549 could not be confirmed as to what was correct or not.