Hello,

I have a document written in asciidoc. 

It contains many headings that have been underlined thus:

Introduction
------------

When I run a2x and ask it for PDF output, all of the text that has been 
underlined as shown above has had "Chapter 1" or Chapter 2" etc prepended 
to it.

I am totally new to asciidoc and docbook - can someone help me work out 
what is causing this and more importantly how to stop it?

The command being used to generate the PDF is:

a2x -v --icons-dir=${DOCDIR}/images ${ADFLAGS} -a dtype="CLI" -a data-uri 
-a icons \
-a toc -a toclevels=1 -a toc-placement=manual -a toc-title="Contents" \
-d book -f pdf -r ${DOCDIR}/generic/ 
--xsl-file=${DOCDIR}/generic/g_custom.xsl --xsltproc-opts "--stringparam 
toc.section.depth 0" --fop cli_ref.adoc

Many thanks in advance.

H.

-- 
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