Hello,
I am trying to bulk convert epubs from a variety of sources to new epub entries that are mirrored versions of themselves (so the text would read correctly if viewed in a mirror; images can be mirrored or not). So far I have done this to a few individual books using Sigil, adding something like the following the the stylesheet:
.body {
display: block;
-webkit-transform: scale(-1,1)
}
And then adding a <div class="body"> tag at the beginning of <body> for each of the html files, closing it at the end of the document. I do not know if this is the best or most efficient way but it displays correctly mirrored in calibre and on my phone. It works well but I would like to do it for a couple hundred epubs, which would be time consuming, so I thought calibre conversion might be the answer.
These epubs come from a variety of sources, from project gutenburg to library downloads and others. Is there any way to batch convert them all to mirrored versions of themselves? Better yet, to produce new entries in calibre, each with the original title + "Mirrored", and a different UUID so that my phone will recognize them as distinct?
Thanks in advance for your help, I am happy to add any information necessary.
***
P.S. A success story: I could not display these mirrored epubs as such on my old Sony PRS-505, but I did use calibre to convert them to PDFs that could be easily read!
I am trying to bulk convert epubs from a variety of sources to new epub entries that are mirrored versions of themselves (so the text would read correctly if viewed in a mirror; images can be mirrored or not). So far I have done this to a few individual books using Sigil, adding something like the following the the stylesheet:
.body {
display: block;
-webkit-transform: scale(-1,1)
}
And then adding a <div class="body"> tag at the beginning of <body> for each of the html files, closing it at the end of the document. I do not know if this is the best or most efficient way but it displays correctly mirrored in calibre and on my phone. It works well but I would like to do it for a couple hundred epubs, which would be time consuming, so I thought calibre conversion might be the answer.
These epubs come from a variety of sources, from project gutenburg to library downloads and others. Is there any way to batch convert them all to mirrored versions of themselves? Better yet, to produce new entries in calibre, each with the original title + "Mirrored", and a different UUID so that my phone will recognize them as distinct?
Thanks in advance for your help, I am happy to add any information necessary.
***
P.S. A success story: I could not display these mirrored epubs as such on my old Sony PRS-505, but I did use calibre to convert them to PDFs that could be easily read!