Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion from DocBook drops figure titles #650

Closed
kkittelson opened this issue Nov 2, 2012 · 0 comments
Closed

Conversion from DocBook drops figure titles #650

kkittelson opened this issue Nov 2, 2012 · 0 comments

Comments

@kkittelson
Copy link

I apologize if this is a duplicate -- but I've looked at #266 et al and don't think they covered what I'm seeing here.

It seems like DocBook 5.0 figure titles are being discarded completely on conversion, to markdown, html and to latex at least, using both the latest 1.9.4.2b on win32 and the online generator.

This DocBook document:

<?xml version="1.0" encoding="utf-8"?>
<article xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
    <info>
        <title>Testing</title>
    </info>
    <sect1>
        <title>Section1 Title</title>
        <para>Text</para>
        <figure>
            <title>A test figure</title>
            <mediaobject>
                <imageobject>
                    <imagedata fileref="SuitableImage.jpg" />
                </imageobject>
            </mediaobject>
        </figure>
    </sect1>
</article>

results in this latex:

\section{Section1 Title}

Text

\begin{figure}[htbp]
\centering
\includegraphics{SuitableImage.jpg}
\caption{}
\end{figure}

I'd like to see the caption filled with the figure title.

I can provide examples of the reference XSLT conversion to HTML as well, versus the Pandoc implementation that similarly drops the title information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants