Klap-in / dokuwiki-plugin-imagereference

Dokuwiki plugin that creates references to images/tables in your text, like the LaTeX figure references.
https://www.dokuwiki.org/plugin:imagereference
0 stars 7 forks source link

Latex rendering #4

Closed Wrent closed 10 years ago

Wrent commented 10 years ago

Hello,

I have maybe found a possible bug in your plugin. When the rendering of latex is used, your plugin generates the syntax error in LaTeX output file, when it tries to insert a table or a figure.

I think, the bug is in imgcaption.php file on line 200, the closing } bracket is missing.

Am I right this is a bug? Or is that on purpose?

Have a nice day, Adam.

Klap-in commented 10 years ago

I think you are right. It is fixed in b51b1ab10779ecc9f732f0dfbf95404a5ed3bf31 Can you test it?

Thanks for the report!

I haven't self a latex installation at the moment. So when you see other latex issues, i like to know them!

Wrent commented 10 years ago

Hello,

thanks, yeah, this works, I've fixed that in my local copy same way before.

Thank you for fixing that.

Btw in my document, [H!] option does not work, it puts all the figures to the end of the document. When I changed it to [h!], it magically started to work. But maybe it's just the case of my specific document

Klap-in commented 10 years ago

Commit f402f017ef changes H! to !h