Issue #896 resolved

cannot specify verboptions for latex formatter on the commandline

Anonymous created an issue

I tried to specify the verboptions for the latex formatter but failed. The verboptions are a comma separated list of key=value pairs. The problem is, that the option list read from the commandline is also a comma separated list of key=value pairs.

It is thus not possible to specify verboptions on the commandline. If it should nevertheless be possible, it is not documented how it is possible.

Comments (2)

  1. Andrew Pinkham

    It is possible to do so, but I agree it is not immediately clear how to. For example:

    $ pygmentize -l python -f latex \
      -P "verboptions=frame=single,framesep=2pt" code.py
    
  2. Log in to comment