mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 12:40:08 +00:00
Adjusted the message for tmp-dir
Added my name in Author
This commit is contained in:
parent
762281ed5b
commit
4ffb2abb19
1
AUTHORS
1
AUTHORS
@ -13,6 +13,7 @@ John Hewson <john@jahewson.com>
|
|||||||
Michele Redolfi <michele@tecnicaict.com>
|
Michele Redolfi <michele@tecnicaict.com>
|
||||||
Mick Giles <mick@mickgiles.com>
|
Mick Giles <mick@mickgiles.com>
|
||||||
Ryan Morlok <ryan.morlok@morlok.com>
|
Ryan Morlok <ryan.morlok@morlok.com>
|
||||||
|
Marc Sanfacon <marc.sanfacon@gmail.com>
|
||||||
|
|
||||||
Packagers:
|
Packagers:
|
||||||
Arthur Titeica <arthur.titeica@gmail.com>
|
Arthur Titeica <arthur.titeica@gmail.com>
|
||||||
|
@ -210,7 +210,7 @@ void parse_options (int argc, char **argv)
|
|||||||
|
|
||||||
// misc.
|
// misc.
|
||||||
.add("clean-tmp", ¶m.clean_tmp, 1, "remove temporary files after conversion")
|
.add("clean-tmp", ¶m.clean_tmp, 1, "remove temporary files after conversion")
|
||||||
.add("base-tmp-dir", ¶m.basetmp_dir, param.basetmp_dir, "base temporary directory - will create pdf2htmlEX-XXXXXX under it")
|
.add("tmp-dir", ¶m.basetmp_dir, param.basetmp_dir, "specify the location of tempory directory.")
|
||||||
.add("data-dir", ¶m.data_dir, param.data_dir, "specify data directory")
|
.add("data-dir", ¶m.data_dir, param.data_dir, "specify data directory")
|
||||||
// TODO: css drawings are hidden on print, for annot links, need to fix it for other drawings
|
// TODO: css drawings are hidden on print, for annot links, need to fix it for other drawings
|
||||||
// .add("css-draw", ¶m.css_draw, 0, "[experimental and unsupported] CSS drawing")
|
// .add("css-draw", ¶m.css_draw, 0, "[experimental and unsupported] CSS drawing")
|
||||||
@ -360,6 +360,7 @@ void check_param()
|
|||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
// We need to adjust these directories before parsing the options.
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
param.basetmp_dir = "/tmp";
|
param.basetmp_dir = "/tmp";
|
||||||
param.data_dir = PDF2HTMLEX_DATA_PATH;
|
param.data_dir = PDF2HTMLEX_DATA_PATH;
|
||||||
|
Loading…
Reference in New Issue
Block a user