Matthew Kenworthy <[email protected]> wrote:
> Okay, ground truth is POD, with HTML, PDF, wiki and Padre
> documentation autogenerated from that.
Ok.
> One big issue - inline images...
>
> My suggestion: a tag such as:
>
> PDL_image: relative::path::pgplot_example1.jpg
>
> ..in the POD documents so that it fails gracefully on a terminal, but
> has the metainfo for more graphical displays.
How about:
=for html
<img src="relative/path/Example.png"/>
Or maybe:
=begin html
<img src="relative/path/Example.png"/>
=end html
This is the solution that the perlpod man page suggests:
=begin
=end
=for
For, begin, and end will let you have regions of text/code/data
that are not generally interpreted as normal Pod text, but are
passed directly to particular formatters... For example,
=begin html
<hr> <img src="thang.png">
<p> This is a raw HTML paragraph </p>
=end html
Daniel.
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl