In settings.adoc i set all needed options, and then just include it on top of main.adoc. Then i include all other files from content\ folder(s). Imagesdir is also set in settings.adoc, and everything is actually working great, output files are generated with images etc.
The problem is this: what i need is be able to generate valid output from any .adoc in content\folder, not only from main.adoc. Plus, i'm using VSCode with asciidoctor extension which allows to preview document, and images preview will work only if image path is correct in previewed file.
I add include of settings.adoc in all files in content\folder. This resolves the problem for everything, except images. When converter sees directive
in preface.adoc it looks for C:\asciidoctor-project\content\images, not for a correct path C:\asciidoctor-project\images.
Now, i was able to produce partial decision: in settings.adoc i added lines: