On 26/03/2011 6:12 PM, Jean-Marc Lasgouttes wrote:
Le 26/03/11 00:43, Julien Rioux a écrit :
This would be a somewhat big change. As we can see right now when using
non-TeX fonts, some output options creep in, such as DVI. Removing the
latex and pdflatex backends is not enough. We need to check every single
converter path for the LATEX or PDFLATEX flags. So I introduce a new
flag OTHER and make it the default (instead of LATEX). Then, when using
non-TeX fonts, check for LATEX and PDFLATEX in the converter path and
purge them.

I would prefer something less hardcoded where we tell to the converter
graph code what are the acceptable flags for converters.

But I had something like this in mind too.

JMarc


The hardcoding is no worse then what you already have in Buffer.cpp:doExport(). In fact if we wanted to move all such hardcoding in one place, it could be moved to Buffer.cpp:getOutputFlavor()

Can I put it in?

--
Julien

Reply via email to