Skip to content

Commit

Permalink
README.adoc updated for v1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Apr 6, 2021
1 parent 59d2932 commit 4c61572
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,45 +17,45 @@ convert specified xml file into adoc format and save it to data/resource_docs/dr

[source,sh]
----
java -jar target/stepmod2mn-1.6.jar <XML-FileName>
java -jar target/stepmod2mn-1.7.jar <XML-FileName>
----

or save it to specified path:

[source,sh]
----
java -jar target/stepmod2mn-1.6.jar <XML-FileName> --output <ADOC-FileName>
java -jar target/stepmod2mn-1.7.jar <XML-FileName> --output <ADOC-FileName>
----

generate SVG images in the tree data/:

[source,sh]
----
java -jar target/stepmod2mn-1.6.jar <start folder to process xml maps files> --svg
java -jar target/stepmod2mn-1.7.jar <start folder to process xml maps files> --svg
----

generate SVG image for Express Imagemap XML and Image:

[source,sh]
----
java -jar stepmod2mn-1.6.jar --xml <Express Imagemap XML file path> --image <Image file name> [--svg <resulted SVG map file or folder>]
java -jar stepmod2mn-1.7.jar --xml <Express Imagemap XML file path> --image <Image file name> [--svg <resulted SVG map file or folder>]
----

e.g.

[source,sh]
----
java -jar target/stepmod2mn-1.6.jar data/resource_docs/draughting_elements/resource.xml
java -jar target/stepmod2mn-1.7.jar data/resource_docs/draughting_elements/resource.xml
----

[source,sh]
----
java -jar target/stepmod2mn-1.6.jar data/ --svg
java -jar target/stepmod2mn-1.7.jar data/ --svg
----

[source,sh]
----
java -jar stepmod2mn-1.6.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.7.jar --xml data\resource_docs\fundamentals_of_product_description_and_support\schema_diagexpg1.xml --image schema_diagexpg1.gif --svg schema_diagexpg1.svg
----


Expand All @@ -75,7 +75,7 @@ Update version in `pom.xml`, e.g.:
----
<groupId>com.metanorma</groupId>
<artifactId>stepmod2mn</artifactId>
<version>1.6</version>
<version>1.7</version>
<name>STEPmod XML to Metanorma AsciiDoc converter</name>
----

Expand All @@ -86,8 +86,8 @@ Tag the same version in Git:

[source,xml]
----
git tag v1.6
git push origin v1.6
git tag v1.7
git push origin v1.7
----

Then the corresponding GitHub release will be automatically created at:
Expand Down

0 comments on commit 4c61572

Please sign in to comment.