Any ideas on how to convert PDF to EPUB with fixed layout in Switch?
It seems that most of the online tools available will all generate a reflowable EPUB. I need it to be fixed layout.
PDF to EPUB
- JimmyHartington
- Advanced member
- Posts: 312
- Joined: Tue Mar 22, 2011 7:38 am
Re: PDF to EPUB
In my search I found this, which claims to create fixed layout epubs.
But on macOS you need to run it through Docker.
https://github.com/dodeeric/pdf2epubEX? ... me-ov-file
I have some time available if you would like me to test with a file?
But on macOS you need to run it through Docker.
https://github.com/dodeeric/pdf2epubEX? ... me-ov-file
I have some time available if you would like me to test with a file?
- JimmyHartington
- Advanced member
- Posts: 312
- Joined: Tue Mar 22, 2011 7:38 am
Re: PDF to EPUB
I have now tried with this file: https://d.pr/f/UPeWId
And it has made this fixed lay-out epub: https://d.pr/f/3Foyul
I needed to install docker https://docs.docker.com/desktop/install/mac-install/
And then ran this command in the terminal
It ask for some info when running. It does not seem to be possible to set these parameters in the command line.
And it has made this fixed lay-out epub: https://d.pr/f/3Foyul
I needed to install docker https://docs.docker.com/desktop/install/mac-install/
And then ran this command in the terminal
Code: Select all
docker run -ti --rm -v `pwd`:/temp dodeeric/pdf2epubex pdf2epubEX dictionary.pdf
Re: PDF to EPUB
I actually tried that already, but I'm getting this error:
"WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested"
...apparently because I'm running on a Mac with the M1 processor (ARM). Not an expert in Docker, so I'm not sure where to change something.
"WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested"
...apparently because I'm running on a Mac with the M1 processor (ARM). Not an expert in Docker, so I'm not sure where to change something.
- JimmyHartington
- Advanced member
- Posts: 312
- Joined: Tue Mar 22, 2011 7:38 am
Re: PDF to EPUB
I run it on a M2 MacBook Pro and it just worked.
But it only worked for me if the pdf-filename does not contain any spaces.
But it only worked for me if the pdf-filename does not contain any spaces.