You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
py4amiPDF has grown through a series of tests, many of which work through the command line. This discussion is to unpick the logic and practice. "It all works somewhere" but we aren't sure which bits work where. We will try to identify the tests which work and what they actually do.
A symptom is that "pdf2html" works for WG3 chapters but not WG2 (the pages are empty)
logic flow
What operations are called in what order..
the first operation is either
pdfminer
pdfplumber
pdfplumber is built on pdfminer and gives a different set of outputs. (Neither does images well). These give HTML versions of the page. They probably have separate lines with breaks so text does not flow.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
background
py4ami
PDF
has grown through a series of tests, many of which work through the command line. This discussion is to unpick the logic and practice. "It all works somewhere" but we aren't sure which bits work where. We will try to identify the tests which work and what they actually do.A symptom is that "pdf2html" works for WG3 chapters but not WG2 (the pages are empty)
logic flow
What operations are called in what order..
the first operation is either
pdfplumber is built on
pdfminer
and gives a different set of outputs. (Neither does images well). These give HTML versions of the page. They probably have separate lines with breaks so text does not flow.the next is
then we tidy (HtmlTidy)
CSSStyles
There is a lot here...
(see
pypdf
docs)Beta Was this translation helpful? Give feedback.
All reactions