Hi,

On Mon, Jan 24, 2011 at 09:09:24PM +1300, Stuart Rackham <[email protected]> 
wrote:
> I used your config with this document:
> 
> 8<----
> = Test
> 
> include::t2.txt[]
> 8<----
> 
> And included this document t2.txt:
> 
> 8<----
> = Document Title
> 
> == Included Section
> Lorum ipsum.
> 8<----
> 
> It worked fine, no errors, so there's something else going on.
> 
> You could use the leveloffset attribute which would obliviate the need for a 
> config file, see:
> http://www.methods.co.nz/asciidoc/userguide.html#X90

First, sorry for the slow reply.

My reproducer has "_ Test" in it, not "= Test".

However I agree that it's great if we can avoid a custom config, so I
tried that, but it seems I miss something. Here is what I tried:

$ cat a.txt
= A

Aaa.
$ cat b.txt
= B

Bbb.
$ cat index.txt
Combined Document Title
_______________________

:leveloffset: 1

include::a.txt[]
include::b.txt[]
$ asciidoc index.txt
asciidoc: ERROR: index.txt: line 5: section title not permitted in delimited 
block
asciidoc: ERROR: index.txt: line 1: [blockdef-quote] missing closing delimiter

Thanks!

Attachment: pgprCYZw0srgI.pgp
Description: PGP signature

Reply via email to