Search & replace in paragraph 1 paragraph Format 2 Format

Hi all

In the document that I received which has two tags to paragraph, a legend of Figure 1 and another legend of Figure 2.

Some are assigned Figure Caption 2 and some figure allocated Figure Caption 1.

How do I find all the Figure 2 legend and convert them to Figure Caption 1?

Find, there a paragraph tag: (picture below), but in the replace box, I have no option.

Thank you.

The first Ting you need to do is to load the Clipboard with the "legend of Figure 2" paratag.

This is done by placing the cursor anywhere in a paragraph that is labeled with the "legend of Figure 2". And then on the Edit menu > copy special > paragraph Format to load the Clipboard.

Now, using the Find dialog, searching for the "legend of Figure 1" (all the text, else it stops at any paratag legend for Figure). In the box replace, use the option 'Sticking' to apply the desired paratag.

Tags: Adobe FrameMaker

Similar Questions

  • Can you search / replace by paragraph order?

    I use to identify what story to do this on style of script.

    Once I found this label, I want that javascript to find / replace the style by order the paragraph.  When I import real text, I get a first style expected (using the following Style is me well marginal).  The script I'm writing would be search in history "Paragraph 3" (for example, in appliedParagraphStyle) and replace it with a different style applied.

    The question I have is the research appliedParagraphStyle of the order in which it appears.

    Does anyone do this?  Thank you very much.

    Your interpretation is correct. JS begins the first paragraph with a "0" index.

    So the steps are:

    1. find your labeled textframe. > Instead of the label property, you can also use 'name' by registering a name in the layers panel.

    2 save your paragraphs and directly apply a paragraph style (no need to a GREP) > in my example I go the long way, but you could combine some lines.

    3. identify the para quote and apply quotes. I give you here a simple example. My example fails, if already are in quotes. In this case, the grep to be built differently.

    And one last comment: why do you need 2 frames of related texts? Why not include the title with the functionality of the columns covering?

    var curDoc = app.activeDocument;
    var allTFrames = curDoc.textFrames;
    
    for (var i = 0; i < allTFrames.length; i++) {
      var tFrame = allTFrames[i];
      if (tFrame.label == "format 1") {
        var pStory = tFrame.parentStory;
        var allParas = pStory.paragraphs;
        var first = allParas[0];
        var sec = allParas[1];
        sec.appliedParagraphStyle = "author";
        var third = allParas[2];
        var fifth = allParas[4];
        fifth.appliedParagraphStyle = "quote";
        var fifthContents = fifth.contents;
        var tempString = fifthContents.replace(/(.+)/,"\"$1\"");
        fifth.contents = tempString;
      }
    }
    
  • How to replace the paragraph with a space mark

    Hello

    I received the contents of a manual in raster format, but each line of text ends with a paragraph mark. How to replace the paragraph with a mark space otherwise than by hand?

    In Word, this is pretty easy, but I don't see not any provision for it in the search box on 7.2 Frame.

    Yours,

    Michael F

    ========

    \p = end of paragraph

    \P = beginning of paragraph

    See: Help > keyboard shortcuts > keys for the search and replace

  • Cannot delete the paragraph format

    I created a template with titre3 instead of Head3 - same name just different properties. I deleted all the paragraph formats, imported the new model, updated headers. Head3 remains persistent in the document. I don't then uncheck the box for NextParagraph so that there is no required following paragraph. It just removes himself from the period of document. I tried to remove it from the catalog and it does not remove the format. But this is still in the document. Any thoughts?

    I noticed something like this in the past as well. I don't know what caused it.

    My problem was:

    • Save as MIF.
    • Open the MIF with a text editor.
    • Search the text in the paragraph of the problem.
    • Check if it has the attribute set to Yes flocked. If Yes, change the No.
    • Save the MIF file.
    • Open it in FrameMaker. Check, if you can change the format of your problem paragraph subsection.
  • Nonbreaking hyphen in a paragraph format (numbering)

    Is it possible to insert a non-breaking hyphen in a paragraph format (automatic numbering). That's what I have now:

    F:figure < $chapnum > - < n + >. \sn

    But when I use a cross-reference to this tag, and the x - ref falls at the end of a sentence, I get this:

    ScreenShot00108.jpg

    Of course, I can insert a return, but I would rather treat the disease as the symptoms.

    Thank you!

    Karen

    Or replace the hyphen with------+ bar sequence backslash for a non-breaking hyphen.

  • How to UN-clutter make list hundreds of paragraph formats

    When I pull down the menu from the paragraph formats I see a LARGE number of them scroll down beyond my screen.  God forbid I would never choose one that begins with a letter at the end of the alphabet.  Reference to files helps a catalog window but I have looked everywhere for this mythical thing and can't find it.  If I don't find this catalogue, I can remove all of the tags that I don't need this one document without losing them permanently for all documents?  Can I set preferences for a list of new documents some of my favorites without dealing with this huge list heavy every time?

    Using FM 9.0.

    Thanks for your help!

    Paul

    Paul_RS wrote:

    When I pull down the menu from the paragraph formats I see a LARGE number of them scroll down beyond my screen.  God forbid I would never choose one that begins with a letter at the end of the alphabet.  Reference to files helps a catalog window but I have looked everywhere for this mythical thing and can't find it.  If I don't find this catalogue, I can remove all of the tags that I don't need this one document without losing them permanently for all documents?  Can I set preferences for a list of new documents some of my favorites without dealing with this huge list heavy every time?

    Using FM 9.0.

    Thanks for your help!

    Paul

    Hi, Paul:

    Paragraph, character and table format definitions are stored in each file.

    To remove the paragraph or character format catalog formats, open the catalog with the Format > paragraphs > catalogue or Format > characters > catalog, click Delete * to open the Delete dialog box, select a format by clicking on a name visible format, by navigating through the list with the arrow keys, or by typing the first letter of the name of the shape. Repeatedly typing the same initials moves in formats that start with that letter. Click on delete to 'name' the format selected for deletion. You cannot select multiple formats in the list shift + click or Ctrl + click. Click Finish to perform the actual deletion, or Cancel if you change your mind.

    Another way to open the delete format dialog box is by clicking on the delete option that appears by clicking the commands button in the paragraph, character and Table designers.

    To make sure that you do not lose the formats that you can use at another time, save a copy of the file with a descriptive name, such as "AllFormatsInTheKnownUniverse.fm." You can remove all content to do the cleaning in the file, without losing the formats. You can import a file formats to another, or a file to multiple files in a book. Google search for "framemaker import formats" without quotation marks for more information on the Adobe, using FrameMaker forums and other sources.

    * Please note that by pressing DEL to open the dialog box delete does not delete the format selected in the catalog.

    A way to eliminate all formats not used of a catalog is to use the file > utilities > create and apply Formats. WARNING: it is dangerous; Read up on it in help, and then save a copy of your file before using. You will find names of unknown format in the catalog that it creates, such as mapping Table Title and a few others; they have points of master and reference Pages.

    Better and safer that create and apply Formats are great inexpensive tools for the maintenance of the catalogues of paragraph and character of siliconprairiesoftware.com format.

    The table format catalog is visible in the table designer (Table > table designer.)

    HTH

    Kind regards

    Peter

    _______________________

    Peter gold

    Know-how ProServices

  • Cancellation paragraph formatting

    I can be missing just something simple here, but I'm not having any loss of chance (via FlowOperation.undo ()) all paragraph development in shape. It's using the TLF that comes with the Flex SDK 4.0.0.5489 SDK.

    I applied all my FlowOperations via the EditManager, for example using editManager.applyLeafFormat () to apply bold/italic/fonts etc. and call undo() these fine works.

    But when I use applyFormat / applyFormatToElement () and not specify a sheet size, but a paragraph format (for example, when you apply a leftMargin a ParagraphElement), I get a FlowOperationEvent sent and that an addition of UndoManager stack, but appellant undo() has no effect on the TextFlow leaving me with the modified paragraphs but not way to cancel.

    Does anyone know why these paragraph formatting operations would be one-way only?

    I also think this could be something to do with the SelectionState is not very clear how/why you must specify a SelectionState when the applyFormatToElement() call you bring the item that you want to apply to. can any that describe the role of the SelectionState in this case and perhaps if this could have an impact on the cancellation?

    Just to give some more information, I usually apply my ParagraphFormat-ing via CompositeOperations and I use a combination of element.getAbsoluteStart () and element.textLength to get my SelectionState when you apply paragraph formats to some elements that are * not * the current selectionState such as defined by the EditManager class.

    There is a bug in ApplyFormatToElementOperation which causes its cancellation State (format must be restored the target element on undo) should be replaced by the format applied. I connected this bug.

    For now, you could use ApplyFormatOperation who does not suffer from this bug.

    Replace

    compositeOp.addOperation (new ApplyFormatToElementOperation (getSelectionStateForElement (paragraph), paragraph, format));

    with

    var op: ApplyFormatOperation = new ApplyFormatOperation (getSelectionStateForElement (paragraph), null / * paper size * /, format);

    op.absoluteStart = op.absoluteEnd = paragraph.getAbsoluteStart ();

    compositeOp.addOperation (op);

    -Abhishek

    Adobe Systems Inc..

  • Color of the name of paratag in the quick list of paragraph Format (F9)

    (FM12.0.4 on Win7x64)

    Where can I set the background color of an entry tag paragraph selected in the quick list of paragraph Formats (F9)?

    Under Windows: Control Panel > personalization > window color and appearance? If so, which point?

    So I ask you: the background color is quite similar to the blue that is used for the characters of the tag name that I can't read the selected item.

    Edit 20150626: Adding a screenshot.QuickPickBackgroundColorAnomaly.png

    I don't remember noticed this problem in the quick list with 12.0.3.

    Best regards

    Found!

    Windows: Control Panel > personalization > window color > point: selected items

  • Script to add markers to the text in paragraph format

    With previous versions of Framemaker, I had a FrameScript that loop in my document and add a text marker based on the applied paragraph format. The marker text would be the selected paragraph.

    I try now to recreate it in Extendscript for use in Framemaker 10 and am completely perplexed.

    I have no doubt that my script (copied below) is completely off track, but I was wondering if someone would be able to help point me in the direction of my many mistakes.

    Basically I want the script to find all paragraphs with the "* Ref." format applied, make this text range of text and then apply a marker at this beach. A little research showed that I probably need to create a list of paragraph formats, but I think I have a lot more problems than that.

    var pgfFmt1 = flow. GetNamedPgfFmt (* part No.);

    While (pgfFmt1.ObjectValid ())

    {

    function createMarker (doc, FMP, offset, type, text) {}

    var strange, marker;

    Strange = pgfFmt1.TextRange;

    marker = doc. NewAnchoredObject (Constants.FO_Marker, strange);

    marker. MarkerType = type;

    marker. MarkerText = text;

    Return 1;

    }

    createMarker (doc, bmp, 0, 'Index', 0);

    Thank you in advance to anyone who is able to offer me some advice!

    You can use the following function to get the text of a paragraph of FrameMaker.

    function getText (textObj) {}

    var objText = "";

    Get a list of strings of the object.

    var textItems = textObj.GetText (Constants.FTI_String);

    Concatenate the strings.

    for (var i = 0; i)< textitems.len;="" i="" +="1)">

    objText += (textItems [i] .sdata);

    }

    Return objText;

    }

    Once you add it to your script, you can modify each call to createMarker to something like this:

    createMarker (doc, bmp, 0, 'subject', getText (FMP));

    -Rick Quatro

  • Changes to the paragraph formats are not anything related to all the

    Hello:

    The recent post from Dennis ("phiguru"?) touched on my problem, but mine is more simple.

    I stupidly changed text one together heading to red to remind me that basically contained revisions are needed, and that the old "mat" is not for publication. (I was in a hurry and were recalled from the conditional tags, of course. (Duh).

    Now, I'm trying to restore the paragraph formats affected in their original fonts colors. (Fortunately, my stupid first color change appears not to have affected the same paragraph formats in other topics.)

    These images seemed terrible when I posted this a moment ago, thank God by clicking on it opens a larger and clearer version.

    top of RH8 Styles and Formatting pod.PNG

    Using the editing tool - the icon of the pencil in the Styles and pod-shaped, I am trying to change the color of the font. Seems pretty simple, but just in case:

    Changing font color in main Styles window.jpg

    The line "tile Texture Mapping... "is one of the guilty parties heading 3 that refuses to change. I have change the color black, light underscore, click OK, and get nothing.

    I don't expect anything really of the 20th century to occur, such as the change applied universally, but when you tap on a new blank line which has been designated the heading 3, the new text is still red.

    Go to an existing line of heading 3 reddened and re - select the style desired apply a menu Style drop-down at the top left only annoys me that same infuriating business cited by Dennis:

    Heading 3 refusing to change.jpg

    You want to:

    1. update the Franck to reflect recent changes?

    2. reapply the setting in the form style to the selection?

    Any advice, anyone? I know I'm probably missing something obvious, but he continues to elude me, and my line of work, life and time are running ever forward.

    Thank you.

    Hi Lew

    Have you tried to do a right click in the line that is colorful and choosing "delete attribute"?

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7, 8 or 9 in the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • editManager.splitParagraph (); inherits from previous paragraph format

    So here is a function I use in an application of scripting is supposed to fall to the bottom of line, Center it and cause the next line to be all uppercase.  However, new paragraph inherits the previous paragraph format.  I'm doing this right?  Is there a better way?  How can I cause a new paragraph to be inserted here with the new format?

    public void character (): void {}

    var cf:TextLayoutFormat = new TextLayoutFormat();

    editManager.splitParagraph ();

    cf.paragraphSpaceBefore = "10";

    cf.textAlign = 'center ';

    cf.typographicCase = "uppercase";

    IEditManager (textFlow.interactionManager) .applyParagraphFormat (cf);

    textFlow.interactionManager.setFocus ();

    }

    Thank you

    What you have here does not work because it added new formats.  In this case, you want to use the clearFormatOperation to clear those that were copied to the first.  Before the call to applyParagraphFormat:

    IEditManager (textFlow.interactionManager) .clearFormat (null, TextLayoutFormat.defaultFormat, null);

    In TLF 2.0 splitParagraph returns the ParagraphElement newly created element.  You can then use clearFormatOnElement followed by applyFormatToElement to adjust clear all cloned styles of previous paragraph and apply your desired styles.

    As case wrap the splitParagraph and delete and apply formats to the top in a call to beginCompositeOperation/endCompositeOperation and it will be packed upward in a single operation impossible.

    The setFocus call should not be necessary.

    Hope that helps,

    Richard

  • Application updates in bold and in italics while doing a search/replace on the contents of merged data

    Hello
    Wonder kind knowledgeable people if you can help me with a question find/replace.

    I'm doing a fusion of data of book content in indesign, where my data merge file is a simple text csv file that is delimited by tabs. I have two things (almost like here) I would like to make to specific parts of the text, but do not know how to achieve this.

    -First of all, I would like to preserve the words/phrases of form 'italic', but it's obviously lost in a csv file.  Is there anyway that I can mark these words so a search/replace can make this italic of the word.  Im hoping that there is a solution that looks something like this;
    for example.  Content of the book is 'the italics of the word needs to be adjusted.
    Original content is modified to be "the word $Italic $ $ needs to be adjusted", so that a dollar sign encapsulates the word in italics.
    Then I am able to merge data from the csv file and somehow make a search/replace words/phrases that are wrapped by the dollar sign.  So, do a find/replace all the words/phrases that satisfy this condition and then apply italic to all the words between the dollar signs.

    -My other question is that I use the ' |' character in my text to determine paragraph separators.  I then do a find/replace after you import the text to replace all occurrences of ' |' for the paragraph separator (a kind of symbol $, a representative character in the menu drop down to the right of the change to). It works fine, but I would like to make a "BOLD" format paragraph separator so that it can better distinguish the separation of text sections.

    But this is different from my problem "italic" above, since I am trying to apply a "BOLD" format to the character "change to", rather than something that exists in my original csv.

    Hope I think, but I'd be happy to provide you with screenshots etc. (when I get home at )
    Best Rgds
    L

    two solutions.

    for the solution of italics, I would say that the OP has answered his own question with one exception - do not use the symbols dollar, instead use = or another character that is not reserved by GREP.

    the solution I would use for italics would be a GREP search once the merger completed. Take a look at the picture to see what I did.

    the second solution: styles GREP.

    This means that the text will have a paragraph style are entrusted to him. make a style and character called "BOLD" in this style, the only thing to change is located in basic character formats, set the bold font style. might even make the character another example cyan color is more easily strucure.

    Then go to the paragraph style options, click on GREP styles and correspond to the following screengrab

    the advantage with a GREP style is that once the vertical bar (|) is replaced, the GREP style bold is lost; and that means less post processing and not needing a second search of the text - it's all living.

  • How the process of searching / replacing text within brackets ([])

    Hello

    How the process of searching / replacing text within brackets ([]).

    I want to make the process so that the replacement inside text: ([]) this particular color and style of a particular paragraph.

    You try this option: (-[]) ([*. * \w*\d*)(\])

    Unfortunately, the process was not successfully that entirely, it does not determine if there is more than one paragraph.

    File test installation with photos.

    Sorry for mistakes in writing, I don't know English well.

    PDF + INDD

    http://www.up-00.com/?ggcf

    http://www.up-00.com/?QBcf


    Fonts:

    http://www.up-00.com/?ABcf

    Test_3.png

    Test_2.png

    Test_1.png

    Relevant if no Notes: (?s)\[.+?\]

    If not, this regular expression could play the game:   (?s)\[(~F?. *?) +\]

  • Script a search/replace using a data source

    So I wrote a program (c#) a few years ago which basically opens a file, InDesign Exchange, doing a search/replace, based on a datasourse SQL table and then our graphics people would just convert the INX file in InDesign and ultimately in PDF format.  Too many steps.

    There are more than 2,500 pieces of variable data in each file, so a product like DesignMerge is not practical.  Our database consists mainly of 2 fields [LookFor] and [ReplaceWith], I would like an Indesign script that will just run through the data file and do a find/replace for each record.  Is this feasible and what someone has suggestions or starting points?

    Thank you!

    No, it doesn't matter what format to use: text delimited csv or tab. Of course you can leave it as it is.

  • Dreamweaver search / replacement of marked text no longer work

    Dreamweaver search / replacement of marked text no longer work

    When I mark a block of text and begin to replace a single string for example, DW replace only the first is the string a judgment of exploitation

    Try to update your version of DW Adobe - Dreamweaver Support Center: Updaters

Maybe you are looking for

  • 360 11 X - n012na: STATE GUARANTEE INCORRECT

    Yet, new laptop froze and crashed.  This time it does not restart.  Followed the instructions how to access recovery before contacting hp this morning.  No problem would discuss with my record shows laptop is out of warranty.  I contacted hp several

  • Question of Genlock

    Start a new thread as this is unrelated to the post of Genlock, I did a few weeks ago. I hope someone here can help / tell me what I'm doing wrong (as applicable). My situation: Camera an (F5)... put in place with CineEI, 25 fps, 1080 p, Slog2/Sgamut

  • subtract the error function

    Maybe it's a mistake on my part of basic mathematics, but I'm sure 9 less 2 is 7 and not-2. Seriously, someone has come across an instance where the function of subtraction mess up like this (see screenshot)?  I tried to replace the function of subtr

  • Impossible creatures causes bluescreen tbirdhd.sys

    The situation is all over google, I can't find anything on this site. with: driver irql not less or equal oxooooood1 oxffffffff stop 0 x 02000000 makes it appear that XP sp2 has put an end to the use of the sound card as the mfgr has not published a

  • 19 updates windows installs

    Step 3 of 3 will not configure properly starting with the update of security for windows vista KB974318, when I restart the computer to install updates it will not accomplish