Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdf2html does not obey --maxpage #6

Open
petermr opened this issue Nov 14, 2022 · 0 comments
Open

pdf2html does not obey --maxpage #6

petermr opened this issue Nov 14, 2022 · 0 comments

Comments

@petermr
Copy link
Owner

petermr commented Nov 14, 2022

py4ami 0.0.40 does not stop after maximum pages:

pm286macbook:junk pm286$ py4ami PDF --pdf2html pdfplumber --inpath /Users/pm286/projects/semanticClimate/ipcc/ar6/wg3/Chapter02/fulltext.pdf  --outdir /Users/pm286/misc --maxpage 10
WARNING:root: *** ARG_DICT {'version': False, 'command': 'PDF', 'flow': True, 'footer': 80, 'header': 80, 'inpath': '/Users/pm286/projects/semanticClimate/ipcc/ar6/wg3/Chapter02/fulltext.pdf', 'maxpage': '10', 'outdir': '/Users/pm286/misc', 'outstem': 'fulltext.flow', 'outform': 'html', 'pdf2html': 'pdfplumber', 'pages': 'all_pages', 'resolution': 400}
WARNING:root: *** ARG_DICT {'version': False, 'command': 'PDF', 'flow': True, 'footer': 80, 'header': 80, 'inpath': '/Users/pm286/projects/semanticClimate/ipcc/ar6/wg3/Chapter02/fulltext.pdf', 'maxpage': '10', 'outdir': '/Users/pm286/misc', 'outstem': 'fulltext', 'outform': 'html', 'pdf2html': 'pdfplumber', 'pages': 'all_pages', 'resolution': 400, 'outpath': PosixPath('/Users/pm286/projects/semanticClimate/ipcc/ar6/wg3/Chapter02/fulltext.html')}
 wrote html /Users/pm286/misc/fulltext.flow_0.html
 wrote html /Users/pm286/misc/fulltext.flow_1.html
 wrote html /Users/pm286/misc/fulltext.flow_2.html
 wrote html /Users/pm286/misc/fulltext.flow_3.html
 wrote html /Users/pm286/misc/fulltext.flow_4.html
 wrote html /Users/pm286/misc/fulltext.flow_5.html
 wrote html /Users/pm286/misc/fulltext.flow_6.html
 wrote html /Users/pm286/misc/fulltext.flow_7.html
 wrote html /Users/pm286/misc/fulltext.flow_8.html
 wrote html /Users/pm286/misc/fulltext.flow_9.html
 wrote html /Users/pm286/misc/fulltext.flow_10.html
 wrote html /Users/pm286/misc/fulltext.flow_11.html
 wrote html /Users/pm286/misc/fulltext.flow_12.html
 wrote html /Users/pm286/misc/fulltext.flow_13.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant