khajavi / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Captions wrong in DocBook #264

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
![Caption](image.png "Caption2")

You will get Caption2 as the caption in DocBook output of Pandoc 1.6, despite 
the usage of Caption2 is not mentioned in 
http://johnmacfarlane.net/pandoc/README.html

Pandoc should use the normal caption instead.

Original issue reported on code.google.com by schm...@gmx.de on 10 Nov 2010 at 4:59

GoogleCodeExporter commented 9 years ago
I can't reproduce this.  See below (this is with 1.6):

% pandoc -t docbook
![Caption](image.png "Caption2")

^D
<figure>
  <title>Caption</title>
  <mediaobject>
    <imageobject>
      <imagedata fileref="image.png" />
    </imageobject>
    <textobject><phrase>Caption</phrase></textobject>
  </mediaobject>
</figure>%                

As you can see, "Caption" and not "Caption2" is the caption.

I'll mark this Invalid, but if you still think there's a problem, comment on 
this bug.

Original comment by fiddloso...@gmail.com on 23 Nov 2010 at 10:56

GoogleCodeExporter commented 9 years ago
Yes. You are right. No further comment needed. I installed Pandoc 1.6 and used 
1.4. Damn $@%3§.

Original comment by schm...@gmx.de on 25 Nov 2010 at 3:55