Two paragraph style in one script?

Hi all,
I have two paragraph styles, the first is applied to first, 3°, 5°, ... lines, and the second to second, 4°, 6°, 8°... lines.
how i can group them in the one script?
Please revert if you have not clear.
Thanks & Regards

Just in case sorour needs it to do something more complicated, it's simply<br /><br />>for (var i=0; i<app.activeDocument.selection[0].paragraphs.length; i++)<br /><br />>  if ((i & 1) == 0)<br /><br />>    app.activeDocument.selection[0].paragraphs[i].appliedParagraphStyle = "style a";<br /><br />>  else<br /><br />>    app.activeDocument.selection[0].paragraphs[i].appliedParagraphStyle = "style B";<br /><br />>next i<br /><br />Select all paragraphs and run the scriptette.<br />This script, and any other solution, runs on <br />i paragraphs,<br />not <br />i lines.<br />Note the distinction; you can't apply a paragraph style to a single line, only to paragraphs. If you intended something for consecutive lines in a single paragraph, it'll get a bit more complicated.

Similar Messages

  • Problem:  Photoshop CS6 applies two paragraph styles when one is selected

    Hi everyone,
    When I change the heading title within my text box, I select the heading and then select the appropriate style.  Instead of just changing the heading, the body text changes as well.  Is there a setting that's causing this to happen? 
    Thanks so much for your help!

    First Bug: Simply having a layer selected (even a text layer) and then clicking the "Create New Paragraph Style" will create a generic style (with default settings). You have to tell Photoshop what settings it is that you want to create a style with. Simply double-click the text layer icon (not the layer name or the blank area around it) and this will open the text layer for editing and select the text. Now when you click the "Create New Paragraph Style" button, the settings of the selected text will be made into a style. This is how they are performing the step in the video as well, but from your description it sounds like you are skipping a step. And remember, there are two different ways of creating text: single click the Text tool to create line (character) text, click and drag a text box to create paragraph text. That is why we have both Character Styles and Paragraph Styles.
    Second Bug: The Paragraph Style is applying with your text transformations calculated. So, if you create a text style that uses a 24 pt font, then you create text and transform it so that it 200% larger, when you apply the style you will end up with a font that is at 48 pts. A 50% transformation will result in a 12 pt font, etc.
    Third Bug: Not sure why that is happening to you. My Mac uses half as much RAM and doesn't run into that problem. My guess is it would have to do with the fonts you have installed on the system. Do you still see this behavior if you disable all the fonts on your system (through Font Book or your favored font managment utility)? Your suggestion that it may have something to do with Fonnnnt Shop or WebInk may be true to. Just because they aren't open currently doesn't mean they haven't modified Photoshop and the way it runs.

  • Multiple paragraph styles in one line

    I'm creating a training manual and I am having trouble with paragraph styles. Here's an example of what I am trying to do:
    "The Dog walks up the hill"
    In the above example, I have created a style for the bolded text and connected it my table of contents. The idea is when I create and update the TOC, "The Dog" will be the entry with the remaining text omitted from the TOC. The issue I am having is because the text is on one line, I cannot have multiple styles. I've tried writing just "The Dog" and then either changing the style or deleting the paragraph break to connect the text below to the main line. Once I erase the paragraph break and the text is on one line, only ONE style is maintained. Now, I can modify the character style; however, because the paragraph style is still the one connected to the TOC, the entire paragraph appears in the TOC.
    Any advice would be greatly appreciated! I've searched everywhere to no avail.
    Thank you very much for your support.

    ajmiddle18 wrote:
    I'm creating a training manual and I am having trouble with paragraph styles. Here's an example of what I am trying to do:
    "The Dog walks up the hill"
    In the above example, I have created a style for the bolded text and connected it my table of contents. The idea is when I create and update the TOC, "The Dog" will be the entry with the remaining text omitted from the TOC. The issue I am having is because the text is on one line, I cannot have multiple styles. I've tried writing just "The Dog" and then either changing the style or deleting the paragraph break to connect the text below to the main line. Once I erase the paragraph break and the text is on one line, only ONE style is maintained. Now, I can modify the character style; however, because the paragraph style is still the one connected to the TOC, the entire paragraph appears in the TOC.
    Any advice would be greatly appreciated! I've searched everywhere to no avail.
    Thank you very much for your support.
    It depends on the breed of dog.
    Is the paragraph always a single line?
    Is this dog the leader of the pack? IE, does the phrase you want to keep always begin the paragraph? If so, then you can separate the dog from the pack in the TOC. One way is to surround the pack with a unique character or marker in the main text, like End Nested Style Here, - one after dog, and another after hill, and create a paragraph style for the doggie paragraph to use in the TOC. This paragraph should contain a nested character style that applies microscopic text properties, like paper character color, font .1pt, and horizontal scale .1%. The TOC entries should use nested paragraph styles; the source paragraphs need you to insert the End Nested Style Here markers. The nested style definition in the TOC paragraph styles should apply no character style through the first end nested style marker, then apply microscopic through the next end nested style marker. This will shrink the walks...hill text to an invisible speck, so small that it shouldn't interfere with tab leaders and page-references.
    Another approach is to use a single-row table for the heading, with the dog pent nicely in the left cell, and the pack in the right cell. Each cell contains a paragraph, so only extract the dog to the TOC.
    Search Google for terms like "InDesign hide part of paragraph in toc knowhowpro," "InDesign suppress part of paragraph in contents knowhowpro," "InDesign two paragraph styles on one line," and similar phrases without quotes for some good discussions and a variety of approaches that include layers, anchored frames, and conditional text.
    Search Google for terms like "InDesign conditional text," and "InDesign nested paragraph styles," without quotes for details.
    http://forums.adobe.com/message/3206266 has a long discussion that may shed some additional light.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Need to keep two paragraph styles on same line

    Coming from Ventura and need to recreate all publications in Indesign - can't find the equivalent of "breaks - line break: none".  Need to keep two paragraph styles on same line.

    Like Ventura, FrameMaker has been able to do this for decades.
    You're correct about zero leading being inadequate, if not only in appearance, but also for maintaining the document through changes, especially if someone other than you needs to edit it.
    Nested styles are logical to create and use. Search Google for terms like "InDesign nested styles," without quotes, for lots of links to tutorials and details.
    If you need to create TOC entries for each of the two parts of text in this example, even after formatting with a nested style, InDesign's TOC will see only the single paragraph. If that works, OK. If you want to be able to create a TOC reference to each part, you'll have to create hidden text for each part, and you'll need to create a paragraph style for each, as well. This is because InDesign's TOC only captures complete paragraphs.
    [EDIT] If you think this is an important feature enhancement that should be included in a future InDesign release, post a formal feature request in the form here: WISH.[/EDIT]
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    MW Design wrote:
    InDesign cannot create side-by-side paragraphs. The only viable work-around is to use tables.
    I do miss Ventura a lot. For others, basically side-by-side paragraphs are successive paragraphs (one below the other) that the paragraph style can then format so they are next to each other, out in the margin as callouts, etc.
    Mike
    Message was edited by: peter at knowhowpro

  • In Pages (5.5.1) can I create multiple Paragraph Styles within one paragraph?

    In Pages (5.5.1) can I create multiple Paragraph Styles within one paragraph. 
    I need to make a table of contents for my Mater's Thesis and want to use the automatic table of contents feature.  I want the first sentence of a paragraph to have a different paragraph setting than the rest of the paragraph.  Is this possible?
    Thanks!

    Nice of you to be doing this for your Mother's Thesis.
    There are several issues here:
    1. A Paragraph Style is what it says, the style for the paragraph
    2. You can format text within a paragraph by applying a Character Style
    3. Pages 5.5.1 lets you apply formatting to overall text for the T.O.C. but not parts of it and you can not retain that formatting as a Paragraph style
    So in answer to your question, no.
    You will need to create the T.O.C. manually and unfortunately as Pages 5.5.1 can't create bookmarks (just one of over 100 missing features) you will be unable to link the T.O.C. to the referred pages in the list.
    Peter
    Apple's marketing slogan:
    Pages 5.5.1 - Can't Do That!

  • I'm trying to create a running header to pick up one of two paragraph styles...

    I have a Header_1 and a Header_11 paragraph style. I need the running header to pick up either instance of those; as it stands, InDesign can only pick up one style at a time...

    You have to define a running header based on a character style and apply
    the char style to your titles.
    Alternatively, you could create 2 master pages with two different
    paragraph-based running header text variables.

  • How to apply multiple paragraph styles to one sentence?

    I'm using paragraph styles but is not helpful because I'm trying to apply 2 different styles within the same sentence which is not working.
    To make it work I select the sentence, apply the style, for instance "xfont-regular" then I select the word within the sentence that I want it to have a different style and I choose from the font list maybe italic so that it looks "something like this"
    Obviously by doing this, I'm loosing all the benefits of using p styles and of course it's so time consuming. Is there any way to break the sentence, keeping it in the same line, so that I can apply different styles to it? and still keep the benefits of just going to the styles and make the changes to the whole document that have that style applied.
    Thank you

    pchinique wrote:
    I'm using paragraph styles but is not helpful because I'm trying to apply 2 different styles within the same sentence which is not working.
    To make it work I select the sentence, apply the style, for instance "xfont-regular" then I select the word within the sentence that I want it to have a different style and I choose from the font list maybe italic so that it looks "something like this"
    Obviously by doing this, I'm loosing all the benefits of using p styles and of course it's so time consuming. Is there any way to break the sentence, keeping it in the same line, so that I can apply different styles to it? and still keep the benefits of just going to the styles and make the changes to the whole document that have that style applied.
    Thank you
    As Diane King mentioned, nested character styles may work for your need. Her example was an initial dropped capital (multi-line first one or several letters of a paragraph.) Dropped caps are a specific type of nested style - always the first one or more characters in a paragraph, two or more lines high.
    To use the general kind of nested style, you need to be able to identify the word or words within the paragraph that gets the nested character style. For example, the third word, or the first two words after the first semi-colon. If there is no pattern of word(s) that can be identified by position or sequence, it's possible that a GREP style can be used to find a common pattern of characters and apply a character style to it, for example a telephone number, date, or currency amount that's identified by a dollar sign, pound, or yuan.
    Search InDesign Help and Google for "InDesign nested style," "InDesign grep style," and similar terms (without quotes) for details. There have been many discussions of GREP on this forum.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How can you have two link styles on one page?

    I have one style (formatted link style) for internal links in
    my footer but I want a different style for the external links in my
    mainContent. Is it possible to have two different "styles" of links
    on one page? I tried creating a new set for the mainContent links
    and being positioned underneath my footer link's styles, the "new"
    mainContent link styles overrode the footer link style. Is there
    another way of going about this?
    Thanks anyone, Julie

    Julie:
    > I'm just not code savvy.
    As long as you permit yourself to offer this argument, you
    will struggle
    with Dreamweaver. If you are serious and want to improve, you
    will have to
    overcome your code-phobia.
    What is in these two files?
    > <link href="css/area.css" rel="stylesheet"
    type="text/css" />
    > <link href="css/footlinks.css" rel="stylesheet"
    type="text/css"
    > media="screen"
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Rock Artist" <[email protected]> wrote in
    message
    news:[email protected]...
    > Murray, I was just looking over my code and noticed the
    links in my footer
    > are
    > styled, in the first place, by a class I created in my
    main.css (for all
    > of my
    > pages) called ".webdis" (nickname for webmaster and
    disclaimer). I do see
    > my
    > link format style in the head of this document but am I
    supposed to see it
    > where the footer is (in the code)?
    >
    > If you look at the first external link (the only one I
    have attached a
    > link to
    > so far):
    > </p>
    > <p class="contentlinx"><a href="
    http://www.hotsprings.org/">Hot
    > Springs
    > Convention &amp; Visitor's Bureau</a><br
    />
    >
    http://www.hotsprings.org/<br
    />
    > </p>
    >
    > It took on same style as my footer links. I'm a little
    frustrated, it just
    > seems like it should be so simple. I'm ready to launch
    this thing tonight
    > and
    > this is the only "little" thing I have left to do. I
    hate to cheat and
    > make
    > each one of these site links a graphic and link it as a
    graphic, but I am
    > so
    > ready to get this thing up.
    >
    > I'm just not code savvy. I am going to attach my code to
    this reply and
    > maybe
    > you can tell me what I'm doing wrong. Thanks, Julie
    >
    >
    >
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
    > <title>Area Interests</title>
    >
    > <link href="css/main.css" rel="stylesheet"
    type="text/css" />
    > <style type="text/css">
    > <!--
    > .contentlinx {
    > font-family: Arial, Helvetica, sans-serif;
    > font-size: 14px;
    > color: #336600;
    > }
    > -->
    > </style>
    > <link href="css/area.css" rel="stylesheet"
    type="text/css" />
    > <link href="css/footlinks.css" rel="stylesheet"
    type="text/css"
    > media="screen"
    > />
    > </head>
    >
    > <body>
    >  <div id="wrapper">
    > <div id="header"></div>
    > <div id="sidebar">
    > <p align="center"><a
    href="index.html"><img
    > src="images/vert_nav_bar/home_button.jpg"
    alt="navigation button to home"
    > width="155" height="50" /></a><a
    href="property.html"><img
    > src="images/vert_nav_bar/property_button.jpg"
    alt="navigation button for
    > property" width="155" height="50" /></a><a
    href="maps.html"><img
    > src="images/vert_nav_bar/maps_button.jpg"
    alt="navigation button for maps"
    > width="155" height="50" /></a><a
    href="gallery.html"><img
    > src="images/vert_nav_bar/gallery_button.jpg"
    alt="navigation button for
    > photo
    > gallery" width="155" height="75" /></a><a
    href="gallery.html"><img
    > src="images/vert_nav_bar/area_button.jpg"
    alt="navigation button for area
    > interests" width="155" height="75" /></a><a
    href="contact.html"><img
    > src="images/vert_nav_bar/contact_button.jpg"
    alt="navigation button for
    > contact
    > us" width="155" height="75" /></a></p>
    > <div id="sidephoto"><img
    src="images/tree_flower.jpg" alt="garvan tree
    > flower" width="145" height="275" /></div>
    > </div>
    > <div id="header2">
    > <h2 class="style2">AREA INTERESTS</h2>
    > </div>
    > <div class="proptext" id="content">
    > <p>HOT SPRINGS NATIONAL PARK, ARKANSAS</p>
    > <div id="photofeature"><img
    src="images/garvin_stream.jpg" alt="garvan
    > gardens" width="275" height="218" /></div>
    > <p align="left">America's first resort, also
    referred to as &quot;The
    > Spa
    > City&quot;, Hot Springs definitely has a pulse
    > of its own. Visit the sites below to find out why this
    is one of
    > the
    > most popular vacation destinations in the South.
    Featuring world famous
    > natural
    > hot springs, historic bathhouse row, and thoroughbred
    horse racing at
    > Oaklawn
    > Park. The perfect place to relax, the perfect place for
    adventure, Hot
    > Springs
    > provides a year-round opportunity for outdoor
    recreation, world-class bass
    > fishing and fabulous water sport activities, hiking,
    horseback riding and
    > quartz crystal hunting. In fact, take a day trip to
    Murfreesboro to the
    > Crater
    > of Diamonds State Park, the only diamond-producing site
    in the world that
    > is
    > open to the public and try your hand at diamond hunting
    or searching for
    > 40
    > other types of semi-precious stones, rocks and minerals.
    Garvan Woodland
    > Gardens, a 210 acre forested peninsula jutting into Lake
    Hamilton with a
    > showcase of floral landscapes, streams and waterfalls,
    is a &quot;must
    > see&quot;. Hot Springs has a strong art community as
    well. Enjoy artist's
    > galleries, film-making events and musical venues all
    over town. Did I
    > mention
    > historical architecture? There is too much to mention
    here about this
    > wonderful
    > city, please see for yourself by visiting the local
    sites below to see
    > what's
    > happening in and around town.<br />
    > </p>
    > <p class="contentlinx"><a href="
    http://www.hotsprings.org/">Hot
    > Springs
    > Convention &amp; Visitor's Bureau</a><br
    />
    >
    http://www.hotsprings.org/<br
    />
    > </p>
    > <p class="contentlinx">Facts About Hot
    Springs<br />
    >
    http://www.hotsprings.org/media_room/news-detail.asp?news_id=9</p>
    > <p class="contentlinx">City of Hot Springs<br
    />
    >
    http://cityhs.net/</p>
    > <p><span class="contentlinx">The Greater Hot
    Springs Chamber of
    > Commerce<br />
    >
    http://www.hotspringschamber.com/</span><br
    />
    > </p>
    > </div>
    > <div id="footer">
    > <p><span
    >
    class="webdis">WEBMASTER     |    &
    > nbsp;<a
    href="disclaimer.html">DISCLAIMER</a></span></p>
    > </div>
    > </div>
    > </body>
    > </html>
    >

  • Multiple paragraph styles within one cell?

    Maybe I'm missing something real simple but I'm having a bit of an issue with styles.  What I'm trying to do is have the name of a tool in one paragraph style and the description (separated from the name by "-") in another paragraph style - all within the same cell of a table.  Instead, when I try to change styles it changes all text within the cell.  Even if I go back and highlight the tool name and change it to a different style than the description it changes all text including what is not highlighted.  If anyone has a solution I would greatly appreciate it!

    Thanks, Dave!  Nested styles works perfectly.  I figured the solution would've been something simple like this.

  • How do I use multiple paragraph styles in one line?

    I'm working on my thesis in APA style.  I'm creating a Table of Contents with the help of Pages.  When you get to Level 3 in APA headings (no problems with Levels 1 and 2) it needs to look like this:
    [0.5in Indent] Masculinities in higher education.  For men, the college experience.... (paragraph starts on same line as the heading).
    I created a paragraph style for the (bolded) heading above [Heading 3].  When I do this, like magic the heading shows up in the table of contents (yeah!).  However when I do this the rest of the paragraph shows up too (boo!).  When I highlight to change the just rest of the paragraph (not the heading) to the style "Body" it changes the heading too and removes it from the table of contents.  How can I make 2 paragraph styles work together in the same paragraph so I can use the tale of contents tool??  Surly there is a work-around.
    Pages 5

    As the name implies, paragraph styles are not intended to be used on a unit smaller than a paragraph. Therefore if you want the TOC to be automatically generated then you need to have distinct  paragraphs... as you specify the APA style with the content and heading continuous then you will have to manually create the TOC.

  • How do I add two FX Styles onto one layer?

    Hi,
    I hope I've come to the right place.
    I have a small problem. I'm trying to add two different FX Styles to a text layer, is this possible and If so, how would I go about doing this?
    I'd like to "merge" these two effects into the text layer.
    I hope I've explained my dilema properly.
    Thank you for taking the time to read this any help would be greatly appreciated.

    What I did was, copy the layer, removed the FX from that layer and added the FX I was looking for onto the copy and presto - I got the layer to look exactly how I wanted it.
    Thanks again, I'll be sure to ask you for any advice in the future if i have any and you're willing to help.

  • (new to scripting) Only allow certain paragraph styles to break to next column/page

    Hi all,
    As stated, I'm very new to scripting. I've done a few small scripts to automate Photoshop tasks and such. I'm in the process of trying to learn Javascript as much as possible, with the hope of bringing about more efficiency for our small production department. It's a daunting task, but I'm trying my darnedest.
    One of the number one goals I have is the find a way to automate pagination of weekly transaction records. These records run between 32 to 48 pages normally, with each page having 5 columns. Creation of these pages is very systematic, so it would seem that this process should be able to be automated, but there are some challenges I'm having a hard time thinking about how to attack.
    One of the key tasks needing to be figured out is getting the records to go in with headings and subheadings always starting at the top of a page/column. Just about all the copy comes in with predetermined paragraph styles, so a script should easily be able to search for instances of each style. What needs to eb accomplished is only allowing the flow of copy to break on certain styles and not others ... (counties, towns, etc.)
    For example: if you have the following  ...
    Countyland <styled "county">
    Utopiatown <styled "town">
    46 Appletree Lane ...... $500,000  <styled "listing">
    Sold by: Some Guy   <styled "listing">
    Bought by: Other Guy  <styled "listing">
    Mortgage: This Bank  <styled "listing">
    Date: 12/14/11  <styled "listing">
    Dystopia Village <styled "town">
    47 Orangeplant Road ...... $400,000  <styled "listing">
    Sold by: Some Guy   <styled "listing">
    Bought by: Other Guy  <styled "listing">
    Mortgage: This Bank  <styled "listing">
    Date: 12/14/11  <styled "listing">
    If the two records above were to fall near the end of a column, the break to the next column should NOT occur anywhere except:
    - Before the county (causing the county to start at the top of the next column
    - Before the second town (Dystopia Village, forcing that town to the top of the next column)
    - After both (forcing whatever town/county is next to goto the top of the next column)
    So basically, I need to find a way PREVENT column breaks where they should not occur. Inserting column breaks is one thing (I know how to do that). Prevention is the issue though that confounds me.
    Does anyone have any thoughts of how to achieve such a thing? I know there are "non-breaking space" characters ... is there, or could there be, some kind of a "non-breaking return" character? Or would it be more feasible to test for the paragraph style at the bottoms of columns and insert column breaks in once it finds an appropriate match?
    Am I going about this all wrong?
    Again, any help or suggestions are more than welcome.
    Thanks much.
    ~Nate
    FYI .. using InDesign cs5.5

    I am now wondering about a possible solution. It would be one hell of a challenge for me to figure out how to code it, but I at least need to figure out the theory first, then I'll try to figure out how to code it.
    Again, the issue at hand is preventing column breaks for the "listing" style in the following example. Please note, the number of "listing" lines varies. If the following two entries (in a long list of similar entries) were to be near the end of a column, I'm trying to cause the flow of text to break only before a county style, or a town style (if it's not the first town in the county).  Basically, no breaks in the middle of listings.
    Countyland <styled "county">
    Utopiatown <styled "town">
    46 Appletree Lane ...... $500,000  <styled "listing">
    Sold by: Some Guy   <styled "listing">
    Bought by: Other Guy  <styled "listing">
    Mortgage: This Bank  <styled "listing">
    Date: 12/14/11  <styled "listing">
    Dystopia Village <styled "town">
    47 Orangeplant Road ...... $400,000  <styled "listing">
    Sold by: Some Guy   <styled "listing">
    Bought by: Other Guy  <styled "listing">
    Mortgage: This Bank  <styled "listing">
    Date: 12/14/11  <styled "listing">
    Naomi previously suggested messing with the "keep options" in the styles. This will solve the issue of preventing breaks before listing details start. But it won't help in keeping listing details from breaking, since the number of lines can vary.
    I'm now thinking ... might it be possible to have a script search all copy, looking for the last line of listings, and then apply a second listing style with a different keep option setting? The "normal listing" style would "keep next 1 line". The "last listing" style would not, therefore, allowing a break.
    Here's a map of what I'm thinking: (bear with me on the terrible syntax, this is just for illustrative purposes)
    listingNormal has keep with next 1 line applied
    listingBreak does not keep with next line
    if currentLineStyle == listingNormal
    AND
    style of next line != listingNormal {
    currentLineStyle = listingBreak
    Does this make sense? If so, does this sound feasible?
    Thanks any and all.
    ~Nate

  • IBooks Author table of contents does recognize paragraph styles

    The video
    https://www.youtube.com/watch?v=n2p08-NmqfQ
    shows that using iBooks Author  I should be able to have text that is formatted with specific Paragraph Styles show automatically in the Table of Contents. But for me that does not work.  My version of ibooksAuthor is version 2.1.1 ( the latest) , under OS 10.9.1 (the latest) on an iMac.
    The video shows the Inspector for TOC as a separate window and shows explicitly, under Sections, the items Copyright, Dedication, Foreword, Section and Section Text. It also has two Paragraph styles listed, Heading 1 and Heading 2. 
    This set of TOC entries is  available for me with templates from Landscape with Portrait but NOT with templates of Portrait. The templates available for Portrait do not  list, in the TOC Inspector, Heading 1 or Heading 2.
    Furthermore, the Portrait templates do NOT allow me to add any Paragraph style to the list (the control for adding Paragraph Styles to the list is grayed out), although the Landscape templates DO allow me to add any Paragraph style.
    However, when, with a Landscape template (e.g. Basic) I format text as one of the paragraph styles Header 1, Header 2, Chapter, Section, it does NOT automatically show up in the TOC, though if I add a new section it does automatically show up. The TOC only lists Chapter and Section if these have been added from the menu bar.
    When I use a Portrait template  (e.g. Basic or any other) and format text as one of the Paragraph Styles Chapter or Section that  text does not show up in the TOC. And the control for adding Paragraph Styles to the list is grayed out: I cannot add Header 1 or Header 2. The TOC only lists Chapter and Section if these have been added from the menu bar.
    No matter what template I use, if I assign a paragraph style to some text, it does not show up in the TOC. And with Portrait templates, which is what I want to use,  I cannot adde any paragraph styles to the TOC Inspector in Portrait templates.

    The iBA Help has info on: table of contents
    Which includes:
    Each book comes with a table of contents that is updated automatically. You can view the table of contents at any time by selecting Table of Contents in the sidebar. The table of contents includes a default set of items, but you can change which items appear. A table of contents can include:
    Chapter and section titles: All chapter and section titles are included in the table of contents by default. If you remove a section from the table of contents, all other sections that use the same layout are removed as well.
    Text that uses specified paragraph styles: By default, the table of contents includes all paragraphs in the book that use the Heading 1 and Heading 2 style, but you can include whichever styles you like. Paragraph styles appear in the table of contents only in portrait orientation. See Format text using styles.
    The way the table of contents looks depends on the current page orientation. In landscape orientation (shown below), each chapter has its own contents page, with navigation buttons at the bottom. In portrait orientation, the entire book’s table of contents is visible as an expandable list.
    Add or remove items in the table of contents
    If the Document inspector isn’t open, click Inspector in the toolbar and click the Document Inspector button.
    Click the TOC button.
    Do either or both of the following:
    To add an item: Click the Add pop-up menu , choose Add Paragraph Style, and choose an option from the submenu.
    To remove an item: Select the item you want to remove and click the Delete button .

  • Table of contents/paragraph style question

    In my dissertation I have many figures with an associated TOC for the figures.  I have one paragraph style for the figure label/description and this is what is used in the TOC.  Everything is perfect except for some of the figure descriptions are much too long to be included in the TOC.  For these long descriptions, I would like to select only a portion to be included in the TOC.
    I attempted to make and additional paragraph style to apply to the remainder of the description that matched the original 'figure' style, but named differently so as not to be included in TOC.  Unfortunately, I found that a paragraph style means the whole paragraph so the figure description is all in or all out of the TOC.
    Is there a way to apply two different styles in one paragraph so I can split up what is included in the TOC?  Any other ideas?
    If all else fails I will just make a hidden layer with the short description right next to the real one.  I'm afraid this me mess up my numbering scheme though.
    Thanks for any insight,
    Joel

    Adding the second paragraph is probably more trouble than it's worth, particularly if you're numbering automatically. Among other things, that's going to result in double entries unless you do it for all of the figures and use only the hidden tags.
    Why not just edit the text directly in the TOC after you flow the TOC story? There's no law against that, and it's common practice to do so.
    Peter

  • How do I access *load paragraph styles* from the styles pallet menu?

    Adobe help informs me that I can bring styles from other documents into an existing document by doing this:
    "To copy paragraph styles from one publication to another choose Load Paragraph Styles from the Paragraph Styles panel menu."
    I do not see any menu in the paragraph style menu. I am in CS5. What am I missing?

    I'm sorry, I found it. I had to go back to my G4 and the CS version to see what to do. I did not recognize the small feature on the window yielding the menu.

Maybe you are looking for