lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Aug 08, 2008 at 01:16:54PM -0400, Norman Ramsey wrote:
> Has anybody written any Lua code to parse or emit the fig
> files used by the xfig and transfig packages?  It looks like
> it should be easy, so I'm hoping someone will have done it already...

You might be better off converting the xfig to SVG with transfig and
then parsing that, since you only need an XML parser and some code to
extra what you're interested in (although to extra the styling
information you would still need to parse the CSS properties).

-- 

--- Geoff Richards -------------><-------------- http://ungwe.org/ ---
"I tried to fling my shadow at the moon,
 The while my blood leapt with a wordless song."  --  Theodore Roethke