Skip to content

Commit

Permalink
First commit issue euske#305
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshermansson committed Sep 14, 2022
1 parent 73a7365 commit 75db384
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Binary file added dummy.pdf
Binary file not shown.
6 changes: 6 additions & 0 deletions hello.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
5
4

1


8 changes: 7 additions & 1 deletion tools/pdf2txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ def handle_input_variables(
# output option
outfile = None
outtype: Union[OutputType, None] = None

'''
'''
for (k, v) in options:
if k == '-d':
ConverterParams.debug += 1
Expand Down Expand Up @@ -105,6 +107,10 @@ def handle_input_variables(
elif k == '-F':
ConverterParams.laparams.boxes_flow = float(v)


outfile = 'test.txt'
outtype = 'text'

convert_from_pdf(filenames, converter_params, outtype, outfile)


Expand Down

0 comments on commit 75db384

Please sign in to comment.