Once again on alignment to the right reference numbers with GREP

For some jobs, I want the reference numbers in the notes align with the period that I have Options of IDCS4 reference Add (with an en space) as the separator between the number of note and the note text.  Not much so I set the paragraph style reference with a tab 'Match point' and then insert this tab at the beginning of the note.  I recently stumbled on this thread of 2009 where RodneyA that describes more in detail, and Eugene Tyson added a GREP search to automate the addition of tab: replace (~ F) with \t$1.

I can't get this to work in IDCS4.  It worked in earlier versions?  Earlier this year, Jongware explained that GREP can not replace a reference marker, only to watch in front of or behind the marker to replace anything.  Unfortunately, in my notes nothing before the marker reference of GREP replace until I manually put my tab there.  Addition of these tabs to hundreds of notes by hand is not if bad (jumping with Ctrl + arrow keys) and ID's of the propensity to consume a way occasionally note, I need to check all the same.  But I was mistaken in thinking that if I want to automate the addition of tabs I you do this via JSX?

Thank you

David

David, indicating when that you can't get something working, I must also tell you why

But when I tried your "replace (~ F) with \t$1 ' for me it became real obvious right away: the code ~ F is not only 'the footnote reference number' but also the note itself in the text. So, it all works in the sense that you get a tab before the code of reference number, you get loads of additional tabs in your text as a bonus.

There are several ways around this. The most obvious is to limit the operation replace all paragraphs in style with your reference style. If it is a single (mine is usually), it will work immediately. It is the first response of Eugene in the previous thread - possiblly you forgot to put this paragraph in the field Format style find.

Another way is to add a tab only when the code of reference number is the beginning of a line:

^ ~ F

replace it with

\t$0

(You're right noticing the trick 'postanalyse' cannot be reversed for an advanced search for just "opening of the line followed by the code of reference numbers". "It's the special flavor of an InDesign GREP Limitation).

This may fail if you have a note at the beginning of a paragraph

Still another way is to try to make use of the vertical position of the code reference number. If your references are superscript (which is fairly regularly) and the numbers in the notes themselves are not (that they may or may not be), you can search

~ F (+ position: normal)

and replace with himself more a tab before, as shown above. (A variation would be to use a style of character for referrals by exposing and seek [none] style to pick up those inside notes characters.)

Tags: InDesign

