atlanhq / camelot

Camelot: PDF Table Extraction for Humans
https://camelot-py.readthedocs.io
Other
3.64k stars 354 forks source link

not able to use -copy and -strip using command line #296

Closed aborruso closed 5 years ago

aborruso commented 5 years ago

Hi, I have camelot 0.7.1.

If I run

camelot -copy v -strip ' .\n'  -p 1 -o test.csv --format csv lattice  input.pdf

I have "Error: no such option: -c".

Do I must update to 0.7.2?

Thank you

vinayak-mehta commented 5 years ago

@aborruso copy has to be used after lattice. Please check out the CLI docs.

aborruso commented 5 years ago

Thank you.

In the example I see camelot lattice -copy v copy_text.pdf.

But I think it should be better to add in the documentation "note, it's necessary to insert the option always after lattice".