View Full Version : ID: embedded graphic


dezignlady
07-12-2011, 03:04 PM
InDesign CS5

Ok another issue I am having. There are two text dividers using Adobe Wood Type Ornaments. I converted them to outline so they are anchored objects with a style sheet attached to the paragraph, but they are not showing up on the export. Not even the paragraph is showing up. Do I need to put them in Illustrator and then place before it is recognized?

thanks

dezignlady
07-12-2011, 03:26 PM
ok answered my own question by just trying and placing the image did the trick.

Now one other question that seems to be happening. There is a ton of italic overrides in the book. I've created a character level style sheet that is just for italic, not size or font specific. When it gets to the readers, ADE or Calibre the italic is considerably smaller. Is there something I can do in the InDesign file or should I edit it at CSS level?

thanks

charleski
07-12-2011, 04:52 PM
This might be an issue with the font. Some fonts give the italic a smaller x-height to accommodate the relatively taller ascenders and descenders. The default font for ADE doesn't do this, though. It would be a lot easier to diagnose the issue if you posted an example epub.

Adjust
07-12-2011, 06:28 PM
should I edit it at CSS level?


I think you overestimating what InDesign is capable of...

Think of ID like a packet bought cake mix. It contains all the ingredients you need to produce said cake. But you still need to mix the stuff together and bake it...export out to ePub. Unzip it and edit the CSS and content.opf and metadata and and....

You see where I'm going with this...

ID is only the First step and long list of processes. You have to dumb down the InDesign file as much as you can, take out nested styles, apply character style to everything...etc etc.

Then do all your formatting by editing the CSS. (I use dreamweaver) all you are really hoping for is that ID brings accross the styles, which you can then manipulate in your CSS...

dezignlady
07-12-2011, 08:40 PM
I think you overestimating what InDesign is capable of...

ID is only the First step and long list of processes. You have to dumb down the InDesign file as much as you can, take out nested styles, apply character style to everything...etc etc.

Then do all your formatting by editing the CSS. (I use dreamweaver) all you are really hoping for is that ID brings accross the styles, which you can then manipulate in your CSS...

Yes well aware of it's shortcomings and now mine trying to wrangle the CSS back into shape. I'm primarily a print designer so am now trying to get the CSS stuff embedded in the brain.

Did find that for some reason the CSS on the span code was reducing the size of the font so was able to fix that, but now I'm finding that the page breaks haven't shown up where they were supposed to so trying to get that all straighten out.

wannabee
07-12-2011, 09:04 PM
There's a lot been written about page breaks in ePubs in the forum. I don't do page breaks except for a new chapter and indesign can do that for you when exporting. You make the first level of the TOC split files. The new file always start on a new page.

JSWolf
07-12-2011, 09:39 PM
When you export this book, do you have multiple copies of the graphic you used as a section separater? I've seen this happen in a few eBooks. I don't know if they were made with indesign or some other way. What I was thinking that every time a graphic is placed, a copy is exported. So if you use the same graphic in say 10 different places, you get 10 graphic files expoerted when you only need one.

As for your italic problem, look at the CSS after the export and fine the style used for the italics and fix it manually. You may be able to spot the problem right away. You should look at the XML to find what style it is and then go to the CSS to fix things.

dezignlady
07-13-2011, 08:53 AM
There's a lot been written about page breaks in ePubs in the forum. I don't do page breaks except for a new chapter and indesign can do that for you when exporting. You make the first level of the TOC split files. The new file always start on a new page.

Yeah except when it won't, on section of the chapter titles had a different style sheet and even tho it was in the TOC style as a level 1 it was still throwing the whole section together!

Another issue is I am getting duplicate entries on the TOC when I open it in ADE to check. What's with that?

dezignlady
07-13-2011, 08:57 AM
When you export this book, do you have multiple copies of the graphic you used as a section separater? I've seen this happen in a few eBooks. I don't know if they were made with indesign or some other way. What I was thinking that every time a graphic is placed, a copy is exported. So if you use the same graphic in say 10 different places, you get 10 graphic files expoerted when you only need one.

As for your italic problem, look at the CSS after the export and fine the style used for the italics and fix it manually. You may be able to spot the problem right away. You should look at the XML to find what style it is and then go to the CSS to fix things.

No duplicates on the graphic, especially after I took it out to Illustrator and then placed it as an inline graphic.

Yes, for some reason, even tho a size was not declared on the character style it was assigning a reduced size. I fixed it in the CSS. As well as loosing the rules.

Now the duplicate TOC.

JSWolf
07-13-2011, 10:52 AM
From all I have read on indesign, sometimes it's just going to be easier to take the exported ePub and fix some things there instead of trying to fix them in indesign.

dezignlady
07-13-2011, 10:59 AM
From all I have read on indesign, sometimes it's just going to be easier to take the exported ePub and fix some things there instead of trying to fix them in indesign.

Yes I am finding that out. But what is driving me insane is when I fix something and progressively get to where it's validating, then something else breaks!

I created a hyperlinked TOC in InDesign CS5, used the script to correct the bug to make the links work, and suddently on the fifth time or so now that TOC is not showing up in ADE but it is working in Sigil. So does this mean it's working or not!

