mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Enable SVG export of XFig figures for XHTML.
This commit is contained in:
parent
0b8c6bbbf8
commit
a45ffddb23
@ -927,6 +927,7 @@ def checkConverterEntries():
|
|||||||
if fig2dev == "fig2dev":
|
if fig2dev == "fig2dev":
|
||||||
addToRC(r'''\converter fig eps "fig2dev -L eps $$i $$o" ""
|
addToRC(r'''\converter fig eps "fig2dev -L eps $$i $$o" ""
|
||||||
\converter fig ppm "fig2dev -L ppm $$i $$o" ""
|
\converter fig ppm "fig2dev -L ppm $$i $$o" ""
|
||||||
|
\converter fig svg "fig2dev -L svg $$i $$o" ""
|
||||||
\converter fig png "fig2dev -L png $$i $$o" ""
|
\converter fig png "fig2dev -L png $$i $$o" ""
|
||||||
\converter fig pdftex "python -tt $$s/scripts/fig2pdftex.py $$i $$o" ""
|
\converter fig pdftex "python -tt $$s/scripts/fig2pdftex.py $$i $$o" ""
|
||||||
\converter fig pstex "python -tt $$s/scripts/fig2pstex.py $$i $$o" ""''')
|
\converter fig pstex "python -tt $$s/scripts/fig2pstex.py $$i $$o" ""''')
|
||||||
|
@ -258,6 +258,12 @@ Template XFig
|
|||||||
ReferencedFile docbook "$$AbsPath$$Basename.eps"
|
ReferencedFile docbook "$$AbsPath$$Basename.eps"
|
||||||
ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
|
ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
|
||||||
FormatEnd
|
FormatEnd
|
||||||
|
Format XHTML
|
||||||
|
Product "<img src=\"$$AbsOrRelPathMaster$$Basename.svg\" />"
|
||||||
|
UpdateFormat svg
|
||||||
|
UpdateResult "$$AbsPath$$Basename.svg"
|
||||||
|
ReferencedFile xhtml "$$AbsPath$$Basename.svg"
|
||||||
|
FormatEnd
|
||||||
TemplateEnd
|
TemplateEnd
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user