Kontext rule for formatting only the first child section in a chapter

Hi all, I have run into a DITA problem. Each chapter of the document, i.e. top-level topic, contains a miniature toc of the nested sections. Therefore the first child topic's title should receive a page break.
I tried this context rule for the title element, below you find the screenshot which I have tried to translate because the EDD is in German. Even though I define that the context should be the first parent topic only, the result is that every second-level topic now has a page break. Any ideas?
8. Count ancestors: topic
    concept
    task
    reference
    If level is: 2
      8.1 If context is: (topic{first} | concept{first} | task{first} | reference{first})
            ..then set page break.
Robert

First, regardless of the UI language, you can import element definitions from an EDD using any of the language templates. Second, you can change the template that FM uses when it creates new EDDs (from the commands that in English are labeled StructureTools > New EDD and StructureTools > Export Element Catalog as EDD). Simply copy the desired template to $FMHOME\fminit\fmstruct\elemcat where $FMHOME is the directory in which FrameMaker is installed. I recommend backing up the original first.
You can create an English EDD template from any English EDD simply by deleting all its content.
By the way, you can modify the EDD template by changing its formatting rules, master pages, and so forth. I haven't yet done so for FM 11, but see http://forums.adobe.com/thread/909395 for information on various changes I've made to the English EDD templates for previous versions.
         --Lynne

