I'm interested in fixing this bug to allow the use of TikZ and PSTricks in instant-preview: http://www.lyx.org/trac/ticket/7042
I was thinking to add an option document-specific to choose wheter use dvipng or the legacy method in the instant preview. Then use this information to decide whether to use legacy_lyxpreview2ppm.py or lyxpreview2bitmap.py to do the conversion. I've found this should be done in PreviewLoader.cpp, but how and where should I add a document-specific option? Ale
