IBook Author how do I add a paragraph style to TOC sections?

I am wanting to have secions with "Heading 1" paragragh style show up in my TOC. They show in Book outline view but not in Book Preview. I am using the plain book text template in portrait orientation.
Thanks
Russ

--assumes existing paragraph ends with a return
set newText to "Me Either!" & return
tell application "Adobe InDesign CC"
  tell document 1
  set storyRef to parent story of text frame 1 of page 1
  set paraStyle to paragraph style "New"
  set insertRef to insertion point -1 of storyRef
  set beginIndex to index of insertRef
  tell insertRef
  set contents to newText
  end tell
  set endIndex to beginIndex + (length of newText) - 1
  set textRef to (a reference to characters beginIndex thru endIndex of storyRef)
  set applied paragraph style of textRef to paraStyle
  end tell
end tell

Similar Messages

  • In ibooks author how to make an existing page start a new section

    I have imported a Pages document into ibook authors (version 2.1.1 in OS 10.9.1) using the Classic Text Template. The original Pages document was basically a book, with title and table of contents and forward and several sections. Now everything is one huge unit. During the import I can choose a layout, but only a chapter or a section. Then all of the document is regarded as having that layout -- every page is regarded as having the section layout, for example, though only the first page has the smaller text area and the large text as a header. I can see all the layout possibilities in the Layouts sidebar, and they include section and forward and 1 column. When I hover the cursor over a particular page the book sidebar I see the little triangle that has been mentioned, and it offers options for changing layout,  but it does not allow me to make that page a new section or a forward. I can only make the page 2 column or put a sidebar on it. I cannot see how I can import the book and be able to create chapters and sections with ibooks author. I can insert a new section layout, or a new page, but I do not see how to  to change a page, after it is imported and is considered to be the text of a chapter or section, into the start of a new chapter or section.  I do not find anything in the inspector or on the menubar or in the help center that makes this change. The "add a chapter title" does not change the layout to make the text box smaller, as it should for a layout.   Is it actually possible to convert a Pages book into an ibook authors book, or must I create the blank chapters and sections in ibook authors and then cut and paste each section from Pages?

    The advice given for  iBA, is to preplan your book. Modify an exsiting template as your layout  suits you,  to present a quality book to your readers. 
    iBooks Author is really more "app"  than a book maker like inDesign or even Pages,  - and users should really  get to know how to use it before starting out on a serious project.
    The insert options are clear - you can insert a Chapter from MS Word or Pages  in iBA  a "chapter" is a distinct "standalone" part of a book which can include sections and pages as required. Sections can  be  moved up or down within their chapter or can be copied from one chapter to another. The pages in any chapter are static and the only way to change content location is copy and paste.
    From your post, its seems you decided to  create you book using Pages and in one chapter expecting iBA to reformat it.
    I would suggest a solution is to count your  chapters and  add that number into an iBA  new book, then  copy your Pages chapters.  I would guess that the whole process would  take less than 30 minutes.
    Apple recieves feedback and suggestions for improvements, however the last update made very few changes to  the application and none of  those seen in many posts - such as being able to move pages. This indicates that Apple at  least,  are satisfied that the version is functional enough for  how Apple see books being made for its store. 12 months ago this  forum was  taking  hundreds of posts  per day asking advice, its now a trickle- which I take to be in indicator that  as a group, iBA users have taught themselves how to use the application and its  many options and third party add on's. iBA is more suited to the interactive side of publications as Apple intended, creating a mainly text only "novel" seems to be considered by Apple as the easy part!

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

  • IBooks Author : How do I change background colour of a Chapter ?

    iBooks Author :
    How do I change background colour of a Chapter  e.g.  Recipe Standard Template is  Green I would like to change it to   ...
    How do I do that ?

    See iBA Tips and Tricks 01 / How to change page background color

  • Ibooks author, how do I get the standard book pages background into my document. I have published one book so far which does not display with a book pages background or options for font size.

    ibooks author, how do I get the standard book pages background into my document. I have published one book so far which does not display with a book pages background or options for font size.

    No on the book title, no problem there.
    The issue is: my book pages appear as on white paper, no background that resembles a open book and also no option to change fonts. The book was created in iBooks author, there was a problem going with the "Publish" menu route so I was instructed my Apple to "export" the file and submit that. I think that's the problem after reading that iBooks author is a hybrid epub file.
    Thanks for getting back to me.

  • 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 to export RTF with paragraph style names?

    Anybody can help me "how to export RTF with paragraph style names?"
    Thank you

    It's not something that's natively done with Indesign.
    However it's possible that it might be able to be scripted.
    Check the scripting forum
    http://forums.adobe.com/community/indesign/indesign_scripting

  • IBooks Author: How do you get the inset margins applied to the caption text of gallery widgets to preview correctly on an iPad?

    Currently the inset margins I set for caption text in the gallery widget resets to zero when previewed on different iPads. These are galleries with different images and the captions are set to “individual caption per image” in the interaction panel.
    BUT the inset margins will preview correctly if the gallery caption is set to “same caption for all images” in the widget interactions panel. How does one go about fixing this in iBooks Author? Would love to hear others advice or suggestions or work arounds. Thanks!

    I found this article that shows the folder we are looking for is here --
    ~/Library/Containers/com.apple.iBooksX/Data/Documents/AEAnnotation/
    per http://mjtsai.com/blog/2013/11/06/the-problem-with-ibooks/ and http://computers.tutsplus.com/tutorials/beyond-highlighting-how-to-get-the-most- from-your-annotations--cms-20013
    So I opened the files in TextWrangler to search for a word I know I highlighted in a particular book.  That helped me identify the correct file for the book I am concerned with.  I did a Time Machine restore of the file and got my notes back the way they were.

  • IBooks Author: How do you get the inset margins applied to the caption text of gallery widgets to preview correctly?

    Currently the inset margins I set for caption text in the gallery widget reset to zero when previewed on different iPads. These galleries have multiple images and the captions are set to "individual caption per image" on the widget interaction panel. BUT the inset margins preview correctly if the gallery caption is set to "same caption for all images" in the gallery widget interaction panel. How does one fix this in iBooks Author? Would appreciate any advice or work arounds or suggestions.
    Thanks!

    The arrows don't show up on the iPad, they are only to aid navigation within iBA. You can use boxes in the background to frame your galleries (as the background is off). I believe it's also possible to change the colour of the dots beneath the gallery too, although I forget how to do that right now.
    About Apple's rigid UX – I agree that it can be frustrating. Apple intended iBA to be used by everyone, and the sort of design options and customisability we might want may confuse the less experienced user. Apple also wanted the UI for every book to be the same – from the point of view of the new user, once you've used one iBA ebook (or iBook, I'm not sure what Apple want us to call it), you can use them all. Otherwise end users would to get used to a slightly different UI on each book, which kind of works against the idea that ideally UI should be intuitive enough to be invisible. I can see the point in that. I have created a 'How to use' section in every iBA file I've made. It get's old quickly.
    Oh, and (you probably know this, but…) you can choose your own custom icon for audio. It's limited, as it's only a placeholder image that allows you to play an audio file, there's no ability to pause the audio or stop it once you choose the view as thumbnail choice. Something I'd like to see changed.
    Here's a link to Apple feedback page for iBA. Feel free to hammer it with your suggestions.
    https://www.apple.com/feedback/ibooks-author.html

  • When creating a book in iBooks Author, how do I get the book pages to flip instead of scroll?

    I'm interested in knowing if there's a way to get iBooks pages to flip instead of scroll when creating then in iBooks Author.  I think having the image of turning a page, instead of it just scrolling, is appealing to the reader, but I don't see how to do this in the iBooks Author program.  Any advice is welcome.  Thanks.

    It is a silly feature, but Apple would be remiss if they did not offer it.
    Go to the App Store someday and read the reviews of iBooks.There is an incredible amount of bellyaching because the new (iOS 7) graphics don't look as touchy-feely as the iOS 6 graphics. A lot of people want to feel like they are holding a piece of tree in their hands when they read eBooks. Doesn't compute for me, but as an author, I don't want Apple to kick these people in the shins, either.
    As for the processing hit...uhm...unless you happen to be rendering 3D animations at the time, it probably isn't going to ruin your chip's day.

  • Ibooks author how to fix missing file error message

    I have cut and pasted many jpg images into my iBook in iBooks Author.  All the pictures appear to be displayed but whenever I open the iba file I get many error messages saying that many of the files are missing.   How do I diagnose and fix this issue?   Any ideas on how to debug or fix this would be appreciated.

    Yosemite is not supported for Encore, but neither was Mavericks (even though it is on the list, I don't think it is truly "supported," and there were issues).
    Many of the issues in Mavericks and Yosemite appeared to be permissions. Most Adobe apps need read/write access, and those were not the defaults for the OS.
    Some Mavericks users reported the following fixes their problems - I eventually assumed that somewhere in the process, it was fixing permissions. But perhaps it does more:
    http://forums.adobe.com/message/6109315#6109315
    And comments for these operating systems for Premiere Pro, Adobe Media Encoder, and After Effects may be helpful. (Encore does not have a support team that is active, so nothing official for it.) But there are specific bug fixes for these OSs in CC versions, so....
    Monahan re Premiere permissions
    http://blogs.adobe.com/kevinmonahan/2014/09/10/premiere-pro-cc-freezing-on-startup-or-cras hing-while-working-mac-os-x-10-9-and-later/
    Kopriva re permissions and AE primarily:
    http://blogs.adobe.com/aftereffects/2014/06/permissions-mac-os-start-adobe-applications.ht ml
    Re the Photoshop -1 issue:
    http://forums.adobe.com/message/5950080#5950080
    The workaround was not to left-click on the menu. Use right click, or other options and menu commands.
    http://forums.adobe.com/message/5810884#5810884
    See post 12 and several following where we are looking for workarounds to the error.

  • IBooks Author - How do I delete drafts I no longer want?

    Trying different things in IBooks Author, I ended up with four versions of the same book (four files). Each has its own template, etc.  I have selected the version I want to keep.  How do I delete the three versions that I do not want?

    You can delete those in the Finder.
    See OS X Lion: About Auto Save and Versions for details on controlling 'versions' as well.

  • IBooks Author crashes when I add video.

    Every time I try to add a video file to iBooks Author it crashes. I have tried uninstalling and re-installing the software as well using different video formats. It does not seem to matter, the program still crashes. Any suggestions?

    I spoke with Joseph. He sent me to a site that allowed him to see my screen. Then, after the crash log appeared, we both went over it. That's when we found the error file that allowed us to locate the problem in my library cache.
    I did everything, including export as .m4v, mp4, mov or any other type. Now, whatever file format I use, iBooks Author automatically optimizes the video.
    Before I fixed the problem, it would optimize my video, but any keynotes or other items in my book would not longer work. Once I removed the corrupted file all was good.
    Hope that helps.

  • How do I prevent unwanted paragraph style overrides when exporting an epub

    I am having trouble controlling the size of a  logo in an e-pub. Actually, it's only a problem with Amazon's Kindle which seems to insist on enlarging the image to the full screen width. So, I need a robust command in my CSS to override Kindle's preference. Seems easy. I placed the logo into my In Design layout in a picture box with the object style "frontmatterlogo" which should export into a div of the same name. Which it does. So far so good. However, In Design insists on creating a paragraph style override (see bold in the code below) which disregards the  frontmatterlogo settings I've written in to my CSS in favour of it's own image settings which correspond to the size of the placed image. Currently, I've just put together a hacked solution by writing a class for para-style-override into my CSS. It's an inelegant solution but seems to work for all the other e-readers. But, as mentioned, it doesn't work on the Kindle.
    Anyone have any idea what is causing these overrides and how I might prevent them so my div class can take over?
    Alan
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <title>Titlepage2-1.html</title>
            <link href="template.css" rel="stylesheet" type="text/css"/>
        </head>
        <body>
            <div id="Titlepage2-1.html" xml:lang="en-US">
                <div class="story">
                    <p class="Pagebreak"/>
                    <h1 class="fulltitle">Far North</h1>
                    <h2 class="author">MARCEL THEROUX</h2>
                </div>
                <div class="frontmatterlogo">
                    <p class="para-style-override-1">
                        <img width="191" height="19" src="images/HarperPerennialClassic_fmt.jpeg" alt="HarperPerennialClassicsLogo.jpg"/>
                    </p>
                </div>
            </div>
        </body>
    </html>

    Thanks for getting back so quickly, Bob.
    I'm using Version 5.5. I have basically the same problem when the object is anchored. In the case below, I created a new paragraph style for the line on which the logo would be anchored, also mapping to the frontmatterlogo entry in my CSS. This time, no paragraph-style-override is added but In Design still adds it's own image dimensions corresponding to the size at which the image was placed in the layout. This overrides the settings in my CSS and, I suspect, might be what's allowing the Kindle settings to take over as well. I had kind of resigned myself to fixing this in the code  on a book by book basis, which is fine if the only images the book contains is a cover and a title page logo. But I'm worried about what happens when I have to create an e-pub from a photo-heavy book. You can see how it would be ideal to create a few specific object styles for different image situations in In Design and have them map them to specific div styles in my CSS. Basically it's a workflow issue. This would minimize the amount of after-the-fact coding our already swamped designers would have to do.
    It's so obvious in the code where the problem lies, and so I just have a feeling that there may be a simple fix. If only I knew why In Design felt obliged to specify the image size.
    A.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <title>Titlepage2-1.html</title>
            <link href="template.css" rel="stylesheet" type="text/css"/>
        </head>
        <body>
            <div id="Titlepage2-1.html" xml:lang="en-US">
                <div class="story">
                    <p class="Pagebreak"/>
                    <h1 class="fulltitle">Far North</h1>
                    <h2 class="author">MARCEL THEROUX</h2>
                    <p class="frontmatterlogo"><img class="frontmatterlogo" width="196" height="20" src="images/HarperPerennialClassic_fmt.jpeg" alt="HarperPerennialClassicsLogo.jpg"/></p>
                </div>
            </div>
        </body>
    </html>

  • How can i give multiple paragraph styles on the same line

    i want to give different paragraph style in the same line in an indesign document. bt when i tried it, it is coming in two different line.
    actually i am doing a project in which Frame maker document is transformed into indesign document. in frame maker this is possiable, but in indesign i cannot give different paragraph style in the same line of the document.
    Is there any way to do this ????

    YaneshTyagi wrote:
    i want to give different paragraph style in the same line in an indesign document. bt when i tried it, it is coming in two different line.
    actually i am doing a project in which Frame maker document is transformed into indesign document. in frame maker this is possiable, but in indesign i cannot give different paragraph style in the same line of the document.
    Is there any way to do this ????
    Hi, Yanesh:
    Please understand, the FrameMaker feature known as a run-in paragraph, which is a paragraph with a "carriage return" but without a "line feed," HAS NO COUNTERPART in InDesign. InDesign also lacks the FrameMaker side heading feature, which is created by the combination of a reserved area in the text frame and the paragraph property to inhabit that area. FrameMaker separates paragraphs by using the larger of space below paragraph and space above paragraph, but InDesign separates paragraphs by adding the space below paragraph and the space above paragraph.
    There are several complicated manual methods of simulating these FrameMaker properties in InDesign.
    Here's a recent forum discussion of these exact issues: http://forums.adobe.com/message/3759635#3759635. The thread mentions DTP Tools' conversion tool, the MIF Filter commercial plug-in for InDesign, and discusses its shortcomings. I don't recall it mentioning in-tools.com plug-ins that can simulate side headings, like those in FrameMaker, but they don't convert FrameMaker to InDesign. 
    You can add your vote for InDesign's developers to include these FrameMaker features, and any others you'd like to see, here: wish.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

Maybe you are looking for

  • Issue in the table settings of the screen.

    Hi Expert, I have an issue because some users are changing the Table Settings of the screen to display the sales orders. So if somebody make a change affect to all the systems so I want to find a way in order to limit the access to this setting. Than

  • Exchange profile pointing to old hostname after the system copy

    Hi Team, I did system copy of SAP XI3.0 SP19 from host HOST1 (Windows 2003 , MS SQL 2005 SP3)to HOST2 (Windows 2008 R2, MS SQL 2005 SP3)with the same SID . I am using same SID as i will have to upgrade XI3.0 to PI7.1 EHP1 on the new host(trying to us

  • JaspserException

    Hi, The below code worked before but I keep getting this error message today when starting up: org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat40\bin\..\work\localhost\danyu\jsp\general\login_jsp.java:130: 'try' without 'ca

  • Storer: Error in parsing:Could not process

    ZENworks for Desktops 6.5 SP2 Netware 6.5 SP2 Sybase DB 8.0.2 (4339) ZENworks Agents (still) 4.01xxx ZENworks Inventory Service Console Massages: Starting the Upgrade service. The database has already been set to the Ready state. The Upgrade service

  • How could I find table with match codes

    I have to enlarge matchcode for table fields. How could I do that. Where to find it and how  I would highly appreciate an example Thank you in advance