Next Para Tag fails on empty paragraphs

Hi everyone,
"This can't be so," if you know what I mean. I create a paragraph tag that includes a "Next Para Tag" setting, apply the new tag to a paragraph, and hit return. The new paragraph uses the same tag, not the one specified in "Next Para Tag".
BUT ... if I add any character to that first paragraph and then hit return, the correct paragraph tag comes up.
This never worked this way, years ago, and I hope I'm just missing or forgetting something now. ???
Thank you kindly,
Elchanan

Elchanan, I know you've already included this info in your other recent postings, but it would help enormously if you'd always specify the exact FM version (from Help > About, including the "pxxx" numbers) when you post a question, so that when forum members view the thread we have the version context easily available to assist with our replies.
(ps -- glad to see someone "back in the FM fold" so to speak)

Similar Messages

  • FM 8 "Next pgf tag" having no effect...

    Hello,
    In the last week, FM8 has insisted on totally ignoring the "next pgf tag" information in all paragraph formats in all documents on my machine.
    I.E. pressing enter at the end of a heading, figure or table number, or after the first item in any numbered list simply adds a second line of the same paragraph format, instead of switching to body text / additional numbering etc. This is of course, infuriating.
    We've tested the same documents on another XP workstation running FM8 with all of the same updates, and this had no problems whatsoever...
    Help!
    fm8 8.0p266 - windows xp

    David...
    It almost sounds like Frame is misinterpreting the Enter key in some odd way, in a way that avoids the Next Pgf action.
    In a previous posting, a user had a problem in that his "keyboard" would not produce a capital C, but only in Frame. Regardless of whether or not the Shift key was pressed, the "c" key only produced the small c. The key worked normally in all other applications.
    Here is what he found as the problem:
    >>Some forensic work in the maker.ini file revealed an issue with FrameScript. The final answer was that a FrameScript had been inadvertently set to use the Shift+c shortcut. Once I removed this setting, the problem was
    I am totally ignorant about FrameScript and its applications, so this may be a silly idea: Look in your maker.ini file to see if you can detect anything strange going on that involves the Enter key.
    Dennis...

  • "Next" Para. Tag Affects Previous Paragraphs

    Inserting new paragraph by placing the cursor at the beginning of a paragraph is reading the Next Pgf Tag setting and changing the existing paragraph's style. For example, consider that you have a Heading 1 and want to insert another Heading 1 above it. You used to be able to simply place the cursor at the beginning of the existing H1 and press Enter. Voila - two H1 paragraphs.
    Now when you do this, the existing H1 becomes Body style, because Body is the Next Pgf Style setting for H1. The same is true for any paragraph tag with a different Next Pgf setting. 
    This is a change since FM8 (we just upgraded to FM12 last year), and I suppose Adobe thinks they made the setting smarter, but we find this behavior not at all useful.
    If there is a workaround to this (other than the obvious), we'd sure like to hear it. It's a small thing, but irritating. (And if no solutions, yes we will report this in the Bugs/Features area.)
    Thanks!

    Glad that my post helped you, A-Bel. I did enter a bug report on this issue. If you would like to see the behavior changed, vote on the bug:
    Bug#3912641 - "Next Pgf Tag" behavior when entering new line at the beginning of a paragraph

  • Is there a fast way to wrap unstructured text into [Para] tags?

    I'm trying out my new Frame 12 by trying to produce an ebook in several formats. I'm using the out-of-copyright Agatha Christie's A MYSTERIOUS AFFAIR AT STYLES.
    Is there a fast way to wrap each paragraph with a [Para] tag?
    Thanks in advance.

    Wow, Russ, leave it to an FDK programmer to want to write a script or plugin to solve every problem! And FM does indeed have native functionality that addresses this situation. The conversion tables (see the Structured Application Developer Reference) that you mention in passing were designed to handle exactly this situation. Except that a conversion table operates on an unstructured rather than a partially structured document. So, all TdeV1 need do is:
    1. Create a new document from the chosen sample.
    2. Delete all content, including the root element.
    3. Paste the original, unstructured paragraphs.
    4. Use StructureTools > Generate Conversion Table to create a new coversion table.
    5. Complete the table as follows:
    Wrap this object or object
    In this element
    With this qualifier
    P:
    Para
    Para+
    Section
    Section
    Chapter
    6. Save the conversion table but leave it open.
    7. In the original document, use StructureTools > Utiltities > Structure Current Document.
    8. Create the needed Head elements for the Chapter and Section.
    Another alternative, available since FM 11, is Smart Paste. Recall that Smart Paste allows the user to copy material from web pages and Microsoft Office products such as Word and paste it into FM. Yes, in general, there is a significant amount of setup to prepare for using Smart Paste. However, Smart Paste is supported out of the box for DITA. So TdeV1 could do the following:
    1. If the content originated in Word, open the Word document and copy the paragraphs to the clipboard.
    2. Use DITA > New DITA File > New <topic> to create a new DITA document.
    3. Click in the <body> element to set an insertion point within that element.
    4. Use Edit > Smart Paste. FM will paste the content, converting each paragraph to a <p>.
    5. Copy the resulting <p> elements to the clipboard.
    6. Paste the <p> elements into the actual document.
    7. Select the <p> elements and use the Element Catalog (or Ctrl-3 to bring up the Smart Catalog for changing elements) to change them to <Para> elements.
    However the structured document is created, while this sample template is appropriate for initial experimentation with structured FM, it is intended for technical material and not optimal for fiction. To get the most out of a structured document for production work, it's almost always necessary to define elements and attributes appropriate to the particular project.
        --Lynne

  • Is there more beautiful way to get reference for next para?

    I have insertion point in some paragraph.
    Now i need to know para style of some next paras.
    I use this huge construction:
    Set mPara0 = myInd.Selection.Item(1).Paragraphs.Item(1) 'para inder  cursor
    Set mPara3 = mPara0.InsertionPoints.Item(-1).Paragraphs.Item(1) 'third para
    Set mPara3 = mPara3.InsertionPoints.Item(-1).Paragraphs.Item(1)
    Set mPara5 = mPara3.InsertionPoints.Item(-1).Paragraphs.Item(1) 'fifth para
    Set mPara5 = mPara5.InsertionPoints.Item(-1).Paragraphs.Item(1)
    ParaName3 = mPara3.Paragraphs.Item(1).AppliedParagraphStyle.Name
    ParaName5 = mPara5.Paragraphs.Item(1).AppliedParagraphStyle.Name
    Is there some other way?
    Thanks.

    I'd like very much to compare speed, but couldn't use "index" property.
    This line wrote err:
    Set ParaName3 = myInd.Selection.ParentTextFrames.Item(1).Paragraphs.Index(mIndex + 2)
    cause "index" property is inside item with some number in parent obj, which number i do not know. Or i have to check every item, and compare its index number with current para (i think it's enough stupid way). Give a hint, pls.
    because there is no .Index(mIndex + 2) function
    if you want to refer to Nth paragraph - you need to use .Paragraphs.Item(mIndex + 2) or just .Paragraphs(mIndex + 2)
    and I think getting NextParagraph by refering to last InsertionPoint in current is the best method
    and you can't refer to next paragraph by increasing current pargraph's index
    if you will write:
    mIndex = myPara.Index
    and you will then try to write
    Set myNextPara = myStory.Paragraphs.Item(mIndex + 1)
    this will not return next paragraph - it will return paragraph with index of first character from mIndex paragraph + 1
    robin
    www.adobescripts.co.uk

  • I am not able to access empty paragraphs

    I have problem in VBScript with accessing paragraphs with no contents inside of table cells.
    Here is a snippet of my code (Row is the table row I am working on):
    For Each Cell in Row.Cells
       For Each Paragraph In Cell.Paragraphs
          ' Do something with Paragraph
       Next
    Next
    This only gives me the paragraphs which contain some text. If they are empty, I don't get access to them at all (Cell.Paragraphs.Count = 0). When I have the document in InDesign, each cell does have a paragraph style inside of if, and I only have to write one character in the cell to get it to work, but as soon as I delete the last character, the paragraph becomes inaccessible from the script.
    My aim is to replace the text within each paragraph with content from a database no matter what the paragraph might already contain. I cannot just create new paragraphs, because I use the paragraph style of the existing paragraphs to determine what text from the database goes where.

    PS: The thing which is important is that I can identify what paragraph style is applied inside the table cell (and there is one). If I know that, then I can create a new paragraph, apply the style, and fill in the contents from the database.

  • Help: apply different para styles to several consecutive paragraphs via script

    Hi all,
    I need to apply different para styles to several consecutive paragraphs via script, something like this (found somewhere on the net):
    var myDoc = app.documents[0];
    var mySel = app.selection[0];
    var myPStyle1 = "A";
    var myPStyle2 = "B";
    //need to add 6 more styles here:
    //var myPStyle3 = "C";
    //var myPStyle4 = "D";
    //var myPStyle5 = "E";
    //var myPStyle6 = "F";
    //var myPStyle7 = "G";
    //var myPStyle8 = "H";
    //the last style not needed in script?
    // apply 1st style to 1st paragraph
    mySel.appliedParagraphStyle = myDoc.paragraphStyles.item (myPStyle1);
    // apply styles to paragraphs after selected
    //2nd style
    mySel.paragraphs[-1].insertionPoints[-1].appliedParagraphStyle = myDoc.paragraphStyles.item (myPStyle2);
    //next style
    mySel.paragraphs[-1].insertionPoints[-1].paragraphs[0].insertionPoints[-1].appliedParagrap hStyle = myDoc.paragraphStyles.item (myPStyle2).nextStyle;
    I've tried badly, but can't find the way to extend the sequence
    Sorry, no skills in scripting yet...
    all styles have 'Next Style' option activated, but I can't use 'Apply style, then Next style' or Object styles, because I need four different sequences of those para styles:
    A-B-C-D-E-F-G-H
    A-B-D-E-G-H
    A-C-D-F-G-H
    A-D-G-H
    and I really don't want to create special clones of the same style for each sequence (Keep It Simple, they say ).
    I believe it can be done via four slightly adjusted scripts...
    any suggestions would be greatly appreciated...

    Sorry about being late to the party, I usually pick up stuff like this right away.
    How about this one?
    1. No separate scripts needed, it uses a tiny dialog where you can choose what style set to use. If I'm correct, you can press a number key on Windows to immediately select one of the items.
    2. It works down from the paragraph your cursor is in. It has nothing to do with text frames, though -- consecutive paragraphs inside a story always ignore any text frames.
    3. Extensible: you can easily change the names of the styles in the top array, and the number of style groups in the list.
    var styleLists = [
              [ "A", "B", "C", "D", "E", "F", "G", "H" ],
              [ "A", "B", "D", "E", "G", "H" ],
              [ "A", "C", "D", "F", "G", "H" ],
              [ "A", "D", "G", "H" ]
    var radiobutts = [];
    styleDialog = app.dialogs.add ({name:"Set Multiple Styles",canCancel:true});
    with (styleDialog)
              with (dialogColumns.add())
                        with (radiobuttonGroups.add())
                                  for (i=0; i<styleLists.length; i++)
                                            // Build radio button string
                                            str = "&"+String (i+1)+". ";
                                            for (j=0; j<styleLists[i].length; j++)
                                                      if (j) str += "-";
                                                      str += styleLists[i][j];
                                            radiobutts.push (radiobuttonControls.add({staticLabel:str, checkedState:false}) );
    radiobutts[0].checkedState = true;
    if (styleDialog.show())
              for (i=0; i<radiobutts.length; i++)
                        if (radiobutts[i].checkedState == true)
                                  break;
              if (i < radiobutts.length)
                        par = app.selection[0].paragraphs[0];
                        for (j=0; j<styleLists[i].length; j++)
                                  par.appliedParagraphStyle = styleLists[i][j];
                                  par = par.parentStory.paragraphs.nextItem(par);

  • Can I specify more than one para tag for master page mapping?

    Hi,
    I want to map the same master page to be used by four different tags. Must I create a new row in the mapping table for each or can I separate the tag names by a comma and a space, for example, "Body, Bullet, Heading1, Note"?
    I tried the latter and expected it to work, but it did not.
    Thanks,
    Sean

    > ... create a new row in the mapping table for each ...
    That works, and has no side effects that I've seen.
    It appears, by the way, that FM applies the MP based on the first para tag found that has a MasterPageMaps table entry, so multiple matches per page, even conflicting, are not a problem, as long as getting the MP for first-found is OK with you.

  • PAR upload failed

    Hi All,
            I am just trying to deploy my sample Portal Project Application from NWDS through Quick PAR upload into Portal Server, this is the first time i am getting this error, i don't know why
    The error is like below
    PAR upload failed:
    i did all settings also, if i miss any settings let me know.
    Thanks in advance.
    Thanks and Regards,
    Abhi.

    HI Abrahim..
    There r various ways of deploying a par file:
    As thread shows u r deploying it with NWDS. U can also deploy it with SDM and through admin consloe.
    Steps : Through Admin Console
    you should have system admin role to upload it from portal.
    go to system administration-support-portal runtime-administration console from there you can upload par files
    With the help of SDM:
    http://help.sap.com/saphelp_nw70/helpdata/EN/22/a7663bb3808c1fe10000000a114084/frameset.htm
    One another way:
    well for redeployin a par file the easiest way would be:
    1. open a browser
    2. go to http://<your portal host>/irj/servlet/prt/portal/prttarget/PortalAnywhere.default
    3. Upload the PAR file
    That's it, changes take effect immediately.
    if have any querry pls revert back:
    Thanks
    Mayank Kumar saxena
    Dont forget to give rewards if usefull
    Edited by: Mayank  Saxena on Sep 17, 2008 7:23 AM

  • Need to remove thousands of Empty Paragraphs

    I have imported hundreds of pages of Word docs into FrameMaker 7, but the problem is the Word user used carriage returns all over the place. Thus, I have thousands of blank lines with empty paragraphs. Is there a way to remove these empty paragraphs all at once rather than line by line as I've been doing?

    Sure.
    Search for \p\p and replace with nothing to catch two returns and delete them.
    You may want to vary the number of /p in the find field -- if you have a lot, increase the number to 5, 6, or so. Then run the S&R over again.
    And do it at the book level.
    When you get near the end of the cycle of deletions, don't go to far with Replace All, because you can merge paragraphs if you're not caregul. So go to a manual mode to finish up.
    Art

  • Acrobat X selection tool fails to detect paragraphs of text...

    Acrobat X selection tool fails to detect paragraphs of text.  Manually selected paragraphs have broken sentences with line breaks.  This problem is also noticed when you attempt to triple click a paragraph and only one line of text is selected instead of a paragraph.  Can this be fixed?

    can't it tell by the visual formatting of indents, text proximity/clusters, etc?  if humans can tell, why can't acrobat be trained to tell?

  • Custom tag fails to under Tomcat 5.0.16

    I have just upgraded to Tomcat 5.0.16 from 4.1.x.
    Any JSP page that contains a custom tag fails to build; error message:
    org.apache.jasper.JasperException: /jsp/CustomReport.jsp(62,20) Unknown attribute type (String) for attribute name.
    The tags work under �Tomcat 4.x�. All other pages build and function correctly.
    Specs:
    Java 2 version: 1.4.2_03
    Tomcat 5.0.16 or Tomcat 4.1.x

    Try updating your web.xml to use the Servlet 2.4 schema. You will have to change your tld declarations to sit inside the new <jsp-config> tags but see if it works for Servlet 2.4. Could be a backwards compatible bug?
    Anthony

  • All custom tags fail in JBoss3.2.3/Tomcat 5.0.16 (works in Tomcat 4.x)

    All pages that contain a custom tag fail with the following exception: HTTP Status 500 -
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:153)
         uploadQS1_jsp._jspx_meth_strutshtml_hidden_0(uploadQS1_jsp.java:225)
         uploadQS1_jsp._jspService(uploadQS1_jsp.java:100)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    note The full stack trace of the root cause is available in the Tomcat logs.Even a simple <struts-html: hidden ... /> tag causes this exception. As long as the page has no custom tags, it is served fine. The same web-app works as expected in JBoss3.2.3/Tomcat4.x.
    It almost looks as if Tomcat is looking in a object pool for a custom tag object reference and when it fails to find one, throws a null-pointer instead of instantiating a new one to work with. (This is pure speculation on my part).
    Did the TLD's req's change, or the setup for Tomcat? It's not my tags, even Struts tags fail. Any ideas why my tags aren't "resolving"?

    Has anyone had any luck getting this to run or run into this problem? It fails even with a fresh JBoss install using tomcat 5.0.16.

  • Making a para tag that is actually a holder for an image?

    Is there a way in ID CS6 to use a para tag to insert an image when that tag is selected in the text? I am interested in adding a small tif between paras when a pause is required. The text currently has 2 hard returns and I would like to be able to search for the 2 returns and convert them to a para. style that includes an image...Possible?
    Thanks in advance
    Jon

    Not with a style, but you could use Find/Change to insert the image from the clipboard.

  • [svn] 3498: Fixed a problem in TextGraphic and TextView where you got an empty paragraph before the paragraph (s) you specified for the content in MXML.

    Revision: 3498
    Author: [email protected]
    Date: 2008-10-06 15:45:01 -0700 (Mon, 06 Oct 2008)
    Log Message:
    Fixed a problem in TextGraphic and TextView where you got an empty paragraph before the paragraph(s) you specified for the content in MXML.
    Reviewer: Deepa
    Bug: SDK-16737
    QA: No
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16737
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as

    why nobody help? I am very disappointed. Somebody help me. Thanks very much!

Maybe you are looking for