I will disappoint you: there is no way to include inline graphics with the method described in this document - see Section 7.1.6 for the reason.
Well, almost...![]()
You have always the possibility to write SGML in LyX: just create an environment (Section 5.1) of type SGML and enter your text (in <para> elements), followed by
<inlinemediaobject>
<![ %output.print.png; [
<imageobject>
<imagedata fileref="./images/1.png" format="PNG">
</imageobject>
]]>
<![ %output.print.pdf; [
<imageobject>
<imagedata fileref="1.pdf" format="PDF" scale="65">
</imageobject>
]]>
<![ %output.print.eps; [
<imageobject>
<imagedata fileref="1.eps" format="EPS">
</imageobject>
]]>
<![ %output.print.bmp; [
<imageobject>
<imagedata fileref="1.bmp" format="BMP">
</imageobject>
]]>
<textobject>
<phrase>Inline graphic</phrase>
</textobject>
</inlinemediaobject>
|
Substitute “1” with the basename of the inline graphic (i.e. the name without path information and without ending). Of course all necessary formats (PNG, EPS, PDF and BMP) with the right density settings must be available under the ./images directory, see Section 4.9.
![]() |
Caution: | ||
|---|---|---|---|
|
You must insert the above SGML code without introducing newline characters, which in LyX will produce
|
| Last updated Mon Sep 24 01:19:25 CEST 2007 | Permalink: http://www.karakas-online.de/mySGML/lyx-inline-graphics.html | All contents © 2002-2007 Chris Karakas |