Similar Questions

  • Change the format of numbers with GREP?

    Hello

    I'm sure it's easy, but I just can't get my head around it.

    I have a large table in ID4. I need to change all the format of all the more than a thousand numbers.

    For example, 1234 becomes 1 234 and 12345 becomes 12 345, but it leaves all smaller numbers (IE up to three digits) that they are.

    I've tried a few things, but all fail to get the results I need

    Help!

    Maybe something like this:

    Search: (? )

    Change of: , $0

    Run several times to get everything changed.

    --

    Marijan (tomaxxi)

    http://tomaxxi.com

  • Menus are aligned to the right

    For some reason, the drop down menus under Windows 7 (Enterprise edition) are all aligned to the right (normally aligned to the left). I have never seen this before, and it's all about a relatively new installation of Windows. See a screenshot: http://www.hostanyimage.com/files/51145352950874579372.png.

    After some googling, I tried to adjust HKEY_CURRENT_USER\Control Panel\Desktop\MenuDropAlignment to different values, nothing helps. Any help? Thanks in advance.

    For some reason, the drop down menus under Windows 7 (Enterprise edition) are all aligned to the right (normally aligned to the left). I have never seen this before, and it's all about a relatively new installation of Windows. See a screenshot: http://www.hostanyimage.com/files/51145352950874579372.png.

    After some googling, I tried to adjust HKEY_CURRENT_USER\Control Panel\Desktop\MenuDropAlignment to different values, nothing helps. Any help? Thanks in advance.

    Hello

    There are a few problems with this behavior. First of all, if you are clicking very near the right edge of the screen, the drop-down menus will appear left everything simply because there is not enough room on the right side of the menu.

    The other problem is that the parameter 'Handedness' has become corrupted or changed. To change this, follow these steps.

    Press the Windows key + R logo to bring up the run dialog box. In the Open line, copy / paste the following text line.

    Shell: {80F3F1D5-FECA-45F3-BC32-752C152E456E}

    Press OK.

    This will start the configuration of the Tablet PC settings dialog (even if you don't have a Tablet PC).

    Select the other tab.

    In the right-handed/left-handed section, place a check in the option Left Handed .

    Click OK.

    This should place the menus on the right side.

    Let us know the results.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • Align to the right of the numbers into editable tables

    Hello

    I have a table editable af where there are number of columns as well.

    I need number of these columns should be aligned to the right.
    I tried to set the property align to the right column.
    But make no change.

    Is it possible that I solve this problem?

    I use JDeveloper 11.1.1.0.1

    Thank you
    Melaka

    Hello

    Take a look at the the af StyleClass: InputText in af: column, I use AFFieldNumberMarker.
    See if that helps...

    Concerning
    Paul

  • Align to the right numeric field

    I'm trying to align to the right of the numeric fields in a table of results. I tried the two numbers and strings and cannot get the numbers to align to the right. I even wrote a method to manage alignment, and nothing works.

    in my table of results, I made the following

    in the controller class adds:

    on top
    Import oracle.apps.fnd.framework.webui.beans.table.OATableBean;
    Import oracle.cabo.ui.data.DataObjectList;

    within the existing class
    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
    +{+
    super.processRequest (pageContext, webBean);

    OATableBean = tableBean
    (OATableBean) webBean.findIndexedChildRecursive("*MyResultsTable*");

    tableBean.prepareForRendering (pageContext);

    DataObjectList myColumnFormats = tableBean.getColumnFormats ();

    field 1
    oracle.cabo.ui.data.DictionaryData = myFieldColumnFormat
    (oracle.cabo.ui.data.DictionaryData) myColumnFormats.getItem (pageContext.findChildIndex (tableBean, "* MyField *" "'));
    just do something with the area now...
    myFieldColumnFormat.put (CELL_NO_WRAP_FORMAT_KEY, Boolean.TRUE);

    After doing that, the number of 'My domain' field is shown just aligned.

    Please change MyResultsTable and MyField as you see in the browser of your object.

    If you need more of a field, please copy the section "/ / field 1" accordingly.

    Hope this helps
    Concerning
    Volker

  • I lost the right scroll bar with the arrow on my monitor.

    I lost the right scroll bar with the arrow on my screen.  I also lost the clock on my toolbar at the bottom.

    Check the resolution of your screen. If you are using Windows 7, you can right click on your desktop and click on the screen resolution - make sure that the correct resolution for your monitor is selected.

    If it is a desktop computer with a monitor, you may also reset the default settings of the monitor using the menu key. Depending on your model, the steps will be something like those here.

  • How to set the alignment of the right button on the toolbar

    Hello

    I place a text button and exit on the toolbar

    Capture.JPG

    I want to set the alignment of the button (Logout) right and output text (welcome weblogic) remain the same as it original position (Left). I have this rhythm on the toolbar of the control panel.

    How can do this?

    Hello

    Use this option instead of the toolbar.

    Layout = "vertical" >

    inlineStyle = "float: right;" / >

  • How to get scrolling objects to align to the right of the browser

    I can't my objects or scrolling in general to align with the right side of the browser. Any ideas? CREATIVE

    I believe you are referring to scroll content page to the right of the page? I see in your site when I check it.

    If this isn't what you are looking for, please let me know the details.

    Thank you

    Sanjit

  • Aligned to the right content in a form field box?

    Hello

    I have a form that I'm working on http://www.bankruptcyaction.com/usapplication.PDF

    I use Acrobat X

    On the third page of my form, there are boxes in the form that users can fill in the amounts of their expenditures. I would like to have numbers to aligned right on the right side of the box. Can someone tell me how to set the field box to right justify when a user enters a number?

    Also, I want the numbers to add automatiquement.00 to the end of the number, even if it is an integer, for example, now if I get $2,000 in one of the fields, it was released in 2000, but I would only it automatically like 2000.00. Can someone tell me how to / code this?

    My form http://BankruptcyCanada.com/BankruptcyForm.PDF works perfectly as I want as described above, but I forgot how I did it and I did it with an another Acrobat.

    Any help would be appreciated, while I try and understand this

    Thank you very much!

    Go to the forms editing mode (Tools > forms > Edit) and double-click on a field and the Properties dialog box opens.

  • How to align to the right Edge of the Object with text on the left border in PS?

    I have two layers in PhotoShop CS6: a rectangle and a paragraph.  The rectangle is rotated 10 °.  The text is left-justified.  I want to have the left edge of the rest of the text the angle of 10 ° to the right edge of the rotated rectangle.  Any help is very appreciated.  Thank you!

    I think you can search 'Type of Photoshop in a form'. Google it or go to this site (scroll down beyond the rectangle example

    Create the Type within a shape in Photoshop

  • How to make the search bar of the report interactive, aligned to the right?

    Hi all
    I need to make the search report interactive to be on the right side bar. How can I do this? any idea?
    Please note that I use the Oracle XE11.2 database

    Best regards...
    Hussam.

    Hossam,
    If you use apex 4.2... change your page in the css section, place the code in the Inline text box.

  • GREP: How is it possible to place a (for example) "*" before and after the text in bold with GREP?

    Hello.

    I have a string of text as such:

    I want to use GREP to insert a "*" (asterisk) before and after each "BOLD" part. I can do it with GREP?

    (if the asterisk is a problem, I can use a different character)

    Any help would be appreciated.

    Hi Schmaltzkopf,

    Try this:

    Have fun

  • Buttons aligned to the right in panelFormLayout foot

    ADF 11 g

    Hello

    I'll get right aligned the buttons in the footer of a panelFormLayout?

    Concerning
    Paul

    Paul,

    How about packing your buttons inside the panelGroupLayout and setting the halign right property?

    Sample:

    
       
           
           
       
    
    

    Jean Lou

    Published by: Marc Israel on September 22, 2009 03:50

  • I disabled my gadgets somehow, and now they show once again. I am the administrator.

    I need the skills of the administrator to enable gadgets that tend to be on the screen, and I am the administrator. Something on group policy and forming part of a residential group has something to do with it also. I tried 3 internet offers patches to allow gadgets, but none of them worked. I tried gpedit.msc but nothing came of the research. Windows features a gadgets enabled as well as 'view' in the menu right click on the desktop. I really love my gadgets, and now I can't turn them back on.

    Hello

    1. What is the full error message you get?

    I suggest you to give us the exact error code so that we can better help you.

    It will be useful.

  • on mac when I take an albums will not open. count freezes and have to rstart. same thing once again impossible to use the. 14 thank you for organizing items

    on the mac, when I go to albums will not open. then the computer freezes need to stop and start again, but same thing happens again can not use Organizer items 14 thank you

    reset your preferences - https://helpx.adobe.com/photoshop-elements/kb/preference-file-locations-photoshop-elements .html, http://www.photokaboom.com/photography/learn/Photoshop_Elements/troubleshooting/1_delete_p references_file.htm

Maybe you are looking for