[CS4] Chapter Numbering Style

is there anyway to get idNumberingStyle of chapter number, as chapterNumberFormat returns a string both in vbs and js. I am trying to stay language independent and some international formats seem to have UI language dependent names

No, but yes. Use app.findKeyStrings(string) to find the language
independent key string.
Harbs
http://www.in-tools.com

Similar Messages

  • Chapter NUMBERS? How to include list styles in TOC?

    How does one include chapter numbers!?? I have used a list style with a paragraph style as headings for chapters and paragraphs (Example: 1. Introduction | 1.1. Company X), which I now want to include in the TOC. Using the specific heading in the TOC only includes the text, and not the entire list item (number followed by text). How do I accomplish this list item to be included? Is there a way to (only) tweak the TOC style of a template?

    http://discussions.apple.com/thread.jspa?threadID=2107212&tstart=0
    Yvan KOENIG (Vallauris, FRANCE dimanche 9 août 2009 14:00:22)

  • Chapter Numbers in a table of contents

    Hi Experts,
    I'd like to add a table of contents (TOC) including chapter numbers in my template. For example:
    Table of Contents
    1. Title
    1.1 Sub-Title
    1.1.1 SubSub-Title
    To do so:
    •     I created a template with a table of contents.
    •     In the report body, I determine the chapter number using <?position()?>: <?xdoxslt:set_variable($_XDOCTX,’H1’, position())?>
    •     Once the chapter number determined, I write it in the title: <?XDOXSLT:GET_VARIABLE($_XDOCTX,’H1’)?>.DEPARTMENT LEVEL: <?SUBNODE_NM?> - STORE: <?STORE_UNIT_ID?> on which I applied the heading style required
    =>     When I launch the report, the chapter number appears correctly in the report body but not in the TOC. In the TOC, I only get the title chapter.
    Any idea how I could do this?
    Thank you in advance,
    Sonia.

    Hi Sonia,
    You can directly use position() instead of storing in variables (Refer Template Builder for Word - TOC marker in foreach loop for an example).
    But if you want to you variables for some other reasons, then use xsl context specific variables.
    Instead of <?position()?>: <?xdoxslt:set_variable($_XDOCTX,’H1’, position())?> use
    *<?variable@incontext:c1;position()?>*
    and instead of <?XDOXSLT:GET_VARIABLE($_XDOCTX,’H1’)?>.DEPARTMENT LEVEL: .... use
    *<?$c1?>.DEPARTMENT LEVEL: (formatted as Heading1).*
    So on the whole it wold be similar to
    <?for-each:group_name?>
    <?variable@incontext:c1;position()?>
    <?$c1?>.DEPARTMENT LEVEL:
    Chapter contents
    <?end for-each?>
    Now update your TOC (right click -> update field).
    Now you should be able to see the chapter numbers both in TOC and report body.
    Hope this helps.
    - Kavipriya

  • Page/chapter numbering probs in material converted from Word

    Situation: Need to convert ~300 pages (multiple files) of Word into structured Frame. I'm not very familiar with structured Frame (but am working on this), and am a long-time user of nonstructured. Moving Word 2007 files into Frame9 (in TCS2).
    Problem: Chapter/page numbering. No matter what I try, including copies of a file that demonstrably works, one copy does not accept the "Continued" settings for page numbering. It resets the TOC to page 1. Copies of that file added to the TOC also reliably reset page numbering to 1. When I go in to see what's going on I find that the Numbering dialog for each problem file shows it mysteriously reset to start page numbering at 1. (These copies are nearly identical, differing only in a numeral in one heading to remind me what chapter each is file supposed to be.)
    Further, when I added an autonumbered ChapterTitle paragraph at the top of each file to test chapter numbering, the page numbering problem resolved itself (!) but the chapters don't increment as expected. Numbering string: "C:Chapter <n=1>" for Chpt1 and "C:Chapter <n+>" for the rest of them.
    Test setup: Saw this in production files and stepped back to use a simple Word source file as a test. Constructed several Normal paragraphs, a bulleted list, and a numbered list, and two heading levels (Heading1, Heading2) in this file. Saved; closed. Opened the file in Frame (Structured). Created several nearly identical copies and added all to a book file. Added a TOC to the book. Set the numbering: Chpt1 starts Chapter and Page at 1 and all others are set to "Continued" in both categories.
    Added the ChapterTitle paragraph to each file after conversion.
    In one experiment I applied several of the "target" Frame paragraph formats. Target formats were supplied by writer who works primarily in a  structured Frame setup that is similar to the one planned for the  converted material. In one file all paragraphs were set to their Frame equivalents. In others there was a mix of original (as brought over from Word) and Frame formats. Made no apparent difference.
    Questions: Is this something about structured vs. unstructured? About  structured Frame WRT conversion from Word? Either way, has anyone else  seen (more to the point, *resolved*) similar?
    Thanks in advance for any insight!
    Anne

    OK--
    WRT "<$chapnum>": check, thanks for the reminder. (Yes, I agree that chapter/page numbering tabs are different items.) :-)
    To clarify: yes, the idea is a Word > Frame conversion. The process stumbled upon so far starts with opening Word files in unstructured Frame. (I'd never done it, either---never had a need to try. Somebody new to Frame asked if it was possible, so we experimented and voila!) I have recommended dropping files into .mif and then resaving as .fm in order to lose any artifactual Word stuff.
    Step 2 is applying appropriate Frame paragraph styles from a supplied list, and creating book files. (The page numbering issue resolved once I added a ChapterHead paragraph.  Using the <$chapnum> tag handles the remaining chapter number  issue.)
    In theory Step 3 will be the move into handling the fully-converted material as structured Frame documents. The key point, though, appears to be the conversion table. I get this from a WritersUSA article by Alan Houser at http://www.writersua.com/articles/frame/index.html:
    FrameMaker provides a mechanism called a conversion table to automate  much of the task of legacy document conversion. The conversion table  maps unstructured FrameMaker paragraph and character formats to  elements, and allows you to automatically nest groups of elements. If  your legacy documents were created using a style-based authoring tool  (typically FrameMaker or Word [!]) and your authors have used those styles  consistently, you may be able to automate 80%-90% of the conversion  process. If your legacy documents include a significant amount of manual  or ad-hoc formatting, the conversion will be substantially more  tedious.
    Looks like my group will have to create this.
    Thanks, all, for the help. :-)
    Anne

  • Indesign CC: Chapter Numbering Not Updating

    I read this...
    http://forums.adobe.com/message/5536663
    And determined that I mightbe experiencing a similar problem. I have two different master pages.
    Master A -  Chapter Pages - I use this for chapter title pages where the margins are slightly different. This is also where the chapter number is disaplyed.
    Master B - Body Pages - This is where I have the body copy of my chapters. e.g H2 trough H6, Basic Paragraph, Lists, figure references, etc.
    All my chapters are built this way. Including my appendicies.
    Heres my book page numbering options...
    Every chapter is displaying as "1 Chapter Title Goes Here"
    The above chapter is infact Chapter 2 Deployment.
    Heres the Chapter Number Style, or Heading - Chapter Title (H1)
    You'll see I've assigned a specifc list for the numbers to use. It's titled "Chapters" under lists.
    My question is...
    Is this happening becase I'm using two different text frames in my masters? You can see what my .indd page structure looks like in the pages screen shot.
    My figure references aren't taking the chapter number, I assume because the chapter numbers aren't updating. Is this true?
    How can I fix this without having to redo the Master-A pages or using a single master layout?
    Any help is ALWAYS appreciated, and thanks for your time.
    Heres an idea of my book structure.

    So I took a look at the text frames, they're all linked properly. See screen cap.
    This is what Chapter 2 looks like...
    The text is not located on the master pages. It is however placed inside of the text frame which the master pages host. i.e The master pages have their margins and textfields. When I create a new page, it includes a text field. The screen caps above show Master-A and Master-B threaded together.
    As for the page numbering... They're generated using lists and automatic numbering via paragraph styles...
    See the screen caps in my first post.
    And heres the chapter title line selected. Note the number is not selected.
    So... I just checked the Page Numbering Options...
    And found this....
    Ummm.... *face desk* Looks like I had document chapter numbering set to start at Chapter Number: 1.
    I'll update and see if that helps.

  • Chapter numbering - how to get rid of it

    Is there an easy way to suppress the chapter numbering of
    imported topics? I cannot imagine that the majority of help authors
    want topics that are imported from Word documents to maintain the
    chapter numbers.
    I noticed these numbers are always included in a specific
    way. The corresponding lines begin with
    <h1>1.<span..>  </span>
    , i.e., two non-breaking spaces in the span. That means it would
    probably be possible to use an advanced search & replace tool
    to remove the numbering, not a very nice workflow though. Are you
    awaye of any other method?

    This sounds like a style mapping issue. You could start by
    reading
    this
    link on Peter Grainge's site that links to other topics
    depending on which RH version you are using.

  • Matching Chapter Numbering in Table of Contents (TOC)

    I have applied the <$chapnum> and <n+> building blocks to the paragraph styles used in my TOC, but instead of displaying the correct chapter numbers, every chapter section starts with "1".
    Could someone please tell me what I need to do in order to match the TOC numbering with the book numbering?
    Thanks in advance,
    Douglas

    douglas131313 wrote:
    I have applied the <$chapnum> and <n+> building blocks to the paragraph styles used in my TOC, but instead of displaying the correct chapter numbers, every chapter section starts with "1".
    Could someone please tell me what I need to do in order to match the TOC numbering with the book numbering?
    Douglas,
    I assume that the chapter numbering works correct through all the chapters, and only the TOC numbering is wrong. Correct?
    In this case you shouldn't have an own (independent) numbering definition in your TOC paragraph styles, but READ the original numbering from the respective paragraphs/chapters. You do this by adding the <$paranum> variable to the TOC reference page, so the entry/entries there should read equal or similar to:
    <$paranum> (Tab) <$paratext> (Tab) <$pagenum>
    Define the tabulators for the TOC paragraph styles as if there was a numbering definition, and the number read from the chapters will appear correctly formatted in the TOC.
    Bernd

  • Volume/chapter numbering

    Hi all
    I've been struggling with this all morning and think it's time to give up and ask for help.
    (Btw there is a similar topic here: Creating Parts or Volumes in FM Book Files but it doesn't really help me much)
    I want to have the following structure in my FM 12 book:
    Some introductory files
    SECTION 1  - Getting Started
         Chapter 1
         Chapter 2
         Chapter 3
    SECTION 2 - Configuration
         Chapter 4
         Chapter 5 etc etc
    I cannot get the section numbers (or in FM's case, are these Volume numbers?) to number sequentially. For some reason the first two are ok, but for Section 3 and 4 they still say Section 2.
    Also, the chapter numbering has also now gone wonky.
    I've hunted high and low but cannot work this out. I've added folders, thinking that this might help, but it doesn't.
    This is my actual book structure:
    The tags I'm using at present for the chapter titles and section/volume titles are:
    <$chapnum>\t
    and
    Section <$volnum>\t
    I am a fairly advanced FM user but have had limited exposure to building blocks etc - can anyone help please?!
    Thanks
    Laura

    I've managed to do a work around  here by just entering "Section 1 - Getting Started" at the top of the referenced file, then just creating a SectionTitleTOC style in the TOC with a simple \t.
    Feels a bit like cheating but it works :-)

  • CS3 work flow/Word import/Chapter numbering

    We routinely produce 200+page documents using MS Word - the format is fairly basic, but each chapter is numbered (e.g., 1. Project Description) and within each chapter, there are usually numbered subheads with descriptive paragraphs (e.g., 1.1 Study Overview, 1.2 Study Characteristics, 1.3 Hazardous Materials). Those are incremented when the chapter increments...if you're in chapter 2, then the subheads become 2.1, 2.2, etc.
    The Word document is always sent to me as a single, lengthy, multi-chapter doc. It is ALWAYS subject to change. Formatting it is far easier in InDesign CS3, and with the document-linking feature, if the Word document is changed, then updating is easily accomplished. However, my stumbling block appears to be in the Chapter numbering - InDesign only allows one Chapter number per document. I tried to use Section Numbering, but the Paragraph Style sheet does not allow that (among other things). I hesitate to use the Book feature - there would be a lot of hassle accommodating any and all Word doc changes our professional people make when they revise the content. If I have to use the Book feature, well, OK, but that might mean an even longer time to put these things together. Our people don't really care TOO much what it looks like (I do) as long as it is technically correct, so I have to make sure that it doesn't take longer to format this thing than the way we do it now.
    Can someone point me to a white paper or solid tutorial on how this might be accomplished? If there is a good published book on it, please let me know! Any help or advice is greatly appreciated!

    > Formatting it is far easier in InDesign CS3, and with the document-linking feature, if the Word document is changed, then updating is easily accomplished.
    I think this would be the major stumbling block. If you turn on the preference (normally off) to "Create Links when Placing Text Files," then when someone updates the Word file and you in ID update the link to it, all your ID editing and text formatting (including application of your autonumbered paragraph styles) gets wiped out.
    So ... don't do that. There are many ways to approach this workflow to smooth it out (save ID formatting for last, after breaking the link; or have Word users apply same-named styles to their Word doc; or have them use InCopy instead of Word); but they may require changes that your colleagues won't accept as necessary (as you mentioned...)
    AM

  • How to pick up chapter numbers in TOC headings?

    Each new chapter heading is in a one-row, two-column table. Column 1 contains only a large number (numbered style called ChapNum) against a shaded background, and column 2 (unshaded) contains the chapter title (Heading1 -- which is NOT numbered; only the style in column 1 contains numbering.)
    The only exceptions are the Preface chapter (a Heading1) and the TOC itself (which uses TOCTitle so it won't appear in the TOC). For both, the shaded column 1 uses a style called ChapNoNum.
    Page layout has sideheads; first page of each numbered chapter looks similar to this:
    |-----|--------------------------|
    |     |                          |
    | 1   | Heading1                 |
    |-----|--------------------------|
    |     | text text text text text |
    |     | text text text text text |
    |     | text text text text text |
    |     | text text text text text |
    I want the TOC to pick up the chapter numbers like so:
    |-----|--------------------------|
    |     |                          |
    |     | TABLE OF CONTENTS        |
    |-----|--------------------------|
    |     | Preface...............1  |
    |     | 1. Getting Started....3  |
    |     | 2. More Stuff.........5  |
    |     | 3. Troubleshooting....9  |
    But the TOC picks up only the Heading1s, which aren't numbered. How to include the ChapNum in front of the Heading1 in the TOC? (I've tried using graphic boxes on master pages instead of the table rows on the body page but haven't found the answer there.)
    Any help is most welcome.
    Gay (FM 9.0, non-structured)

    Gay Alson wrote:
    Each new chapter heading is in a one-row, two-column table. Column 1 contains only a large number (numbered style called ChapNum) against a shaded background, and column 2 (unshaded) contains the chapter title (Heading1 -- which is NOT numbered; only the style in column 1 contains numbering.)
    The only exceptions are the Preface chapter (a Heading1) and the TOC itself (which uses TOCTitle so it won't appear in the TOC). For both, the shaded column 1 uses a style called ChapNoNum.
    Page layout has sideheads; first page of each numbered chapter looks similar to this:
    |-----|--------------------------|
    |     |                          |
    | 1   | Heading1                 |
    |-----|--------------------------|
    |     | text text text text text |
    |     | text text text text text |
    |     | text text text text text |
    |     | text text text text text |
    I want the TOC to pick up the chapter numbers like so:
    |-----|--------------------------|
    |     |                          |
    |     | TABLE OF CONTENTS        |
    |-----|--------------------------|
    |     | Preface...............1  |
    |     | 1. Getting Started....3  |
    |     | 2. More Stuff.........5  |
    |     | 3. Troubleshooting....9  |
    But the TOC picks up only the Heading1s, which aren't numbered. How to include the ChapNum in front of the Heading1 in the TOC? (I've tried using graphic boxes on master pages instead of the table rows on the body page but haven't found the answer there.)
    Any help is most welcome.
    Gay (FM 9.0, non-structured)
    TOCs capture only specified paragraph formats. Your chapter numbers aren't specified in the TOC, so they're not captured. To capture both the number and the title paragraphs, you need to specify both formats in the TOC set-up. To make the number run into the title, you'll need to assign a run-in paragraph format to the number's entry in the TOC; this will cause the title to follow the number on the same line.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Suppress chapter numbers in bookmarks

    When producing a PDF (File > Save as), Framemaker always puts the chapter numbers into the bookmarks ("3.4.3.1 Create New user"..). Is there a way to suppress this? I have tried the various options from the dialog box that opens (including using elements as source instead of styles) but have found no solution yet.

    Robert, Shlomo Perets' Timesavers has an option that will automatically supress the autonumbers.

  • How can I get the chapter numbering in automatic directory

    How can I get the new pages to take over the chapter numbering in automatic directory.

    Hi Peter,
    thank you for the quick answer.
    I'm new in the community therefor I have a additional question is there somebody reading who will take this as an feature for further updates of pages?
    I think this is a"must" for professionell work.
    Marcus

  • How to add chapter numbers as well as page numbers?

    Hi. I have a large text document with numbered pages. But I can't figure out how to keep those numbers sequential and add running chapter numbers (automatically) at the same time. Right now, I have to number the chapters manually. (At over 70 chapters, it becomes quite inconvenient to have to renumber them when adding or subtracting content.) Help!?
    e

    Pages does not have an auto-chapter numbering system.
    Your manual solution is it until Apple gives us something better.
    Pages may not be the best solution for you if this is important.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=7&sid=7b723dfadf5586 8aa8f3042c1571c342&mforum=iworktipsntrick
    Peter

  • Aligning chapter numbers in table of contents

    Hello,
    In tables of contents, Pages doesn't align the chapter numbers correctly.  I get this (left alignment) :
    8.
    9.
    10.
    and I need this (alignment on decimal point) :
      8.
      9.
    10.
    Do you know how to do it ?  Thanks in advance.
    Cheers,  Pierre
    Mavericks 10.9.1, Pages 4.3

    If that is the beginning of the line you will have a problem as you need to use an inset decimal or right hand tab and precede the text with a Tab.
    You may have to export the T.O.C. as text, bring it back in and format it manually.
    Peter

  • How Do I Change Default Chapter Numbers When Compressing for iPad?

    Basically, I'd like to export a program from a FCP 7 timeline with included chapter and compression markers and compress it using Compressor 3.5 or 4.  The program is intended for distribution via iPad and I'd like to include medical disclaimers and a production company logo prior to the start of the program.  The problem is that the chapter numbering seems to default to 1, 2, 3, etc. which makes the program's beginning read as Chapter 2.  Is there any way to reset the default first chapter marker to Chapter 0 or similar?  Or is there a way to do away with the automatic chapter numbering?

    I understand that the markers can be named in the timeline.  The problem I'm having is that, once the file is encoded and moved onto the iPad, the chapter names gain an additional number.  So in my case there is a marker at the beginning of the sequence that I've named Medical Disclaimers and another at the beginning of the program that I've named Program Start and a third marker that I've named Chapter 1.
    When the chapters display on the iPad it reads something like this:
    Chapter 1
    Medical Disclaimers
    Chapter 2
    Program Start
    Chapter 3
    Chapter 1
    You see my problem?  Chapter 3 / Chapter 1 doesn't really work. I can name the chapters anything I want in FCP, but as soon as they're loaded on the iPad they get a shiny new chapter number attached to them no matter what I do with the markers in FCP.  I can of course rename Chapter 1 so that it's not so obvious, but I'd still like the program to start at Chapter 1 rather than Chapter 2 (or, if possible, have no automatic chapter number generation at all).

Maybe you are looking for