metanorma / metanorma-itu

Metanorma for ITU-T Recommendations
BSD 2-Clause "Simplified" License
4 stars 4 forks source link

Support the attribute 'document-scheme' #507

Closed Intelligent2013 closed 4 months ago

Intelligent2013 commented 4 months ago

Source issue: https://github.com/metanorma/metanorma-itu/issues/474

We need to support the document attribute :document-scheme: to switch the PDF styles between old and new (similar to ISO).

I've tried to add:

:document-scheme: legacy

but ITU Metanorma XML doesn't contain

<presentation-metadata><name>document-scheme</name><value>legacy</value></presentation-metadata>
ronaldtse commented 4 months ago

Is this a “document scheme” or a “layout scheme”?

Intelligent2013 commented 4 months ago

Is this a “document scheme” or a “layout scheme”?

@ronaldtse in metanorma-iso, the alternative PDF layout specification supported by the attribute :document-scheme: https://github.com/metanorma/metanorma-iso/issues/1080#issuecomment-1918692734.

opoudjis commented 4 months ago

I do not wish to differentiate document schemes and layout schemes, that's just going to lead to confusion and unclear distinctions. The one attribute should be used for both.

opoudjis commented 4 months ago

I'm going to bite the bullet, and make document-scheme an attribute available to all flavours in metanorma.

opoudjis commented 4 months ago

Legal values: current and legacy.