Similar Messages

  • How do you download all chapters of a video at once?  I purchased a yoga video with multiple chapters and only the first one loaded.  It says I can't download another chapter for 90 days.

    I purchased a yoga video with multiple chapters and only the first one loaded.  It says I can't download another chapter for 90 days.  How do I get all chapters to download?

    Once a device or computer is associated with your Apple ID, you cannot associate that device or computer with another Apple ID for 90 days.
    http://support.apple.com/kb/ht4627

  • Some images do not display in browser, iPad Air 2.  When I load a page with several jpgs (one 1920x720, then 8-10 800x800px), only the first few are shown.  Behaviour is similar for Safari and Chrome. Website issue or iPad?

    I have just bought an iPad, partly to check that my websites work OK on mobile devices.   When I load a page with several jpgs (e.g. one 1920x720, then 8-10 800x800px), only the first few are shown.  If I remove the large one, that sometimes fixes the problem. Behaviour is similar for Safari and Chrome. Is this a website issue or iPad?

    Sorry, I didn't make myself clear.  I'm using a new Wordpress theme that is meant to be responsive.  The large image is for a header, than you scroll down to see the rest, one by one.  Some one the pages work OK on my iPad, typically the old ones where the maximum image size was 500 x 500.  It's the new pages and those I've updated that are causing the problem.  On the iPad the large image loads, then a couple of the small ones become visible as I scroll down, but then darkness (rather like my knowledge level).
    Being new to IOS and iPads, I'm trying to work out whether I should be looking here, or amongst the Wordpress stuff for a solution.
    Here's the website with its new theme: http://www.new-zealand-pictures.com/

  • Only the first page for a particular site prints. All other sites are fine.

    I'm running Firefox 10.0.2 on Windows 7 SP1 and when I try to print the web page of the affected URL ( http://windows.microsoft.com/en-US/windows-vista/Connect-to-another-computer-using-Remote-Desktop-Connection ), only the first page is printed. It prints fine in IE 9. I tried printing in safe mode and it still only prints the first page. I only tried printing it once, after that I used print preview alone. I used print preview on a dozen other sites and it works fine. By the way, on the web page I'm trying to print you must "Show All" at the bottom to expand all of the text. It's just this one web page. Can someone else with a similar setup try print preview on this page for me? I just want to know. I printed it using IE. Interestingly, if you scale the print preview down enough, all of the text shows up. Thanks...

    Well, I've made a little progress. I saved the web page source locally and then added the following HTML snippet to the <head> section:
    <style type="text/css">
    div
    page-break-before:always;
    </style>
    When I display this, the "Show all" does not work, but the page text is still long enough to do "Print Preview" and expect more than one page. The result is a blank first page (expected) and then ALL of the page text is printed on the next two pages.
    But I think you are correct "the-edmeister" in saying that Firefox may have a problem when the DIV tag spans more than one page. The reason is that the third page only contains the footer, so I can't say for sure if the whole DIV block was printed. But at least the footer did show up this time.
    If I can get the "Show all" block to expand then maybe that question will be answered. Any thoughts?

  • Sql statement substituion - any special rules for formatting the query?

    Hey,
    I was wondering - are there any special rules for formatting the query that is to be substituted?
    I am asking, as somehow I am unable to make the DSP substitute my query. I took the basesql from the server console (to make sure that I have the correct version), configured a query substitution, and well, nothing happens.
    I've tried to substitute it with a modified version of the original query (where NVL(,0) is changed to NVL(,-9999)), then also with select * from dual (which I hope would generate some error), but DSP is ignoring everything...
    The query is rather big (400 lines), so maybe I need to format it somehow? I've noticed that in the docs (http://edocs.bea.com/aldsp/docs25/admin/server.html#wp1049919) that the query used in the example has all leading spaces removed. I've tried that, but DSP is still not doing any substitution...
    Any suggestions welcomed...
    Thanks,
    Leszek

    Michael,
    I am doing everything as in edocs, retrieving from logs the basesql (so with place holders). I've removed all new lines (so the query is now in a single line) and all excessive blanks (so all double/more blanks replaced with a single blank). Still the DSP is like ignoring the substitution. I've tried to do it even with a simple query, like:
    SELECT t4."PRODUCT_ID" AS c1, t4."PRODUCT_NAME" AS c2 FROM {DB}.{SELECTION} t1 JOIN {DB}.{CUSTOMER_FACT} t2 ON (t1."VAL" = t2."CUSTOMER_ID") JOIN {DB}.{CUSTOMER} t3 ON (t3."CUSTOMER_ID" = t2."CUSTOMER_ID") JOIN {DB}.{PRODUCT} t4 ON (t4."PRODUCT_ID" = t3."PRODUCT_ID") WHERE ((? = t1."SESSN_ID") AND (t1."NAME" = 'CUSTOMER_ID') AND (t3."DELET_DATE" IS NULL) AND (t3."PRODUCT_TYPE" = 11))
    am I missing something here? do I need to remove/add something , to make it work?
    I've tried removing blanks around = signs (which from the DSP pov results in a different query), sitll with no results.
    Edited by xnts at 06/24/2008 7:37 AM

  • How to get only the first level of nodes for a subform?

    How can we get only the first level of nodes of a subform?
    For ex:
    Form1
         SubForm1
              Text1
              Text2
              RadioButton1
         SubForm2
              Text1
              Text2
              RadioButton1
         SubForm3
              Text1
              Text2
                   SubForm31
                        RadioButton1
    In this heirarchy if we give Form1.nodes will refer to all nodes under the Form1 (SubForm1,Test1,Text2,RadioButton1,SubForm2,...SubForm31, RadioButton1 etc..)
    But is there any way that we can access only the first level of nodes of Form1 ie can we get only (SubForm1,SubForm2,SubForm3) for Form1 in any Way..?
    Thanks.

    Two ways .....
    1. Use Javascript E4X instead ...there are nice functions for getting children of parents.
    2. Cycle through all of the form1.nodes and look for objects that have a className of "subform". For loops are useful for this task.
    Make sense?
    Paul

  • Recently, when I try to print from within Firefox (Mac 10.6), only the first page is properly formatted. This doesn't happen when using Safari.

    I regularly print newspaper articles that I view in Firefox. Until recently, multi-page documents formatted beautifully. Now only the first page is properly formatted. The other pages are enlarged and shifted to cuttoff several lines of text at the top of the page.

    Once you set that preference it should hold that setting. You could try 125% but it might clip the right-side of the page.

  • I need to get the tagName after a node of the first child of the Root

    Hi All,
    I need to get the TagName of the Node immediete after the Root. I won't know what is the TagName, and based on the Tagname only I can process the records.
    For example I might receive a SALES object or a MARKETING object wrapped under the root.
    eg.
    <PARENT>
    <SALES>
    </SALES>
    </PARENT>
    or
    <PARENT>
    <MARKETING>
    </MARKETING>
    </PARENT>
    I tried to using like this
                   DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
                   File file = new File("c:/example.xml");
                   document = documentBuilder.parse(file);
                   Node node = document.getDocumentElement().getFirstChild();
                   System.out.println("node Name:" +node.getNodeName());
                   System.out.println("node Value:" +node.getNodeValue());
    It returns only something like #text, but I need the response like 'SALES'.
    Can anyone let me know if im missing something somewhere.
    thanks in advance,
    Harish

    That's because the first child of the document element is that whitespace text node between <PARENT> and <SALES>. You need to scan through the children of the document element until you find one that is an Element node.

  • I recently tried to import 2 CDs but on one, only the first 4 songs imported and on the second, only the first 6 imported.  The CDs work fine in a CD player.  Any suggestions?

    I recently tried to import 2 CDs but on one, only the first 4 songs imported and on the other, only the first 6 songs imported.  The CDs work fine in a CD player.  Any suggestions?

    Rip the CDs with another program on your computer, and add the resulting MP3s to your iTunes library.  (If you use Windows Media Player for this purpose, make sure the Rip Setting is on MP3, or else it will default to a useless format known as WMA.)

  • Missing parts list shows only the first material.

    in case of MTO cycle, when i create a plnd order to prod order,in material availability check, system is not displaying all the materials for which shortages are there, instead its showing only the first material.
    any help

    You need to ensure that these materials are actually missing. You check this in transaction CO09 (SAP Note 89362). The checking rule will be whatever you assigned to the production order type in OPJK.
    Also, you need to ensure that the "missing" materials are actually checked for availability - The checking group is assigned in the MRP3 tab of the material master. In OVZ2, look at the entry for this checking group and ensure that "No Check" is not ticked.

  • Highlight Words - only the first occurence

    Hi,
    I'm using the "Highlight Words" column formating for a report. There, I'm using the item syntax: &P1_RENVOI. Problem is, when the report appear, only the first occurence of the value of item "P1_RENVOI" is in red for every field in that column.
    Is this a normal feature or should all occurences be put in red?
    Thanks in advance.
    ApEx version: 4.2.1.00.08.
    Theme: Business - 3

    Hi,
    I'm using the "Highlight Words" column formating for a report. There, I'm using the item syntax: &P1_RENVOI. Problem is, when the report appear, only the first occurence of the value of item "P1_RENVOI" is in red for every field in that column.
    Is this a normal feature or should all occurences be put in red?
    Thanks in advance.
    ApEx version: 4.2.1.00.08.
    Theme: Business - 3

  • How to get only the first result in extract function

    do you know how to get only the first element of the function extract.
    v_result := p_response.doc.extract('//'||p_name||'/child::text()').getstringval();
    if i have 5 responses like '100','100',100','200','200' e get '100100100200200' and i want only '100'.
    thanks in advance

    Two ways .....
    1. Use Javascript E4X instead ...there are nice functions for getting children of parents.
    2. Cycle through all of the form1.nodes and look for objects that have a className of "subform". For loops are useful for this task.
    Make sense?
    Paul

  • On my iPad 3, how do I make calendar items lasting more than one day appear as such on the monthly view of my calendar? Right now only the first day of the item appears.

    On iPad 3, all of my calendar items lasting more than one day do not appear correctly when looking at the monthly view of the calendar; only the first day of the appointment appears. For example, if I am taking a vacation for 4 days, only the first day of the vacation is marked on the calendar, instead of being listed on all 4 days. When I look at the weekly view, however, it is correct and is listed on all 4 days. The problem here of course is that at a glance, there is no way to look at my monthly schedule. On my iPhone, everything is correct, regardless of month or week view, so clearly this is an iPad problem I guess? Please advise on how this can be corrected. Thank you!

    Unfortunately you can't do what you want. Many people have complained to Apple about this. I suggest you provide Apple feedback directly at http://www.apple.com/feedback/macosx.html. They will not provide a direct response but hopefully if enough people provide feedback Apple will fix this.

  • How do you print only the first ten rows in a table?

    Hi everyone:
    I am trying to print only the first ten records by using <?for-each: <group name>?> and <?end for-each?>. Is there any stop tag that I could use to stop printing after the printing the first ten records without modify the XML data file? I am using XMLP Desktop 5.6.2. Thanks for your help!

    You are right kkretser. However, if your report have 2 or more layouts pages. You may want to output the necessary records to each page like the first 10 records to the first page the next the to the second page. Like you said I figure out now that you can use <?if:position()<10?> print out the rows and then on the second page layout, you can do <?if:position()>=10?>. Thanks to all of your replys, guys!

  • Only the first page is printed reduced as setup. All pages afterward are full size with information cut off. Recent problem. Can print from Safari just fine. How can I get all pages to be reduced size?

    Question
    Printing internet pages
    Reduced print size
    Only the first page is reduced and printed as desired
    All pages after the first page are full size with information cut off
    Recent problem never seen before
    Can print from Safari and other software just fine
    How can I get all pages to be reduced size?

    One suggestion worked from the Firefox prints incorrectly link mentioned above by mha007. I'm thrilled since this has been annoying me for weeks. Thanks mha007!
    Reset all Firefox printer settings
    # Open your profile folder:
    # On the menu bar, click on the Help menu and select Troubleshooting Information. The Troubleshooting Information tab will open.
    # Under the Application Basics section, click on Show in Finder. A window with your profile folder will open.
    # Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.
    # On the menu bar, click on the Firefox menu and select Quit Firefox.
    # In your profile folder, copy the prefs.js file to another folder to make a backup of it.
    # Open the original prefs.js file in a text editor (such as TextEdit).
    # Remove all lines in prefs.js that start with print. and save the file.
    # If something goes wrong when you open Firefox, close it again and overwrite prefs.js with the backup you made.

