Hi,

We have our documentation in a one chapter / file format, each file is
like this:

----
= Title

some text

== First subsection

bla bla
----

Now we have these chapters as chapter1.txt chapter2.txt, etc.

We want to have per-chapter and single html output as well, so we run
asciidoc on each txt, plus a special manual.txt which is like:

----
include::introduction.txt[]

include::about.txt[]

include::quickref.txt[]
----

and so on. Given that even the type of the merged document is article,
we use a custom config to redefine "= Foo" as sect1 instead of sect0,
etc.

The config is here:

http://ftp.frugalware.org/pub/frugalware/frugalware-current/docs/merge.conf

This used to work, but recently I get:

----
$ /usr/bin/asciidoc.py --backend docbook --conf-file=merge.conf --attribute toc 
--attribute numbered --attribute sectids --attribute lang=en  --out-file 
/home/vmiklos/git/current/docs/manual.xml 
/home/vmiklos/git/current/docs/manual.txt
asciidoc: ERROR: header.txt: line 1: only book doctypes can contain level 0 
sections
asciidoc: WARNING: header.txt: line 1: missing section: [sect0]
----

Any idea what can be the problem?

Looks like the problem does not happen with 8.5.3 but it does with
8.6.3.

To reproduce:

git clone http://frugalware.org/git/pub/frugalware/frugalware-current
cd frugalware-current/docs
make manual.pdf

Thanks.

Attachment: pgpCzMsv5zhaE.pgp
Description: PGP signature

Reply via email to