DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › Menucascade in the Short Description of a Task
-
kwag_myers November 11, 2010 at 5:20 pm
Menucascade in the Short Description of a Task
November 11, 2010 at 5:20 pmParticipants 4Replies 5Last Activity 12 years, 4 months agoWhen I use the
tag in the Short Description of a task topic the formatting doesn't carry into the Child Topic list. The “space>space” is omitted so that the UI Controls have no spacing in between. Example: “Go to
for this task.” appears as “Go to ToolsOptions for this task.”Tools Options Any known fixes?
Derek Read November 12, 2010 at 7:48 pm
Reply to: Menucascade in the Short Description of a Task
November 12, 2010 at 7:48 pmI don't see this issue running XMetaL Author Enterprise 6.0.1.030. See screenshot of my editing views which uses your exact XML snippet. I've circled what I think are the spaces you are having issues with (?)
Worst case scenario that I can think of is that you have some other version that uses slightly different CSS for styling these views (which could be tweaked).
But perhaps you talking about something different? I'm not sure what you mean by this: “the formatting doesn't carry into the Child Topic list“.
Perhaps it is best to include a sample file and maybe a screenshot pointing out exactly what you don't like.
kwag_myers November 15, 2010 at 12:48 pm
Reply to: Menucascade in the Short Description of a Task
November 15, 2010 at 12:48 pmBy “Child Topic List” I'm referring to the Web Output deliverable, which has a list of child topics and parent topics at the bottom of each topic (when applicable). Looking at the frame source of the HTML I see it tagged as:
-
The
appears correctly everywhere but the “class=”ullinks”, where the Tools > … is missing.
Derek Read November 15, 2010 at 6:24 pm
Reply to: Menucascade in the Short Description of a Task
November 15, 2010 at 6:24 pmI finally figured out what you're doing…
This seems to be a very specific issue inherent to the XHTML output produced by the DITA OT. All of the other formats that use that output, ie: anything that includes HTML as the primary content, including 'Multiple HTML', 'HTML Help (CHM)', 'WebHelp', 'Eclipse Content', 'Eclipse Help', 'JavaHelp', etc, will therefore inherit this same issue.
I can reproduce this with the following setup:
1. A map with this structure (the important part is that the task1.xml is referenced inside a nested topicref):
2. The file task1.xml needs the following content in
:
task 1
Go to for this task.Tools Options
this is step 1
3. Generate output to any format that uses XHTML (as listed above).
4. Open the output file corresponding to topic1.xml (ie: topic1.html) it will contain the content from the
of task1.xml inside a section listing links related to this file, but it will not have been processed to include the separator text ” > ” between each of the elements and so that content will appear to run together in the output. Actual HTML Output:
- task 1
Go to ToolsOptions for this task.
Desired HTML Output:
- task 1
Tools > Options for this task.
Note that PDF outputs do handle this structure, so that tells me this is not done as part of the “topic merge” that the DITA Open Toolkit does, it occurs after that during the transformation to HTML (vs FO for PDF).
From what I can tell the DITA OT was simply not designed to take this into account for XHTML-based outputs. Extra processing will probably need to be added to discover this structure inside the
element and format it correctly for output. If all browsers supported CSS “generated content” (using the pseudo-element “:before” and “:after” together with the “content” property) then there might be a simple CSS fix for this. However, I wouldn't consider such a CSS fix a “true” fix anyway as most people would probably prefer this text to “really be there” rather than included as generated text using CSS rules. The point is fairly mute anyway as at this point I don't believe many browsers have support for this type of CSS, so to really fix this I think the text needs to really be injected in there by the DITA OT.
I would suggest filing a bug with the DITA Open Toolkit Project here:
https://sourceforge.net/tracker/?group_id=132728&atid=725074From what I can tell nobody has reported this issue yet. Searching for “uicontrol” turns up one unrelated issue there.
When you file this with the DITA OT project I would submit it in reference to the “XHTML transtype” which is the same as the “Multiple HTML” output in XMetaL (because the DITA OT itself does not include “WebHelp”).
kwag_myers November 16, 2010 at 1:12 pm
Reply to: Menucascade in the Short Description of a Task
November 16, 2010 at 1:12 pmThanks. I want to do some experimentation before I submit a ticket. I seem to recall other tags not carrying over here (from another project). Just to satisfy my own curiosity.
For my current project, I took an inventory and found there were very few topics with this issue, so I just revised them by putting the “Go to…” as a prereq. Probably where it belongs anyway.
kwag_myers November 22, 2010 at 1:01 pm
Reply to: Menucascade in the Short Description of a Task
November 22, 2010 at 1:01 pmI would suggest filing a bug with the DITA Open Toolkit Project here:
https://sourceforge.net/tracker/?group_id=132728&atid=725074I'm not getting along with the registration process, so I can't report this. I'll just stick with my work-around.
-
-
AuthorPosts
- You must be logged in to reply to this topic.