Hello guys.

I ran into the same issue when compiling git-web--browse.txt (of Git
1.7.3.2) with asciidoc 8.6.2.
I have reduced the input and ended up with this input as file
broken.txt:

==BEGIN===========================================
git-web{litdd}browse(1)
=======================

NAME
----
git-web--browse - git helper script to launch a web browser

sdsds
-----
litdd resolved to "{litdd}"
==END=============================================

and this into asciidoc.conf:

==BEGIN===========================================
[attributes]
litdd=--
==END=============================================

Now I run asciidoc:

  # asciidoc -b xhtml11 -d manpage -f asciidoc.conf -o broken.xml
broken.txt
  asciidoc: WARNING: broken.txt: line 2: blank section title
  asciidoc: ERROR: broken.txt: line 2: malformed manpage title

Interestingly I do not get the error when passing attribute from the
command line like this:

  # asciidoc -b xhtml11 -d manpage -f ./asciidoc.conf -
alitdd='--' -o git-web--browse.xml broken.txt

When run with -v I get

  # asciidoc -v -b xhtml11 -d manpage -f asciidoc.conf -
alitdd='--' -o broken.xml broken.txt
  asciidoc: reading: /usr/share/asciidoc/asciidoc.conf
  asciidoc: reading: /home/sping/Desktop/asciitest/broken.txt
  asciidoc: reading: /usr/share/asciidoc/xhtml11.conf
  asciidoc: reading: /usr/share/asciidoc/filters/source/source-
highlight-filter.conf
  asciidoc: reading: /usr/share/asciidoc/filters/code/code-filter.conf
  asciidoc: reading: /usr/share/asciidoc/filters/latex/latex-
filter.conf
  asciidoc: reading: /usr/share/asciidoc/filters/graphviz/graphviz-
filter.conf
  asciidoc: reading: /usr/share/asciidoc/filters/music/music-
filter.conf
  asciidoc: reading: /usr/share/asciidoc/lang-en.conf
  asciidoc: reading: /home/sping/Desktop/asciitest/asciidoc.conf
  asciidoc: writing: /home/sping/Desktop/asciitest/broken.xml

Please let me know what further info you need to track it down.

Best,



Sebastian

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

Reply via email to