On Mon, Jun 12, 2017 at 10:07:55AM +0200, Jürgen Spitzmüller wrote:
> 
> I meant: Is the checkbox disabled in context where it does not make sense
> (i.e., for docbook classes?)

No, it isn't, but it is irrelevant in this case. Currently, you can
also enter parameters even if they have no meaning in this context.
The whole Document > Settings > Listings pane should be disabled, instead.

> > It could be a one-shot use. The flag is reset after each latex run.
> >
> 
> But currently, it isn't. The note in the minted example file advises users
> to set the flag. And they would explicitly have to reset it every time.
> Chance is high that they just keep it eventually. That's my point.

However, remember that one can simply apply the changes without
saving them. So, everything is fine when LyX is restarted.

> > I think that minted does a good job here. This is the error you get:
> >
> > ! Package minted Error: You must invoke LaTeX with the -shell-escape flag.
> > See the minted package documentation for explanation.
> > Type  H <return>  for immediate help.
> >
> 
> I've seen user irritation on similar an much clearer LaTeX messages. Many
> users will not know what " You must invoke LaTeX with the -shell-escape
> flag" means.

I see. But those are desperate cases, anyway. I have also seen complaints
about what does it mean opening a terminal for issuing a command. Or even
what issuing a command means.

-- 
Enrico

Reply via email to