Can I use automatically select only first line of a caption to include in List of Figures?

Is there a setting in the TOC utility in ID CS6 that will allow me to use only the first sentence in a caption to include in a list of Figures?
Example
Willard's Wharf, Cocoa, Florida, 1887.   This was Cocoa's first  blah blah blah.  Photo by a dead guy.  courtesy of a nice old lady whose grandmother collected it.
In the example above, the entire passage is currently formatted using a paragraph style sheet in Arno Pro Caption.  When I'm done, I would like to have that first phrase or sentence in bold, which I planned to do with a character style sheet.  The remainder will be in regular type. 
Now that I understand more how the TOC utility works, I'm wondering, can I make a paragraph style for the title phrase, and a second paragraph style for the remaining text in the caption that follows  If so, how to I ensure that the second paragraph will follow on the same line where ever the first paragraph style ends?  Nested styles, maybe?  If nested styles are the way to go, comments on or pointers to the simplest strategy to make this work will be appreciated.
Captions are not consistent.  Some have a name and date; others are a Title phrase or sentence, followed, sometimes, by up to several sentences.  Typically, however, there is only one sentence after the title. I also usually have a "Courtesy of . . ." statement acknowledging the source of the photo.
I'm a newbie using id cs6, for the first time, to format a book.  I'm enjoying using the program, but a few details sometimes bring me to a stop.
Thanks
Roy

Roy,
In fact, you only need a char style to control that you correctly mark what you want in the LOF.
See how I do:
1/ I create the para style "Caption" [color: Red] and insert a grep style in it.
2/ I create the char style "Char_Caption" [color: Blue]. It only needs to control what I want in the LOF.
3/ What I have to do is insert a "N-Joiner" in the "Caption" text. See the grep code of the grep style defined in the "Caption" para style.
4/ I generate the TOC, only with the "Caption" para style. I select the story where I insert the TOC and launch this simple regex.
Done! 

