Forum Replies Created
-
AuthorPosts
-
jpannier
MemberHi Anne-Marie,
thanks for your thoughts. Sure I know your Lynda.com title ;-). And you don’t have to go the way around with the rtf. It’s enough when you cut the index/toc and place it back directly in InDesign. Then the export will ‘see’ it. Don’t ask me why.Yes, my problems are the links within the index. I was wondering if there is a possibility to change the kind of entry – in this case from a hyperlink to a page to a hyperlink to the corresponding index-entry. This would make sense – even in an ePub.
I started to add a marker additionally to the (in this case) name of an author. Then I changed the hyperlink in the index from page based to text anchor based. If I now look in story editor view at the name of an author in the story I have these two little signs.
But to be honest – this is all crap. It’s a book and I’m using CS5 and you know what happens to links within book files. So instead I’m doing all this creasy workarounds and fixing the links in the html docs. It would be easier, the user would do a text search within the ePub ;-).Thanks for the link tipp.
Jeldrik
jpannier
MemberDid you place the frame over the border of the page? Sometimes this confuses Acrobat because it wants to show the whole thing.
What’s about your placeholder image settings? Did you use an image as a first frame? Sorry, I don’t know the English term.
jpannier
MemberThe trick with the footer sounds good but as you already experienced you need a footer row ;-).
As far as I know there’s no way of telling InDesign to detect the last row in a table at the end of a text frame. And the table style will only apply the stroke at the top and at the very end – once.
jpannier
MemberI don’t think there’s a character attribute. But why you don’t use the paragraph attribute of ‘keep lines together’ or the paragraph starting position? Or do I miss understand you?
jpannier
MemberUpdate:
Recently Apple offered an update for iBooks – now ePubs are hyphenated. I didn't check in detail the quality yet, but that gives Edens question a new spin.
jpannier
MemberHi Eden,
I personally don’t like justified text in an ePub. Because there are NO hyphenation at all! So in many cases your text is forced to create holes.
And there’s another thing. Even if you set your text via CSS to left align, not every reader will interpret this. E. g. the iPad/eBooks makes problems. Steve wants you to read justified text. But you can go and change this behavior under settings-eBooks on the iPad. But I guess only few users know about this ‘feature’ ;-).Jeldrik
jpannier
Membercan you mail me your ePub and maybe the video (if it's not tooo big or I take an smal sample). j.pannier@synp.net
Mmh, when the iPad cannot sync maybe it's because of the Apples playlist file – shit they always embed this in the ePub and I forgot to delete it. If you look into the ePub-file you can delete this file – it's on the first level.
jpannier
Memberyes, you can send me your ePub file. You also can try the code I wrote above. Just edit and place the code – at the end of a paragraph – somewhere in your ePub. I uploaded an example: https://www.synp.net/fileadmin/…..ample.epub (I hope now the link is correct ;-)
There you can see how the code works and where to create the new movie-content-folder. It's not a big thing. Oh keep in mind: Adobe Digital Editions will not play the video! ADE can't deal with this peace of HTML 5. It's a crazy world out there. Like the beginning of the internet. Load the ePub to your iPad.
Jeldrik
jpannier
MemberYes, being in Kansas City would be much easier. And we could discuss this whole issue while drinking a beer ;-).
If you really want to dive into the wild world of creating ePubs, I highly recommend Liz Castros book about this topic. And no, you cannot insert a movie or code in InDesign, therefore you have to unzip the ePub and tweak and edit the XHTML-file itself.
jpannier
MemberYou should try to export your manuals as real ePub. Because the iBook-App of the iPad can play videos and audios. You can embed these via HTML 5 commands into the XHTML-file. Here’s an example:
<video src=”movies/WTC-kurz.mp4″ controls=”true” width=”320″ height=”240″ autoplay=”false”>In case the player cannot play the video – you read this.</video>The source points to an folder inside the ePub-file container “movie”.
PS Sigil a quiet good tool for working with ePub but it cannot deal with HTML 5 commands and will not show them even if they’re in the code. This is strange.
jpannier
MemberWhy the object did not centered!
To give this thread a good ending. Here the result after examination of Eden’s file.
Problem:
An inline graphic did not align centered after the export to ePub even though an extra paragraph style was applied to it.
Reason:
The image was grouped with its caption and then placed as inline object. To group images and captions makes sense especially when using the (live) caption feature of ID or when arranging two images with captions beside each other. But during the export to ePub InDesign skips the applied paragraph style because it detects a group – don't ask me why. This is the reason why the xhtml-code states “div class= “group””. Now you have two ways to deal with this issue:
a.
You group the image and the caption as before. Then apply an object style (e. g. inlineImage) to this group. After export to ePub the xhtml-code will state “div class=”inlineimage”. Because of the defined object style you'll find an empty style within the CSS file “div.inlineimage”. Now you can tweak the CSS file and ad “text-align: center;” to the div.inlineimage entry. Now the image should be centered. Furthermore you have to change the alignment for the caption as well.b.
If you only want to place one image with one caption you don't group the image and the caption. So you don't have to create an object style and InDesign will interpret the image as part of a paragraph.jpannier
Membersure. Here in indesignsecrets forum “InDesign Add-ons (Scripts, Scripting, and Plug-ins)” ;-).
jpannier
MemberHi Eden,
what I can tell you is, that your image isn’t part of a paragraph. Here’s an example:
<p class=”inlineobjekt”><span class=”bildinlineobjekt”><img alt=”Rath_Ackermann.jpg” class=”bildinlineobjekt” src=”../Images/Rath_Ackermann.jpg” /></span></p>The important thing is the p class.
with the corresponding CSS:
p.inlineobjekt {
font-family: serif;
line-height: 1.19em;
font-size: 0.88em;
margin-bottom: 2.00em;
margin-top: 2.00em;
text-indent: 0.00em;
margin-right: 0.00em;
margin-left: 0.00em;
text-align: center;
font-weight: normal;
font-style: normal;
color: rgb(0,0,0);
width: auto;
}Here some good sources:
Liz Castro with her book about ePub:
https://www.pigsgourdsandwikis.com/Cari Jansen has a lot of tipps too:
https://carijansen.com/For editing an ePub-file try sigil:
https://code.google.com/p/sigil/Hoping all the links are working. If not, send me an email j.pannier@synp.net
Jeldrikjpannier
MemberTry this:
^[ul |,:;)(-]+(?=?)
This will look for the beginning of a paragraph (^) followed by any word character or ,;:()- (maybe I forgot some characters) followed by a ? (positive lookahead)
But the ? will not be include within the marked sentences.
Hope this will help.
PS For this question there’s an extra forum dealing with scripts and GREP. There’re reading the really smart guys ;-)
jpannier
MemberAre you sure that the paragraph and the class name of the CSS really match? Take a look at the xhtml file and look for this specific piece of code. To have something to compare – maybe this ePub will help you. https://www.synp.net/fileadmin/…..-2010.epub It’s in German but just look for the images and the particular code and the corresponding CSS.
Jeldrik
-
AuthorPosts
