On 2009-10-25, Abdelrazak Younes wrote:

> As Jürgen, I would personally offer one unique default entry for 
> DVI, PDF, PS and HTML

as well as the different LyX format versions (currently taking up 1/3
of the menu space) and "Plain text".

> *But* I would also make all the other available converters through an
> "export dialog" (File -> Export->Others...). In this dialog all
> converters would be listed, 

I like the idea of one common File>Export menu entry for all
non-default converters (as opposed to "one default + one submenu" for
every output format).

This could be done by extension of the already existing "custom"
dialogue (modeled on the "open with" dialogue of file managers):

+ Optioanlly rename to "Other formats".

+ Add a check box: "[ ] use this converter as default".

+ Label the "Command" input line at the bottom as "Custom" or "Custom
  converter" (and provide a complete example in the tool-tip).
  or let "Custom" open the "converter-chain configurator" dialogue described
  below).

> possibly sorted by export types.

Sorting is a must and should also be done for the menu entries in branch.

This can be done alphabetic sorting after renaming some entries:

CJK LyX 1.4.x (big5)     -->    LyX 1.4.x (CJK big5)  
CJK LyX 1.4.x (euc-jp)   -->    LyX 1.4.x (CJK euc-jp)
CJK LyX 1.4.x (euc-kr)   -->    LyX 1.4.x (CJK euc-kr)

LyX HTML                 -->    HTML (LyX)

Plain text               -->    Text (LyX)
Plain text (ps2ascii)    -->    Text (ps2ascii)          

Especially the current "LyX HTML" is rather misleading: it looks like one more
LyX file format.


Converter Chain Configurator
----------------------------

Here I envisage something modelled after e.g. a soft synthesizer, where
you can drag and drop building blocks like [latex], [dvips], or
[latex2html] to form a chain like e.g.:

Postscript:    [LyX->latex]-->[latex]-->[dvips]-->[write]

LilyBook:      [LyX->pdflatex]-->[LilyBook]-->[pdflatex]-->[write]
  
HTML (LyX):    [LyX->html]-->[write]
  
HTML (elyxer): [LyX->lyx]-->[eLyXer]-->[write]
  
* The building blocks have a contex menu allowing configuration
  (e.g. [write] should allow setting the output file extension or name).

* New building blocks can be defined and named clicking on
  the special block [New].

* Chains can be saved (under a new name or overwriting an existing chain)
  or directly used for a custom export.

* All chains starting with [LyX] will appear in the File>Export>Other
  selection list.
  
* All chains ending with [LyX] will appear in the File>Import>Other
  selection list.  
  
Günter

Günter

Reply via email to