Similar Messages

  • Select only first 10 chars from the field in a table while writlng a selec

    hi experts,
    In a table  one field contains a value of above 10 characters (ex 10 or 15 or 20 characters).But i want to select
    only first 10 characters from this field while writing a select statement.
    This logic should be included in select statement.
    please gime immediate solution.
    My question is understood.

    Hi,
    Try this one
    data : begin of itab occurs 0,
            maktx(10) type c,
    end of itab.
    " though the length of MAKTX is 40 you only get 10 chars
    select maktx from makt into table itab up to 10 rows.
    if sy-subrc is initial.
    endif.
    " Suppose the field name of table you want to select is MAKTX then declare
    " Your internal table in the above manner, it will automatically fit into it and will get 10 Chars only
    " Instead of burding the select query / DB interface use the above.
    Cheerz
    Ram

  • Module pool- only first line item data saved, rest disappears??

    Hi Experts,
    I have one module pool that was developed by other developer. It has header details input fields and items details input by table control.
    Now below scenarios occur:
    1) When I enter only one line item, and save it, the data is saved properly
    2) when I enter more than one item data and save it, it only saves first line item data.
    3).When I press ENTER button after every new line item data, it saves all the data properly.
    I tried to debug the report but could not find the exact problem statement as the code is written very badly without any comments.
    I am pasting the flow logic code below for the screen.
    So please help me figure out the problem and solution for it.
    +++++++++++++++++++++++++++++++++++
    PROCESS BEFORE OUTPUT.
    *&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'IT_MSEG'
       MODULE it_mseg_change_tc_attr.
    *&SPWIZARD: MODULE IT_MSEG_CHANGE_COL_ATTR.
       LOOP AT   it_gp
            INTO wa_gp
            WITH CONTROL it_mseg
            CURSOR it_mseg-current_line.
         MODULE it_mseg_get_lines.
    *&SPWIZARD:   MODULE IT_MSEG_CHANGE_FIELD_ATTR
       ENDLOOP.
    * MODULE STATUS_9001.
       MODULE deactive_screen.
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'IT_MSEG'
       LOOP AT it_gp.
         CHAIN.
           FIELD wa_gp-yposnr.
           FIELD wa_gp-matnr.
           FIELD wa_gp-maktx.
           FIELD wa_gp-meins MODULE check_uom ON INPUT..
    *      FIELD WA_GP-DOC_QTY.
    *      FIELD WA_GP-REC_QTY.
           FIELD wa_gp-gp_qty.
           FIELD wa_gp-chall_qty.
           FIELD wa_gp-netwr.
           FIELD wa_gp-remarks.
           FIELD wa_gp-exp_ret.
           MODULE it_mseg_modify ON CHAIN-REQUEST.
         ENDCHAIN.
         FIELD wa_gp-chk
           MODULE it_mseg_mark ON REQUEST.
       ENDLOOP.
       MODULE it_mseg_user_command.
    *&SPWIZARD: MODULE IT_MSEG_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE IT_MSEG_CHANGE_COL_ATTR.
       MODULE user_command_9001.
    +++++++++++++++++++++++++++++++++++
    Thanks,
    Vishal.

    Hi Aruna,
    Below is the code as you required.
    +++++++++++++++++++++++++++++
    MODULE user_command_9001 INPUT.
       ygp_header_mas-ret_type = v_gpt.
       CASE sy-ucomm.
         WHEN 'MBLNR'.
           PERFORM select_mblnr.
         WHEN 'DEL'.
           PERFORM select_delivery.
         WHEN 'INTI'.
           PERFORM grt_gi_details.
         WHEN 'GENT'.
           PERFORM get_ge_details.
         WHEN 'GP'.
           PERFORM get_returnable_gp.
         WHEN 'SAVE'.
           PERFORM gen_gp_number.
           PERFORM gen_data.
           PERFORM save_data.
         WHEN OTHERS.
           PERFORM get_ge_details_other.
           IF it_gp[] IS INITIAL.
             INSERT INITIAL LINE INTO it_gp INDEX 1.
           ENDIF.
       ENDCASE.
       IF v_entry = 07 .
         PERFORM serial_no1.
         PERFORM insert_row.
       ENDIF.
       IF sy-ucomm IS INITIAL.
         PERFORM calc_amt.
       ENDIF.
       CLEAR:sy-ucomm.
    ENDMODULE.                    "user_command_9001 INPUT
    +++++++++++++++++++++++++++++++
    MODULE it_mseg_user_command INPUT.
       ok_code = sy-ucomm.
       PERFORM user_ok_tc USING    'IT_MSEG'
                                   'IT_GP'
                                   'CHK'
                          CHANGING ok_code.
       sy-ucomm = ok_code.
    ENDMODULE.                    "IT_MSEG_USER_COMMAND INPUT
    ++++++++++++++++++++++++++++++++++
    MODULE it_mseg_modify INPUT.
       MODIFY it_gp
         FROM wa_gp
         INDEX it_mseg-current_line.
    ENDMODULE.                    "IT_MSEG_MODIFY INPUT    
    ====> Above module has some problem i think as while debugging it was not updating IT_GP as the current line number was not matching with IT_GP as it has only one line item and WA_GP was changing. Also WA_GP data was getting changed with LOOP with all line items data.
    ++++++++++++++++++++++++++++++++++++++++++++++
    MODULE it_mseg_mark INPUT.
       DATA: g_it_mseg_wa2 LIKE LINE OF it_gp.
       IF it_mseg-line_sel_mode = 1
       AND wa_gp-chk = 'X'.
         LOOP AT it_gp INTO g_it_mseg_wa2
           WHERE chk = 'X'.
           g_it_mseg_wa2-chk = ''.
           MODIFY it_gp
             FROM g_it_mseg_wa2
             TRANSPORTING chk.
         ENDLOOP.
       ENDIF.
       MODIFY it_gp
         FROM wa_gp
         INDEX it_mseg-current_line
         TRANSPORTING chk.
    ENDMODULE.                    "IT_MSEG_MARK INPUT
    +++++++++++++++++++++++++++++++++++++++++
    If I press ENTER after entering each line item, all records come in IT_GP but if not then only first line item comes. Also if I dont press ENTER after entering the first line item and and add one item (total 2) and then press ENTER then sometimes both the lines disappear.
    Thanks,
    Vishal

  • How to select only first few values in a Column

    Hi, in one of the column of type SDO_GEOMETRY. In that column we have many values. Example : *(-6.33787700000002, 56.547309, -6.33786800000001, 56.547279, -6.33781400000001, 56.547249, -6.33776900000001)*
    I wanted to know how can i select only first two or last two values from within the column.
    Eg: i want only -6.33787700000002, 56.547309 to be displayed
    Thanks

    Hi,
    Are the value specified here are multirow or single row data?
    if it is multi row, Karthick solution should work. Else if it is a single row then try this
    with T as
    select '-6.33787700000002, 56.547309, -6.33786800000001, 56.547279, -6.33781400000001, 56.547249, -6.33776900000001' SDO_GEOMETRY from dual
    -- end of sample data
    select substr(SDO_GEOMETRY,1,instr(SDO_GEOMETRY,',',1,&cnt)-1) Output from T
    PRAZY@11gR2> /
    Enter value for cnt: 2
    OUTPUT
    -6.33787700000002, 56.547309
    Elapsed: 00:00:00.05And remember, while posting questions it is good to specify your DB version with clear sample data and required output.
    HTH,
    Prazy

  • Can I use a select and update statement in a single jsp file?

    I want to update the BUY table everytime I would add a SELL transaction.....I want to minus the stocks that I sold to those that Ive bought before.....
    note: I used a seperate table in BUY and SELL transaction
    After I Have added a transaction, I want to update the buy table. This is my problem, can I used both SELECT and UPDATE statement at the same time in a single jsp file for example like this:
    select * from test, test1;
    update test
    set total_shares=total_shares-Stotal;
    where stock_code=Scode AND name_broker=Sbroker;
    Can i have both of these statements in the same jsp file in oder to update the buy table?
    Or can anyone suggest how can process that update?THANKS!
    --------------------

    Can i have both of these statements in the same jsp file in oder to update the buy table?Yes. But wouldn't it have been easier just to try it?

  • How can I use table headers only without using rows.

    how can I use table headers only, without using rows and without leaving the space.
    If anyone could say me how to paste the pic in this questions, I would have shown it.
    The flow of view is in this way
    {Table header(table on top of table)
    column header1___|| column header2__ || column header3__ ||}
    <b>Here is the blank space I am getting, How to avoid this space?this space is of one table row height</b>
    {Contents column1 || Contents column2 || Contents column3 || (This is of other table below the uper table)}
    I am using scroll for the content part of table only.
    So I am using two tables.
    I am using NW04.

    I did the possibles you explained, but couldn't get rid off the space.
    Any other solutions?
    I am keeping the header static and the content columns scrollable.
    I have used two tables one to display header above and the other to display only the contents.
    I have put the contents table in scroll container.
    And the header table in transperent container.
    Thanks and Regards,
    Hanif Kukkalli

  • Hi. I can not use "direct selection tool".

    Hi. I can not use "direct selection tools". When i click the direct selection tool, mouse like on image.
    I use illustrator cs 6

    Thanks Monika, i am noob

  • I own the first iPad. I've got a Camera Connection Kit. Can I used it with the first iPad.

    I own the first iPad. I've got a Camera Connection Kit. Can I used it with the first iPad.

    Yes, it's compatible with the first gen iPad - I use one with mine.

  • MuVo2 (1,5G): Can I Use output power only (not install the battery) when I listen the mus

    Hi Sir:
    When I am in home and listen the music on MuVo2 ,can I use output power only (AC power) and remove the battery ( the battery is not in the MuVo2)?
    This is good to the MuVo2 or not ? (have any damange?)
    Because I always use the MuVo2 in my home, I think to charge AC into the battery, and use it until in low battery , then charge again.. It seem to a little stupid....
    Can I use AC(output power) only when I listen the music ? and remove the AC(output power) when I close/shut down the MuVo2 ? ( I know , the usermanual say it is not good to MuVo2 if AC(output power) "always on" the MuVo2 even it's shutdown.)
    I saw in the usermanual there will be a little image indicate the MuVo2 is "output power only".... So can I use output power only or not ? Is it good to MuVo2?
    Thanks a lot !!
    ( Your product is great~!)
    B/R, Richard

    Richard,
    Yes, you can use the player on the AC outlet only if you want, that's fine.
    Cat

  • I have the iPhone 4 recently became weak Wi-Fi where I can not use the Internet only when sitting Bejjani router, Can anyone help me in solving this problem please iPhone 4, iOS 7.0.3

    I have the iPhone 4 recently became weak Wi-Fi where I can not use the Internet only when sitting Bejjani router, Can anyone help me in solving this problem please
    iPhone 4, iOS 7.0.3

    There's a whole lot to read in your post, and frankly I have not read it all.
    Having said that, this troubleshooting guide should help:
    http://support.apple.com/kb/TS1538
    In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it.

  • Can I use Time Capsule only as a WiFi backup disk w/out having to configure it as my main router?

    I already have an Airport Extreme that works great. Can I use Time Capsule ONLY as a WiFi backup disk w/out having to configure it as my main router with my Internet modem?

    Can I use Time Capsule ONLY as a WiFi backup disk w/out having to configure it as my main router with my Internet modem?
    Yes, you have two options here, each with advantages and disadvantages.
    Option 1...connect the Time Capsule to your AirPort Extreme using an Ethernet cable connection. Turn off the wireless on the Time Capsule since your AirPort Extreme is already providing wireless.
    Advantages...easy to configure, you can backup either over wireless or plug directly into one of the Ethernet ports to backup large files 3-5 times faster than wireless.
    Disadvantages...none, except it requires a wired Ethernet connection to the AirPort Extreme.
    Option 2....configure the Time Capsule as a wireless only hard drive.
    Advantage.....you can locate the Time Capsule anywhere you want as long as it can receive a good wireless signal from the AirPort Extreme.
    Disadvantages....harder to configure, backups will occur only over wireless.

  • Can i use a font such as Yuppy, Chalkboard which is basically included in iOS  for commercial purpose?

    hi!
    I make a e-book and it will be published on appstore and android market as application.
    I'm wondering about font.
    Can i use a font such as Yuppy, Chalkboard which is basically included in iOS  for commercial purpose like me?
    I bought a mountain lion on appstore.
    I look forward to hearing from apple whether it is lawful or not.
    Have a blessed day~:)

    Strangely, there isn't and end user license on Apple's site regarding iOS. But here's a look at the font agreement section from OS X Mountain Lion:
    E. Fonts. Subject to the terms and conditions of this License, you may use the fonts included with the Apple Software to display and print content while running the Apple Software; however, you may only embed fonts in content if that is permitted by the embedding restrictions accompanying the font in question. These embedding restrictions can be found in the Font Book/Preview/Show Font Info panel.
    So basically, you need to examine the fonts to see if there are notes on usage restrictions or limitations.

  • "read from measurement file" reads only first line of data

    Hello,
    I have a problem when trying to read a .lvm file through "Read from Measurements file" with the following block diagram
    Problem: it reads only the first line of data from what I can see in the probe window,.
    A part of the lvm file for reference.
    I haven't used Labview in a long long time, I'm trying to figure out what I am doing wrong.
    Thanks

    Sorry meant to attach the lvm. Here it is. (Actually I had to put it in .txt because the forum wont let me upload a lvm file)
    I unfortunately cannot share the full vi that record the data as I am not its owner/creator. I'll try to give as much info as I can with the relevant pictures attached, I hope it allows us to at least have an hint of where the problem might be.
    (this is in a while loop)
    In the stacked sequence, the other pannels are similar to the one shown here: value read fron a variable, converted to dynamic and a signal attribute is set. The "start recording" control operation is "switch when pressed".
    Here are the properties of the set signal attributes
    And here are the properties of the "write to measurement file"
    Attachments:
    NoTarget_full circle__Rx_-10-SAMPLE.txt ‏60 KB

  • Can i use the char (defined as line iteam dim) in  Aggregates

    Hi
    I am maintaining aggregates on cube. can i use char which is defined as line iteam   dimenstion.if i use  how will be the effect.
    thanks
    Shaliny

    Hi,
    of course you can use it!
    The behaviour is the same than with the other characteristics: you will have as many records as DISTINCT ocurrences of the combination of all CHARS you have included in your aggregate.
    I suggest to first create your aggregate with a fixed value on another characteristic so you can have a feeling about how many records it will have and how long it will take to create it.
    In general if you have flagged your char in a line itm DIM it means that this CHAR has very high cardinality (nearly the same number of records than the fact  table itself) therefore it wouldn't make sense to include it in a ggregate except if your filter it for particluar fixed value.
    The only difference you have with this line itm DIM is that there is no DIM table as such; the chars is accessed firectly from the cube fact(s) table. This will be the same for your aggregate (no aggr dim table created, access form your aggr fact(s) tables).
    hoping this help...
    Olivier.

  • How can I use "Free Selection" in Dunning?

    Hi,
    I am trying to generate the Dunning notice for only Customers that have the Dunning Area Code as 01. For that I am using the 'Free Selection". I have selected the Customer master and then the dunning area and didn't checked the Exclude box and then in  "Values" I have mentioned the Dunning Area Code as 01. But, System is not picking it up so what shall I do. Also, I have some questions in mind:
    1) Why there are two sections of 'Values" field?
    2) What is the process or steps to 'Exclude' the data?
    3) How can I use Dunning groups?
    Please Help.
    Thanks in advance...
    Regards
    Nitin

    Thanks done...
    Regards
    Nitin

Maybe you are looking for

  • Itunes and Quicktime Won't Install

    OK, so about a week ago I get a message saying the new version of Itunes is available to I go to install it. I left it going and returned to my laptop to find it had done it. I click on itunes and it says "initialising itunes" but that's it, the prog

  • HP Color LaserJet CM6040 MFP Series

    hello Was ist dad für ein Fehler? 32 29-FEB-2012 09:56 114153 49.2F8F 52.081.2 C80F 8911 Device Error 31 29-FEB-2012 09:55 114152 13.05.00 52.081.2 Paper late jam between sensors D and F           0501001A020200080011A122B 30 29-FEB-2012 08:37 114150

  • Firefox wont open at all

    Whenever I attempt to open Firefox, an error message comes up saying "Firefox has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available." I've rebooted my lap

  • Is there a way to prepopulate an af:query form??

    Hi, I am trying to implement an use case mentioned below: User tries to create a certification by going through a Train. During this process, on a particular screen, they can Query by applying whatever criteria they want before creating the record. (

  • Production hierarchy to be update in COPA

    Hi SAP expert i having problem and need SAP Gurus expert to help me resolve this issue, when i creating each material, i need to create production hierarchy for each material. example Material A - Production Hierarchy is 0001 Material B - Production