1

I have a program called multipandoc which takes as input a plain-text file in Perl's Plain Old Documentation (.pod) format and converts it simultaneously into .txt, .html, .pdf and .odt formats. It does so by use of the Pod::Pandoc module from CPAN.

If I wish to embed an image in the .html version of the output, I know that I can say:

=begin html

<img src="file:///tmp/images/sector-balances-over-time-sum-to-zero.jpeg">

=end html

Does anyone know what the equivalent argument would be for embedding a locally stored image in OpenOffice/LibreOffice output? That is, I would like to say something like:

=begin odt

[PATH TO IMAGE]

=end odt
toolic
  • 57,801
  • 17
  • 75
  • 117
James E Keenan
  • 281
  • 2
  • 10
  • `.odt` file is a text file, not image [OpenDocument Text Document](https://fileinfo.com/extension/odt). – Polar Bear Nov 02 '20 at 01:15
  • If you would like to include html link to local `.odt` file then use `{File Description}` instead. – Polar Bear Nov 02 '20 at 01:18
  • Browsers can't natively display those. You would need to get some kind JavaScript app that can render it. As software recommendations are off-topic, we must vote to close. – ikegami Nov 02 '20 at 06:07
  • I'd like to answer this question. He's not asking for software recommendations. It's about writing pod that will translate into the desired output. – brian d foy Nov 02 '20 at 21:26
  • brian d foy is correct. I'm simply asking for one string to go between the `=begin odt` and `=end odt` tags in the same way I already have for html. – James E Keenan Nov 03 '20 at 22:45

0 Answers0