Works here, asciidoc hg, Python 2.7.3. What version of asciidoc are you using and what version of python are you using? Exactly what command are you running?
Cheers Lex On 4 May 2013 23:30, <[email protected]> wrote: > Hi. I'm very new to asciidoc, so this could easily be my > misunderstanding... > > I'm writing a book chapter that has about 15 code examples. I made a file > called examples.asciidoc and in it I put 15 lines to include separate > asciidoc example files: > > include::examples/one.asciidoc[] > include::examples/two.asciidoc[] > > > etc. In my main asciidoc file, I include examples.asciidoc. So my > include depth is just 2, but the examples.asciidoc file flatly (i.e., not > nested) includes 15 files. When I run asciidoc to build the book, I get an > error: > > asciidoc: WARNING: examples.asciidoc: line 39: maximum include depth > exceeded > asciidoc: WARNING: examples.asciidoc: line 42: maximum include depth > exceeded > asciidoc: WARNING: examples.asciidoc: line 45: maximum include depth > exceeded > asciidoc: WARNING: examples.asciidoc: line 48: maximum include depth > exceeded > asciidoc: WARNING: examples.asciidoc: line 51: maximum include depth > exceeded > > > The warnings lines are for the 11th through 15th includes. > > From searching around, I can see that asciidoc has a maximum include depth > of 10, and from the error message that seems to be what I'm hitting. But > my depth is only 2. Maybe asciidoc has a different understanding of include > depth than I do. I've looked at my files and I'm sure there's no recursive > including going on (except for one, my included files are all empty as I'm > just getting going on the writing). > > So, assuming "depth" doesn't really mean depth but means "number" (or > similar) to asciidoc, is there an easy way to up the limit? Or is it > really a depth (in which case I've somehow screwed up)? > > Thanks for any help, > Terry Jones > > -- > 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?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
