CS3 Find Font/Delete Paragraph Style/Redefine Paragraph Style Causes Crash

I am running into a very frustrating issue where I cannot replace a paragraph style. The issue is that we used to use some adobe type fonts and want to move to the true type equivalent so that we don't have problems working on files between mac and pc. The problem occurs on both mac and pc on a variety of hardware (both c86 and ppc macs for example). When we open the document it identifies that the font cannot be found (example Palatino T1). When we click find font and select the regular ttf Palatino replacement and click Change All Indesign just vanishes and leaves a crash message with a ton of garbage and a read only memory error. The same happens if we change the font on some text and right click on aragraph style and click "redefine style" - there is a sudden crash.
Trying to work around this I went into our templates and tried to change it there. Opening the paragraph style and selecting the new font caused it to crash upon selecting OK. Also trying to Make a new paragraph style works, but then when deleting the old one causes a crash no matter what combination of mapping or not mapping the old paragraph style we chose (we tried every option under the dialogue and selected several different styles to map to or none at all).
This occurs on several different fonts and on several different templates. I have tried deleting the adobe font cache to no avail. Any help resolving this would be great - all our employees are going nuts over this problem.
Thanks in advance for any help or suggestions!

Peter, your latest post led me to an interesting revelation. When I change Palatino (t1) bold to Palatino Bold using Find/Change it is fine. When I change Palatino (t1) to any font using Find/Change there is a curious result! As soon as I click find first the page changes to the default template and all content is hidden. The 4 or 5 places where palatino occurs on the default template change fine, but then on the next click of FIND FIRST it crashes! So the problem is connected to "find first", not the actual change. My guess is this is an issue of with how the find/change jumps from the template to the individual page, but I'm not sure exactly what is happening.

