Paragraph Rules

I've been supplied a document with paragraph rules manually applied, the problem is there are 190 pages and paragraph rules  appear on nearly every page, is there a quick way of changing the weights of all of  these or a simple script.
Many Thanks
Darryl

This is a bit off the wall - but if you tinker with this I think it can work.
Be sure to do this on a copy of the file
You can select all the text and use File>Export and choose InDesign Tagged Text
You can search for the Rule Above in the txt file and replace the value there.
Best to set up the rule above weight you want to use at the start of the document so that's accessbile for you when open the TXT file.
Then do a search for pRuleAboveStroke:
And replace that Above Stroke value with the value from the start of the document
You can then import that Txt file back to inDesign.
(I did test this with bringing the file into InDesign as TEXT and GREP seaching for
pRuleAboveStroke:\d+\.\d+
And replacing with
pRuleAboveStroke:0.500000
To make all strokes .5)
Not sure if that's a good idea though - seemed to work ok?

Similar Messages

  • 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

  • I'm trying to remove paragraph rules from paragraphs in an InDesign document, but cannot because it (incorrectly) says they're already turned off

    So, basically what a title says. I'm working on a document for my employer in which some of the formatting is already in place. As part of that formatting, InDesign is adding horizontal rules after every paragraph, and there are some paragraphs for which this would not be appropriate, particularly bulleted lists, so I'm attempting to remove them. Problem is, when I select the paragraphs and pull up the Paragraph Rules dialog, it claims that the horizontal rules area already turned off, and that I therefore cannot remove them. Does anyone know what's going on or how to fix it?

    Hi,
    Have you checked that the paragraph rule is not "Rule Below"? Rule above is switched off, but Rule below may well be on. Select it in the popup shown in your screenshot.
    Regards,
    Malcolm

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

  • Paragraph rules don't appear in pdf

    I have a problem with a paragraph rule. The rule is in a paragraph style that always appears on right pages (chapter opening). I set a negative indent so the rule extends through all the left page. It appears ok in indesign,…
    but when I export a pdf, the rule appears only in the right page, not in the left…
    The same happens when i generate a pdf through print command (even though the indesign document prints right in the printer).

    Unchecking "Crop Image Data to Frames" I had the same result. If I export the pdf with "spreads" checked, it appears right.
    With a drawn rule it worked. It'll probably be the solution, since in this layout the rule is always on the same position. If it was applied on the chapter title, it could change the position because of the title's lenght, and then it would be more complicated…
    It seems that it's simply the way the software works, there are some things you just can't do.
    Thanks!

  • Is it possible to create automaticaly scaling Paragraph Rules?

    Here is what I am trying to do:
    I have a header display that features a gradiant rule both above and below the header. If I set it up with 20 point text and position the paragraph rules above and below, everything is kosher.
    Now, the customer wants to use this same header on several products with different sized pages, so the header might be 30 points here, 50 points there, and so on.
    I want to have the Paragraph Rule automatically reposition and resize itself so it maintains the same look when I manually change the point size of the text. Right now, I spend lots of time fiddling the position and weight of the rules by hand (there are LOTS of different sizes).
    Any ideas?

    Might be scriptable, maybe, possibly...
    Down the hall on the left: InDesign Scripting

  • Horizontal paragraph rule across two-column text frame?

    Hi,
    as the title suggests, how do i get a horizontal rule to run across a two-column text frame?
    I have either had the rule just apply to the entered text; had a gap where the column gutter is;
    or I have had to set the column gutter to 0mm/px and manually set carriage returns to give the impression of a gutter.
    Surely there is a better way?
    I'll attach a jpeg of my various options.
    Hope I've been clear-enough. All help is appreciated.
    Cheers, Matt

    You can put the rule in a paragraph which is spanning a columns.
    Or you can extend the paragraph rules by inputing minus values to left and right (e.g. -5mm)
    Or you can use a table instead.
    Or you can use negative left and right intend for the text but extend the rule to the end of the frame.
    Never set a carriage return manually.

  • Can I change the default settings for Paragraph Rules?

    Hello
    I need to apply the same 'Rule Below' to a lot of separate lines of text in InDesign CS5, but the settings I want differ from the default ones in the Paragraph Rules dialogue box. Is there a way to change the default settings so I can just click Rule On rather than inputting the same information a million and one times?
    Many thanks

    You will need a separate paragraph style for each heading level
    Heading Level 1
    Heading Level 2
    Heading Level 3
    For Heading Level 1 - create a Paragraph Style and set it the way you want.
    For Heading Level 2 - make sure that in General that "Based on: Heading Level 1", this will give it same properties as H1 - but you can change the size of the text and the size paragraph rule to suit.
    For HEading Level 3 - make sure that you set it to Based On: Heading Level 1 (this is vital)
    And do the same for all Sub Heading levels.
    I'd usually assign shortcuts of
    CTRL ALT SHIFT 1 - for H1
    CTRL ALT SHIFT 2 - for H2
    Etc.
    This will ensure consistency across your document.
    Say for example you needed to change the colour or tint of all Paragraph Rules
    CHANGE H1 ONLY - and this will also be applied to H2 H3 H4 etc.  As long as you haven't given different tints/colours to each individual Paragraph Rule in the Styles.

  • How can we simulate the Indesign paragraph rules in Adobe Flex4?

    Hi,
    http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6dc1a.h tml
    The above link specifies how Paragraph Rules are added in InDesign.
    I have a scenario where I would want the same thing to happen in Flex.
    So is there any thing that can be done in Adobe Flex 4 in TLF 1.1 so that we can add these rules in the view generated using Flex.
    I was initially thinking of using inline graphics but I it will not help my cause.
    Please share if there is any way out
    Thanks
    Ashar

    Interesting problem! Here's a suggestion to try.
    Make your own ContainerController class that derives from ContainerController and overrides the addTextLine protected method. Each time a line is added, check it to see if it is the first or last line of the paragraph (assuming you wanted rules above and below). If so, then create a new DisplayObject for the rule, and make the rule a child of the TextLine. Then call super.addTextLine, which will add the TextLine to the container. To determine whether the line is first or last, get the TextFlowLine from the TextLine's userData. The TextFlowLine has a location property which will tell you if the line is first, last, middle, or only. To get TLF to use your derived ContainerController class, pass in one of your ContainerController's when you call addController on the textFlow's flowComposer.
    So, your code might look something like this:
    textFlow.flowComposer.addController(new RuleContainerController(sprite, width, height));
    class RuleContainerController extends ContainerController
         override protected function addTextLine(textLine:TextLine, index:int):void
              var line:TextFlowLine = textLine.userData as TextFlowLine;
              if (line.location & TextFlowLine.LAST)
                   ruleAfter:DisplayObject = // set up the rule here
                   textLine.addChild(ruleAfter);
              super.addTextLine(textLine, index);
    This code will add a rule to every paragraph, which may not be what you want. But you could add a user property that you add to the paragraph, and then the addTextLine could use the TextFlowLine to get the paragraph and only attach the rule if property is set.
    This is really just sketched out, I haven't compiled or debugged it or anything, but it seems like it might work for your problem. Let me know how it works!
    - robin

  • Inserting paragraph rules into a nested style.

    Is it possible to create a style which includes a paragraph rule which can be used in a nested style. Character styles do not seem to allow rules, and nested styles seem to use character styles only when they are being built.
    The nested style is removing the paragraph rule at the mo and im struggling to see how to make it work.
    Using InDesign 5.5

    OK.
    The example has been built in InDesign 5.5. We are building an excel data sheet which will be data merged. As i need it to all follow the same style I have given all the elements within the example a style. The blue rule can't be done as a character style so ive had to do it as a paragraph style. When i open up the nested styles pallette to set up how I want it to behave I cant include the paragraph rule. (indesign wont allow me) The rest is working fine as they are character styles.
    Basicly what im trying to do is reproduce the style in the example with an image on the left, Title in blue bar at the top and the part number, description and price.
    I figured a nested style would be the way forward but I cant get the blue bar (Paragraph Rule to display from the nested style)
    I should point out that I rarely need to use nested styles so im sort of bashing about a bit to figure it out.
    Thanks

  • Is there a Master or Paragraph rule that would allow me to edit fonts on many pages?

    I'm using InDesign CS4.
    I would like to be able to create a header on a Master that would control the font and size of font on each Header on each page.
    On each page, the wording is different, so there can't be wording... 
    The Headings on each page have a different font than the font in the body of the book.
      Is creating a master the best way, or is creating a type of paragraph or paragraph rule the way to go?
    I feel there must be a way to make this happen - so if the font needs to be changed, it can be changed from a master or a rule, not having to go to each and every page...
    Thanks for your help, Lou

    What did I do?
    Not sure.
    What do I do?
    If you still don't have it sorted out, here are some steps to follow, with some assumptions based on info contained in the thread so far:
    Go to your Master Page and set up your header text frame. Type an actual line of text in there, even if it's just "Header goes here" or something like that.
    Format the text the way you want all your headers to look; font, size, etc.
    With the now-formatted text selected, go to the Paragraph Styles panel, (if you don't see it, choose Window > Styles > Paragraph Styles or press Ctrl+F11), and choose New Paragraph Style from the panel menu, (click the menu icon at the top-right corner of the panel to access the panel menu). This will open the Paragraph Style dialog, pre-populated with settings based on your text selection. Give it a name like "Header Left," put a tick on Apply Style to Selection and click OK.
    If you need a Header Right style for the facing Master Page, there are a few ways to get it. Here's one: In the Paragraph Styles panel, right-click on the Header Right style and choose Duplicate Style... to make a copy of it. Now right-click on the new copy and choose Edit Header Right copy... Change its name to Header Left, make whatever other changes you want to the style settings, (primarily Indents and Spacing > Alignment, I should think), and click OK.
    Now you can also duplicate the text frame you made in step 1 by copy/paste or Alt-Drag to the facing page. Put it where you want it and apply the Header Left style.

  • Has Paragraph Rules function changed in 2014 upgrade?

    Paragraph rules seem to be misbehaving in latest version of InDesign 2014. Has there been a change in its function in this new version update?  Anyone: Please try making a paragraph rule a different color from your type. In my version, it can't be done. Type and paragraph rule color is one and the same in Paragraph Rule dialog box, Rule Above and Below. Check it out. Is it just me?

    There are no changes in paragraph rules. Try restoring your InDesign preferences:
    Trash, Replace, Reset, or Restore the application Preferences

  • Can't find Paragraph rules in ID CS 3.0.1

    Have a file brought over months ago from PM 7. w/paragraph rules, ID is putting the rules when updating file, but can't find the menu to make a slight change in spacing... paragraph rule or rules does not show anyplace... help please!

    Click the Paragraph Palette flyout menu (the little triangle in the corner of the palette).

  • What is the Gap option in Paragraph Rules?

    I've noticed under Paragraph Rules that there are options called Gap Color and Gap Tint. As far as I can tell, these are always grayed out. What are they?
    Thanks, Phyllis

    If you choose a line style that's not solid, such as dashed or
    thin-thin, the gap color will be available as a fill for the area not
    part of the stroke.
    You can get some very nice effects that way. Play around.
    Bob

  • Paragraph Rules Run Too Short Under Text

    I've noticed that when I select a paragraph rule to run under some text (instead of the whole column) that it runs a little too short if the text has been tracked. If there's no kerning or tracking, the rule runs the width of the text just fine. But soon as the text is stretched out the rule doesn't quite extend the entire way under the text. Is there a way to fix this? I have InDesign CS5 for Windows (ver. 7.0.4).
    Ed Hedemann

    @ Lilia,
    Forced line breaks are special characters, too.
    But here's the good news. I tested your theory this morning about not applying the tracking to the last character and it DOES work for all alignment options, and it does not move the last character's position, so it is viable, in fact excellent, when applied using the GREP style. So for headings (or any other tracked paragarph that needs a Rule Below set to text width and where the text is tracked with a positive value) you want to create a 0 tracking character style and apply it to the last character inthe paragraph using .$
    The tracking value should be added to the basic character format of the paragraph style:
    The character style should do nothing but assign a tracking value of 0:
    And that character style should be applied as a GREP Style like this:
    No special characters and comletely automatic, and the text can be edited at will, or the formatting in the style can be changed and it will continue to work.
    Well done.
    By the way, welcome to the forum. If you want to learn about GREP, and you should, both as a teacher and an obviously talented user, I highly recommend Peter Kahrel's primer from O'Reilly: http://shop.oreilly.com/product/9780596156015.do which is a real bargain at $9.99 and available as PDF, Mobi or ePub. GREP is incredibly powerful, and actually not terribly difficult to learn (and the Find/Change dialog in ID has most of the commonly used metacharacters in the dropdowns if you have trouble memorizing). There are many users here who will be glad to help you learn GREP, including Peter K, if you run into a stumbling block and post a question.
    I'm also going to update my bug report from last night to include your workaround. It might point the engineers toward an easy way to fix the code so none of this will be necessary someday.

Maybe you are looking for