Forum Replies Created
-
AuthorPosts
-
Aaron Troia
ParticipantIt appears Kindle devices do not respond to HTML tags or CSS to change text from LTR to RTL, you have to manually change the direction of the Hebrew characters so they are in the reverse order for Hebrew to display correctly on Kindle devices. It seems by default Hebrew characters are displayed in RTL order and I havent found a way to disable that or keep it from happening.
Aaron Troia
ParticipantWell after some testing, the <bdo> tag works in Chrome/ADE/iBooks but appears to be ignored by Kindle devices.
Aaron Troia
ParticipantAfter searching some more, I found a handy tag to fix this,
<bdo dir="ltr">text</bdo>changes the direction with no errors from ePC https://www.w3schools.com/tags/tag_bdo.aspSeptember 28, 2017 at 7:01 pm in reply to: Combine two paragraph styles in a single TOC entry #98448Aaron Troia
Participantcould you create a second paragraph style (or dupilcate it and call it like “title2”) for the prepages? Thats what I tend to do with my front matter where I want ID to split the document but dont want it in the TOC (well I tend to add them, but have them hidden).
Aaron Troia
ParticipantHey Tera,
I’m not sure how comfortable you are with HTML and CSS, but my work arounds/hacks are either to add
border-bottom:1px solid;to my paragraph style if I want the line to go across the full width of the screen (or you can put it in a dive with width and margin values and set the width), if I want it just to extend past the text and change lengths depending on the length of your line length, I give the style an underline and add about 5 non-breaking spaces to each side of the text, its not perfect, but its the closest I’ve found to give text a bottom rule.Aaron
Aaron Troia
ParticipantSorry to say that I have long since given up on trying to keep images and their captions together, it’s almost a loosing battle and one that I really dont believe those who develop e-reader book engines really care about doing right, either that or it just might be really difficult to implement as there is no real defined page since ebooks are really just linear HTML pages linked together by the OPF XML.
That said I have used a div before with a class that uses the
page-break-inside:avoid;attribute which I think helped keep things together, but its really tedious to add around everything in your HTML. I also havent used it in awhile so I’m not guaranteeing that it is absolutely foolproof, so you may need to do some testing and see how its working on your end. I really dont know of any work arounds from working within InDesign, most of my work with this usually happens in the HTML of the unzipped ePub file after InDesign export.Aaron
Aaron Troia
ParticipantThank you for saying something Rise, I was beginning to think I was the only having this issue. With books I’ve been working on I’ve noticed some correlation between missing text and footnotes, sometimes it happens between two footnotes, other times it was a paragraph with a footnote at the end. Either way, the only reason I know it happens is because ePubCheck throws errors that my footnotes are not linked correctly and then I see that the text and footnote has dissappeared sometime during export. I’m still unsure of the reason of why its happening, but it seems rather random as to when it does happen. Not sure if that sounds similar to what you’re seeing on your end or not.
Aaron
Aaron Troia
ParticipantThe images should be anchored into the text box to keep it in place (I agree with Kai, any information about the version of InDesign you are using would be helpful as anchoring images may or may not be available in the version of InDesign you are using), but that does not guarantee that any ereaders will keep it with the lines of text preceding or following it, I mean you can open the ebook, put a div around the content you want to keep together and give it a class with “page-break-inside: avoid;”, which I have done in the past but it’s rather time consuming.
Aaron Troia
Participantoh good, I’m glad its working now. And trust me, we’ve all been there.
Aaron Troia
ParticipantYour last HTML tag (before you edited it), is still is referencing the JPG
April 12, 2017 at 10:06 am in reply to: Can Two Fonts (hieroglyphs) Be Stacked On The Same Line In An ePUB? #93677Aaron Troia
ParticipantI’m not sure how well inline-flex is across the ereaders, iBooks seems to stay ahead of the others. You might try Jquery, I found someone on stackoverflow using Jquery to create fractions which might be along the lines of what you’re looking for, seems similar to your codepen link. Though, like inline-flex, you might find issues with JQuery support, but it might be worth a try.
https://stackoverflow.com/questions/13878772/how-to-display-classic-fractions-in-css-javascript
Aaron Troia
ParticipantHey Christoph,
I might not totally understand what you are trying to do, but it sounds like you only want to add styles to number following menu items, but not the price, your GREP is actually super close, try adding a comma to your positive lookbehind like this:
(?<=[\u,])\d+?\>(?!€)I’ve tested this in InDesign with your example text and it only finds the menu item numbers and not the price on my end. Anyway let me know if that works or not on your end.
Aaron
Aaron Troia
ParticipantHey Rami,
I guess it depends, are you doing this for yourself or do you plan on marketing it? CS 5.5 wasn’t bad, I think it had an issue where it inserted an extra space in the DTD line in the xhtml files on export which caused an issue with ePubCheck validation, hopefully they fixed that by now. I believe it only exports EPUB 2.0 files, which might cause issues if apps stop recognizing the toc.ncx file, then you might have to convert it to the EPUB3 spec to work.
Aaron
Aaron Troia
ParticipantHey Christopher,
This is something I believe you will have to do manually in the CSS, check out this ePubSecrets post, Derrick Schultz does a better job of explaining it than I could,
Aaron
February 16, 2017 at 12:08 pm in reply to: Edit FindChangeList to fix double hyphens & add fixed spaces? #92270Aaron Troia
ParticipantNo problem, I’m glad I could help :) I’m glad you were able to get that one search to work! I kept trying and it was not liking one of the special InDesign metacharacters and was displaying the wrong thing.
I have used the Multi-Find/Change plugin and really liked it, it works really well and since it uses your saved Find/Change queries, it works better and offers more functionality than the script, not to mention its a lot easier to work in than the script.
-
AuthorPosts