Similar Messages

  • [JS] [CS3] Finding the longest instance of a paragraph style

    I'm pretty new to JS but I'm trying to write a script that will return the longest instance of each paragraph style in a manuscript (which has been imported into InDesign). Currently, my script lists all the paragraph styles found in the document and puts them in a new document. My next thought was to loop through the style names array and find the longest instance.
    Could anyone point me in the right direction on how to do this?
    Any help is much appreciated. I'm learning a lot reading this forum.

    Your question is slightly ambiguous. Do you mean you are looking for the longest instance of a paragraph in that paragraph style? That's the most likely meaning. Or are you looking for the longest run of text in that style? Because that's what you'll find if you're not careful in your script.
    The essence of the script would be:
    1. Setup a FindText for the paragraph style in question (or each style if you're looping through them all).
    setupFindText(); // use function to setup the find -- search this forum on setupFindText to find it
    app.findTextPreferences.appliedParagraphStyle = myStyle; // where myStyle is the style in question
    2. Issue the find getting all the references into a variable.
    var myFinds = app.documents[0].findText();
    3. Loop through all the finds to locate the longest paragraph.
    var longestLength = 0;
    var longestPara = null;
    for (var j = myFinds.length - 1; j >= 0; j--) {
         myParas = myFinds[j].paragraphs;
         for (var k = myParas.length - 1; k >= 0; k--) {
              myPara = myParas[k];
              if (myPara.length > longestLength) {
                   longestLength = myPara.length;
                   longestPara = myPara;
    4. Make sure that longestPara is not null (no instances found); If not, then longestPara is a reference to the longest instance
    Dave

  • InDesign "Find Font" deletes text - help!

    So I open a file, use 'find font' to find and replace a font. Sometimes when I hit "change all" it deletes entire paragraphs of text. I've tried it with different fonts and it's not consistent. Sometime it deletes, sometimes it doesn't.
    Just now, I did a "change font" from Garamond to Univers and lost a paragraph on page one - no text in the box whatsoever. So I did and Undo. Then, I did the exact same "change font" again. Paragraph on first page is fine, one on page 2 goes missing. Any help would be appreciated.
    Thanks.

    Sorry it took me some time to get back...
    #1  original file with the original fonts
    #2 I have done a "Find Font" and replaced with Univers. Notice much of the text on page one is missing... it just seems to disappear (delete). In this case, some text in the same box was left, I think because it was a different font that the rest in the original font.
    Sometimes it deletes everything in the text box, not just a portion.
    Also, I originally suspected my Univers font to be the issue, however, that's not the case. This happens with several different fonts, inconsistently.

  • CS3: Find Font window on open, no missing fonts.

    Is there a way to tell Illustrator not to show the Find Font window when tere are no missing fonts? It's only a whole lot frustrating and annoying.
    I'm sure the fonts are activated in Suitcase Fusion (only just slightly less crappy a an option than no font manager at all). Even if they're not and are auto-activated, the problem occurs with three nearly identical files. If fonts were activated opening the first file, then the next two should be fine. If I then close the files then reopen I get the Find Font window again, so auto-activation has nothing to do with it.

    My solution has always been to hit cancel and just re-open the file(s) I think Illy looks, sees missing fonts, kicks up the warning, then talks to your font manager, so that the warning will come up even though the font manager is working on it...
    Is there a setting in Suitcase that keeps fonts open through a whole session (like until you quit suitcase) rather than closing them when you close the file (as it sounds like is happening for you) I haven't used suitcase since X1 or the one before that, but I seem to remember that closing the offending file and reopening it would work...
    edit: on re-reading your post, is there the possibility of conflicting fonts, as in ps and tt versions of the same font? One may be activated, but it may be looking for the other.

  • Crashing when finding font.

    When using the find font option in the type menu my Illustrator crashes on the 3rd or 4th time of using this menu option. It's getting extremely frustrating as I've lost hours of work due to this bug! I've tried deleting my preferences and clean installing, as well as regularly installing cloud updates, but nothing works.
    Anyone having the same problem?
    I am using Illustrator CC on a iMac running OS 10.7.5.
    Thanks

    Mick,
    Just to make sure, you may have a look at Items 1) and 11) here:
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);

  • [JS CS3] Find/Change "[Basic Paragraph]" style

    I'm trying to find all occurances of the [Basic Paragraph] style and replace them with [No Paragraph Style]. I'm using:
    app.findTextPreferences.appliedParagraphStyle = "[Basic Paragraph Style]";
    app.changeTextPreferences.appliedParagraphStyle = "[No Paragraph Style]";
    I get the message "Invalid value for set property 'appliedParagraphStyle'. Expected String, ParagraphStyle or NothingEnum enumerator, but received "[Basic Paragraph Style]"."
    I've tried every combination of brackets, no brackets, quotes, no quotes, etc. It doesn't seem like this can be scripted, even though it can be done via find/change in InDesign. Am I banging my head against the wall? Does anyone know if this can be done?

    "[Basic Paragraph]" as shown in the code below doesn't work either. (the word "Style" actually snuck in as I was trying different variations. But no combination seems to work.
    If anyone knows that [Basic Paragraph] can or cannot be accessed via scripting, I'd like to know. Thanks.
    app.findTextPreferences.appliedParagraphStyle = "[Basic Paragraph]";
    app.changeTextPreferences.appliedParagraphStyle = "[No Paragraph Style]";

  • I need help writing a script that finds the first instance of a paragraph style and then changes it

    I need help writing a script that finds the first instance of a paragraph style and then changes it to another paragraph style.  I don't necessarily need someone to write the whole thing, by biggest problem is figuring how to find just the first instance of the paragraph style.  Any help would be greatly appreciated, thanks!

    Hi,
    Do you mean first instance of the paragraph style
    - in a chosen story;
    - on some chosen page in every text frames, looking from its top to the bottom;
    - in a entire document, looking from its beginning to the end, including hidden layers, master pages, footnotes etc...?
    If story...
    You could set app.findTextPreferences.appliedParagraphStyle to your "Style".
    Story.findText() gives an array of matches. 1st array's element is a 1st occurence.
    so:
    Story.findText()[0].appliedParagraphStyle = Style_1;
    //==> this will change a paraStyle of 1st occurence of story to "Style_1".
    If other cases...
    You would need to be more accurate.
    rgds

  • [JS, CS3] How to find text that is NOT a paragraph return

    Hi all,
    This is probably an easy one, but I can't seem to get the idea. I want to search within some text and find everything EXCEPT the paragraph return. What would be the way to build that expression? Thanks for any response.
    Regards,
    Len Swierski

    Thanks, Peter!
    I appreciate your help but I have found another solution. I am amazed at my own stupidity sometimes. You see, I do my scripting in a very lame sort of way because I have never used Javascript outside of InDesign. As such, I find myself at a disadvantage because the documentation that Adobe provides assumes that you are aware of many of the basics. Case in point: I have always had trouble manipulating strings because I NEVER KNEW that you could search and replace strings! I just could not find examples of this in the Adobe documentation. So here I was in some cases adding temporary textFrames so I could get to my strings as text contents and then removing the temporary textFrames at the end of the script. In this particular case I needed to merge several paragraphs into one paragraph. Now that I know how to search & replace strings, it is so simple to strip away all the paragraph returns (which are included in text contents). I am learning, albeit rather slowly. Thanks again.
    Regards,
    Len Swierski

  • How do you select all paragraphs using the same style in Pages 5.2?

    I'm trying to find how to select all paragraphs using the same style in Pages 5.2 without any success.  I writing a book and I need to able to adjust all my paragraph styles globally.  I see how upgrade my paragraph style when I do something new, but not how to revert back to the orginal template.
    For example, in my custom template for my book I have 12 font for a review questions paragraph style.  I changed the font size for all this paragraph style to 18 font.  Now I want to change it back to size 12 font.  But I have this paragraph style at the top and bottom of my document.  How to I select all of my review questions style so I can make the font change to all at the same time? 
    I just upgrade to Pages 5.2 from Pages '09. 
    Thanks for the help,
    Rob

    The Pages User Guide might help here.
    Better to post your topic in the Pages designated community > Pages: iWork: Apple Support Communities

  • How do I use the find method to find multiple items in a single paragraph?

    I am desigining a script to find any instances where ctrl+b and ctrl+i are applied to body text and then replace those character format overrides with Italic or Bold chartag.  Here's what the script is supposed to do:
    put the find method in a while loop that searches for character format overrides.
    If a character format override is found, pass the text range returned by the find method and the CharPropsChange flag to the GetTextForRange method.
    Use a boolean compare between the idata of the text item to the character angle and character weight constants.
    Whichever boolean evaluates to true, then use the SetTextProp method to set properties of the text range to the properties of the italic or bold character tag.
    This script does work on the first character format override found however it ignores any other overrides in the same paragraph. The cause of this is that the while loop updates the text loc that the find method uses to the next paragraph in flow. I suspect that i need to add an inner loop that goes through all the text in a single paragraph, where at teach iteration the text loc used by the find method is based on the same paragraph but the offset is modified. I am just not sure how to do that.
    function removeOverrides (pDoc)
        var vDocStart = pDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;
        var vBoldFmt=getCharFmt (pDoc, 'Bold')
        var vItalicFmt=getCharFmt (pDoc, 'Italic')
        initFA_errno ();
        while (FA_errno==Constants.FE_Success)
            var vTextLoc = new TextLoc(vDocStart,0);
            var vFindParams=findOverrideParams (pDoc);
            var vTextRange=pDoc.Find(vTextLoc,vFindParams);
            if (vTextRange.beg.obj.ObjectValid())
                var vTextItems=pDoc.GetTextForRange (vTextRange, Constants.FTI_CharPropsChange)
                if (vTextItems.length==!0 )
                    if (vTextItems[0].idata==Constants.FTF_WEIGHT)
                       pDoc.SetTextProps (vTextRange, vBoldFmt.GetProps())
                    if (vTextItems[0].idata==Constants.FTF_ANGLE)
                       pDoc.SetTextProps (vTextRange, vItalicFmt.GetProps())
                    } else (Log (vLogFileName, '\nERROR: No items were found in the text format array but format override was found: '+pDoc.Name))
            vDocStart=vDocStart.NextPgfInFlow;
    function findOverrideParams (pDoc)
        var vFindParams = AllocatePropVals(1);
        vFindParams[0].propIdent.num = Constants.FS_FindObject;
        vFindParams[0].propVal.valType = Constants.FT_Integer;
        vFindParams[0].propVal.ival = Constants.FV_FindCharacterFormatOverride;
       return vFindParams;

    Hi Rick,
    Well, following up on the previous posting, I actually did figure out how to make it work but it seems rather inefficient. I can insert a new paragraph right after the paragraph that has the table anchor but when i cut the table, i also cut the paragraph i just created. So to get around that, I create two paragraphs, so that there will be one paragraph left after i do the cut and that is the paragraph that I paste the table into. Once the table is pasted into the new paragraph, I delete the other paragraph that I created.
    Here's the updated code from the for loop:
    var vTbl = vDoc.GetUniqueObject(Constants.FO_Tbl, vTextItems[i].obj.Unique);                 
    var vAnchorPgf=vDoc.NewSeriesPgf (vTbl.TextLoc.obj)      
    var vAnchorPgf2=vDoc.NewSeriesPgf (vAnchorPgf);        
    var vAnchorTextLoc=new TextLoc (vAnchorPgf2, 0);             
    var vTblTextRange=new TextRange ();        
    vTblTextRange.beg.obj=vTbl.TextLoc.obj;       
    vTblTextRange.beg.offset = vTbl.TextLoc.offset;        
    vTblTextRange.end.obj=vTbl.TextLoc.obj;        
    vTblTextRange.end.offset = Constants.FV_OBJ_END_OFFSET                 
    vDoc.TextSelection=vTblTextRange;        
    vDoc.Cut (0);                
    vTblTextRange.beg.obj=vAnchorTextLoc.obj;        
    vTblTextRange.beg.offset = 0;              
    vTblTextRange.end.obj=vAnchorTextLoc.obj;       
    vTblTextRange.end.offset =0;                 
    vDoc.TextSelection=vTblTextRange;       
    vDoc.Paste (0);                   
    vAnchorPgf2.Delete();        

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

  • [GREP] – find/replace only first comma in paragraph

    Is it possible to find and replace only the first comma in paragraph with certain paragraph style with end of paragraph character using GREP search? Or in other words – to split paragraph into two paragraphs by replacing the first comma in paragraph with end of paragraph character?
    Claudius

    That's an interesting problem, and I think it takes at least two steps.
    The expression (^[^,]+),\s* will find all text from the beginning of a paragraph up to the first comma, which might be followed by whitespace and allows you to use the $1 operator in the change to field to save the text up to the comma, but replace the comma and following whitespace with anything you like. However, as soon as you replace that with a paragraph break you've created a new paragraph to search and you end up breaking at every comma.
    Instead you need to insert a stand-in symbol of some sort with a unique character style applied (so it won't get picked up any other way), for instance change to $1% and apply the style named "break" which does no formatting but flags the text for the next search.
    Now search for % with the "break" style and replace with the paragragh break (and no style).
    You should probably now search for .+ with the break style and change to nothing (or $0 for found text), and remove the style, just to be clean.
    There's still one problem, though, and that's that all the new paragraphs start with a lower-case character unless the first word after the comma happened to be capitalized. You could now search for ^. to find the first character in each paragraph and use the change format to apply a character style that assigns all caps, but that's really an ugly way to work.
    All of this will fall apart, too, I think if you have nested or GREP styles affecting the beginning text or the first character in any paragraph that you wind up with.

  • Can I have a space (before and after) on each line in a paragraph with an underline style apply on character

    I would like the result on the last image automatically without doing it with forced line and putting space manually. Is it possible with grep style?
    Thank you in advance for your answers. Sorry for my english!

    … Un petit rectificatif !
    En préparant un peu différemment le style de paragraphe "En Exergue", et donc en y intégrant deux styles de ligne imbriqués "alternés" [Red 1 / Red 2 / Red 1 / Red 2 / …],
    les 2 styles de caractère Red 1 et Red 2 n'ayant aucun attribut, il suffira, après avoir copié dans le presse-papier le petit bloc ancré (précité) de lancer une double regex [avec Multi-Find/Change, 1 seul clic !], la première ciblant Red 1, la seconde, Red 2.
    On évite le Hic! soulevé précédemment. Cela peut permettre d'accélérer le traitement. C'est certes moins fun pour les yeux !!
    Résultat :

  • Selecting all consecutive paragraphs of the same style in GREP?

    Hello,
    Is there anyway to select all consecutive paragraphs of the same style using GREP and append something after it?
    My problem is that I need to add a tag to the start and end of all footnote sections, they are not embedded in InDesign, but rather they are simply listed after every section. I've managed to add the tag to the start of every footnote section but how can I use GREP to select all of the footnotes and add the tag after it?
    I have tried (among others)
    (.+)
    but it only finds each footnote one at a time, rather than the whole section's worth of them.
    Leaving the Find field blank and just using Find Format will find the whole section but I can't find anyway to append the tag. I tried
    $0\rTAG
    but it seems to cut a lot of the footnotes out randomly?
    There must be a way to do this?

    It's possible to have a GREP span multiple paragraphs (use the flag (?s) for this), but I think it would have the same result as your 2nd try, just supplying the paragraph style name. Since that fails, I suspect it's just too much text to fit in '$0'.
    How about circumventing the problem in its entirety? Put your paragraph style name in the Find Formatting field, then search for
    \r(?!.)
    -- this will find the very last hard return in that style "followed by nothing". You can replace it with
    \rTAG\r
    -- it needs a return right after 'TAG' because otherwise this will be pasted in front of the next (unrelated) paragraph.

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

Maybe you are looking for

  • How to run classic apps on a Macbook

    I do not know where to post this, so excuse me if this is OT. But I ran into this page http://www.applelinks.com/index.php/more/sheepshaver23_enables_you_to_run_classic_macos_programs_onmacintels/ I suppose this is a shareware app (not a commercial a

  • How can i retrieve data from a macbook pro that has the flashing folder with an ? mark in it, to a brand new iMac

    I want to do a data recovery of my 15" MBP that has the flashing folder w/ ? mark in it, to an iMac 21.4"; how can i go about that?

  • How i can make my new ipad as a mobile phone?

    How i can make my ipad as a mobile phone?

  • Auto Fill Date

    Hello - I am using Adobe Acrobat X Pro.  I have a Human Resources form that I am working on.  I am using an auto-date function which fills in the current date.  It works great BUT when the HR person opens it, the date changes to that days current dat

  • Correlated Queries in OWB?

    Hi I have a query like Select HL.LOCATION_ID,      HL.DESCRIPTION,      HL.LOCATION_CODE,      HL.ADDRESS_LINE_1,      HL.ADDRESS_LINE_2,      HL.ADDRESS_LINE_3,      HL.TOWN_OR_CITY,      HL.COUNTRY,      HL.REGION_1,      HL.REGION_2,      HL.REGIO