Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

CS5.5 CSS Styles after Export to EPUB.

Return to Member Forum

  • Author
    Posts
    • #59898
      lasatalayas
      Member

      After export to EPUB with CS5 a CSS is created containing one CSS style for each InDesign in a Book of several INDDs.

      Using CS5.5 for the same book the CSS contains a style for each paragraph style and text style in every book. For example if one has a style Normal (exactly the same style) in 10 different INDDs in the INDB then a CSS style is created for each one: Normal-1, Normal-2, Normal-3 etc.

      Why?
      Or more importantly how can I prevent this?
      Have I missed a switch or an option somewhere?

      I obviously don't want to edit the whole of the CSS and each HTML file.

      Ken.

    • #59910
      jpannier
      Member

      I spent maybe 3 hours to solve this problem. But I failed. I hope this is not a bug and someone has the answer.

      Jeldrik

    • #59946
      Sarah H
      Member

      AnneMarie or David, have you experienced this? I was so excited about my first export to epub from CS5.5 after working with CS4, but I also ended up with a billion CSS styles. Really weird. I haven't had a chance to get back to it and try to figure it out. Any thoughts?

    • #59947
      lasatalayas
      Member

      I had this reply from Iain Robertson on an Adobe Forum. I've not tested this yet as I'm busy, busy, busy!

      I think it is a “feature”, although one that flummoxed me to begin with. With the help of this forum I realised what you need to do is open one of your documents and open all your paragraph styles and use the new Export Tagging feature to map your paragraph style to an html tag. You can also add a class name. Do the same for your character styles. Then you have to synchronise the rest of the book with that one document as the source, so the new styles are used through all your documents. Then you have to create your own CSS file to apply style declarations to each tag plus any classes you created. This will mean your Indesign styles will get converted on output to consistent style names in the ePub and then styled by your CSS file. Make sure any class names you add in Export Tagging don't contain any spaces (use hyphens instead) and I think it is best to avoid capitals to be on the safe side.

      That worked for me. It was a pain to begin with, compared to how I used to use CS5, but it seems sensible now! Haven't got time to go into more detail now but there is plenty info out there about the Export Tagging feature – make a test file and give it a whirl. I'm not the best person to describe how to make-up your CSS file – I'm making it up as I go along but there's loads of useful info out there about CSS – I particularly recommend w3schools.com (https://www.w3schools.com/css/c….._intro.asp).

    • #59963
      incblot
      Member

      Lasatalayas: would this be relevant to an InDesign document that has all the text for the entire book in a single document/frame?

Viewing 4 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads