On 10/07/12 01:25, Lex Trotman wrote:
On 9 July 2012 21:36, Anders Nawroth <[email protected]> wrote:
Hi!
I just hit the maximum permitted number of subsequent nested includes (which
is five).
It was quite hard to spot the problem, as there's no warning in the output,
using version 8.6.7.
Instead the include statement itself gets included in the output.
Is there any way I can set the maximum depth to a different value?
Right now I created a new top-level document, with a single include
statement in it, adding a depth attribute there.
Is there a configuration setting for this? I find the above workaround a bit
ugly :-)
See http://www.methods.co.nz/asciidoc/userguide.html#_system_macros
depth attribute.
Cheers
Lex
I bumped the default maximum depth to 10 and emit a warning if the maximum depth
is exceeded. This may result in spurious warnings if an included file with an
include depth of one contains include macros that really are meant to be
displayed literally -- but I think the benefits outweigh the possibility of
nuisance warnings.
See:
https://code.google.com/p/asciidoc/source/detail?r=19300a0fce1cb8305123d4049a84b6937e939084
Cheers, Stuart
/anders
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/asciidoc/-/uSyJSwRBheUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.