Kindle-plug in Character Styles don't embed fonts

We have a special font used for our company's publications and also a math type font (Euclid Symbol). The book is built in InDesign CS6 and will be exported to a .mobi file using the export to kindle plugin. The export to kindle will not see the symbols if every instance has a character style applied to it.  I have to make sure that one of the special characters or math type symbols does not use the character style that I've applied to all the other special symbols. If there is just one "override", then the export to kindle sees it. So the issue seems to be Character Style related to me. Of course this goes against everything that I know about paragraph and character styles. That means that every chapter has an instance of "override" that I have to locate if I should choose to make a global change to the book. So I don't really consider this work around a solution. Can you please take a look at this Character Style/Span issue with the Kindle Plugin.

I have sent to epub and then to kindle in that manner. You are correct, it does work. This new export to Kindle is so much better than the previous one they had, that I was hoping to be able to skip all the extra steps. I am interested in asking the InDesign developers to at least take a look at the issue. Do they receive messages from this forum? Or do I need to submit it somewhere else?

Similar Messages

  • 'Highlight' Character Style -- Why Does the Font Change?

    I want to define a style that mimics a highlight marker.
    Choose some text, set the background/fill to yellow.
    Highlight filled words, then choose 'Define Style From Selection..."
    Then, in the More... selection I deselect every attribute of the character style except for the fill colour. So this should highlight text, but leave every other attribute of the text unchanged -- I think.
    But whenever I apply it, the font changes to something I don't recognise -- even though the font is not a part of the character style description.
    What am I doing wrong?
    TIA

    You need to make sure the font is embedded in the PDF. This is optional in some sofware.
    If it is not embedded, your local font is used. No such local font exists on the iPad.

  • Character styles that accommodate different fonts?

    I suspect this is hopeless, but I thought I'd ask in case anyone has a great idea I can't think of.
    I use a basic formatting script that runs through a newly placed text file and makes a series of typographical corrections -- getting rid of double spaces, etc. One of the things it does is to apply a character style "Italic" to certain phrases, like i.e., et al., and so forth.
    Then I go through and apply the correct paragraph to the text elements. The problem is that certain text elements are in different fonts, for instance, the figure captions are in Univers. When I apply the paragraph style, the items tagged as "Italic" become undefined, because in Univers the italic is called "57 Oblique."
    Can anyone think of a way to apply italics to a phrase in such a way that when you change the font, it doesn't become undefined?
    Thanks...

    Alas -- no. It's this way, or No way.
    When I have to use a font combo that doesn't allow a single Italics style, I generally go with 'standard' italics for the main text. If ID complains about a "[Univers Italic]" because that seems to be used in a Univers heading or caption, I create a new style "univers italic" (no use in beating around the bush!) and search for the font "[Univers Italic]", replacing it with the new style -- ID allows searching for non-existent fonts.
    You might think, "but you use the Ctrl+Shf+I shortcut for both fonts to get the italic style", and you might be right. Then again, if Adobe implemented something like that by putting an "I" checkbox (and "B" for bold!) in the Styles panel, it'd get harder to defend their 'no-faux fonts' policy -- and I, for one, am certainly not suggesting they should.

  • [CS3 JS] Correcting a Character Style Anomaly

    It used to be that you could define a character style to merely colour the text and give it an underline (e.g. for Hyperlinks) or just superscript the text (for Reference citations). When such styles, which do not call for a particular font or font size, are placed into InDesign CS, the styled text would take on the font and font size of the underlying paragraph style. However, after placing a Word .doc with these styles into a CS2 template, the font and font size becomes Times New Roman and 10 pt. The solution was to save an .rtf file and re-import the text. Now, in CS3 this work-around doesnt quite work: the font is okay, but the font size reverts to that default size of 10 pt.
    So, I would like a script that finds all occurrences of two specific character styles (Hyperlink and bibref) and then corrects the font size of the found text to that of the underlying paragraph style. These styles can appear anywhere within a document, including in tables. I have trawled through this forum and found enough to be able to search for the character styles, but I cannot fathom how to apply the font size of the underlying paragraph style. Any help will be greatly appreciated.
    By the way, re-applying the character styles doesnt work because the character styles dont define the font size; also clearing the overrides on the paragraph style while the text is selected isnt a viable solution, because other local formatting (i.e. italic) would be lost.

    Hi Peter
    Thank you very much for your quick response. I tried your script and it did as you intended by clearing the Font, Font Style and Point Size in the character style, but unfortunately it did not correct the problem of the style becoming some default style and size (Times New Roman 10 pt) when placed into ID.
    In fact, I had already set up the 'bibref' and 'Hyperlink' character styles with these fields blanked out. Also, I made Adobe aware of this bug when CS2 came out and they warned me that CS3 wouldn't fix the problem; but I didn't realize that CS3 would be worse than CS2 so that using an rtf file wouldn't fix things.
    So, I am left with my initial query: is it possible to write a script to search for the character styles in question and apply the font size of the underlying paragraph style?
    Thanks a lot for any help you can give.

  • How to effectively use Character Styles

    Hello, I am fairly new to InDesign, but have an extensive background with FrameMaker. I am having trouble figuring out how to best use character styles in ID, because of the difference between it and FM.
    Lets say I have two different body text styles, which use different fonts or different sizes, each of which is saved as a paragraph style.
    In Framemaker, when you go into the Character Style editor, for each value you can select the value "As Is". So if I want to make a Bold character style, I leave the font and size attributes set to "As Is" and I change only the weight attribute to Bold.
    Now, I can select either Body Text 1 or Body Text 2 for the paragraph style and if I want to bold a word, I just highlight that word and select the Bold character style. The text is bolded but everything else that is unique to that paragraph style remains. If I ever need to unbold the word, I can just select it and then select No Style from the Character Style catalog
    But in ID, it looks like you have to define the value for each attribute in the Character Style editor. So I would need to create two separate bold styles, one for each paragraph style, because if I define the font and size, it will switch those  values as well as the weight. And if I need to create a separate Bold Character style for each paragraph style in which the default font is not bolded, what is the advantage of using character styles? Why not simply highlight the text and select the bold value from the Character palette, which then modifies the paragraph style just for those words that you bolded?

    Thanks,
    I was looking at some existing documents, which I think were created by folks who didn't know what they were doing (I am new to this job and all of the previous folks doing what I do are gone - and they clearly did not understand how to properly use styles). All of the fields had values in them, and when I didn't see an "As Is" value, it never occurred to me that I could just highlight the value and delete it to get rid of it.
    When you use a bunch of different Adobe products, even though they  have  fairly similar user interfaces, it is those differences that really get you.....
    Thanks, again

  • How To Add Glyph to Character Style?

    Specifically, i want to add the "math x" as a Character Style. The font is Adobe Janson Pro, and the "glyph" (what we used to call a "character") is present. I could add by hand, but i have a lot of them. In the menus that define the character(s) you want to add, i can't find an option that will add a *specific* character-- in this case the math x. Or an accented character, for that matter (ü?)
    Thanks very much.

    Okay, I see. I tried one more thing -- since the Symbol character for the math x font is option-y (which is the "yen" symbol in most fonts) I tried having the Nested GREP apply a character style including the Symbol font to all option-Y characters -- but Indesign is too clever for that, and shows an empty box (since there's no Yen symbol in the Symbol font).
    I give up. Keep the "Glyphs" palette handy, and once you've entered one math x symbol, it will be on the "recently used glyphs" row, and you can enter them by double-clicking. Or, you can search for space-x-space and replace with space-math x-space where needed.
    Rodney

  • 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.

  • Character Styles / Be sure what to delete

    hi guys,
    How can i tell what paragraph or character styles are absolutely sure that if i delete them and not mess around my text? Is there any way to tell where a character or paragraph style is applied in my text like when performing a Find/Search query? Most of them i can easily delete them and don't ask to replace them with other styles.
    but for example if i try to delete Estilo14, the last one in the list it will ask me to replace it for some Character Style, so i suppose it is active somewhere in the text. Nevertheles, if i open Estilo14 Info, it is blank.
    any help or ideas?
    Thanks and Cheers,
    S

    SebastiaoV wrote:
    thanks for the info afsdfasg. It is a good idea. Nevertheless, i would like to know if there is a way i could actually "see" where the styles are applied in the text.
    You can create a condition with a color indicator for each character style, and use Find/Change to find all instances of each character style and apply its condition.
    This will take a little bit of work; perhaps it can be scripted, or perhaps the findchangebylist.jsx script in the script samples included with InDesign can be modified to do the work.
    [EDIT] The commercial plug-in Slendro Style Reporter (slendro.com) can do this.[/EDIT]
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Message was edited by: peter at knowhowpro

  • Using InDesign's Export to Kindle plug-in, how can I have normal black test display in inverse (whit

    Hi,
    I asked this question several days ago and see that it got about 90 views, but no responses. I don't know if I asked the question improperly, or whether it can't be done, or nobody has a solution. I've asked it again below with a bit more detail. I sure would appreciate some kind of response, because I'm lost here.
    I've created a book file (children's fantasy) with some colored fonts and anchored png images with transparent backgrounds. Basic paragraph (body text) is black. The "Export to Kindle" mobi file displays fine on Kindle for PC and Kindle Previewer when displayed in normal (white background) mode.
    Kindle PC alows viewing on white, sepia or black background. Works fine on white and sepia, but when the black color mode is selected (night viewing option) the black text does not display as white text. What can I do to have the black text automatically change to white?
    While trying to find a solution, I created an epub file of the book and, using Calibre, converted it to mobi. When this mobi file is loaded into Kindle PC, the black text does automatically change to white when viewed on the black screen. I would use this method of creating the mobi, but then there is different problem here. The png image no longer has a transparent background; it has been flattened with a white background. This looks bad on both the sepia and black backgrounds modes on Kindle. Same result when I use KindleGen to convert the epub. What can I do to maintain a trasparent background on my png image?
    Thanks,
    Jim

    If you're not getting response here, it may be because not many people have used the Kindle plug-in. I've not tried it. The plug-in usually lags the InDesign versions. I think the current version recently added support for InDesign CS6. EPUB guru Anne-Marie Concepcion twittered this week that she thought the plug-in was much improved but still recommended using the EPUB to KindleGen method.
    You might also try posting on the eBook forums like this one:
    http://www.mobileread.com/forums/

  • Character styles in Pages 5

    Can't find Character styles in Pages 5. After a couple of hours of work I am about ready to jump back to Microsoft Word, which annoys me beyond belief. At least Pages 09/11 had Character styles, AND hot keys for styles (even if they were limited to F-keys).
    I use several different styles constantly through my documents, including character styles, and Pages 5 is letting me down BIG time.
    OK, it's cool to have object styles - I can dig that.
    BUT WHY ELIMINATE CHARACTER STYLES?
    Sorry for shouting.
    What a pity. Maybe the iWork software engineers don't actually work for Apple . . . yeah, that could be it. Or they don't actually USE the products they design.
    I encourage everyone to make liberal use of Apple's feedback page, http://www.apple.com/feedback/

    I posted this in another thread before I discovered this one:
    I just upgraded to Pages 5.
    I opened a document that I'd been working on in the previous version of Pages. It has several styles, incuding a bulleted list style called "main bullet".
    I attempted to apply that style to a section of text, and while it did indent the text properly, it did not add bullets. (Also, in the Style panel a bullet does not appear next to the "main bullet" style as it does in Pages 4. This was my first clue that something was wrong.)
    So I went back in the text to a bulleted list that uses the "main bullet" style. I selected the text, then went to the Style panel and chose "main bullet" > update style. This did not seem to help. The "main bullet" style still has no bullet next to it in the Style panel, and when I tried again to apply it to some text, the bullet doesn't appear.
    I decided to try a different style, in this case "body". I went to a section that has the "main bullet" style, selected it, and applied "body". The indentation changed, but it did not remove the bullet as it was supposed to.
    Is this a bug, or do styles work differently in Pages 5?
    It appears that styles do not include formatting like bullets, which, if true, is a huge problem.
    I was also upset to learn that once I've opened a document in Pages 5, I can no longer open it in Pages 4. So I'm essentially stuck with Pages 5 whether I like it or not.
    Is anyone else noticing this?

  • [JS InDesign CS3] Style groups, begone! (or: How do I take paragraph and character styles out of style groups?)

    Sorry for this question (and my terrible English, by the way), I'm a javascript noob and I know when I've reached my limits.
    Well, I'm trying to take a set of paragraph and character styles out of the style groups they are placed in, in hundreds of InDesign documents (that cannot be treated as a book). As far as I've tried (thanks to the invaluable help of previous posts in this forum) I've been able to move a style into a group and change it's position inside the group, inside the root level or even between groups. But it doesn't matter how I try, I don't know which move reference should I try in case I want to take every style out of their style group and place them after their original group folder, at the [Root] style level .
    I have tried:
    var doc=app.activeDocument;
    var pGroups=doc.paragraphStyleGroups;
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Here I am, trying to move a style outside the folder that contains it, and failing miserably.
              pStylesInGroup[j].move (LocationOptions.after, pGroups[i]);
    It didn't work, the script sent an invalid parameter value in the reference field, so I cant use the group folder itself as reference.
    Tried other (obviously wrong) solutions, like use the first available style as reference. Therefore, my second script was
    var doc=app.activeDocument;
    var pStyles=doc.allParagraphStyles;
    var pGroups=doc.paragraphStyleGroups;
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Now I try placing the styles after the [Basic Paragraph], that is, the second paragraph style in the document style list
              pStylesInGroup[j].move (LocationOptions.after, pStyles[1]);
    It didn't work either, another invalid parameter in the reference field. Similar results with my other attempts (I even tried "[Root]" as literal with similar luck).
    So, my question is: Which command (or script, in case my whole approach is utterly wrong) should I use to achieve my goal?
    Thanks in advance to whoever decides to spend more than a minute thinking about my humble worries, and my apologies for shamelessly ripping some of your lines of code for my purposes.

    Okay, tried a few things and got really weird results!
    1. You can move a style around inside its group.
    2. You can move a style out of a group "to" another, but it will appear 'inside' that style. I got my test style as a sub-item of [Basic Paragraph], using index #1. With index #0 ([No Paragraph Style]) InDesign crashed.
    3. You can duplicate the style, but then you get a copy in the same group. Still no luck.
    4. Finally! What is the parent of a paragraph style?
    Document | Application | ParagraphStyleGroup
    "Application" is easy -- that's when you make a style global. So what's the difference between 'Document' and 'paragraphStyleGroup'? Simple -- well, when you finally get it...
    pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    moves the style out of the group and to the end of the list in the document. I don't think it's possible to move it directly to a specific position into the main style list -- you first have to move it out of a group, then move it around in its own list.
    Fortunately, it returns its new position as a ParagraphStyle again, so if needed, you can use
    newStyle = pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    newStyle.move (LocationOptions.AFTER, pStyles[1]);
    -- I didn't really try that out, but it should work.

  • Unable to reset some settings values in Character Style Options back to "inherited"

    Hi!
    First, unfortunately Paragraph Styles and Character Styles are not so cool as in InDesign in Photoshop. I hope it will be updated in future versions because good typography is very actual now.
    Here is one of issues:
    I can't set Font Family and Color in Character Style Options back to inherited ones, i.e. to reset/empty it. Onse I set some custom font/color for Character Style (manually or after "Redefine..") I can't remove it, only set new one. And since Character Style is another level of abstraction over Paragraph Style this behavior is very annoying - I always need to check what font is set up for characters, change it or even delete this character style and create a new one with same settings but default (empty) font family.
    Fortunately some other settings (font size, leading and all other inputs/selects with editable value) can be reset (emptied) - that's why I consider situation with font family/color as buggy/raw.
    What do you think about this? May be I don't know some secret tricks/technics to fix it?
    Thank you

    I purchased the same laptop from Wal-mart in late August, I have had nothing but problems. Going from one program to another within the computer takes forever, the pages constantly say "not responding", getting on the internet takes all day, anti virus software has been installed, scans have been run which might I add took three days to do because the computer kept freezing and I  had to manually restart. Un-installing programs is next to impossible as every time I start and sit and wait 10 minutes later I am still waiting, try to get out of the program and it won't let me. I try ctrl alt del which doesn't help. I took mine back to Wal-mart a week over the amount of time they allow for returns which is ridiculously short and they would not take it back. I have spent numerous hours trying everything under the sun to get this 2 month old computer to work and to meet up to my expectations of a brand new laptop computer and I am almost ready to chunk it out the backdoor. I am very disappointed in this product and will never buy another Toshiba. My family owns a Dell laptop and 2 HP laptops and we love them. This laptop was purchased for my children to do schoolwork as they are homeschooled and unfortunately they have not been able to do ANY! Take my advice, DO NOT BUY this product!

  • My table of contents does not use the entry style I select for words in the paragraph that have character styles applied to them in the chapter, so some of the letters are showing up as green, which is fine in the chapter but not in the TOC.

    My table of contents does not use the entry style I select for words in the paragraph that have character styles applied to them in the chapter, so some of the letters, specifically parameters, are showing up green, which is fine in the chapter but not in the TOC. I can manually fix this in the TOC by changing the character style to none after the toc  has been generated, but I don't want to do this.

    What application are you running? Please ask this in the forum of the product you're using.

  • URGENT: Paragraph/Character style help (doing massive amounts manually)

    I'm using CS3 at work but if it's magically easier, i may have access to cs4 (less likely but possible). It's a long post but I wanted to be in  depth with my problem which at its core is simple. I have included a 2-page spread example in pdf.
    What I greatly need help with is your opinion of how I can set this up to speed up the process, unify the document, and make future edits simple instead of crazy difficult. Can I configure a paragraph style to NOT replace font style? Can that style include my preset tabs (for bullets) which list as follows?:
    number, small letter, roman numeral, bullet
    Let me start by saying I SCOUR the net and all available options before posting.  I'm cleaning up/editing a production manual for a portrait company I work for and am new to indesign but have figured many things out. I'm quite proficient with the Adobe Suite and computers. I'm using last year's indesign file and it was done very poorly. The words are right, the lines are right, the tabs are terrible and i've needed to move many pages out of order and add plenty. I also chose to disable 1 text box that flows from page to page (i see now it's helpful but they had made it impossible for me to use the existing one and I didn't have time to redo). The pictures I can add and manipulate freely but an embedded text-wrapped version would be nice as well (less important by far).
    The manual is spiral bound with text on the right page and a notes page on the left for the layout. (flipped open the left side is lines for notes and the right side is operations). It's set up with a Header at the top (in some cases a sub header almost identical right below it), a space or two, then an outline format IE:
    1)     Open job
              a) Go into G:\Location
              b) Select job code
                   i) *Note: Be sure to select the right one (etc)..
    2)      Continue
                                       |                                                    |
                                       |                                                    |
                                       |                    Picture                      |
                                       |                                                    |
                                       |______________________________|
    Page size is 8.5x11 with a .5 safe print border all around (document is 11x17). The Document is about 100 pages of written directions (so double that for indesign pages). It will be printed on a Xerox IGen3.  The whole book give or take is set up like that. Thus, a few paragraph and character styles are in order. I've been editing/cleaning up each page re-tabbing, re-laying out. It's hell and must be done in 2 days.
    I'm using Myriad Pro universally as the font.  The sizes are as follows:
    Header: 16 bold center
    Sub (if applicable): 15 bold center
    Body: 12 point
    I've gotten paragraph styles to work sort of. I tried setting up numbering and bulleting but it's been giving me so much grief that I typed those all by hand or have just adjusted existing ones (I don't have much time currently, BUT need to learn for future updates and to convert it to styles). I know styles are the way to go with a couple master pages involving bulleting and character styles... however I could not become an expert overnight unfortunately; i tried =)
    The real killer for paragraph styles have been:
    - The portions of the directions that pertain to specific menu options or clicks are in bold, occasional important info is red. Normal text including numbers/bullets are normal. There are many words repeated that need bold so perhaps some kind of search/replace script could help however im not positive.
    - When I go to apply a paragraph style it must make all type bold or not bold. It doesn't replace the color of the text which is good.
    -  Having major trouble with bullets/numbers working the way i'd like.

    It is unfortunate you only have two days, but you could play around with these suggestions below and see if they help more than they hender... (NOTE: SAVE A COPY OF THE DOCUMENT BEFORE YOU START MONKEYING AROUND IN CASE YOU HATE THE RESULTS!)
    For starters, you could certainly do the lists via stylesheet. It would require 3 lists based on your sample. Base list 2 and 3 on list 1 or all 3 on a default List paragraph style, so that you can globally control your list formatting without having to change all 3 each time you want to apply a tweak.
    List 1 would be leve 1, 1,2,3 style with indents like 3p, -1.5, 3p. Align right and don't restart numbers. If you want bold numbers, make a bold character style called List# and apply it.
    List 2 would be level 2, a,b,c style with indents like 4p, -1p, 4p. Restart on level change.
    List 3 would be level 3, i,ii,iii style with indents like 6.5p, -1.5p, 6.5p. Restart on level change.
    Tweak as necessary to match your actual text.
    Then just do a global GREP search and replace, replacing out the manual list numbers with real styles.
    List 1 replace ^\t[0-9]+\t with ~- (discretionary hyphen is a nice invisible character that won't break anything) and paragraph style of list1.
    List 2 replace ^\t\t[a-z].\t with ~- and paragraph style list2.
    List 3 replace ^\t\t\t[ivx].\t with ~- and paragraph style list3.
    The last step of list replacement would be to manually restart numbering for each new list.
    As for the keywords, unless you have a complete list of what will be bold and it will always be bold, just manually style them with character styles.
    Make a character style called "Keyword" and apply bold to the formatting.
    Make a character style called "Keyword Important" and apply bold and red formatting.
    If you know certain words are always, always the same and you have CS4, you could create a GREP style that applied Keyword character style to any words that matched.
    For example, if the keywords Left, Right, Top, Bottom always were bolded at the beginning of the paragraph, you could add the GREP style that applied Keyword to ^(Top|Bottom|Left|Right).
    In all likelihood you will be applying a lot of manual keywords too though, so make sure you put a keyboard shortcut on (like cmd-opt-1, 2, etc) on the Keyword and Keyword Important character styles. That way you can just fire through selecting text and whacking cmd-opt-1 where appropriate.

  • [JS][CS3]Applying Character Style to First Word

    I am a noob as far as Javascript  is concerned, and I was hoping for a little guidance.
    Here's my scenario: I have a book that has been typeset all in one file; the main content is all in one story. I want to select the first word of every text frame on each page and apply a character style. My goal is to utilize this character style to indicate page breaks in the XML--I'll map the style to a specific tag.
    So far I have this poor specimen:
    var myDocument = app.activeDocument;
    var myPage = myDocument.pages.item(1);
    var myTextFrame = myPage.textFrames.item(0);
    if( app.activeDocument.stories[0].paragraphs[0].words[0] != null )
    myTextFrame.paragraphs.item(0).words.item(0).appliedCharacterStyle =
    myDocument.characterStyles.item('foo');
    I know, I haven't set up any sort of loop yet (which will be trickier given the fact that there will be blank versos, etc). What I'm trying to do in this is to select the first word in the first paragraph on the second page--which it does in fact do. Problem is, the first paragraph on the second page starts on the first page, so I'm selecting that a word on the first page, not the second page.
    As I said, lots of work to do but a little help on getting to the right word would be most appreciated.

    Well, you were on the right track, but testing 'myText' fails if there is no text frame on a page because it fails one line earlier
    >var myTextFrame = myPage.textFrames.item(0);
    just before this, you should test the number of text frames:
    if (myPage.textFrames.length > 0)
      ... your stuff ..
    Only use this if you are absolutely positive there is just a single text frame on each page! A slightly better way would be to always loop over each textframe:
    for (frames=0; frames<myPage.textFrames.length; frames++)
      var myTextFrame = myPage.textFrames.item(frames);
      ..etc.
    in which case you also don't have to test its length first (the loop will not be executed if there are zero text frames).
    [Techy] Since you have only one continuous story, an even better way would be to loop over the textframes of that story alone. You have to identify the story somehow, and I usually click the text cursor in the one I need:
    myStory = app.selection[0].parentStory;
    or you can rely on the fact that the story starts in the only text frame on page 1:
    myStory = app.activeDocument.pages[0].stories[0];
    (I think that oughta work.) Then, each frame of this story up till the end can be found in the array
    myStory.textContainers
    which are usually text frames. You can loop over these using
    for (frame=0; frame<myStory.textContainers.length; frame++)
      myTextFrame = myStory.textContainers[frame];
    ..etc.

Maybe you are looking for