3 ms·
A couple of years ago I tried, vainly, to make that PDF into a more friendly format by splicing the pages so that they would form a PDF made of single pages. No
by MistahKoala 11y ago
A couple of years ago I tried, vainly, to make that PDF into a more friendly format by splicing the pages so that they would form a PDF made of single pages. No joy, unfortunately. I haven't attempted an epub of it yet.
- e12e 11y agoWith the help of[1] and some glue code[2]: if __name__ == "__main__": import argparse parser = argparse.ArgumentParser( description=("Split up pdf from 2-up " "to single page")) parser.add_argument("src", help="Source file") parser.add_argument("dst", help="Destination file") args = parser.parse_args() split_pages2(args.src, args.dst) I produced a PDF[3] that appears to look ok at first glance (bit off on the margins, perhaps?). [1] http://stackoverflow.com/questions/13345593/split-each-pdf-page-in-two http://stackoverflow.com/questions/13345593/split-each-pdf-p... [2] https://gist.github.com/ebe2445416ed8b683d93 https://gist.github.com/ebe2445416ed8b683d93 [3] https://e12e.github.io/files/introcyb-split.pdf https://e12e.github.io/files/introcyb-split.pdf
- MistahKoala 11y agoOh, good effort! Looks much better than what I managed.