E-pub character/paragraph style exports

Just getting into this e-pub thing. I've watched a few tutorials, but I'm still working with CS5 for the time being. I know that in order for formatting to transfer to the e-pub file on export, one has to make sure that all content is formatted using character or paragraph styles, which I have done. However, I am using a large coloured cap at the beginning of each page which sometimes requires extra-tight kerning (-75). I have assigned a character style for letters such as "O" and "T" which reflects this kerning. However, when I export it and view it in Calibre, the kerning is completely ignored and I have this nasty white space between the "O" and the "nce" on the word "Once". Any comments?

There are three issues here: first, what text attributes does InDesign export and what not (apparently, "kerning" is a "no") and what can be used in an e-pub. Kerning? I don't know -- in CSS you have "letterspacing" and "wordspacing" attributes, so theoretically you could use these instead. But CSS support among the various software and devices varies enourmously, so it could be you are doing all this for just one or two devices with "just the right support".

Similar Messages

  • Why does 'Copy Character/Paragraph Style' work so inconsistently?

    Is it just me, or do the 'Copy Character Style' and 'Copy Paragraph Style' format options barely ever work? Most of the time, I can't even USE the bloody CCS feature...it's greyed out. This occurs (for me at least) in both Pages version 1.0.2 and Pages '08. Any feedback is greatly appreciated.

    Jordan,
    There are a couple of Help Pages that may shed some light on your situation. They are: _Changing the Style of Text_ and _Copying and Pasting Character and Paragraph Styles_. As I often do after reading a post like yours, I tried to duplicate the situation. Before studying the help references, I would have had the same complaint that you do. I was only successful in getting the Copy Style and Paste Style Tools to work after I applied Styles to some text in my document. It seems that one may only copy a style from a block of text that has had a style applied, and so-called "overrides" won't be copied. So, it's not a "Format Painter" in the MS tradition, as it only looks at what Style has been applied, not how the formatting may have been altered.
    Hope this helps.
    Jerry

  • Reflection applied to character/paragraph style?

    Can anyone point me in the right direction to create a character or paragraph style for using the web 2.0 reflection on text? example below...
    Thanks!

    Apologies not necessary. That previewColor property has been a mystery for quite some time, and when I finally found out what it is supposed to do, it seemed to be so bug-ridden that I quickly steered away from it and I gave up attempting to make any sense of it. But your script just avoids those bugs popping up!
    As I said in the IDS post: it's rather sad the Adobe team gave up on further developing this great hidden feature into a full one; and it's downright worrying that they left that legacy code in CS5 and later, so it could get infested with all those nasty little bugs. It leads me to think: how many more 'dead' code is there, in CS5, 5.5 and now in CS6? Could that be the reason later versions are so much slower and more buggy than my trusty CS4?
    (Point in fact.
    In CS4 and earlier on the Mac, all plugin resources are gathered into neat, small packages inside a single large indexed file. That makes sense, because every single plugin resource is just a couple of bytes long -- say, a single icon, or a single string "Menu Item Name". With CS5, the programmers suddenly took a Lazy Turn and wrote out every single resource as a single small file. That means that
    1. (Annoying!) Since hard disk space is allocated by the kilobyte (typically 4Kb chunks), 10 tiny resources totalling 1 Kb now will suddenly occupy 40 Kb of disk space. Sure, hard disk space is cheap. Apparently, it's even cheaper than doing some programming -- or even just using the load code from the last version!
    2. (Frustrating!) Locating, opening, loading, and then closing a single file takes time and resources, but after a file got loaded into memory, you can do with it whatever you want. Locating, opening, loading and then closing each of the dozens of small files per plugin takes lots of time. Is that the reason CS5.5 starts up so incredibly slow? Jongware sez: yeah for sure it won't help.
    /Point in fact).

  • Changing Paragraph Style Export Tagging Options

    I'm having a heck of a time trying to get the "Split Document (EPUB only)" box checked for certain styles. I was hoping an experienced scripter may be able to help me solve what I'm sure is an easy fix.
    My code snippet is below:
    var doc = app.activeDocument;
    var par_styles = doc.paragraphStyles.everyItem().getElements();
    for (var i = 0; i < par_styles.length; i++) {
         par_styles[i].styleExportTagMap.splitDocument = true;
    In this example, I'd like to get the Split Document checkbox checked for every paragraph style in my document. However, apparently the paragraph style doesn't support the "styleExportTagMap" class, which is the only place I've found that the "splitDocument" property lives.
    I assume my ignorance arises from not knowing exactly what the styleExportTagMap(s) class does.
    Could anyone point me in the right direction?

    Seems like a hack, but it works.
    var
        doc = app.activeDocument,
        par_styles = doc.allParagraphStyles,
        i = 0;
    for ( i ; i < par_styles.length; i++ ) {
        par_styles [ i ].styleExportTagMaps.add ( "", "", "", "" ).splitDocument = true;
    Hope that helps.
    Marijan (tomaxxi)
    http://tomaxxi.com

  • Character/paragraph style colour chip

    Hi
    When I double-click a paragraph or character style and try and edit the colour chip, it doesn't bring up the colour picker. I have a list of predetermined process colours, but I can't make my own. Surely this is wrong?
    Thanks
    Antony

    Make the color change to your type on screen using swatches or color
    Click once on the name of the style (you will notice a plus sign)
    and the plus is gone showing your selection matches and confirming that style has been redefined
    All instances using that style will now show the new color.

  • Automatically create Object, Character & Paragraphs style when you copy & paste the same item.

    InDesign could create styles automatically. If I am copying and paste an object or paragraph - that means I will be using it in multiple pages and consequently be making changes to it. I know I can always create a syle for all my elements, but having that feature build-in would be great. Especially for the designers like me who works on small documents. Great Forum!
    Thanks!

    InDesign make it really easy for you to create styles. I just believe that having it as an automatic feature (of course, an optional feature) would save time when working in small - mini publications, where there is really no need to create syles . Just my thought.

  • Color palette in Character/Paragraph styles

    In AI CS5, where does the Character Style Options dialog pull it's colors from for the Character Color list (see image)?
    I'm working in a RGB document, yet I see predominantly CMYK colors.  I thought it might be the default swatches palette so I closed it and opened my custom color palette, but I'm still seeing the wrong set of colors.
    I'd like to add or edit colors in the list, or load one of my palettes, but I can't figure out how or if it's possible.
    Can anyone help?
    Chris 

    Chris,
    The colors are from the Swatches panel. If you're getting CMYK colors in the list then you have the CMYK default swatches (or other CMYK swatches), not the RGB swatches. Click on the Swatch Libraries menu, go to Default swatches, select Basic RGB. Load those into the Swatches panel, then open the Character Style Options. The RGB colors should now be in the list.
    Peter

  • How do I edit a paragraph style in Muse?

    Is there a way to change a typeface or other detail in a paragraph stylesheet in Muse? I've tried duplicating the style, and then, when I delete the old one, I replace it with the new one. Is there a more direct way to do that?

    Hello,
    If you create a paragraph style, then change any attribute, the style has an override. If you'd like to keep this override and redefine the style click the "redefine selected style from attributes" button (highlighted in the screen shot.)
    More info is here:
    http://helpx.adobe.com/muse/using/creating-using-character-paragraph-styles.html

  • Character styles & Body paragraph style not rendering as specified

    Hi, I am creating my first epub, and am using InDesign CS 5 (no intention of upgrading). I've constructed it as a book, each chapter in its own file. I am encountering two problems I am unable to think my way out of:
    1. None of the three character styles are rendering as they should.
    -"Bold" text is rendering much larger than "Body" paragraph style, even though both are specified at 18 px.
    -"Bullet" renders as UL, but at a much smaller point size than "Body" despite being specified as 18px.
    -"Ital" is also rendering a much larger font size than is should.
    2. I don't seem to be able to affect spacing between "Body" paragraphs, or below h1, etc.
    Any insights? Any help?
    Here is the CSS:
    @font-face {
    font-family: Times New Roman;
    font-style: normal;
    font-weight: bold;
    src:url("../Fonts/timesbd.ttf");
    @font-face {
    font-family: Times New Roman;
    font-style: normal;
    font-weight: normal;
    src:url("../Fonts/times.ttf");
    @font-face {
    font-family: Minion Pro;
    font-style: normal;
    font-weight: normal;
    src:url("../Fonts/MinionPro-Regular.otf");
    @font-face {
    font-family: Helvetica;
    font-style: normal;
    font-weight: bold;
    src:url("Fonts/hvb____.PFB");
    @font-face {
    font-family: Times New Roman;
    font-style: italic;
    font-weight: normal;
    src:url("../Fonts/timesi.ttf");
    div.generated-style {
    div.generated-style-2 {
    div.generated-style-3 {
    p.h1 {
    font-family: "Times New Roman";
    font-weight: bold;
    font-style: normal;
    font-size: 2em;
    line-height: 1.20em;
    text-decoration: none;
    font-variant: normal;
    text-indent: 0em;
    text-align: center;
    color: #000000;
    margin: 0em 0em 1em 0em;
    p.author {
    font-family: "Times New Roman";
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 1.20em;
    text-decoration: none;
    font-variant: normal;
    text-indent: 0em;
    text-align: center;
    color: #000000;
    margin: 0em;
    p.body {
    font-family: "Times New Roman";
    font-weight: normal;
    font-style: normal;
    font-size: 1.50em;
    line-height: 1.20em;
    text-decoration: none;
    font-variant: normal;
    text-indent: 0em;
    text-align: left;
    color: #000000;
    margin: 0em;
    p.basic-paragraph {
    font-family: "Minion Pro";
    font-weight: normal;
    font-style: normal;
    font-size: 1em;
    line-height: 1.20em;
    text-decoration: none;
    font-variant: normal;
    text-indent: 0em;
    text-align: left;
    color: #000000;
    margin: 0em;
    p.h2 {
    font-family: "Times New Roman";
    font-weight: bold;
    font-style: normal;
    font-size: 1.67em;
    line-height: 1.20em;
    text-decoration: none;
    font-variant: normal;
    text-indent: 0em;
    text-align: left;
    color: #000000;
    margin: 1em 0em 0.50em 0em;
    p.h3 {
    font-family: "Times New Roman";
    font-weight: bold;
    font-style: normal;
    font-size: 1.50em;
    line-height: 1.20em;
    text-decoration: none;
    font-variant: normal;
    text-indent: 0em;
    text-align: left;
    color: #000000;
    margin: 0.78em 0em 0em 0em;
    p.bullet {
    font-family: "Times New Roman";
    font-weight: normal;
    font-style: normal;
    font-size: 1.50em;
    line-height: 1.20em;
    text-decoration: none;
    font-variant: normal;
    text-indent: 0.06em;
    text-align: left;
    color: #000000;
    margin: 0em 0em 0.56em 1.39em;
    p.caption {
    font-family: "Helvetica";
    font-weight: bold;
    font-style: normal;
    font-size: 1.33em;
    line-height: 1.20em;
    text-decoration: none;
    font-variant: normal;
    text-indent: 0em;
    text-align: center;
    color: #000000;
    margin: 0em;
    p.pr-head {
    font-family: "Times New Roman";
    font-weight: normal;
    font-style: normal;
    font-size: 1.50em;
    line-height: 1.20em;
    text-decoration: none;
    font-variant: normal;
    text-indent: 0em;
    text-align: center;
    color: #000000;
    margin: 0em;
    span.bold1 {
    font-family: "Helvetica";
    font-weight: bold;
    font-style: normal;
    font-size: 1.50em;
    span.ital {
    font-family: "Times New Roman";
    font-weight: normal;
    font-style: italic;
    font-size: 1.50em;
    span.no-style-override {
    span.h-link {
    text-decoration: underline;
    color: #0000ff;
    span.no-style-override-1 {

    Try watching this lynda course: Watch the Online Video Course InDesign CS5 to EPUB, Kindle, and iPad
    If you don't have a subscription this link will get you a 10 day trial: lynda.com library | Trial Subscription
    That said, I'd be remiss if I didn't tell you that you're in for a world of torture compared to InDesign CC2014. The advancements in EPUB export are amazing.

  • Exporting Paragraph Styles as CSS in AICS5

    Why can't paragraph style be exported in CSS3, but character styles can? 
    I have a number of paragraph styles that I'd like to export.  I'm looking for a fast way to export all the paragraph styles, rather than having to convert them to character styles.  Any ideas?
    Working on a Mac, CS5 v 15.0.2 of AI with the HTML5/CSS3 pack installed. 
    Christian

    thephillykid wrote:
    > exporting mulit-pages as css/image in one step?
    >
    > It does not allow me to click off the current page
    option when exporting on of
    > my many pages. So I seem to have to export every page
    individually, thus
    > creating a .css doc for each html page...??
    >
    > Furthermore.. ON my master template I have Divs
    assigned, but they are not
    > appearing in subsequent pages created from the master
    when exported..???
    >
    >
    >
    > any help would be great. thanks
    >
    Fireworks does not allow multi-page CSS export, the thought
    being (I
    believe) that you would create the design for your main page,
    export it
    as CSS and images, edit CSS and HTML as needed in DW (and it
    will be
    needed) and then generate your site within DW or your
    preferred web
    design application.
    Take a few minutes to read these articles on the Adobe Dev
    Center:
    http://www.adobe.com/devnet/fireworks/articles/export_css_images.html
    http://www.adobe.com/devnet/fireworks/articles/standards_compliant_design.html
    HTH
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    http://www.communityMX.com/
    .:Adobe Community Expert for Fireworks:.
    http://www.adobe.com/communities/experts/members/206.html

  • How do I prevent unwanted paragraph style overrides when exporting an epub

    I am having trouble controlling the size of a  logo in an e-pub. Actually, it's only a problem with Amazon's Kindle which seems to insist on enlarging the image to the full screen width. So, I need a robust command in my CSS to override Kindle's preference. Seems easy. I placed the logo into my In Design layout in a picture box with the object style "frontmatterlogo" which should export into a div of the same name. Which it does. So far so good. However, In Design insists on creating a paragraph style override (see bold in the code below) which disregards the  frontmatterlogo settings I've written in to my CSS in favour of it's own image settings which correspond to the size of the placed image. Currently, I've just put together a hacked solution by writing a class for para-style-override into my CSS. It's an inelegant solution but seems to work for all the other e-readers. But, as mentioned, it doesn't work on the Kindle.
    Anyone have any idea what is causing these overrides and how I might prevent them so my div class can take over?
    Alan
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <title>Titlepage2-1.html</title>
            <link href="template.css" rel="stylesheet" type="text/css"/>
        </head>
        <body>
            <div id="Titlepage2-1.html" xml:lang="en-US">
                <div class="story">
                    <p class="Pagebreak"/>
                    <h1 class="fulltitle">Far North</h1>
                    <h2 class="author">MARCEL THEROUX</h2>
                </div>
                <div class="frontmatterlogo">
                    <p class="para-style-override-1">
                        <img width="191" height="19" src="images/HarperPerennialClassic_fmt.jpeg" alt="HarperPerennialClassicsLogo.jpg"/>
                    </p>
                </div>
            </div>
        </body>
    </html>

    Thanks for getting back so quickly, Bob.
    I'm using Version 5.5. I have basically the same problem when the object is anchored. In the case below, I created a new paragraph style for the line on which the logo would be anchored, also mapping to the frontmatterlogo entry in my CSS. This time, no paragraph-style-override is added but In Design still adds it's own image dimensions corresponding to the size at which the image was placed in the layout. This overrides the settings in my CSS and, I suspect, might be what's allowing the Kindle settings to take over as well. I had kind of resigned myself to fixing this in the code  on a book by book basis, which is fine if the only images the book contains is a cover and a title page logo. But I'm worried about what happens when I have to create an e-pub from a photo-heavy book. You can see how it would be ideal to create a few specific object styles for different image situations in In Design and have them map them to specific div styles in my CSS. Basically it's a workflow issue. This would minimize the amount of after-the-fact coding our already swamped designers would have to do.
    It's so obvious in the code where the problem lies, and so I just have a feeling that there may be a simple fix. If only I knew why In Design felt obliged to specify the image size.
    A.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <title>Titlepage2-1.html</title>
            <link href="template.css" rel="stylesheet" type="text/css"/>
        </head>
        <body>
            <div id="Titlepage2-1.html" xml:lang="en-US">
                <div class="story">
                    <p class="Pagebreak"/>
                    <h1 class="fulltitle">Far North</h1>
                    <h2 class="author">MARCEL THEROUX</h2>
                    <p class="frontmatterlogo"><img class="frontmatterlogo" width="196" height="20" src="images/HarperPerennialClassic_fmt.jpeg" alt="HarperPerennialClassicsLogo.jpg"/></p>
                </div>
            </div>
        </body>
    </html>

  • Paragraph styles all default to wrong character style

    So I set up a template and based all my character styles on my basic body copy. However, every new text box I create it defaults to the "character styles" to my section header color and sizing. I have to right click and "clear character styles" every single time. I've never had this happen before and cannot figure out how to fix it, it is such a PAIN!

    From your explanation, I suspect your use of Character Styles might need to be redirected to Paragraph Styles. But that is conjecture, so I apologize if I'm wrong. In any case, to solve your problem; with nothing selected, choose No Character Style in the Character Styles panel. That sets the default for new frames.

  • I copy text, paragraph styles, character styles & images from 1 document to another only text copies

    I have a few documents that have text and images that is frequently repeated through many chapters of an In Design book. (Printing, exporting etc.) I used to select all in the source document, Command + C to copy it, change to the target document, Command + V to paste it. It worked well for six months.
    About two weeks ago it stopped working (shortly after an update to In Design). I have text, paragraph styles, chacter styles and images in each document. Only the plain text copies over. This is the same for any document.
    I haven't changed Preferences in six months.
    I'm on a Mac 10.8.2, In Design CS6 version 8.0.1.
    It's driving me crazy! It's a lot of work to reformat each 2  to 10 pages after copying it in.
    Steven Hussey

    Source:
    Target:
    Here you go.
    Steve

  • Script to duplicate Basic Paragraph style, then change character point size

    I'm looking to create a script that will create a cascade of paragraph styles based on the [Basic Paragraph] style settings. My goal is for each new paragraph style's character point size to be a percentage of the original [Basic Paragraph]'s. So if [Basic Paragraph] is 100% (character point size 10pt), the script would create a paragraph style named '120%' that has a character point size of 12pt. Then 133%, 140%, so on and on. I modified a script found on this forum to generate those new styles, but I don't know how to create them to be basedOn the [Basic Paragraph]. Any help would be very much appreciated, thanks in advance.
    current script:
    var doc = app.activeDocument,  
        pstyle = ["100%", "120%", "133%" ];  
    for(var i =0;i<pstyle.length;i++)  
            if(pstyle[i] == "100%") 
                doc.paragraphStyles.add({name:pstyle[i], appliedFont:"Stag", pointSize:10});              
            else if(pstyle[i] == "120%") 
                doc.paragraphStyles.add({name:pstyle[i], appliedFont:"Stag", pointSize:10*1.2})              
            else if(pstyle[i] == "133%") 
                doc.paragraphStyles.add({name:pstyle[i], appliedFont:"Stag", pointSize:10*1.33333})              

    Try this,
    var doc = app.activeDocument, 
        pstyle = ["100%", "120%", "133%" ]; 
    for(var i =0;i<pstyle.length;i++) 
            if(pstyle[i] == "100%")
                doc.paragraphStyles.add({name:pstyle[i], basedOn: doc.paragraphStyles[1], appliedFont:"Minion Pro", pointSize:10});             
            else if(pstyle[i] == "120%")
                doc.paragraphStyles.add({name:pstyle[i], basedOn: doc.paragraphStyles[1], appliedFont:"Minion Pro", pointSize:10*12})             
            else if(pstyle[i] == "133%")
                doc.paragraphStyles.add({name:pstyle[i], basedOn: doc.paragraphStyles[1], appliedFont:"Minion Pro", pointSize:10*1.33333})             
    Vandy

  • Problem with paragraph style overrides and character formatting

    I've had this problem for a long time, and sometimes it resolves itself, sometimes it doesn't. Finally I'm begging for help.
    I am typesetting academic articles into a journal.  We use endnotes. The endnotes have both italic and regular formatting--italics for book and journal titles, and foreign phrases.
    Sometimes when I place the text, the formatting reverts to whatever it was in Word.  To try to fix that, I've begun stripping the Word formatting from the original document, making everything "Courier New" and just importing it like that.  I figured this would clear a lot of the problems I've had with fiddly formatting issues.
    I was mistaken. 
    Here is what happens:
    When I place the document it comes up in the original Courier New font, with italics and other formatting intact.  If I click "article style" which is the main article paragraph  style format, normally it changes.  but if I right click and select "apply article style" it is more likely to change the paragraph to the proper style, with italics and other formatting still intact.
    But when it gets to endnotes, I'm sort of screwed.
    My endnotes style is a bulletted style, so that I can have the endnote numbers consistent.  but this seems to screw all the style formatting.
    Here is what I do:
    With the cursor in endnote text, I click "bulleted endnote style".  The character format remains the same, with a + beside the style. The endnote number format is different, however.  If I click "clear overrides" it does in fact change to the proper formatting, but it strips any italics or other character in the text.  This is frustrating because many of these endnotes have lots of italicized journal and book titles, and it takes a long time to figure out which ones I need to reitalicize manually.
    I have tried to use the "customize style import>Style mapping" but it has not fixed anything.
    Please help me figure out how to make these transitions more smoothly.  I am open to suggestions both on how to make the changes once the document is placed in the Indesign file, and also making modifications to formats in the native Word file so that I don't have these problems. 
    Thanks
    Dan

    Sorry, that last message wasn't supposed to send (if that's not obvious!). I was writing it and got interrupted.  Damn iphone. 
    I know why there are two numbers.  This is not an issue. What I didn't finish writing was that, the note number before i bullet it is a different font/ format. Again, not a problem.  Here is something interesting, though.  If I delete that original number by placing the cursor in the middle of it (say a between the 4 and 2 of 42) then delete everything by Shift+arrow forward, press delete then delete the rest of the unnecessary characters, THEN apply the style formatting, it works just fine.  Is it something to do with the character codes of those original note numbers? 
    Word drops in so many hidden codes that it screws everything up!

Maybe you are looking for