Il 31/01/2012 05:58, Liviu Andronic ha scritto:
On Tue, Jan 31, 2012 at 1:46 AM, Tommaso Cucinotta<tomm...@lyx.org>  wrote:
However, 'makebeamerinfo' [1] supports several presets via cli
switches and via an ENV var [2]. For example, teh user can
  -t clean           makebeamerinfo's default, pageturn and wiperight
      default         that is, Impressive's default selection
      sane            selections which make sense for a Beamer presentation

or use the (exported) environment variable $MAKEBEAMERINFO_TRANSITIONS
to control this, prior to running the script.
- define three different converters, each using a different '-t'
setting. This is overkill, and would never be accepted in base LyX in
such a state.
- modify the converter prior to each run. Another overkill.

So we're at a loss as to how to elegantly allow users to modify this
setting between two subsequent runs. We hoped that an ENV var could
solve the issue. Ideas?

I'm puzzled but the fact that, between a run and the other, you may want to type a variable-name as long as MAKEBEAMERINFO_TRANSITIONS along with its value. Or, if you need to search this variable among the already available ones and just change its value, then it's anyway a long interaction, in order to find the one you want. AFAICS, just having a custom converter is quicker, and you might be free to customize the keyboard shortcuts so as to invoke the 3 converters with different shortcuts. Just, keep those customizations into your own $HOME/.lyx/... files, and you're done (well, post them onto the LyX wiki, and anyone else could benefit if interested). If they don't go mainline, you're not affected, as far as you don't wipe your $HOME/.lyx folder.

Bye,

    T.

Reply via email to