Maybe you are looking for

  • CPU Jul-09 Installation - Error Cannot copy file from 'libjox10.so' to

    Hi All, I received this error while I was installing the last CPU on a 10.2.0.4 Oracle Instance running on a HP-UX Itanium System: Patch 8568398: Copy Action: Desctination File "/u02/app/oracle/product/10.2/Db_1/lib/libjox10.so" is not writeable. 'or

  • Need help w/BW user authorization to see Web Templates thru portal

    Hello, We have designed Web Templates in BW which we intend to use through the SAP Portal. When these web templates are accessed via a URL which also passes a generic CPIC UserID/Password (created on the BW server), the template is fully functional a

  • DVD conversion to iPod format

    Help.. I don't seem to be able to find help and how to use this iPod Touch I just bought.. I've converted the DVD file thru DVD Decrypter and Videora iPod Converter programs.. I see the converted file as being a MEG-4 file in iTunes Library.. I've co

  • Issue with using formatted date value column in order by clause...

    Hi, 1) Through a function I am listing all the months in a year. like JAN-2007, FEB-2007,MAR-2007...... 2) i am comparing these values against a date value column in a table. And if there are no values in a particular period it will return a null val

  • Master-detail code

    With this code i am expecting to see a list of stores associated with each category but instead I am only seeing the first store in each category and that does not change when the user selects from the drop down list. <?xml version="1.0" encoding="UT