On Wed, Jul 26, 2017 at 01:11:28AM +0200, Uwe Stöhr wrote:
>
> 1. You write in the note that one should add these preamble lines:
> \usepackage{float}
> \floatstyle{plaintop}
> The package float is already loaded if the user uses a non-default float
> placement for the document. So shouldn't it be checked if this package is
> already loaded?.
One can use \usepackage{whatever} multiple times when no options are
specified. So, unless float was loaded as \usepackage[someoption]{float},
there should be no problem.
> Isn't \floatstyle dangerous because it will affect all following float
> definitions? I would therefore at leas add a hint to input these 2 lines as
> last thing of the preamble.
Yes, this is a good idea and it fits well because minted is loaded after
the user preamble.
> 2. You write that
> "requires additional software (the pygments python module) and the
> -shell-escape option for the LaTeX backend, which allows arbitrary code
> execution."
> What does that mean?
I imagine you are asking while dressing your user hat...
> What is the pygments python module? and how do i
> connect it with LyX?
This is explained in the minted manual that also hints at how installing
it. I don't know how that works on Windows, but I imagine that should be
no problem as in the past you also installed other python modules. It might
boil down to simply issuing the command
pip install Pygments
from a command prompt.
> What is the LaTeX backend and how do I apply the option
> -shell-escape to it?
http://lmgtfy.com/?q=FIND%3A+latex+shell+escape
--
Enrico