On Sat, 21 Oct 2000, Dekel Tsur wrote:

> Here is a "make Jose happy" patch:
> 
> 1. The patch adds a distinction between format name and extension.
> Using the \format lyxrc tag we can define in lyxrc
> 
> #        name  extension "pretty name"
> \Format linuxdoc sgml   Linuxdoc
> \Format docbook  sgml   Docbook
> etc.

Where is pretty-name used?  (yeah, I should just look at the patch ;-)
 
> 2. Previously, when you had a linuxdoc document, in the view/export menus
> contained "HTML (using sgml2html)" AND "HTML (using tth)" (i.e. using the chain
> linuxdoc->tex->html), but we only want the first option.

Why?  If you want to limit possible export paths then why not just limit
to the shortest paths.  That is build your list of possibilities but only
include conversions of shortest path lengths and if two paths are of equal
length leave them in.

That way you can ignore the linuxdoc->tex->html path but it won't affect
latex->html via latex2html or tth.

What if linuxdoc->tex->html gives better results for certain cases or at
least gives the look that user wants should we really be limiting their
choices?

> I've added a converter flag that allows solving this problem.
> In the following example, the latex->html converter will not be used when the
> document is Linuxdoc/Docbook:
> \converter latex html "tth ..." "disable=linuxdoc&docbook,..."

This is starting to look messy.

Allan. (ARRae)

Reply via email to