Jürgen Spitzmüller wrote:
> * in configure.py, check for \viewer_alternatives and
>  \converter_alternatives  next to the \viewer and \converter we already
>  check for. That is: the first found viewer/converter in the list
>  (currently the one that is used exclusively) is stored as \viewer or
>  \converter (as we do already), but we continue the search and store the
>  other found ones as \viewer_alternative and \converter_alternative. 

More precise: we store _all_ found ones as alternatives, also the selected 
one. E.g.

\viewer pdf kpdf
\viewer_alternatives pdf kpdf
\viewer_alternatives pdf acroread
\viewer_alternatives pdf okular
\viewer_alternatives pdf xpdf

means: kpdf is selected as viewer, and the combo lists kpdf|acroread|okular|
xpdf as predefined choices.

> * In the preferences dialog, you can then select from a list of
>  preconfigured  viewers (I've implemented a combo for this). For the
>  converters, we should add the "alternative" converters to the browser and
>  add a check box to enable/disable converters in the menu (with the
>  "alternatives" deselected by default). Thus, the \converter rc would need
>  a "menu" flag.

Thus, we probably do not need a menu flag. We just need to store the ones we 
want to show as \converter, and we would allow multiple \converter's for a 
given chain.

Jürgen

Reply via email to