Hello Myron and Michael,
turnermm wrote
The epub plugin has only limited support for the include plugin.
Having to use the full namespace path doesn't seem like much of a problem if you know you are going to be adding the include to an ebook.
first of all I would like to thank you for your plugins and the lively
debate regarding my questions.
If one knows that the entire paths must be indicated in {{page>...}}, then
it is relatively simple to do.
I use the include function to define documents (books!).
A chapter consists of several included pages; a book consists of several
included chapters.
Individual pages are used repeatedly in books, also with different context.
In the individual pages the page titles are defined as H1 (======).
Via include I achieve a correct hierarchy of the headings.
Alle files are stored in a namespace, e.g. "product1".
I have written the links already as relative instructions
({{page>.:ns:wikipage1}}), due to the fact that I use parts of it (above all
the higher-ranking chapter pages with the include commands) also as a copy in
other namespace, e.g. "product2". With complete pathnames I would have to adapt them always.
Important: I use this system independent of epub, however would like to
establish now also an e-book since the nice plugin is already available for
it.
Maybe you will find a solution and you can implement it eventually.
Otherwise I must indicate the complete paths.
Explanation for the hierarchical adaptation of the titles and headings:
Two pages ...
====== Title of page1 ======
Content of page1 ...
====== Title of page2 ======
Content of page2 ...
... and a higher-ranking chapter with includes ...
====== Heading of the chapter ======
===== Heading of a subchapter =====
BlBlaBlaBla
{{page>page1}}
{{page>page2}}
===== Another subchapter =====
The result in dokuwiki with Include-plugin:
====== Heading of the chapter ======
===== Subchapter =====
BlBlaBlaBla
==== Title of page1 ====
Content of page1 ...
==== Title of page2 ====
Content of page2 ...
===== Another subchapter =====
Thanks Jörg