When including a file that is in a neighboring directory, an extra step down in the tree needs to be taken.
For example, to include file.asciidoc in index.asciidoc:
D:/path/manual/index.asciidoc
D:/path/common/file.asciidoc
the include needs to look like this:
include::../../file.asciidoc
But for the file to be included when processed, the path must look like this:
include::../file.asciidoc
which produces a Warning in AsciiDoc Preview:
asciidoctor: WARNING: : line 50: include file not readable D:/path/manual//../common/file.asciidoc
Note the two slashes following manual in the warning.
When including a file that is in a neighboring directory, an extra step down in the tree needs to be taken.
For example, to include file.asciidoc in index.asciidoc: D:/path/manual/index.asciidoc D:/path/common/file.asciidoc
the include needs to look like this: include::../../file.asciidoc
But for the file to be included when processed, the path must look like this: include::../file.asciidoc which produces a Warning in AsciiDoc Preview: asciidoctor: WARNING: : line 50: include file not readable D:/path/manual//../common/file.asciidoc Note the two slashes following manual in the warning.
Running on Windows 7.
Regards, Erik