16 Replies Latest reply: May 21, 2012 10:40 AM by BobLevine RSS

    print to epub in ID CS5.5

    GRGold

      I have been working to convert INDB from print to epub and have several areas that are not rendering as I would like. Where do I go to find answers?

       

      To be more specific, I tested the file in the epub validator site and have tons of problems listed but don't know what to do with them.

       

      Also, I have a chapter devoted to endnotes. The text formatting that I have currently set up is a numbered list with a hanging indent. I built links from the endnote reference numbers to the appropriate number in the endnote list. When exported to epub the numbers in this list disappear. I have no idea what to do.

        • 1. Re: print to epub in ID CS5.5
          BobLevine CommunityMVP

          Do you have any knowledge of CSS and HTML?

           

           

           

          Bob

          • 2. Re: print to epub in ID CS5.5
            Steve Werner CommunityMVP

            You need to start by reading about what is possible in exporting from InDesign to EPUB. A lot can be fixed by proper preparation. But some features won't convert to CSS. Or some features have to be edited in the CSS.

             

            Best starting point is Elizabeth Castro's books on EPUB, particularly "EPUB Straight to the Point."

             

            Formatting ebooks - EPUB Straight to the Point

             

            Also, Anne-Marie Concepcion's videos on EPUB from InDesign on Lynda.com.

             

            InDesign CS5.5 to EPUB, Kindle, and iPad

             

            If Bob Levine checks in, he has a link for a free week on Lynda.com so you can watch it.

            • 3. Re: print to epub in ID CS5.5
              BobLevine CommunityMVP

              Here you go…a free one week trial: http://bit.ly/fcGpiI

               

               

               

              You’ll need a credit card but you can cancel without being charged.

               

               

               

              Bob

              • 4. Re: print to epub in ID CS5.5
                GRGold Community Member

                Bob,

                I am afraid that I have nearly no knowledge of CSS and HTML. I took a few classes several years ago, but never really put it into practice.

                Also, I have the Castro book and have watched the Lynda.com videos, but have not found the specific answers I am looking for. Did I just miss some information?

                • 5. Re: print to epub in ID CS5.5
                  GRGold Community Member

                  Thank you Steve,

                  I have the Castro book on iBooks and have not found specific answers yet. I also have been viewing the Lynda.com videos, and thought that I had followed the instructions pretty well. However, I have not found specifics to get me through some of my problems.

                  Gayle

                  • 6. Re: print to epub in ID CS5.5
                    Steve Werner CommunityMVP

                    InDesign CS5.5 should be able to produce an EPUB file that validates. (I had a book with some failures because I had missed creating a couple of "HTML-friendly" image names.) What kind of validation errors are you getting?

                     

                    You'll need to follow Elizabeth's and Anne-Marie's advice and get an EPUB editor. The error message often lists line numbers within the HTML, or within a particular file inside the EPUB archive.  You can look these up in an editor to see where the error is.

                    • 7. Re: print to epub in ID CS5.5
                      GRGold Community Member

                      Steve,

                      There was quite a list of errors, which has me doubly concerned. I have

                      already changed names for linked images and rekindled all of them. I also

                      did extensive clean up of my styles, but am worried that I botched those.

                      This book is more of a guide and working book to support a business

                      consulting team so my print layouts contained hanging indented lists and

                      sub-lists.

                      • 8. Re: print to epub in ID CS5.5
                        Steve Werner CommunityMVP

                        Give us a couple examples of the error messages. The EPUB formatting out of InDesign may not match what you expect, but that shouldn't generate an EPUB validation error.

                        • 9. Re: print to epub in ID CS5.5
                          GRGold Community Member

                          examples:

                           

                          ERROROEBPS/01_CultureChange_2k11_R2k12-1.html6229element "li" not allowed here; expected the element end-tag, text or element "a", "abbr", "acronym", "address", "applet", "b", "bdo", "big", "blockquote", "br", "cite", "code", "del", "dfn", "div", "dl", "em", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "iframe", "img", "ins", "kbd", "map", "noscript", "ns:svg", "object", "ol", "p", "pre", "q", "samp", "script", "small", "span", "strong", "sub", "sup", "table", "tt", "ul" or "var" (with xmlns:ns="http://www.w3.org/2000/svg")
                          ERROROEBPS/01_CultureChange_2k11_R2k12-1.html6329element "li" not allowed here; expected the element end-tag, text or element "a", "abbr", "acronym", "address", "applet", "b", "bdo", "big", "blockquote", "br", "cite", "code", "del", "dfn", "div", "dl", "em", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "iframe", "img", "ins", "kbd", "map", "noscript", "ns:svg", "object", "ol", "p", "pre", "q", "samp", "script", "small", "span", "strong", "sub", "sup", "table", "tt", "ul" or "var" (with xmlns:ns="http://www.w3.org/2000/svg")
                          ERROROEBPS/01_CultureChange_2k11_R2k12-1.html6429element "li" not allowed here; expected the element end-tag, text or element "a", "abbr", "acronym", "address", "applet", "b", "bdo", "big", "blockquote", "br", "cite", "code", "del", "dfn", "div", "dl", "em", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "iframe", "img", "ins", "kbd", "map", "noscript", "ns:svg", "object", "ol", "p", "pre", "q", "samp", "script", "small", "span", "strong", "sub", "sup", "table", "tt", "ul" or "var" (with xmlns:ns="http://www.w3.org/2000/svg")

                           

                           

                           

                          ERROROEBPS/03_CultureChange_2k11_R2k12.html10292text not allowed here; expected element "li"
                          ERROROEBPS/03_CultureChange_2k11_R2k12.html10295element "ul" incomplete; missing required element "li"
                          ERROROEBPS/03_CultureChange_2k11_R2k12.html10396text not allowed here; expected element "li"
                          ERROROEBPS/03_CultureChange_2k11_R2k12.html103101element "ul" incomplete; missing required element "li"
                          ERROROEBPS/03_CultureChange_2k11_R2k12.html104104text not allowed here; expected element "li"
                          ERROROEBPS/03_CultureChange_2k11_R2k12.html104107element "ul" incomplete; missing required element "li"
                          • 10. Re: print to epub in ID CS5.5
                            Steve Werner CommunityMVP

                            Just to be clear, this is an error from InDesign's EPUB export, right?. You have not modified the CSS or HTML in an editor?

                             

                            Can you post a screen shot of your formatted InDesign file in this section where you're getting errors?

                             

                            I have not heard of validation errors from InDesign's use of the <ol>, <ul>, and <li> tags.

                            • 11. Re: print to epub in ID CS5.5
                              GRGold Community Member

                              This is from my InDesign EPUB export and I have not done any modification of CSS or HTML. I have to figure that out next. How do I find the lines referenced in the report?

                              • 12. Re: print to epub in ID CS5.5
                                Steve Werner CommunityMVP

                                Using the instructions in Anne-Marie's video, you need to unzip the video. If you're on a Mac, the easiest way is with the Unzip and Zip scripts she provides. On Win, you can just rename and unzip the file. Then open it in a HTML or EPUB editor (Anne-Marie discusses several). The numbers refer to line numbers in the HTML file. The HTML file is referenced in the error message. (First number is the line number, 2nd number is which character on the line.)

                                • 13. Re: print to epub in ID CS5.5
                                  GRGold Community Member

                                  Thank you. I will review the video and try that next.

                                  • 14. Re: print to epub in ID CS5.5
                                    GRGold Community Member

                                    Will I be able to fix my endnotes list with HTML? That has been a consistent problem with the epub no matter what I have done.

                                    • 15. Re: print to epub in ID CS5.5
                                      Steve Werner CommunityMVP

                                      Haven't had to do that. Bob Levine is actually much more of a CSS expert than I. (I will be tied up all day on a training and not available today.)

                                      • 16. Re: print to epub in ID CS5.5
                                        BobLevine CommunityMVP

                                        Without know what’s broken it’s tough to say if you can fix it.

                                         

                                         

                                         

                                        Bob