On 11/24/2010 11:04 AM, Jürgen Spitzmüller wrote:
Pavel Sanda wrote:
this is interesting idea even for other backends like docbook
Actually, I was just working on a patch that would take the default output
format instead of just LaTeX or XeTeX for the source view. It would roughly
look as follows (without XHTML and DocBook so far, but the direction should
be clear).
The downside at the moment is that getDefaultOutputFormat return the format
name (e.g., pdf2). This is of course error-prone (e.g., if the users change
the formats), An alternative would be to additionally loop over the list of
formats and check the format name for strings such as contains("pdflatex").
Still error-prone, but maybe a bit better.
I guess the whole pdf2,pdf3 thing is the issue here, and that this might
perhaps be fixed if we ever manage
to resolve that.
What do you think?
I would suppose this was almost essential, as XeTeX etc users will be
most confused otherwise.
Richard