Topichead does not convert properly when ditamap saved as book and hierarchy not maintained

I'm new to DITA and piloting some documents in FrameMaker 12, trying to get the output that I need.
I have created a ditamap with a structure as follows:
Map title
- Concept A
- Topichead
   - Task A
   - Task B
- Concept B
  - Task C
   - Task D
I would like this to ouptut a PDF with TOC and bookmarks as follows:
Map title => book title
- Concept A => Chapter 1
- Topichead => Chapter 2
   - Task A => Chapter 2.1
   - Task B => Chapter 2.2
- Concept B => Chapter 3
  - Task C => Chapter 3.1
  - Task D => Chapter 3.2
To do this I save the ditamap as a "Book 12.0 with fm components (*.book)" and set the Bookmark levels in the PDF Setup as follows:
ChapterTitle
head.0
Title
title.0
.title.1
..title.2
...title.3
However, the output systematically comes out wrong because the Topichead element, which is just a title and is not attached to any topic, is not taken into account as a hierarchical element in the output. It generates an empty fm document containing just the topichead title, output as a ChapterTitle or Title depending on whether I set its toc attribute to yes. But the TOC is all wrong - instead of taking Task A and Task B as children of Chapter 2 it puts them all at level 1 so I get:
- Concept A => Chapter 1
- Topichead => ignored
   - Task A => Chapter 2
   - Task B => Chapter 3
- Concept B => Chapter 4
  - Task C => Chapter 4.1
  - Task D => Chapter 4.2
If I output using the bog-standard DITA-OT instead of fancy and expensive FrameMaker, everything comes out correctly.
Is there any way to correct this?
Thanks,
Archaeopteryx

Hi Archaeopteryx...
I beieve that FM only uses the elements from topics to create the output .. as you're seeing, headings in the map are ignored. I also believe that the process that FM uses to aggregate the topics into FM files is hard-coded somewhere in the DITA plugin, and not exposed for modification .. so aside from developing a plugin to modify the process, I think you're out of luck if you're using the default DITA support. The only solution would be to include title-only topics in the structure that provide those headings rather than using a topichead.
However, you might want to check out DITA-FMx, in which the aggregation process is controlled by XSLT that you are free to modify. The default book-build process in DITA-FMx also ignores these map elements, and assumes that all content is defined in topics, but you could tweak the XSLT to include topicheads as topic headings in the generated book.
     http://leximation.com/dita-fmx/
Thanks,
Scott Prentice
Leximation, Inc.
www.leximation.com

