Christian Moe <m...@christianmoe.com> writes: > It seems LibreOffice 4.1 now requires that draw:frame elements wrapping > images be uniquely named with the draw:name attribute if there's more > than one of them. > ... > So we may need a fix for the corner case of identical captions as > well.
Why do we need meaningful 'draw:name' values at all? And why use the caption for it? Just adding 'draw:name="Image%u"' and incrementing the index after each use seems to be enough. Alternatively, '#+NAME:' seems to be a much better choice than #+CAPTION. Enrico