How to apply an InDesign Paragraph Rule above, but not when first in column

How do I apply a paragraph rule "above" but not when first in a column. In other words, the rule above will only run if it isn't the first paragraph in the column (even if it appears in a multi-column text frame).
Before you jump the gun: Rule below will not solve that, for various reasons.
Thanks much in advance.

Aha! Apparently totally!
Here a similar way to yours with an anchored block. Copy it and launch this simple regex. Easy with no headache! 

Similar Messages

  • How do I get rid of xml tags but not when the tag has copyright in it?

    I tried this but it does not seem to do anything:
    temp_string=temp_string.replaceAll("\\<.*?(!copyright)\\>", "");An example of this is that if I have: <meta name ="copyright" > I do not want to get rid of the tag. In other words, I do not want to get rid of any tags that have the word "copyright" in them, but I want to get rid of all other tags.
    Edited by: setaret2004 on Dec 16, 2008 4:11 PM

    setaret2004 wrote:
    Also if I want to include license as well do I just do: str = str.replaceAll("<(?![^<>]*(copyright|license))[^<>]*>", ""); Is that correct?Yes, you can do the same thing with all three regexes. Now, explanations:
    "<(?![^<>]*copyright)[^<>]*>" This regex does one lookahead, scanning forward for the word "copyright" before beginning the actual match. It's a negative lookahead, so if the word is seen, the lookahead fails and so does the overall match. If the lookahead succeeds, the match position is returned to where the lookahead started and the real matching begins.
    A naïve approach would use ".&#x2A;" or ".&#x2A;?" in the lookahead, but then it would be free to scan past the end of the tag and find the word in the next tag or halfway through the document; lookaheads are slippery that way. But I used "[<>]&#x2A;", so once it reaches the closing ">" it stops scanning.
    That means, for every successful match the regex scans the whole tag twice--once for the lookahead and once "for reals". That won't be a problem in most cases, but if you're matching many large chunks of text, performance could suffer. Each of the other regexes only traverses the tag once. "<(?:(?!copyright)[^<>])*>" This one steps through the text one character at a time, at each position doing a negative lookahead before matching the character. That sounds like a lot of work, but in the vast majority of cases the lookahead will only have to look at one character before yielding.
    "<(?:(?!copyright|[<>]).)*>" This is basically the same as the second regex, but it does all the real work in the lookahead. I don't recommend it; it's less readable and probably less efficient than the second regex. But both the second and third regexes can be made more efficient by using [possessive quantifiers|http://www.regular-expressions.info/possessive.html] (that whole site is highly recommended, by the way): "<(?:(?!copyright)[^<>])*+>", "");
    "<(?:(?!copyright|[<>]).)*+>" The first regex can use a possessive quantifier, too, but not in the lookahead: "<(?![^<>]*copyright)[^<>]*+>"

  • How can I make a paragraph rule transparent?

    I have a requirement to use a paragraph rule but I need it to be transparent. I cannot figure a way to do this or via any other technique in indesign. In reality I want them to be included in a character or paragraph style.
    Your help is appreciated. I am on CS5.5 and an indesign veteran of some 12 years now...

    My method is a bit of a tricky method, but I think it works.
    Select the text frame, and choose Edit>Place and Link Story.
    You are given a Loaded Cursor with identical text.
    Place this in the exact same location and send it to the back.
    Give the text at the back a Paragraph Rule above, to suit. And give it a white rule.
    Change the Back Frame transparency to suit.
    Then Make sure your original text frame is on top.
    When you update the text in the main frame - then you can update the text via the Links panel so the rule behind suits
    Here's a file to test it with
    https://dl.dropbox.com/u/17210757/transtest.idml

  • How to upgrade my iphone 4 ios 4.1 or above but not ios7.0

    how to upgrade my iphone 4 ios 4.1 or above but not ios7.0? . For watsapp sake , I wanna upgrade to ios 5 or above please give me some solution

    you can only upgrade to the most recent version, 7.1

  • My ipod has had a previous owner How do I change my ipods email address so that when I try to down load anything it asks for the previous owners password but when I go to my account it says its my email my account but not when I try to download????

    My ipod has had a previous owner How do I change my ipods email address so that when I try to down load anything it asks for the previous owners password but when I go to my account it says its my email my account but not when I try to download can anyone please help me ????Plus it still has some of the previous owners pictures and videos on it that I want to delete and can't????? Also is there a way to kill the apps that u have used throughout the day the battery doesn't last long at all ??????

    - How did you dlete stuff from the iPod? If you have a 1G or 2G iPod and deleted the stuff by going to Settings>Genera.>Reset>Erase aall contents and settings without being connected to a power source, the battery dies before he erase was comleted since it can take hour.
    - In any event try the following:
    - Connect to a chaging sour for three hours.
    - Reset the iPod and then connect to the computer and try to restore va iTunes.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Next try placing the iPod in recovery moe and then try to restore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore
    - Last try DFU made and restore.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • HT4864 How can I delete / close my iCloud email but not my iCloud account

    How can I delete / close my iCloud email but not my iCloud account

    On your iOS device, go to Settings>iCloud and turn Mail off.  On a Mac, go to System Preferences>iCloud and uncheck Mail.

  • I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    Hi czigrand,
    Thanks for visiting Apple Support Communities.
    Currently, you can gift dollar amounts or individual items (EG. songs) on the iTunes Store. See this article for more information:
    In the iTunes Store, you can gift a dollar amount or specific music, movies, TV shows, or apps from your iPhone, iPod touch, iPad, Mac, or PC. Follow these steps to send a gift from the iTunes Store.
    iTunes: Sending iTunes Gifts
    http://support.apple.com/kb/HT2736
    Best Regards,
    Jeremy

  • How do i set the background of the table( not of cell / row / column).

    How do i set the background of the table( not of cell / row / column).
    What happens when i load the applet the table is blank and displays the background color is gray which we want to be white.
    We tried using the setBackGround but it is not working maybe we are not using it properly. Any help would be gr8.
    Thanks in advance.

    I don't understand very well, but i guess that the background is gray when the table content's empty, isn't it?
    When the table model is empty, the JTable doesn't paint, so its container displays its background (often gray).
    In this case, what you must do is force the table to paint, even if the model is empty. So, you have to create your own table and override three methods :
    public class MyTable extends JTable
    //specify the preferred and minum size when empty
    myPreferredWidth = 200;
    myPreferredHeigth =200;
    myMinimunWidth = ...;
    myMinimunHeigth = ...;
    public Dimension getPreferredSize()
    if(getModel().getRowCount() < 1)
    return new Dimension(myPreferredWidth, myPreferredHeigth);
    else
    return super.getPreferredSize();
    public Dimension getMinimumSize()
    if( getModel().getRowCount() > 0)
    return new Dimension(myMinimunWidth, myMinimunHeigth);
    else
    return super.getMinimumSize();
    protected void paintComponent(Graphics g)
    if (getModel().getRowCount<1 && isOpaque()) { //paint background
    g.setColor(Color.white);
    g.fillRect(0, 0, getWidth(), getHeight());
    else super.paintComponent(g);
    }

  • How do I update my iPhone 3G firmware but not to the latest version?

    How do I update my iPhone 3G firmware but not to the latest version?
    I currently am running 3.1 but would like to update it to the 4.1 version (not the latest 4.3 version). How do I do this? I have already gone online and downloaded the 4.1 firmware for iPhone 3G but not sure how to install it. I unzipped the file then tried to do the Shift>Update trick but none of the downloaded files could be selected. Am I doing something wrong?

    There is no official way to do what you want, that's why the files can't be selected. iOS 4.2.1 is the last officially signed firmware available for your phone. If you want to install any other firmware you'll have to go elsewhere for instructions as such cannot be discussed here, per this forum's terms of use, sorry.

  • How to track materials shipped by the Vendor but not received

    Hi,
    Can anyone explain how to track materials shipped by the Vendor but not received at the customer plant?
    Thanks in advance

    You can use confirmation control in PO for tracking
    1. OMGZ to Configure Confirmation control.
        Here  you can specify the order in which you expect confirmations from your vendors.
    2. MK02 - to assign Confirmation Control to Vendor in Purchasing View.
    3. To view acknowledgments that have been received,
        in PO choose Item --> Confirmations --> Overview
    Check this out-
    http://www.sap-img.com/materials/explain-about-the-po-confirmation-control-key-in-detail.htm

  • How do I delete just the firefox bookmarks but not the the bookmarks toolbar icons

    I deleted my firefox bookmarks so I could import my gooogle bookmarks,but this also deleted my firefox bookmarks toolbar entries...it took me along time to put these in again.
    How do I delete just the firefox bookmarks but not the the bookmarks toolbar icons

    What kind of problems did you get after installing the extension?
    You can try to remove the history manually in the History Manager by doing a search for a colon.
    How many history items do you have to remove?
    If you only want to do this once or occasionally then you can consider to use this code:
    *http://kb.mozillazine.org/User:Dickvl/JavaScript_Error_Console#Expire_History_By_Days
    You will have to calculate the number of days that you want to keep to remove only history items from 2013 and older (365+31+28+26)
    You can open the Browser Console (Firefox/Tools > Web Developer).
    Paste the JavaScript code in the command line and press the Enter key to run the code.
    *Toggle the devtools.chrome.enabled pref on the <b>about:config</b> page to true to enable the command line
    *https://developer.mozilla.org/Tools/Browser_Console#Browser_Console_command_line
    <pre><nowiki>
    (function(){
    /* expire history by days, based upon bug 660646 comment 5/7 - [email protected] */
    var Cc = Components.classes, Ci = Components.interfaces;
    var his = Cc["@mozilla.org/browser/nav-history-service;1"].getService(Ci.nsIBrowserHistory);
    var prs = Cc["@mozilla.org/embedcomp/prompt-service;1"].getService(Ci.nsIPromptService);
    var day = 0, obj = new Object, txt = "Expire History"; obj.value = "90";
    if (prs.prompt(null,txt,"Days of history to keep",obj,null,{})){
    day = parseInt(obj.value);
    if(!isNaN(day)&&(day>0)){
    his.removeVisitsByTimeframe(0,(new Date().setHours(0,0,0,0) - day * 86400000) * 1000);
    }else{ prs.alert(null,txt,"Error Parsing Days: "+obj.value); }
    </nowiki></pre>
    If hat doesn't work then you may have a problem with the places.sqlite database file and you may have to reset places.sqlite.
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/
    You can move (copy/paste) history items that you want to keep to a bookmarks folder.
    See also:
    *Norwell History Tools: https://addons.mozilla.org/firefox/addon/norwell/

  • Want to remove cascade delete rule alone , but not referential functionalty

    Hi All,
    i need a help. i have a table (B) in production which is having a column with on delete cascade rule & it is a foreign key.whenever i delete a row from table A , the corresponding referential row in table B will be deleted. but,what i need here is, i want to remove cascade delete rule alone , but not the referential functionality(Foreign key functionality).
    Can any one please guide me......Thanks in Advance.

    Hi,
    You need to recreate(drop and create) foreign key without "on delete cascade" clause.

  • I have an iphone 4s and the speaker has stpped working when I play music with i tunes or you fox. It works when they ring me but not when i want to listen to music :( do you know how I fix this?

    I have an iphone 4s and the speaker has stpped working when I play music with i tunes or you fox. It works when they ring me but not when i want to listen to music :( do you know how I fix this?

    Go to settings/music/volume limit tap on that.  Make sure it is set to OFF and when you tap it that the slider is at max

  • I don't want to sync my new ipod nano with all my music on my mac. i only want to put on certain albums. how do i transfer some of the music but not all? thank you.

    i want to add music to my new ipod nano but i don't want to sync all the music onto the nano from my mac. how do i transfer some of the music but not all? thank you.

    Hello,
      It is 2015 and iTunes still wants to tell me what to listen to. This problem still persists. The only solution I have found is to select "Manual ..." and pick one by one the items to sync.
      When I select items to sync by artist or genre they do copy to the device. Then iTunes continues randomly selecting music until the device is full. When I want to load the Nano for a road trip I don't want 20% of the tracks to be Chakra meditation. When little Nano is docked on the nightstand alarm clock I DON'T want to hear Motorhead, Ministry, etc.
      For all the effort aPple puts into seamless integration and ease of use ... Why the heck is it so hard to say NO? Sync these tracks and NOT those. Stop asking me to log in to your cloud service BTW. I do not want it.
    Thanks,
    Disgruntled Sour aPple User

  • How can I reinstall Abode Acrobat Pro? Had problems when first downloaded and had to uninstall.

    How can I reinstall Abode Acrobat Pro? Had problems when first downloaded and had to uninstall.

    You can refer to :
    Acrobat Learn & Support
    Installing, uninstalling Acrobat X | Mac OS
    Adobe Acrobat X Pro * Activation and registration
    http://www.adobe.com/content/dam/Adobe/en/accessibility/products/acrobat/pdfs/acrobat-xi-p ro-accessibility-best-practice…
    They are useful resources.
    Regards
    Rajshree

Maybe you are looking for