Similar Messages

  • Clip inspector in imovie not working properly - when I select a picture - and select clip adjustment it tells me that I need to select one or more clips to view Inspector tools and in a clip the audio adjustment only shows a speaker? help

    Clip inspector in imovie not working properly - when I select a picture (in project library) - and select clip adjustment it tells me that I need to select one or more clips to view Inspector tools and when I select a movie clip and then click on audio adjustments the audio adjustment appears as a speaker icon and I don't know how to get to the various audio options? It was working fine one minute and then I seemed to lose the functionality. Also editing a photo in a photo or getting rid of ken burns effect etc does not seem to work. help

    Can anyone shed any light on this as I am having the same problem? One minute it works fine, the next you get the error message above.
    Many thanks.

  • My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    If after you charge it for about three hours and it only last about five minutes the battery is probably dead or there could be another hardware problem.  I would go back to the Apple store and ask them specifically how can it be OK if the fully charged battery only lasts five minutes.

  • Stationary credated in Mail does not appear properly when viewed in Outlook, is there aroundthis?

    Stationary credated in Mail does not appear properly when viewed in Outlook, is there around this? Or, can I export (as a PDF) the email drafted in Mail with stationary that does not have the meail info on top of the page . Thanks so much for your help.

    No real solution to problem 1, stationary tends to look different depending on the client, as for 2 Mail does not export to pdf but can print to pdf, however you still get the mail headers.

  • Application does not work properly when I press a CommanButton

    Hi all, I am having a problem with weblogic 10.3.5.
    It turns out that an application built with JDeveloper 11.1.5, I test it, and everything goes well in the JDeveloper integrated Weblogic.
    But when deploy in a standalone weblogic 10.3.5 server, the application does not work properly when I press a CommanButton to go to another page search (the property "action" is set correctly) , but nothing happens, stays in the same home page. Similarly when a commanButton link to run a task-flow, It do not work , however in the JDeveloper integrated Weblogic it runs correctly.
    How I can solve these problems?
    Thanks.

    Thanks Frank for help us, but when I writing this comment we are doing at home. So, we going to test the page in a stand alone weblogic server 10.3.5. We wrote the URL as :
    " http://<our ip>:7001/myApp/faces/index.jspx "
    this application contains a report desing and compiled with iReport 4.5.1 ( last version in the moment ), we can see the report when I press a commanButton without any problem.
    But now, we need try your suggestions in the office, and give you more information about it . Thanks for the moment.
    In the Afternoon we gonna give you more information about it .

  • Music does not sync properly when updated to latest version.  Can see computer but can't play from ipod

    Music does not sync properly when updated to latest version.  Can see on computer but can't play from ipod.

    Hope this helps...
    I was having the same problem where only 1.7GB of 10GB of selected music would sync so I decided to start fresh.  The following steps worked for me:
    1.  Open itunes and connect iphone 5 if not already.  Uncheck all playlists, artists, etc. till nothing is checked to sync.  Then uncheck the sync music box so that all music will be removed from the phone.  Sync iphone
    2.  Eject device. Quit itunes (don't just close). unplug iphone.
    3.  Restart imac, macbook, or PC.
    4.  Restart iphone.
    5.  Now after power up, restart itunes then plug in iphone, check sync music and select music to sync.  Sync iphone
    6.  It worked for me!!!  Good luck.

  • Swf is not working properly when upload to server

    I develop 1.swf which is having 3 buttons each one having
    anather .swf to call 2.swf, 3.swf respectively.
    This application is running perfectly on my PC, but
    While uploading the swf to server the 2.swf and 3.swf is
    not running. Can any one tell how to recover from this kind
    of problem.

    justbipin wrote:
    > basically my code working perfectly,
    > but its not working properly when upload to server
    > can anybody having any ref. or link to solve this
    issues.
    why is that we insist on seeing the source file ?
    There is no one way of doing things in flash and no one can
    help
    you based on "does not work description".
    This is way to broad of a subject to even try to guess.
    Same as asking "my car does not work, what's up with
    that"....
    Please upload the problematic file and provide url for us to
    check.
    Otherwise you need to try to troubleshoot it yourself as we
    can't
    guess from here what possibly is wrong with that file.
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • I had photoshop elements 8 installed on my previous computer and it did not work properly when it came to sizing  photos for a website I was adding to.  I now have a new computer which runs windows 7.  Is it worth installing it again on my new computer?

    I had photoshop elements 8 installed on my previous computer and it did not work properly when it came to sizing  photos for a website I was adding to.  I now have a new computer which runs windows 7.  Is it worth installing photoshop elements 8 again on my new computer or will it be a waste of time?

    I have PSEv.8 on my computer running WINDOWS 7. It works perfectly..
    Perhaps you need help with saving files for web use.. Will be pleased to assist you when you get everything set up.

  • HT4623 The APP application on my iPad does not function properly - any downloads requested immediately fail and send me back to the main iPad screen.  Any suggestions on how to fix this - all software has been updated to iOS 5.1.1 and no other updates are

    The APP application on my iPad does not function properly - any downloads requested immediately fail and send me back tot he main iPad screen.  Any suggestions on to hoe to fix this?  The software has been updated to iOS 5.1.1, and no furthe updates are available.

    This is my boilerplate response when app downloads are stalled or in the "waiting" mode. There are a bunch of things here to try.
    Tap on the "installing" icon and see if you can pause the install, then tap on it again in order to resume the install.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download and install at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and see if the install resumes.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • My phone will not charge properly when i put it on charge it comes up with charging is not suppoted with this accessory i've only got it plugged into the plug for charging // Help

    My phone will not charge properly when I put it on charge it comes up with yellow exclamation symbil and infoms me that charging is not supported with this accessory I've only got the charger plugged into it well the plug and conecting cable any help

    That does happen.  It depends on how hard the server is being hit, as well as the connection speed of your system.  If you are on a windows system, you will want to disable any antivirus or firewall software during the download.

  • Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applica

    Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applications.

    I received no error message. The application was just trying to find applications unsuccessfully.
    I am using MAC OS 10.10.1
    I tried to uninstall the application  but it seems that a kind of deamon is still installed thus providing me to reinstall properly. Do you know where are the elements to remove in order to get my machine just like before ?
    Otherwise I would have to reinstall everything and this would be a pain.
    Thanks for your help.

  • Hello My ipads Power button is not working properly when I press it once it shows option to turn off instead of locking and some other display problems like it suddenly lockes down or display disappears ...Please help. Thank You

    Hello My ipads Power button is not working properly when I press it once it shows option to turn off instead of locking and some other display problems like it suddenly lockes down or display disappears ...Please help. Thank You

    Thanks for that information!
    I'm sure I will be calling AppleCare, but the problem is, they charge for the phone calls don't they? Because I don't have money to be spending to be on the phone with a support service.
    In other things, it seemed like the only time my MacBook was working was when I had Snow Leopard without the 10.6.8 update download that was supposed to be done to prepare for OS X Lion.
    When I look at the information of my HD it says that I have 10.6.8 but that was the install that it claimed to have failed and caused me to restart resulting in all of the repeated problems.
    Also, because my computer is currently down, and I've lost all files how would that effect the use of my iPhone? Because if it doesn't get fixed by the time OS 5 is released, how would I be able to upgrade?!

  • My macbook pro is not working properly , when is turned on after then show apple logo and continue show this or nothing.

    my macbook pro is not working properly , when is turned on after then show apple logo and continue show this or nothing

    Gray, Blue or White screen at boot, w/spinner/progress bar

  • I've an iphone 4, its headset jack is not working properly, when i insert the earphone no sound is coming, but when i keep the earphone little out i can hear the sound but very low sound is coming out, I've never dropped my iphone please help...

    I've an iphone 4, its headset jack is not working properly, when i insert the earphone no sound is coming, but when i keep the earphone little out i can hear the sound but very low sound is coming out, I've never dropped my iphone please help...

    bunjamin wrote:
    There is now a new line in BBM that wasn't there before which covers the message that I am typing, so I can't actually see what I am typing.
    Hi bunjamin,
    just go to BlackBerry World, and update all your apps including BBM.
    bunjamin wrote:
    Every time I unlock my phone, my screen enlarges so I can't really see much on the hub/notification screen and it defaults to the hub which it didn't do before).
    you can turn off the magnifying glass :
    device settings >> accessibility >> magnify mode >> OFF
    you can deactivate the "reset to Hub view" :
    hub >> overflow (bottom right button) >> Settings >> Display and actions >> Return to Default View When Idle >> OFF
    bunjamin wrote:
    my ringtone is much softer than it was previously
    yes, BlackBerry has acknowledged this bug in this article from the public knowledge base:
    KB36755 After upgrading BlackBerry 10 OS to version 10.3.1 the volume for notifications is noticed to be significantly lower than in the previous version
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • PDF file is not created properly when I choose File- Print...- PDF-- Save as PDF

    PDF file is not created properly when I choose File->Print...In dialogue box if i select option Save as PDF under PDF button...But it works fine with Safari Browser..
    == This happened ==
    Every time Firefox opened
    == always

    My first thought is to make sure the fonts used are common. If there is a substitution, things will be off.

Maybe you are looking for

  • How do I remove the extra photo stream albums?

    Using an iPhone 4 with iOS 5. When I take a photo using the Camera App, the Photos App creates a new, separate, Photo Stream Album with only 1 photo. Now I have 50+ Photo Stream albums. Here is what I've tried, but still cannot remove these albums (i

  • DOWNLOAD PHOTOS FROM SHARED ICLOUD

    How do you download photos from 5S shared icloud to your pc?

  • Can anyone explain this error and how to solve it?

    When I create a text table and activate it at last, the system gives me a warning as this: Exactly one field LANGUAGE of LANG type: Select as text language Message no. DT199 I don't know what it means. Can anybody explain it? Thank you very much

  • Iphone not updating apps since July 4th

    Since July 4th, my iPhone has not updated Apps. It appears to start downloading updates but the process never completes. The open process has been draining my battery. I have shut down the phone and restarted. I have deleted and reinstalled the Apps

  • GPU panic error - Computer frequently shuts down

    After some research i couldn't really find the solution to my problem, so i decided to seek help on the forum. Recently my MBP retina late 2012 started crashing with the screen going all black leaving the keyboard lights on. I had to force it to rest