#!/bin/bash
for x in *.png
do
	imagen=`ls $x |awk -F.png '{print $1}'`

	echo "			<informalfigure>
				<mediaobject>
					<imageobject>
						<imagedata fileref=\"./imagenes/$imagen.eps\" align=\"center\" format=\"EPS\" scale=\"85\"/>
					</imageobject>
					<imageobject>
						<imagedata fileref=\"./imagenes/$imagen.png\" align=\"center\" format=\"PNG\"/>
					</imageobject>
					<textobject>
						<phrase></phrase>
					</textobject>
					<caption>
						<para>
						
						</para>
					</caption>
				</mediaobject>
			</informalfigure>"
done