JSWolf
07-13-2011, 11:21 AM
That means it's not working. But personally, I would prefer if the linked TpC just not exist. You don't actually need it in an ePub as long as you have a working NCX file that has all of the ToC entries. This is ePub, not Mobipocket so if you remove the linked ToC, problem solved as long as the NCX was working fine.

dezignlady
07-13-2011, 11:41 AM
That means it's not working. But personally, I would prefer if the linked TpC just not exist. You don't actually need it in an ePub as long as you have a working NCX file that has all of the ToC entries. This is ePub, not Mobipocket so if you remove the linked ToC, problem solved as long as the NCX was working fine.

Well was watching AnneMarie's Lynda.com video and she suggests adding it. It's not throwing an error just not showing up suddenly, but did previously :(

JSWolf
07-13-2011, 12:10 PM
Could you post your ToC XML file and we can have a look. Also, maybe it's not properly listed in the OPF.

dezignlady
07-13-2011, 02:10 PM
Could you post your ToC XML file and we can have a look. Also, maybe it's not properly listed in the OPF.

sure, it appears to be there in the list

dezignlady
07-13-2011, 02:57 PM
So if I open the ePub in Calibre and the linked TOC works there and it's visible then is it just an ADE thing?

dezignlady
07-13-2011, 04:38 PM
ok I don't know what I did but after a little finessing of the file in Sigil and then opening again in ADE, all is wonderful again. arrrggghhh!

So a little more clean up and then the newbie needs to know what format do I need for Kindle? will do some searching on the forum and google as well.

wannabee
07-13-2011, 08:04 PM
Duplicate entry

wannabee
07-13-2011, 08:16 PM
Sigil breaks existing TOCS when I open an ePub with it.
I've used it when it didn't break the TOC but most of the time it does so I'd always work on a copy if you use it. I don't any more I use notepad++ to edit the exported files and have only very rarely needed to work on an Indesign created TOC/NCX file. They have always been fine. Duplicate TOC entries might be due to one of the tick box selections in the export/content window.

I don't export to kindle with the kindle exporter from ID. I convert the ePub to mobi in Calibre for the Kindle store. That way I only have to edit the one package. Amazon has accepted them OK. I think they'd accept an ePub and convert it themselves for that matter.

charleski
07-13-2011, 11:52 PM
Sigil breaks existing TOCS when I open an ePub with it.

Sigil reconstructs the ToC by parsing the appropriate heading tags (<h1>, <h2>, etc) in the main text. If the chapter headers were constructed using <p> tags then they will get lost. It can be a bit of a pain, but it's hard to criticise since you should be using the heading tags to indicate logical headings in the document.

The one real benefit of InDesign 5.5 is that the paragraph styles used for chapter headings can now be linked to an appropriate heading tag so that it exports an ePub that's already properly tagged and won't run into these problems in Sigil.

wannabee
07-14-2011, 08:12 PM
but it's hard to criticise since you should be using the heading tags to indicate logical headings in the document.

I was criticized for this by our web designer. I use h1, h2 etc now. But I also have body-txt, body-txt-ctr, body-txt-it, body-txt-bld, body-txt-ind and tables. I'm not sure what Sigil would do to them so I haven't been game to use it.

dezignlady
07-15-2011, 11:26 AM
Sigil reconstructs the ToC by parsing the appropriate heading tags (<h1>, <h2>, etc) in the main text. If the chapter headers were constructed using <p> tags then they will get lost. It can be a bit of a pain, but it's hard to criticise since you should be using the heading tags to indicate logical headings in the document.

The one real benefit of InDesign 5.5 is that the paragraph styles used for chapter headings can now be linked to an appropriate heading tag so that it exports an ePub that's already properly tagged and won't run into these problems in Sigil.

Thanks. While I'm not quite into Programmer-mode when naming my style sheets all the chapter heads do have the same style sheets and are set to Level 1 in the TOC style used on Export.

I didn't use a copy so is there a way to ensure it's fine besides the fact that the Kindle previewer sees it fine, the mobi file is fine and the HTML files appear to be ok as I open them in Safari. I don't have an iPad to check the ePub on.

JSWolf
07-15-2011, 11:29 AM
Thanks. While I'm not quite into Programmer-mode when naming my style sheets all the chapter heads do have the same style sheets and are set to Level 1 in the TOC style used on Export.

I didn't use a copy so is there a way to ensure it's fine besides the fact that the Kindle previewer sees it fine, the mobi file is fine and the HTML files appear to be ok as I open them in Safari. I don't have an iPad to check the ePub on.

Do you have an iPod Touch or iPhone? They can also run iBooks.

charleski
07-15-2011, 03:44 PM
Thanks. While I'm not quite into Programmer-mode when naming my style sheets all the chapter heads do have the same style sheets and are set to Level 1 in the TOC style used on Export.

What you need to do is edit the style used for heading then go down to the 'Export Tagging' panel at the bottom of the list. Set the tag to h1 (or h2 etc for subdivisions) then type in a name to be used for the class (any name will do, though it's best to give it the same name (without spaces) as the style.

This will ensure that that style gets exported as a heading tag.

This only applies to CS5.5 BTW, it's the most useful change they made with the upgrade (apart from object instancing).