On 28 June 2015 at 16:26, Jacques Nilo <[email protected]> wrote:
> Hi all
>
> Thanks to the great support from this group I am about to complete my first
> asciidoc generated documentation. pdf and chm generation are done and I am
> now trying to generate a web based documentation.
>
> In order to do that I use the following order:
>
> asciidoc -b html5 -a toc2 -a theme=flask master.adoc
>
> Master.doc is a large file which includes 300+ subfiles
>
> This works great but when I click on an URL link (ie the See also
> link:section2.html[section 2] line in the example below)of a given section I
> would like the page output to stay on the right frame whereas by default it
> wipes out the TOC frame.

This seems to be normal browser behaviour since you told it to load a
new page by the link.

So either you need section2.html to have a toc too, or you need to
compile everything into the one page and have the links internal.

Cheers
Lex

>
> Any suggestion in order to avoid that ? Should I follow another route ?
>
> Thanks
>
> Jacques
>
> Sample programs to replicate my problem:
> master.adoc looks like:
>
> = Program documentation
> John Dow
>
> == Chapter 1
>
> include::section1.adoc[]
>
> include::section2.adoc[]
>
> section1.adoc looks like:
>
> === Section 1
> Lorem ipsum dolor sit amet, consetetur sadipscing elitr
> labore et dolore magna aliquyam erat, sed diam voluptua.
>
> See also link:section2.html[section 2]
>
> section2.adoc has the same structure as section1.adoc
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to