NAME
pdfedit - Editor for PDF files
SYNOPSIS
pdfedit [file(s)] [--help] [--version] [-d (n)] [-console] [-script
(filename)] [-run (filename)] [-eval (code)] [-s (filename)] [--]
OPTIONS
--help Print brief help about commandline options to STDOUT and exit
--version
Print version of editor to STDOUT and exit
-d (n) Set verbosity of debugging messages reported by editor. Only
messages below or equal level specified in parameter will be
shown, default is debugging level 1. Also, any of symbolic
constants defined below (case insensitive), or starting part of
them may be given instead of corresponding number.
Explanation of debugging levels
0 PANIC Critical errors
1 CRITICAL Critical errors, but at least the program can exit
somewhat gracefully
2 ERROR Usual errors
3 WARNING Comments about some unusual behavior
4 INFO Information about some internal behavior
5 DEBUG Debugging messages
Setting this to -1 mean no debug messages will be shown at all,
not even the most critical ones. Debugging messages are sent to
STDERR.
-console
Run in commandline mode. No editor windows are opened and
commandline init script is executed.
-script (filename)
Run script with given filename. Look for the script in script
path. If not found, look for the script in current directory.
-run (filename)
Run script with given filename, but unlike -script option,
script path is not searched.
-eval (code)
Evaluate given script code
-s (filename)
This is just shortcut for -console -script (filename)
-- Stop processing options. Any further parameters after this one
are treated as filenames. This can be useful if you want to open
file, that have name beginning with a dash.
DESCRIPTION
You can specify any number of filenames as parameters on commandline.
One window will be opened for each file specified. If no file is
specified on commandline, editor will be loaded initially empty.
Name of files can be mixed with options (parameter that begin with a
dash). Invalid option on commandline will cause editor to abort with
error message. Names of options are case sensitive.
Options which require a parameter can be specified in "short form",
like -d1 or "long form", like -d 1 , both of these mean option -d with
parameter 1
Use -script , -eval and -run options to run any script besides the
init script. These parameters are run/evaluated in the order they are
specified on commandline and may be specified multiple times. If these
parameters are specified in GUI mode, they are used in each window
opened on program start, in commandline mode (console mode) they are
used after commandline init script. After these scripts finish
execution, the editor terminates.
LOCALIZATION
PDF Editor is run in english language by default, but by setting
environment variable LANG before launching the program, you can tell
PDF Editor to look for specific language file. If the localization you
requested is not available, english will be used instead.
Aside default english, these localizations are available:
cs - Czech
de - German
es - Spanish
ru - Russian
fr - French
zh_TW - Chinese (traditional)