12-15-2018, 10:50 PM | #16 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
What you could do, @hythamhhl, is copy and paste the text outside of a table, but it will take a bit of work and knowledge. If you don't know what CSS is, honestly, it might be hitting above your weight class. Not trying to insult you at all; but the text could be in table rows, which wouldn't work outside of the table. You'd need a teeny bit of knowledge to do it without making the problem worse. Some readers do have issues with displaying tabular data; this isn't completely unique. BUT...if the problem persists and is driving you nuts, you might try something as simple as rotating the device sideways/landscape, see if that at least gets you the content without it being cut off. Hitch |
|
12-16-2018, 12:31 AM | #17 | ||
null operator (he/him)
Posts: 20,559
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
@hythamhhl - the code snippets you are showing don't appear to relate to the device screenshot you posted. It would help us understand your problem if they did. FWIW - I would try different apps on my phone until i found one that worked on this ePUB. IME there's no such thing as a universal ebook reader, I have 11 ereader apps on my 3 devices - not all apps are on all devices. BR Last edited by BetterRed; 12-16-2018 at 01:20 AM. Reason: typo |
||
12-16-2018, 02:25 AM | #18 | |
Member
Posts: 10
Karma: 10
Join Date: Sep 2016
Device: None
|
Quote:
same one i linked i will try different app hoping to solve the problem thank you for your help |
|
12-16-2018, 02:37 AM | #19 | |
Member
Posts: 10
Karma: 10
Join Date: Sep 2016
Device: None
|
Quote:
i copy the text and delete the tables and what am looking for is what above my weight class (no insult taken i said am total nobe) if it is not a bother can you walk me through the process of doing this (delete all the tables in the whole file at once) cause i have a lot of epub with the same problem |
|
12-16-2018, 07:08 AM | #20 |
A Hairy Wizard
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
I agree that this is probably an issue with aldiko and not with the book. Honestly, the code/css snippet you showed is one of the cleaner examples I've seen. I would listen to Hitch and BR and either rotate your screen or use a different reader.
If you are intent on deleting all references to a <table> then it will take a few find/replace steps. I've outlined the procedure below, however I would NOT do this with my books. For the example code you showed above, I would change the <table> to a <div> and transfer the CSS styling so that it looks the way the author intended...and also so you can differentiate what kinds of communication are being portrayed. Simply deleting the <table>s will make all the paragraphs look the same - you won't be able to easily tell what is a system message and what is a character talking. Here is an example of how I would code the <div>s (screenshot attached): Spoiler:
WARNING: Using this procedure may will have some unintended consequences...make a backup of your file before doing this... Open the "Find & Replace" tool (Ctrl-F if it isn't visible). Check "DotAll" and "Wrap" in the options. Select Regex and "All HTML Files" in the Mode. Enter each of the following searches, one at a time, into the find and replace fields. Click the "Find" button, then click the "Replace" button. If you are happy with the results then repeat, or you could use the "Replace/Find" to automatically go to the next instance after making the replace. OR, you could use the "Replace All" button to do it all at one go...but you cannot Undo the Replace All...again, make a backup... Search 1: Find: <td>\s*(.*?)\s*</td> Replace: \1 Search 2: Find: <tr>\s*(.*?)\s*</tr> Replace: \1 Search 3: Find: <table.*?>\s*(.*?)\s*</table> Replace: \1 If you want to try replacing the <table> with a <div> then use this as the 3rd search: Search 3: Find: <table.*?>\s*(.*?)\s*</table> Replace: <div class="msg">\n\1\n</div> EDIT: This procedure is based on your example...it assumes that all the information inside of the table is already wrapped with <p> tags. Last edited by Turtle91; 12-16-2018 at 07:17 AM. |
12-16-2018, 07:31 AM | #21 |
A Hairy Wizard
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
One other thing to try before hacking up all these books - if you aren't willing to try a different reader app - is to go into Aldiko settings and choose “publisher default” styling. That may allow it to ignore whatever internal issues it has with tables and revert to using what is in the ePub file.
|
12-16-2018, 11:19 PM | #22 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2016
Device: None
|
i did that
and it worked no errors and no tables am really really very very thankful for Turtle91 and every one that tried to help |