Julien Rioux 2bd747fad4 Add command-line arguments to lyxpreview2bitmap.py
Add command-line arguments in a standard unix fashion, using getopt.

    Usage: ./lyxpreview2bitmap.py <options> <input file>

    Options:
      -h, --help:    Show this help screen and exit
      --dpi=<res>:   Resolution per inch (default: 128)
      --png, --ppm:  Select the output format (default: png)
      --fg=<color>:  Foreground color (default: black, ie '000000')
      --bg=<color>:  Background color (default: white, ie 'ffffff')
      --latex=<exe>: Specify the executable for latex (default: latex)

    The colors are hexadecimal strings, eg 'faf0e6'.

The changes to PreviewLoader.cpp break the preview of lilypond-book
and japanese files, but they will be handled in the next commits.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39657 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 18:22:43 +00:00
..
2011-09-10 05:35:54 +00:00
2007-12-02 22:10:26 +00:00
2011-04-02 11:00:19 +00:00
2011-08-29 14:07:30 +00:00
2011-02-21 19:56:43 +00:00
2003-10-13 09:50:10 +00:00
2011-06-20 10:04:13 +00:00
2011-06-20 10:04:13 +00:00
2011-08-29 14:07:30 +00:00