Open ronaldtse opened 1 week ago
For the https://github.com/metanorma/iso-iec-jtc1-wg15-tdm/, branch main
, the PDF has the reference number:
I'll try the corrections
branch.
Confirmed, the PDF generated from the branch corrections
doesn't have the reference number.
XSLT reads the reference number from iso-standard/bibdata/docidentifier[@type = 'iso-with-lang']
.
The differences, left pane - branch correction
, right pane - branch main
:
document.adoc
:
document.presentation.xml
:
So, the most docidentifier
s are missing in the Presentation XML after the changes.
ping @opoudjis.
Also, there are a lot differences in terms section:
@Intelligent2013 Ah, now you say this I realized the difference is this.
There are 2 numbers on the cover page:
= Title
:docnumber: 0255
...
=> 1 and 2 both present
= Title
:tc-docnumber: 0255
=> 1, 2 both missing
This is technically the preferred way as described in documentation, because we don't know what N number patterns people decide to use.
= Title
:docidentifier: ISO/IEC JTC 1/WG 15 N0255
=> 1 present, 2 missing
= Title
:docnumber: 0255
:docidentifier: ISO/IEC JTC 1/WG 15 N0255
=> 1 present, 2 missing
= Title
:tc-docnumber: 0255
:docidentifier: ISO/IEC JTC 1/WG 15 N0255
=> 1 present, 2 missing
= Title
:docnumber: 0255
:tc-docnumber: 0255
:docidentifier: ISO/IEC JTC 1/WG 15 N0255
=> 1 present, 2 missing
This means when docidentifier is present, 1 is always missing.
As
Also, there are a lot differences in terms section:
it seems some part of the code metanorma-iso
or something isn't working properly when :docidentifier:
is present.
The Reference number is missing in PDF output:
The header:
The reference number is also missing from all the page headers, etc.
I tried the following variations but does not fix this problem at all:
Only
docidentifier
:With
tc-docnumber
:With
tc-docnumber
anddocnumber
:They all give the same output.
Is this a Metanorma XML problem?
From this document:
The desired reference number is: