Find/Change in Section Marker

I would like to have a Find/Change Text or GREP option which also can Find/Change the text in the Section Marker. While working with books and magazines i use the Section Marker a lot (which you can find in the Numbering & Section Options panel). Already had the unpleasant encounter with unchanged text in the Section Marker a several times.
I think this is a effective feature to add...
If you know a solution, i am very interested!
Best regards,
dtpartner

I used it to insert new running heads per chapter. Insert the Section Marker symbol into a large enough text frame onto a single master page. Then set every chapter to use a new section, and copy its title into the Section Marker field in the Page Numbering panel.
Using variables is alike, but much easier, because you define the variable to pick up the latest text in a style named so-and-so, and then you don't have to worry anymore about did-I-add-a-section-already and what-if-I-insert-pages. It's all in the Help.
[Added] And if the chapter title changes, the variable is updated automatically.

Similar Messages

  • Find/change using end of paragraph marker /p

    Folks,
    We are attempting to remove a space at the end of a paragraph in unstructured documents.  If I enter ' \p' in the Find text field in the Find/Change dialog FrameMaker finds the the appropriate paragraphs.  If I then enter '\p' in the Change text field in the Find/Change dialog and click Change the space is removed.  However the target paragraphs style is also applied to the the following paragraph.  This occurs in FrameMaker 8,9 & 10.
    If the Find/Change scenario above is followed with these two paragraphs the first paragraphs style is applied to the second paragraph.
    paragraph 1 with a trailing space and using Heading 1 style
    paragraph 2 using Heading 2 style
    Any thoughts?
    regards
    Jon

    JonEBe wrote:
    Arnis,
    Thanks!
    Yes why bother indeed!  I am at the end of a rather lengthy process to convert the creation and output of Framemaker documents into a database with a web front end.  As part of this the existing documents are imported to save lengthy keying/rekeying.  The output from the system is then compared against the originals.  As a matter of course I stripped of leading or trailing spaces (it is amazing how many there are in a manually created/updated document) so we therefore have noisy comparison documents as a result.
    BTW the trailing spaces are apparently a legacy of the conversion from WordPerfect.
    My choices are to re-import without stripping the trailing space and remove them at a later date or create a script using the FDK, which I am very familiar with, and is the likely outcome!
    Jon
    Just a wild thought - a real GREP processor, not the mild imitation in FrameMaker, can find a construction like a space followed by a paragraph marker and delete the space without affecting the marker. The technique is a form of the "lookbehind" or "lookahead" feature. I'm zero-skilled at actually doing this beyond just mentioning it, but the technique might work in a MIF, or text conversion, of the file. Search Google for terms like "GREP lookbehind lookahead," without quotes.
    Another possibility is that once the FrameMaker file is converted to the database, it would be possible to use a database command to remove the space.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • GREP 'find/change' by list script: find a text string containing different para styles

    Hi
    I'm don't write scripts but do 'enjoy' copying, pasting and changing existing code/txt files.
    I have built a GREP find/change .txt that performs a large number of text edits/changes.
    But I'm left with an issue where I have paragraphs of text (styled earlier in the .txt file) that I'm unable to identify using GREP the usual way. I need to identify text in a particular paragraph style, followed by text in another paragraph style.
    Is it possible with GREP to create a search string to find: text styled with one paragraph style, ending with a paragraph return, and to include in that selection the following paragraph/s styled with another paragraph style?
    MTIA Steve

    seb400 napisał(-a):
    What do you mean by I would mark "changing" in "copying, pasting and changing"?
    Hi Steve,
    I mean I can see a way by modifying some existing code with "find...change" job
    1. set criteria to findGrep
    2. store findGrep() in an array
    3. check each found object if next paragraph matches some new criteria
    4. run changeGrep() if true
    Jarek

  • JS:CS3 Newbie needs help! find/change character styles

    I'm new to scripting and JavaScript is giving me a headache, but I'll keep trying. What I'm trying to do is automate a few things so that the production time of our school newspaper is reduced while insuring accuracy.
    I've played around a little with the text find change sample and the changing or adding paragraph styles in the InDesignCS3_ScriptingGuide_JS.pdf and I barely understand what I'm doing.
    When us page designers receive text to place in the document, our editors mark the text with tags like: < b >text< / b >, where the word "text" is to be bolded. (there wouldn't any spaces between < and b and > etc. I just did that so It'll show up here). We have basic character styles and paragraph styles set up, and we just started working with nested styles.
    Is there a way we can search for the < b > tag and bold everything after it up until the < / b > tag? Sort of the way it does for html (the way it would do for this message if I took out the spaces). It'll be great if it could remove the tags as well, but if not, I know I could create a find/change script to do the removal afterwards.
    I appreciate any input.
    Thanks!

    You've not found yourself the easiest of tasks! You need GREP find/replace, not text. Do you have any experience with GREP? It's worth investigating, it's a powerful feature. The script below handles bold. For clarity, it doesn't do any error checking: it assumes that there's a document with text in it and that the document contains a character style called 'bold'.
    // talk to Indesign, nobody else
    #target indesign
    // reset the Find/Change dialog
    app.findGrepPreferences = app.changeGrepPreferences = null;
    // find everything between <b> and  (including these codes)
    app.findGrepPreferences.findWhat = '<b>.+?</b>';
    // add 'bold' style
    app.changeGrepPreferences.appliedCharacterStyle = 'bold';
    // make the changes
    app.activeDocument.changeGrep();
    // now delete the <b> and </b> codes
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = '</?b>';
    app.changeGrep();
    You can adapt it easily to handle other codes, and at a later stage you could generalise it so that you needn't repeat whole bunches of code.
    Good luck with your first forays. Again, it's not the easiest of tasks, but it's worth getting to grips with.
    Peter

  • [CS3] [JS] Find Change Aesthetic Kerning Pairs

    Hi,
    I want to find and "erase" all the aesthetic kerning values in a document with Find Change.
    How do I say: "app.findTextPreferences.kerningValue" != (zero or null)
    Thanks
    PJB

    Can't do that. ID can't find "other" attributes, only specified ones.
    This one regularly bites me when authors don't use Superscript and Subscript, but make their text a few pts smaller and move it up/down a few points -- and I bet it's their (w|W)ord processor that does it!
    "A" solution (as opposed to "the") is to mark all 'good' text with S&R with a color, then search for orginally-colored text.
    .. Although, in your case, I think you can set all kerning to 0 and be done with it.

  • Find/Change Inserting paragraph break

    Hello
    I am trying to insert a paragraph mark between two lines of text using find/change
    The first line has a heading style and I want to insert an empty line (Paragraph) after it and before the next line (without changing any formatting)
    I am able to use enter the correct parameters in find but can't figure out what parameter to use in 'Change to"
    Forced line break doesn't produce what I want. Neither does standard carriage return (not sure what that is)
    I have tried both Text and Grep dialogs without success. Yes I read the help files.
    This will be simple for you guys but is stumping me.
    Any ideas oh brilliant ones?
    As usual Thanks much in advance

    Err, a paragraph mark? You mean a paragraph break?
    Anyhow, if you insist on Doing it Wrong, you can use ^p ("End of Paragraph") in the change field. So you might
    change ^p to ^p^p to insert a blank paragraph between each paragraph. For instance. But again, it is the wrong answer.
    Yes-a paragraph break.' Sorry for the imperfect terminology
    The first line is a heading style which I was advised in this forum to make into a 'list style' due to TOC issues
    The 'doing it wrong' paragraph is going to be used to anchor a graphic and then converted to a very small paragraph mark (nearly invisible) as advised in another article
    I did use the
    change ^p to ^p^p
    but it creating another list style as the paragraph break. Its ok. I went ahead and did it anyway and then manually changed all of those entries into a regular paragraph 'break'
    With 300 graphics I would like to automate this but.....
    Thanks for your reply

  • How to use character styles in the Find/Change JavaScripts?

    First, good luck to Ole. He's been so helpful (and such a good writer, too). All the best!
    My Find/Change JavaScripts are running into trouble at line 159 of the ExtendScript Toolkit. The script is searching for a particular font, to which it should then apply a character style. I'm using the format I see in Adobe's "FindChangeList" sample text, but the script is still hitting a wall. What am I doing wrong? I'd like to have a working method for searching, not only for fonts, but also for finding a particular character or paragraph style and then applying a new style.
    Simple stuff, but I'm roadblocked.
    Here is the script so far:
    //This script applies the DFKai character style to the Arial Unicode font.
    text {findWhat:"", appliedFont:"Arial Unicode MS", fontStyle:"Regular"} {appliedCharacterStyle:"DFKai"} {include footnotes:true, include master pages:true, include hidden layers:true, whole word:false} Find Unicode font; change to DFKai character style.
    Thanks for your help!
    Gary Niemeier

    You are absolutely correct. I don't know how those spaces got there! I copied the text from the "FindChangeList.txt" document, but somewhere along the way, a software program "helpfully" added the spaces. (Rest assured, it wasn't copied from AppleScript. I stick with JavaScript.) Anyway, the script now runs like a charm.
    My thanks to you! Another "newbie" mistake easily spotted, eh?
    One thing, though, if Adobe is reading this: please flesh out the "FindChangeList.txt" file for those who are not programmers/scripters. I'm just a normal InDesign user, and I really need examples of basic syntax in order to use the "Find/Change" script correctly. I'm referring to the syntax involved with finding or changing text with a certain character or paragraph style. I often search for styles, and those properties should be provided in the help file. A couple of samples are all that's needed. (I did read through the JavaScript reference guide provided by Adobe, and even in the "Find/Change" section, it did not provide this information!). Furthermore, I often search text for a specific font. Why isn't this syntax included as well? It would easy to do and would save users a lot of fumbling around.
    Thanks again, all the best.

  • Find/change issue

    In versions of InDesign up to CS6, I could do something with find/change that doesn't seem to work anymore. I will try to describe it. Often, when working on a book, after the first proofreading pass, the editor will send me back page numbers to insert. In the original file I make, I use dummy text for all of these, putting 00 (2 zeros) and coloring them pink so they stand out and so that any other instance of 00 which is not a page number won't get selected. So when I need to do all the replacements, I can simply search for "00", followed by text color M100 in the find/change box. Here's where my problem lies: prior to CC, the first found instance of the 00 would be highlighted and I could just type in the correct number where the highlight was. Now that won't work, and InDesign wants me to type the correct number into the "change" field and then hit find next. It seems like a small thing, but it actually adds a ton of time when you have 200 or so instances to change. Can anyone help me here? Or did I used to have a plug-in that I've forgotten?

    Same problem here. Works with CS6, the dialog in CS6 looks more like Apple GUI. In CC and CC2014 the GUI looks more like Adobes own.
    When searching for a word, that doesn't exist, the dialog pops up and after that the focus in the search box, doesn't mark the word.
    So we have to click search box again and type a new search. In CS 6 it did mark the search directly after the dialog.
    Very buggy.

  • AppleWorks find/change

    In recent weeks, the find/change feature has not been functioning properly. For a while, it wasn't functioning at all, but after reading a few tips on this forum, I have managed to get it to find (and change) words. It still doesn't recognize quotation marks or apostrophes. Any suggestions?

    As far back as I can remember, the AppleWorks/ClarisWorks Find/Change has always shown straight quotes when typing into the fields. I can say for sure, but it would appear that checking "smart quotes" in Preferences > General > Text re-maps the ' key to the combination for curly quotes. Instead of copying & pasting into the Find/Change fields, you can use ⌥ (Option) [ to get “, ⌥ ] for ‘, ⌥ ⇧ [ for ” & ⌥ ⇧ ] ’. These are the combinations on my US keyboard.
    Copying & pasting text from a document created on a PC or from a web page often results in strange characters. Generally, character mapping is different between PCs & Macs. Even spaces aren't always recognized as such. Typing [space] in the Find box will often result in none being found. When I want to replace double spaces with a single space, first I need to replace all of the "spaces" by copying & pasting one into the Find field & typing a space into the Change field before I can then find & replace double spaces.
    The different language keyboard layouts on a Mac have many symbols in different physical places on the keyboard, but they do create the same characters as with other layouts.

  • Deleting extra forced line breaks with Find/Change

    Ladies and Gentlemen,
    I'm importing word .doc that are text-heavy and the formatting is such that there are lots of extra forced line breaks creating a blank line between paragraphs.
    To avoid manually deleting the extra forced line breaks to eliminate the blank line of space between paragraphs, what are the best steps to doing this an easier way?
    Any advice on clear steps to do it using the find/change option?
    Thanks in advance as always..
    JRH

    Are you talking about two hard returns [Enter] in a row, or a soft and hard return [Shift + Enter] and [Enter]? A forced line break is a soft return, but most Word users would just hit the return key for an empty paragraph to get an empty line.
    In either case, you can do a simple text find change, if GREP intimidates you. Use the special characters menu to enter either two "end of paragraph" or a "forced line break" and "end of paragraph" markers into the find field and a single "end of paragraph" marker into the change field.
    This is included as part of the "Find/change by list" sample script which adds some other common cleanup functions like converting two spaces to one. The advantage to using GREP is it will find any number of consecutive paragraph end markers and convert to one in a single pass, while a text search must be run multiple times to catch the heavy handed author.
    Peter

  • Find/Change Item Numbers and create Table of Contents

    Hello! I need help to find all my item numbers and apply a paragraph style to it so I can use them to create a Table of Contents page.
    Sample item numbers
    #12345
    #12345-5
    #12345-20
    #12345-ABC
    #12345/N
    I tried entering #^?^?^?^?^? on the Find/Change box and but this will find exactly the 5 characters after the # sign. I wonder if you can find all characters starting with # and until the last characters.
    Once I find all the item numbers, how can I apply the paragraph style for only those characters after the # sign? Because I only want to show the item numbers without the # sign on the Table of contents/Index page.
    By the way, I have InDesign CS2 which have no GREP function Maybe I can do this without the GREP?
    I really appreciate any help. Thank you very much.

    You actually have two problems here. The first is to assign the paragraph style. For that you can use GREP.
    Find #\d+ and leave the change field blank, but in the change formatting pick the paragraph style. Stricly speaking you only need to find #\d or even just # because a paragraph style applies to an entire paragraph, so assigning it to any character inthe paragraph will assign it to the entire paragraph.
    Which is your second problem. The TOC is based on paragraph styles and will include all of the text in each paragraph (up to the character limit for a TOC entry, which I think is 256 characters). You can't make a TOC and only use some of the paragraph. For that you need to use an index, or you need to make hidden or non-pinting frames with only the exact text you want in the TOC and assign a unique style to those.
    It's also possible someone has written (or could write) a script that can find text strings that match a pattern such as your numers, assign a character style to them (you could actually do that part in the paragraph style by adding a nested GREP style), then making a list of the text strings along with the page number on which they appear -- almost the same as an index except it would be based on character style, not an index marker.

  • How to find Change number for a Material

    Hi,
    If we know the material number and Revision level then how can we find the Change Number of that material.
    Is there any table in which i can find Change number for a revision level or is there any Function module available.
    Regards,
    Vaibhav

    Hi Vaibhav,
    Is there any table to find the change number and revision level of a material. I have change number and material and revision level coming from external system. But i need to check that with SAP whether it exists or not.
    Is there any table link to find whether a material has change number.

  • Find Change through external text file

    Hello folks
    I am bit pretty in InDesign scripting so could you please look into this.
    How can i change any particular text field in Indesign CS3 document from text file.
    I do have find change script but for each InDesign document specific text file is assigned.
    So each time i have to modify find change GREP property that is also repetetive of work. Is there any way to get find change information should be extract from external text file.
    Many Tanks in advance

    In the FindChangeByList script, you could customize the function myFindFile(myFilePath) {...} as to search the FindChangeList text file in the document location rather than the script location. That's an example. The question is: given a document, where will you have the corresponding FindChangeList?
    @+
    Marc

  • How to Open Find/Change with menuAction

    Hi,
    Read the question carefully I'm asking how to open the Find/Change
    dialog, not how to toggle it.
    Toggling is easy enough:
    app.menuActions.itemByName("$ID/Find/Change...").invoke();
    But if it is open, this will close it, and vice versa.
    I'm wondering if there's any way to specifically make sure it's opened?
    Thanks,
    Ariel

    Hi Ariel,
    This probably won't help but see https://forums.adobe.com/message/4413557#4413557
    If you could perform some action that will fail if the panel is closed then you could use a try catch to determine its state.
    I'll leave it to you to think of what that action would be.
    Trevor

  • FrameMaker 8 (Unstructured) - How to Find/Change "Referenced File" location globally?

    Hello,
    First off, I have a FrameMaker 8 (Unstructured) book that links ALL of its graphics, to a separate graphics folder on my network drive.
    With that said, I am hoping to do the following:
    1. Create a mirror copy of "Book A" and place that copy in another folder, (at the same level) on my network drive.
    2. Open up the new book file (e.g. Book B).
    3. Run a Find/Change to replace:
    ..\..\..\Graphics Catalog A\Graphics\a000123.png
    ..\..\..\Graphics Catalog B\Graphics\b000123.png
    The end result is that I could globally map out all the "Referenced Files" to the new folder path structure. This will allow me to save from having to manually re-import each of the 1000 graphics - into my book files.
    Finally, I am hoping to do this with the built in capabilities of FrameMaker 8 first. If that is not possible, then I will consider other possibilities.
    Thanks in advance for any suggestions.
    Regards,
    Jim

    This is how you do it:
    Outside of FM, copy the "Book A" folder and paste it where you want.
    Also, create the Graphics folder and file structure (i.e.
    "... Graphics Catalog B\Graphics ...")
    Before you open Book B in FM, temporarily rename the graphics
    folder that the FM files in Book A uses, e.g. "Graphics Catalog Z".
    Now, when you open the files in Book B, FM won't be able to find
    the old graphics since the folder name has changed. For each file,
    FM will open the "Missing graphics" dialog, where you need to
    browse to the new graphics folder, e.g. "Graphics Catalog B\Graphics".
    Select the correct file that FM asks for, and tick the option to
    use this folder for all remaining graphics.
    If all the image file names are identical, you will only need to
    do this once per FM file. If you really need the image file names
    to differ like you said:
    > ..\..\..\Graphics Catalog A\Graphics\a000123.png
    > ..\..\..\Graphics Catalog B\Graphics\b000123.png
    then you need to select the correct file name for *each* graphics
    that FM cannot find. This is a good reason to keep the file names
    identical, even though the folder name has changed.
    When all the files have opened, rename the original graphics folder
    back to "Graphics Catalog A".
    /Thomas Michanek

Maybe you are looking for

  • Creation of RG1 for Export Sales

    Hi, Frends, For Export Sales Customer wants to create RG1, but i dont know how to create that can u pl send me some tips of creation of RG1. Thanks and Regards Babu Rao

  • Imported files are  greyed out.....help please

    Hi, I have recently got my 1st camera a cannon digital ixus 55..... after taking a short movie with it and eventually being able to import it ( see my recent post in iPhoto) I found that when I opened iMovie the file name is greyed out and I'm unable

  • How to start with SAP

    Hi Friends, I have 3 years experience in Software Industry. I an working in Financial Services as a Support Analyst. I want to start my career in SAP - ABAP now. I don't much about SAP-ABAP. I have got access on to SAP server for practice. Can you pl

  • Question about externally editing in Photoshop then saving but the files not showing up in catalog

    When I am in Lightroom and I choose edit in Photoshop then I save the file, I would like the file to automatically show up in my Lightroom catalog.  It shows up if I save as a tiff like I set up in my preferences, but not if I save as a jpeg.  I woul

  • Very slow internet again

    Internet is very very slow, I know my location is quite far away from the exchange but this is just silly. Just ran a speed test: Download speed achieved during the test was - 41 Kbps  For your connection, the acceptable range of speeds is 100-250 Kb