diff --git a/README.adoc b/README.adoc index a59c4db..ccdacfa 100644 --- a/README.adoc +++ b/README.adoc @@ -17,14 +17,14 @@ You will need the `maven` build tool and `make`. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar +java -Xss5m -jar target/stepmod2mn-1.48.jar ---- e.g. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar data/resource_docs/draughting_elements/resource.xml +java -Xss5m -jar target/stepmod2mn-1.48.jar data/resource_docs/draughting_elements/resource.xml ---- NOTE: resulted AsciiDoc found in data/resource_docs/draughting_elements/document.adoc @@ -34,28 +34,28 @@ NOTE: resulted AsciiDoc found in data/resource_docs/draughting_elements/document [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar [--output ] +java -Xss5m -jar target/stepmod2mn-1.48.jar [--output ] ---- e.g. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar data/resource_docs/draughting_elements/resource.xml --output result_dir/draughting_elements/document.adoc +java -Xss5m -jar target/stepmod2mn-1.48.jar data/resource_docs/draughting_elements/resource.xml --output result_dir/draughting_elements/document.adoc ---- === Convert all resource.xml and module.xml in the specified folder and sub-folders into the Metanorma AsciiDoc format: [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar +java -Xss5m -jar target/stepmod2mn-1.48.jar ---- e.g. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar data/ +java -Xss5m -jar target/stepmod2mn-1.48.jar data/ ---- NOTE: the result AsciiDocs will be saved in the folder with the source resource.xml and module.xml files. @@ -65,14 +65,14 @@ NOTE: the result AsciiDocs will be saved in the folder with the source resource. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar [--output ] +java -Xss5m -jar target/stepmod2mn-1.48.jar [--output ] ---- e.g. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar data/ --output documents/ +java -Xss5m -jar target/stepmod2mn-1.48.jar data/ --output documents/ ---- @@ -80,42 +80,42 @@ java -Xss5m -jar target/stepmod2mn-1.47.jar data/ --output documents/ [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar [--exclude ] +java -Xss5m -jar target/stepmod2mn-1.48.jar [--exclude ] ---- e.g. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar data/ --exclude "machining_features 104" +java -Xss5m -jar target/stepmod2mn-1.48.jar data/ --exclude "machining_features 104" ---- === Convert only specified documents resource.xml and module.xml in the specified folder and sub-folders into the Metanorma AsciiDoc format: [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar [--include-only ] +java -Xss5m -jar target/stepmod2mn-1.48.jar [--include-only ] ---- e.g. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar data/ --include-only "fundamentals_of_product_description_and_support kinematics" +java -Xss5m -jar target/stepmod2mn-1.48.jar data/ --include-only "fundamentals_of_product_description_and_support kinematics" ---- === Generate Metanorma collection files (metanorma.yml and collection.yml) for the documents specified in the publication index xml file in the tags 'resource_docs' and 'modules': [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar +java -Xss5m -jar target/stepmod2mn-1.48.jar ---- e.g. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar publication/part1000/CR_PMI_5/publication_index.xml +java -Xss5m -jar target/stepmod2mn-1.48.jar publication/part1000/CR_PMI_5/publication_index.xml ---- NOTE: the Metanorma collection files .yml will be saved in the 3 level up folder (usually, source repository's root folder). @@ -125,14 +125,14 @@ and save them into the output folder: [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar [--output ] +java -Xss5m -jar target/stepmod2mn-1.48.jar [--output ] ---- e.g. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar iso-10303-srl/iso-10303-stepmod-wg12/publication/part1000/CR_PMI_5/publication_index.xml --output iso-10303-srl/ +java -Xss5m -jar target/stepmod2mn-1.48.jar iso-10303-srl/iso-10303-stepmod-wg12/publication/part1000/CR_PMI_5/publication_index.xml --output iso-10303-srl/ ---- NOTE: the output folder should contains the folder with the generated .adoc (usually, 'documents'). You can specify this folder obviously by the parameter '--input-documents': @@ -141,7 +141,7 @@ e.g. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar iso-10303-srl/iso-10303-stepmod-wg12/publication/part1000/CR_PMI_5/publication_index.xml --output iso-10303-srl/CR_PMI_5 --input-documents iso-10303-srl/documents +java -Xss5m -jar target/stepmod2mn-1.48.jar iso-10303-srl/iso-10303-stepmod-wg12/publication/part1000/CR_PMI_5/publication_index.xml --output iso-10303-srl/CR_PMI_5 --input-documents iso-10303-srl/documents ---- NOTE: the Metanorma collection files (.yml) will be saved in the folder 'iso-10303-srl/CR_PMI_5' and the references point to the documents in the folder iso-10303-srl/documents. @@ -151,14 +151,14 @@ NOTE: the Metanorma collection files (.yml) will be saved in the folder 'iso-103 [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar [--type ] +java -Xss5m -jar target/stepmod2mn-1.48.jar [--type ] ---- e.g. [source,sh] ---- -java -Xss5m -jar target/stepmod2mn-1.47.jar publication/part1000/CR_PMI_5/publication_index.xml --type resource_docs +java -Xss5m -jar target/stepmod2mn-1.48.jar publication/part1000/CR_PMI_5/publication_index.xml --type resource_docs ---- NOTE: the Metanorma collection file 'metanorma.yml' will be saved in the 3 level up folder (usually, source repository's root folder). @@ -168,42 +168,42 @@ NOTE: the Metanorma collection file 'metanorma.yml' will be saved in the 3 level [source,sh] ---- -java -jar target/stepmod2mn-1.47.jar --svg +java -jar target/stepmod2mn-1.48.jar --svg ---- e.g. [source,sh] ---- -java -jar target/stepmod2mn-1.47.jar data/resources --svg +java -jar target/stepmod2mn-1.48.jar data/resources --svg ---- === Generate SVG images for the XML in the specified folder and sub-folders, and save them in the output folder: [source,sh] ---- -java -jar target/stepmod2mn-1.47.jar --svg [--output ] +java -jar target/stepmod2mn-1.48.jar --svg [--output ] ---- e.g. [source,sh] ---- -java -jar target/stepmod2mn-1.47.jar data/resources --svg --output schemas/ +java -jar target/stepmod2mn-1.48.jar data/resources --svg --output schemas/ ---- === Generate SVG image for Express Imagemap XML and Image: [source,sh] ---- -java -jar stepmod2mn-1.47.jar --xml --image [--svg ] +java -jar stepmod2mn-1.48.jar --xml --image [--svg ] ---- e.g. [source,sh] ---- -java -jar stepmod2mn-1.47.jar --xml data\resource_docs\fundamentals_of_product_description_and_support\schema_diagexpg1.xml --image schema_diagexpg1.gif --svg schema_diagexpg1.svg +java -jar stepmod2mn-1.48.jar --xml data\resource_docs\fundamentals_of_product_description_and_support\schema_diagexpg1.xml --image schema_diagexpg1.gif --svg schema_diagexpg1.svg ---- @@ -223,7 +223,7 @@ Update version in `pom.xml`, e.g.: ---- org.metanorma stepmod2mn -1.47 +1.48 STEPmod XML to Metanorma AsciiDoc converter ---- @@ -234,8 +234,8 @@ Tag the same version in Git: [source,xml] ---- -git tag v1.47 -git push origin v1.47 +git tag v1.48 +git push origin v1.48 ---- Then the corresponding GitHub release will be automatically created at: diff --git a/pom.xml b/pom.xml index 091898f..d9f96ae 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.metanorma stepmod2mn - 1.47 + 1.48 STEPmod XML to Metanorma AsciiDoc converter jar https://www.metanorma.org diff --git a/src/main/resources/stepmod.base_xsl/common.xsl b/src/main/resources/stepmod.base_xsl/common.xsl index 82552e0..f72e349 100644 --- a/src/main/resources/stepmod.base_xsl/common.xsl +++ b/src/main/resources/stepmod.base_xsl/common.xsl @@ -4665,14 +4665,17 @@ is case sensitive.')"/> - + - *Project leader:* + + :semantic-metadata-project-leader- - + + + @@ -4724,14 +4727,18 @@ is case sensitive.')"/> - + - *Project editor:* + + + :semantic-metadata-project-editor- - + + + @@ -4804,15 +4811,28 @@ is case sensitive.')"/> - -   - -
- -
- - - + + + + + + + + + + + + + + + + + + + + + +
@@ -4833,65 +4853,102 @@ is case sensitive.')"/> - + + + + - *Address:* - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + -
+ + +
-
+ + +
-
+ + +
-
+ + +
-
+ + +
-
+ + +
-
+ + +
+ - *Telephone:* - -
+ + + +
+ - *Telefacsimile:* - -
+ + + +
+ - *Electronic mail:* - [] + + + diff --git a/src/main/resources/stepmod.base_xsl/module.xsl b/src/main/resources/stepmod.base_xsl/module.xsl index a57cc26..1d1429d 100644 --- a/src/main/resources/stepmod.base_xsl/module.xsl +++ b/src/main/resources/stepmod.base_xsl/module.xsl @@ -2803,16 +2803,30 @@ this document, may be provided to support implementations. If the information - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
@@ -3609,7 +3623,11 @@ test="document('../data/basic/normrefs.xml')/normref.list/normref[@id=$normref]/ - + + - - - - - - - - - - - For the purposes of this document, - the following terms defined in - - apply: + + + + + + + + + + + + + + + For the purposes of this document, + the following terms defined in + + apply: + + + + + + + + + + + + + + + - - - - - - - +
+
+
+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3731,6 +3840,7 @@ $module_ok,' Check the normatives references')"/> + + + + + + + + diff --git a/src/main/resources/stepmod.base_xsl/res_doc/express_link.xsl b/src/main/resources/stepmod.base_xsl/res_doc/express_link.xsl index 1ad5ce7..cf93f62 100644 --- a/src/main/resources/stepmod.base_xsl/res_doc/express_link.xsl +++ b/src/main/resources/stepmod.base_xsl/res_doc/express_link.xsl @@ -1,7 +1,8 @@ + + + + Recipients of this draft are invited to submit, with their comments, + notification of any relevant patent rights of which they are aware and to + provide supporting documentation. + + + + + + + + + + this ballot cycle + + + this ballot cycle + + + + publication + + + publication + + + publication + + + publication + + + + + + + + + + + + + + This document has been reviewed using the internal review checklist + (see ), + + + + + + + + + + + + + + + the project leader checklist + (see ), + + + + + + + + + + + + + + + + + + and the convener checklist + (see ), + + + + + + + + + + + + + + + + + and has been determined to be ready for + . + + + + + + @@ -2522,19 +2642,31 @@ the types, entity specializations, and functions that are specific to this docum - - - - + + + + + - + - - - - + + + + + + + + + + + + + + + @@ -3474,7 +3606,11 @@ test="document('../../data/basic/normrefs.xml')/normref.list/normref[@id=$normre - + + + - - - - - - - - - - - - - - - For the purposes of this document, - the following terms defined in - - apply: - - - + + - - - - - + + + + + + + + + + + + + For the purposes of this document, + the following terms defined in + + apply: + + + + + + + + + + @@ -3638,6 +3780,97 @@ test="document('../../data/basic/normrefs.xml')/normref.list/normref[@id=$normre + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -62,9 +64,35 @@ $Id: sect_3_defs.xsl,v 1.6 2010/02/03 23:18:57 lothartklein Exp $ Terms, definitions and abbreviated terms + + + + + + + + + + + + + + + + + + + + + source=ref10303-2 + + - + @@ -75,12 +103,14 @@ $Id: sect_3_defs.xsl,v 1.6 2010/02/03 23:18:57 lothartklein Exp $ --> - + + + + + + + + diff --git a/src/main/resources/stepmod.base_xsl/sect_1_scope.xsl b/src/main/resources/stepmod.base_xsl/sect_1_scope.xsl index d6abea2..a12b340 100644 --- a/src/main/resources/stepmod.base_xsl/sect_1_scope.xsl +++ b/src/main/resources/stepmod.base_xsl/sect_1_scope.xsl @@ -1,8 +1,8 @@ - + - + - + @@ -644,20 +644,24 @@ $Id: sect_2_refs.xsl,v 1.21 2018/08/22 23:06:22 mike Exp $ - - + @@ -689,8 +693,14 @@ $Id: sect_2_refs.xsl,v 1.21 2018/08/22 23:06:22 mike Exp $ ]]] + + - footnote:[To be published.] + footnote:[] , diff --git a/src/main/resources/stepmod.base_xsl/sect_3_defs.xsl b/src/main/resources/stepmod.base_xsl/sect_3_defs.xsl index 68ca4fb..41667a2 100644 --- a/src/main/resources/stepmod.base_xsl/sect_3_defs.xsl +++ b/src/main/resources/stepmod.base_xsl/sect_3_defs.xsl @@ -1,8 +1,8 @@ - + @@ -23,7 +25,7 @@ $Id: sect_3_defs.xsl,v 1.10 2009/12/24 17:42:03 lothartklein Exp $ - + + + + + + + + + + + + + + + + + + + @@ -68,15 +88,62 @@ $Id: sect_3_defs.xsl,v 1.10 2009/12/24 17:42:03 lothartklein Exp $ --> + + + source=ref10303-2 + + + + + + + + + + - + + + + + + diff --git a/src/main/resources/stepmod2mn.resource.adoc.xsl b/src/main/resources/stepmod2mn.resource.adoc.xsl index f00c636..7212bd9 100644 --- a/src/main/resources/stepmod2mn.resource.adoc.xsl +++ b/src/main/resources/stepmod2mn.resource.adoc.xsl @@ -300,6 +300,23 @@ + + + + + @@ -317,6 +334,20 @@ + + + + + + //// + + + //// + + + + +