Drop cap for FIRST paragraph only

I know how to create a drop cap for a paragraph manually. But I will be filling a textbox from XML, which may contain one or more paragraphs. If I assign a drop cap as part of the paragraph style, every paragraph gets a drop cap, when I only want it on the FIRST paragraph. It seemed liked Nested Styles offered some promise, but that appears to only work with character styles, and drop cap is available only as a paragraph style.
Is there any solution to this, short of scripting? And if scripting is required, does anyone have any pertinent examples of applying paragraph styles with scripting? I'm a seasoned pro with VB, but I haven't tried VBScript in InDesign yet, and not even sure what the object model looks like.
Thanks!

Please forgive my ignorance, but is "next style" some kind of intrinsic functionality (as suggested by the quotes)? If there is some kind of functionality that says apply a variant of style to the first paragraph, and the original (based on) style to the rest, that's what I'm looking for.
I did arrive at a work-around, using the original style and basing a new style on it (thanks for the tip, I didn't think about that), but it's less elegant than I'd like. What I did is, instead of assigning an XML tag to the entire textbox, I selected the first paragraph and assigned a tag to it; then I selected the remaining paragraph(s) and assigned a different tag. I mapped styles to each tag, with the first having the drop cap. So far, it seems to work--though I've found that with ID and XML, it's best to keep things as simple as possible. ID's implementation of XML can be a little squirrely. This also adds the burden of having the software which generates the XML, determine when the first paragraph ends and the second begins.
If anyone else out there tries this, please note: ID adds as "Story" tag to the structure. You'll need to add this tag to your XML as well (and remember, tag names are case sensitive).

Similar Messages

  • Drop cap in first paragraph only...

    Hi All,
    I've found what looks like the solution to this, but it doesn't work (thereby rendering it a non-solution).
    Anyways, I have created two paragraph styles ("First Paragraph Style" and "Following Paragraph Style"). In "First Paragraph Style" I have set the Drop Cap, and I have set "Next Style" (under "General") to "Following Paragraph Style" (which does not have a Drop Cap setting, or rather the default settings ie. 0 lines, etc.).
    The rub: I apply First Paragraph Style to my text and... all the paragraphs have a drop cap as defined in First Paragraph Style. Major sadness!
    Any ideas?
    Thanks a lot!
    - steve

    Next style only works automatically when you are typing and hit enter. For placed or pasted text, or previousluy entered text, follow Fred's instuctions.

  • Style for following paragraph only works for RH default styles?

    I'm creating my own styles in the styles and formatting pod. When you choose 'Edit' and then fiddle with the settings in the dialogue box, there is an option for "Style (style for following paragraph).
    This is a great feature. The problem is, it only seems to work if you choose a style that existed by default in RH (e.g. Heading 1, Normal). When I choose a style I created, the next style created with a hard return is just a repeat of whatever style you were in on the previous line.
    It's hard for me to understand why it won't work with any of the other styles I created, since they all appear in this dialogue-box list as options. Could someone please enlighten me?

    I'm using the default style sheet. I've added my own topics in it.
    Any other thoughts?

  • Change background and font for first row only?

    Hi, 
    Have a tablix in SSRS (2008R2) and would like to change the background colour and font for the first row only, is this possible and if so how would I achieve this? 
    I have followed and example on setting alternate row background colour in the properties but can't see how to do this for just the first row. 
    =IIF(RowNumber(Nothing) MOD 2,”LightGrey”, “LightBlue”)
    Thanks 

    Hello,
    The Expression uses a Modulo function to calculate every second row. In your case just compare with equal 1 for the first row:
    =IIF(RowNumber(Nothing) = 1, ”LightGrey”, “LightBlue”)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Access of network for first time only

    Hi there,
    I have encountered some problems whenever my J2ME application wants to connect to the servlet via the HttpConnection. When i test on the real device, this alert message "Do you wish to access to the network " will always prompt me whenever i want to use the network.
    So when i open the httpConnection 4 times, this alert message will prompt me 4 times.Is there any ways for me to eliminate this prompting? As far as i'm concerned, i know there's this feature in the mobile device that allows the setting of network access to ask for the first time only. But i want to set it in codings.
    Can anybody help me in this matter?Thanks!

    You also need to set your application domain to trusted. Else even if the user sets the permission to always allow ... blah blah blah, the app will still ask every time. You do this by buying a certificate from a TTP.

  • Apple Lossless drops artwork on first song only

    I'm currently re-ripping most of my CDs Apple Lossless.  I'm encountering a random problem in which the artwork of just the first song of an album goes black.  When I attempt to manually add the artwork to that song, it doesn't save to the file.  This is happening with just the first track of certain albums.

    Bump!

  • Recently purchased new Mac Book Pro.  Synced iPod touch with it for first time, only purchased songs transferred, non purchased were erased.  iPod was backed up to iCloud.  Is there a way to see songs in iCloud and download to Mac Book?

    Help with iTunes

    Purchases cannot be transferred to a new Apple ID.
    You can stop receiving their info by signing out of iCloud.

  • ADOBE Form printing terms and conditions back side of first page only.

    Hi ,
    Please let me know how to print only on first page back side in the adobe. I have multiple pages data flow. But i have to print Conditions on the back side of first page only.
    Thnaks in advance.
    Hema.

    Hello Hema,
    Create a master page set.  One for front page and other for back page.
    Make your hierarchy as Front Page - Oddpages
    Back page - Even Pages
    in placement options use, for first page only.
    Thanks,
    Rakesh

  • Ending drop cap styling after a paragraph return

    I’m working back in the dark ages of CS4 and I’m having an issue with drop caps and my workflow in the office. I have a drop-cap applied to the first paragraph via the Paragraph Style and I have apply next style active. When editors go into the text box and add a new paragraph, mid way through the existing first paragraph, the newly created paragraph had the drop cap applied. How do I get InDesign to deactivate the drop cap command after the first word or first sentence so this will not happen.

    You'll just have to apply a new paragraph style to the new paragraph.
    The Next Style doesn't apply here, because there's text after the cursor
    where you split the paragraph.
    So just apply a new paragraph style that doesn't have a drop cap --
    verty quick if you use a keyboard shortcut for it.

  • MBA with CITRIX - shift key only CAP the first charactor?

    My MBA connects to work PC (windows xp) via CITRIX(Citrix Online plug-in for Mac -web) in Snow Leopard, it seems like shift key + any charactor, only cap the first hit, it caused lots of trouble for my typing habit, as even I am holding my shift key and then press any keys, it will only cap the first one. I had tested in Snow Leopard, there is not problems with holding shift key to get CAP characters, only happen in CITRIX session.
    Does anyone have the same problems and anyone know how to fix it?

    Have you tried the version of citrix listed in the Apple App store? It can open most of the data files the plugin will open, and it seems to have a little bit better performance.

  • How do I set the wallpaper for the the first page only

    how do I set the wallpaper for the the first page only.I have my ICE #'s as wallpaper but I only want it on the first page

    When you set a wallaper you are asked where you want to set it. Either Lock Screen or Home Screen or Both.
    If you choose Lock screen it will only appear when you wake up your phone.
    If you set it to Home screen, then it wil be set behind the app icons on all your home screens.
    If you choose both, then it will be on both.
    Not sure what you mean by the " have a photo of my ICE in contacts that I am trying to use????" 
    The Photo should be in the Photos App. how is it in contacts?  is it assigned to a contact?

  • I set cookie permissions for a domain to "Allow for session" and at a later time it has changed to "Allow first party only" and now allows persistent cookies.

    As it says above, I have cookies set to always ask. I go to a domain (i.e. google) and it asks and I allow for session only. Some time later it will change to "first party only" and start to allow persistent cookies for the domain.

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Click the menu button [[Image:New Fx Menu]], choose History, and then Clear Recent History....
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Creative cloud installed and run but doesn't display apps or anything for that matters , only a black bar at the top with creative cloud written and a drop down menu of (help pin on notification area and quit ), creative cloud installed and run but doesn'

    creative cloud installed and run but doesn't display apps or anything for that matters , only a black bar at the top with creative cloud written and a drop down menu of (help pin on notification area and quit ), creative cloud installed and run but doesn't display apps or anything for that matters , only a black bar at the top with creative cloud written and a drop down menu of (help pin on notification area and quit )
    don't know if it's relevant or not , I run Windows 8 64-bit

    111994 please try utilizing the steps listed in App doesn’t open | Progress wheel spins continually to resolve the current error.

  • HT4053 I start my new iPhone 5s 64 for first time , no hello screen , only white screen with black apple logo

    I start my new iPhone 5s 64 for first time , no hello screen , only white screen with black apple logo
    How can I start my iPhone (I already did restart - it didn't help)

    Did you activate the phone already?

  • First line indent, except for the very first paragraph

    Hello,
    In my paragraph style, I have First Line Indent selected. However; I'd like to leave the very first paragraph intact (without indent). Is there a way to do so?

    So simple! Should've thought about it.
    Thanks.

Maybe you are looking for

  • IPod touch will not turn on only 2 days old

    I Bought my son an iPod touch for Xmas sit worked grate till tonight it just turned off and will not do anything now if we return it will all the money on the games he bought be lost or what?? Or dose any one know what is wrong so I can fix it

  • I can't start windows 7 normally from Boot Camp

    I can't start windows 7 normally from Boot Camp. It was running fine since I have installed it 7 months ago, but now it can't start or (restart) normally (safe mode is ok). It displays a black screen after showing the logo, and I have to shut down th

  • How to configure which changes in the document triggers Event Handler again

    Hi Experts Due to some reason after creation of Purchase Order, the event handler is not created in EM system. Now is there any way to resend this PO to EM? For example, is it possible to trigger Event Handler by changing some field in PO? If it is p

  • HP SimplePass not prompting at websites

    I recently purchase a new HP laptop.  I updated to the most current version of HP SimplePass (v. 8.01.27).   But  SimplePass is not fully functional.  It works on Windows logon.  But it does not allow me to register  a website.  When I access a websi

  • Date format and Alignment Change in the Excel Output.

    Hi Forum, Greetings to You!!! I was created one RTF format file. In this i have to display date format as (dd-mon-yyyy) in the excel output and also some data in the column have varchar2 and numbers. When i generate the output in html, pdf format usi