mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Enable SVG export of XFig figures for XHTML.
(cherry picked from commit a45ffddb23
)
This commit is contained in:
parent
ad8b479c71
commit
151e004ab1
@ -921,6 +921,7 @@ def checkConverterEntries():
|
||||
if fig2dev == "fig2dev":
|
||||
addToRC(r'''\converter fig eps "fig2dev -L eps $$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 pdftex "python -tt $$s/scripts/fig2pdftex.py $$i $$o" ""
|
||||
\converter fig pstex "python -tt $$s/scripts/fig2pstex.py $$i $$o" ""''')
|
||||
|
@ -264,6 +264,12 @@ Template XFig
|
||||
ReferencedFile docbook "$$AbsPath$$Basename.eps"
|
||||
ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
|
||||
FormatEnd
|
||||
Format XHTML
|
||||
Product "<img src=\"$$AbsOrRelPathMaster$$Basename.svg\" />"
|
||||
UpdateFormat svg
|
||||
UpdateResult "$$AbsPath$$Basename.svg"
|
||||
ReferencedFile xhtml "$$AbsPath$$Basename.svg"
|
||||
FormatEnd
|
||||
TemplateEnd
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user