metanorma / metanorma-docker

Docker container for running the Metanorma toolchain
https://www.metanorma.com
5 stars 3 forks source link

(URGENT) Provide instructions for compiling documents on MS Windows #122

Closed ghobona closed 2 years ago

ghobona commented 2 years ago

Currently we use this command to compile on Linux and MacOS machines.

docker run -v "$(pwd)":/metanorma -v ${HOME}/.fontist/fonts/:/config/fonts metanorma/mn metanorma compile --agree-to-terms -t ogc -x xml,html,doc document.adoc

The command above does not work on MS Windows.

Cc: @sergioTaleisnik

ronaldtse commented 2 years ago

@CAMOBAP can you please help check? Thanks

ronaldtse commented 2 years ago

@ghobona @sergioTaleisnik have you tried the Docker-Windows instruction here?

https://www.metanorma.org/install/docker/

Screenshot 2021-11-20 at 5 53 10 PM
docker run -v "%cd%":/metanorma/ -w /metanorma metanorma/metanorma metanorma compile -t {flavor} -x {output-formats} {my-document-path}
ronaldtse commented 2 years ago

Actually the command on this page works better:

https://www.metanorma.org/author/topics/building/font-management/

Screenshot 2021-11-20 at 5 54 13 PM
ghobona commented 2 years ago

Thanks @ronaldtse .

@sergioTaleisnik Please try out the command and let us know if it worked on your machine.

CAMOBAP commented 2 years ago

I hope the issue was resolved, if not, please reopen