asciidocfx / AsciidocFX

Asciidoc Editor and Toolchain written with JavaFX 21 (Build PDF, Epub, Mobi and HTML books, documents and slides)
http://www.asciidocfx.com/
Apache License 2.0
1.89k stars 297 forks source link

Opening "file.adoc" should be the same as "$PWD/file.adoc" #460

Open pmorch opened 4 years ago

pmorch commented 4 years ago

If I cd into some deep directory structure and then run AsciidocFX file.adoc I expect file.adoc to be relative to the invocating process' current directory. Not whatever working directory is configured in AsciidocFX.

My claim is that the current behavior is contrary to established best-practice for command line programs.

Until it gets fixed, a workaround (at least for bash - linux + Mac?) is: AsciidocFX $PWD/file.adoc