Help with ESD format rules

Frame9 + DITA-FmX

I'm working on my EDD, shaped put writing rules that will apply our

formats of standard model for the appropriate elements of DITA.

I'm having a problem that is confusing to me. Our model defines

different formats for the steps and the bullets that are in a table and not

and the bullets that are not in a table. So, for the element < li > I

writes a set of rules to capture these contexts, formatting

more a few other things (nested list level, if the < li >

the first in the < ol >, etc.) and apply the correct paragraph format.

The context clause which applies formats to the < li > elements within a

table appears * before * the clause which applies formats to < li >

elements outside of a table. Basically, it goes like this:

If the context is: * < entry

[if these rules are intended for lists in a table cell]

If the context is: ul < li < ol

Use the paragraph format...

[for the particular case of a bulleted list nested within a

numbered list]

Otherwise, if the context is: ul

Count the named ancestors: ul

Stop the stopwatch to the first named ancestor: entry

If the level is 1:

...

Otherwise, if the context is: ol

Count the named ancestors: ol

Stop the stopwatch to the first named ancestor: entry

If the level is 1:

...

Otherwise, if the context is: * < (conbody | section)

[if these rules are intended for lists outside of a table,

and only ref or concept topics]

If the context is: ul

... etc.

This works very well for lists outside of a table, but this first

the rule that applies within a bulleted and numbered lists

Table seems to be ignored in some way, and the formats that are in

applied are those for numbered lists and bulleted outside a table. I have

suspecting that the * < (conbody | section) context may be too broad? but

because it appear * after * the clause for the * < context entry I

including table lists would be picked up first.

The thing that I'm really curious, is that when I look in the show

Context view element - with the small arrows pointing to the

formatting rule that is applied - the correct formatting rules

(and format) are indicated. So I don't know what the problem is.

My EDD is valid, and the documents that I import are also valid. Is

It doesn't matter what way I can find this problem when the item to display

View of context seems to tell me that my rules are correct?

Any suggestions welcome...

THX.

Kyle,

Yes, it's the right way (good?) to do.

Note that the three rules that you listed in your last post, you could simply put 3 rule before rule 1, without combining in a single rule. In this way, it applies first formatting as if it were in a section or conbody. We then apply the if formatted AGAIN the list in a table. It should work.

HOWEVER, this requirement to FrameMaker to possibly format the list twice. By combining the rules into a single, you apply the formatting only once, but after that you know what to apply. My guess is that combining the rules in a no will make things faster, because the formatting is applied quickly enough. It's just a bit more clean. Thus, depending on which is more clear to you, it's how you should do it.

When you use several rules of formatting of an element, you just do a little diligence and trace through the list to check if the rules later affect the previous rules in ways that you don't want. There are many situations in which multiple rules are necessary and useful.

Van

Tags: Adobe FrameMaker

Similar Questions

  • Need help with the formatting and reinstalling windows

    Hi, I have a Compaq Presario C700 p/n GR598EA #ABU I got to work about 3 years ago.

    Recently, it does not load windows, even in safe mode and I can't get back either.

    I used a disc to boot from linux to access and backup of all my important files and now I want to reformat the hard drive, resintall windows and start over (or try something else which will fix it)

    The laptop has been pre-installed with Windows Vista and HP stuff had already installed on it.  I don't have a Windows disc or discs of driver with the laptop.

    How can I format and reinstall windows and drivers, if I don't have records?

    Help, please.

    Thank you.

    Hello:

    You can order a Vista recovery disk set for your laptop if they are still available. See the instructions below:

    http://support.HP.com/US-en/document/c00810334=

    If you live not in the US or the Canada, you can contact HP Support worldwide for the country you live and ask recovery disks command to your laptop

    The link to the assistance of HP WW is below:

    http://welcome.HP.com/country/us/en/wwcontact_us.html

    Paul

  • Newbie need help with css formatting

    I'm new using a dw (cs3) and css, although I have a background in html and coding. I am creating a page using the page "a column elastic, centered, header and footer" layout and I have a header banner with a horizontal spry menu bar at the bottom of the header. the background color of the buttons on the menu bar is red and there is a border of yellow 5px up and down the Red menu bar, so it seems that there is a red bar with yellow edging above and below, and this bar is between the header and the body section of the page. I put these colors in the "ul. MenuBarHorizontal a' rule.

    now, the question I have is that my menu bar does not span the entire column, so there is an empty space to the right of my menubar between (the end of the menu bar) and the right column. I would like the appearance of the red and yellow menu bar to expand completely, but I can not understand how to do this in css.

    make:

    extend the bar menus completely on the entire width of the page? I can't understand how to do this.

    Insert a picture to make it appear as if the red and yellow bar continues that extends to the right? If so, how that image will remain elastic and my page?

    or is there a better solution?

    I'm very new to css and I do my best to understand how everything fits together. the last website I built was in 1997 and it has been done in Notepad. any help would be huge. I'm in kinshasa in the Democratic Republic of the congo, and truth be told it is not a lot of gurus dw here.

    Thanks in advance...

    charliemooreiv wrote:
    > you can see what I have up to the http://www.kfhhh.com/amicus/

    Try to cut the border of your ul elements. MenuBarHorizontal a rule so
    what it looks like so...

    UL. MenuBarHorizontal a
    {
    display: block;
    cursor: pointer;
    background-color: #ce1021;
    Color: #333;
    text-decoration: none;
    do-family: Arial, Helvetica, without serif.
    do-size: 14px;
    make-weight: bold;
    Width: 90%;
    padding-top: 0.5em;
    padding-right: .75em;
    padding-bottom: 0.5em;
    padding-left: .75em;
    }

    ... and then create this rule in which are the cutting edge elements
    site as well as a width, background color, and the left float...

    {#MenuBar1}
    Width: 46em;
    background-color: #ce1021;
    float: left;
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: solid;
    border-left-style: none;
    border-bottom-color: #F7D518;
    border-bottom-color: #F7D518;
    }

    Only tested in FF.

    HTH

    --
    Chin chin
    Sinclair

  • Helps with the formatting on objects

    I have a script that I modified from a script of Alan Renouf (thanks for posting the script), but I'm having a problem with the output.

    The script gets a few details on a hard drive of virtual machines, and this is what is shown:

    VM: VM1

    Path              : {C:\, D:\}

    CapacityGB: {40: 40}

    FreespaceGB: {1: 18}

    Percent free: {2, 45}

    Low disk space on: C:\

    VM: VM2

    Path: {/, / boot, / usr, / home...}

    CapacityGB: {4, 1, 10, 2,...}

    FreespaceGB: {3, 1, 4, 0...}

    Percent free: {84, 95, 40, 17,...}

    Low disk space on: / home/brands

    The script is below, and it is the main problem.  I can show any data if I use - reach ',' on the parts that need it, but I have an if statement that will add another object to "Low disk space", then the drive letter.  I have this for disks that have less than 15 percent of available.  If I use - join, the output goes to a string and if statement I put in quotes below

    "

    If ($HDdetailsHT. ("' 15% free"-lt) {}

    $HDdetailsHT.Add ("low disk space on ', ' $(($HD |))") where {$_.} FreeSpaceGB / $_. ({CapacityGB * 100-[int] - lt 15}). Path)")

    }

    "

    The above if the statement will not work if I change one of the lines, for example:

    'CapacityGB' = ($HD. CapacityGB | foreach {$_ - as [int]})-join «,»


    If I do the above, all the data shows, but the if statement does not work anymore, because now, there's some string data.  I can't imagine a way to use my if statement and to show all the data entirely.  Given that some virtual machines may be small on space, I don't want the "low disk space on ' to show everything.  Any help is appreciated.

    $AllHDdetails = @)

    $AllVMs = get - VM 'VM1', 'VM2.

    {foreach ($vm to $AllVMs)

    $HD = $vm. Guest.Disks | Path of kind

    $HDdetailsHT [ordered] = @ {}

    "VM" = $vm. Name

    'Path' = $HD. Path

    'CapacityGB' = $HD. CapacityGB | foreach {$_ - as [int]}

    'FreespaceGB' = $HD. FreespaceGB | foreach {$_ - as [int]}

    "% Free" = $HD | foreach ({$_.}) FreeSpaceGB / $_. {CapacityGB) * 100 - as [int]}

    }

    If ($HDdetailsHT. ("' 15% free"-lt) {}

    $HDdetailsHT.Add ("low disk space on ', ' $(($HD |))") where {$_.} FreeSpaceGB / $_. ({CapacityGB * 100-[int] - lt 15}). Path)")

    }

    $HDdetails = new-Object PSObject - property $HDdetailsHT

    $AllHDdetails += $HDdetails

    }

    $AllHDdetails

    If you want only when there is not enough disk space, and if you can live with object with different properties in production, you could do something like this

    $HDdetailsHT [ordered] = @ {}

    "VM" = $vm. Name

    'Path' = $HD. Path

    'CapacityGB' = ($HD. CapacityGB | foreach {$_ - as [int]})-join «,»

    'FreespaceGB' = ($HD. FreespaceGB | foreach {$_ - as [int]})-join «,»

    "% Free" = ($HD | {($_.) foreach}) FreeSpaceGB / $_. ({CapacityGB) * 100 - as [int]})-join «,»

    }

    }

    $low = $HD | where {($_.)} FreeSpaceGB / $_. (CapacityGB * 100-en tant que [int]) - lt 15} | Select the path - ExpandProperty

    {if ($Low)}

    Add-Member - InputObject $HDdetailsHT - name "low disk space on ' - value $low - MemberType NoteProperty

    }

  • Need help with a css rule

    OK, here's my situation. I created a set of multiple pages of links to png images. If you go to the bottom of the page, you will see a set of video links.  I did all the pages with links to galleries of youtube.  I have to copy paste each link for each image png for each page.  Or is it possible to make a rule so all say them image png Moxie for all pages links know to access this page.      http://www.markspetcare.com/mark.html

    CSS does not have this function.  He cannot add links (which are HTML) images.  It can only style images and their links.

    But your need is still a bit vague.  Can I ask do you want to have the same group of images on each of these pages and have each image in the Group link to a specific location (always the same link for the same image), like this.

    Image1---> location 1

    Image2---> location 2

    image3---> location 3

    etc?

    If Yes, then you can use a library item or a server side include to achieve this.  One of these would be using a file of HTML fragment containing only images and their respective links, for example,.

    http://www.example.com/Location1.html">."

    http://www.example.com/Location2.html">."

    http://www.example.com/Location3.html">."

    You would then place this element of the library, or include file in each page.  Now, if you want to make a change to any of these images or places, you need to only change the element of simple library or Include file, rather than each of the individual pages.

    Somehow, however, I'm not sure it's what you're asking...

  • Help with conditional formatting

    Hi gurus,

    Short history of the report, we have all items in inventory, divided into 3 classes 'Max', 'Medium' and 'Low' and also calculated measure called "Exact percent" there. Now, we want to use conditional formatting on the particular point either RED or GREEN, and following is conditions to set the color

    Top-> green = 100 percent; Red = X < 100%
    Average-> green = X > = 98%; Red = X < 98%
    Bottom-> green = X > = 97%; Red = X < 97%

    In the condition above the perecent means specific percent.

    How to achieve this kind of condition.

    Thanks in advance.

    Chesneau

    Hi create a new column of percentage in repository so the coding responses will be simplified.

    % = 100,00 * ((Cycle_Count_Entries.COUNT_QUANTITY_CURRENT-Cycle_Count_Entries.SYSTEM_QUANTITY_CURRENT) / Cycle_Count_Entries.SYSTEM_QUANTITY_CURRENT)
    ... and no matter what your definition

    Then use a column in answers with the following formula:

    Case

    When table.class = 'High' then
    -Case when table.percent = 100 then ends up 'Green' else 'red '.

    When table.class = "Average" then
    When case table.percent > = 98 then ends up 'Green' else 'red '.

    When table.class = "Low" then
    When case table.percent > = 97 then ends up 'Green' else 'red '.

    end

    * If you do not have access to the repository, replace table.percent in above formula by the percentage formula that you have.

    Then your conditional formatting will be simplified because you need only refer to the column above.

  • by comparing certain objects... helps with the formatting and variables

    I want to delete computer accounts in an ORGANIZATIONAL unit that do not exist in a folder of vmware...

    Step 1. Compare.

    $ad = Get-QADComputer -SearchRoot 'domain.lan/Test-NoGPO'
    $vmware= Get-VM -Location VDI_RemoteAccess
     
    Write-Host "AD" $ad
    Write-Host "VMWARE" $vmware
     
    Compare-Object  $ad $vmware
    
    

    Gives me this result:

    AD DOMAIN\DSTASA1$ DOMAIN\SXCH100$ DOMAIN\SKFB111$ DOMAIN\FAKEPC$
    VMWARE vstaq16 vstaq18
    
    InputObject                                                               SideIndicator                                                           
    -----------                                                               -------------                                                           
    vstaq16                                                                   =>                                                                      
    vstaq18                                                                   =>                                                                      
    DOMAIN\DSTASA1$                                                          <=                                                                      
    DOMAIN\SXCH100$                                                          <=                                                                      
    DOMAIN\SKFB111$                                                          <=                                                                      
    DOMAIN\FAKEPC$                                                           <=    
    
    

    I need the output of 2 first orders are the same... preferably just the 'name' of the pc. On the subject line - compare I tried to use $ad. Name and $vmware. Name but that the errors and says that it is null when the script runs...

    How to disinfect these lists and end up with a list of computers that are not in both places? (to later be deleted with other commands, not relevant here)

    You were there at halfway when you tried with the Name property.

    But you must keep all the computernames in 1 table and all VMnames in another table.

    Then, you can compare the 2 tables.

    Something like that

    $ad = Get-QADComputer -SearchRoot 'domain.lan/Test-NoGPO' | %{$_.Name}$vmware= Get-VM -Location VDI_RemoteAccess | %{$_.Name}
    
    Compare-Object $ad $vmware
    
  • Helps with the formatting of a field of text PDF

    I am trying to enter in a multiline to a form text field my company uses internally.  I have set to automatic to allow as much or as little depending on font size.  I did it in the past and it worked fine, but this time when I save the form, and that you try to use the text field, I have the following questions:

    (1) rather than aiming upward, to the left of the text field is towards the left about 2/3 of the way on the text field.

    (2) pressing on enter to move to the next line of text, the space between lines of text is huge (like the size of the point 60) rather than a single space between the lines.

    Can someone advise please how to fix these issues?

    Thank you!

    You use the Cambria police by chance? If so, you will need to use something else since it is quite buggy.

  • Please help with the format of the report

    Hello

    When I queryiing my result is like

    Select * from the general;
    MONTH    REGISTERD   ACCEPTED   REJECTED 
    2012-04        120             80               40 
    2012-05          80             40               40 
    2012-05         60             40               20 
    2012-04         90             40               50 
    
    How i can display my result like below :
    
                     2012-04    2012-05
    registered       210          170
    accepted        120           80
    rejected           90           60
    Thank you
    Chauvet.

    Published by: Chaumont on October 3, 2012 09:02
    SQL> SELECT status,
      2         sum(month1_amt) month1_amt,
      3         sum(month2_amt) month2_amt
      4  FROM GENERAL
      5  UNPIVOT(AMT FOR status IN ( registered AS 'REGISTERED',accepted AS 'ACCEPTED',rejected AS 'REJECTED'))
      6  PIVOT(SUM(AMT) as amt FOR MONTH IN ('2012-04' AS MONTH1,'2012-05' AS MONTH2))
      7  group by status;
    
    STATUS     MONTH1_AMT MONTH2_AMT
    ---------- ---------- ----------
    REGISTERED        210        140
    REJECTED           90         60
    ACCEPTED          120         80
    

    Published by: JAC on October 5, 2012 18:20
    I forgot to update, see no response from Frank...

  • Need help with table formatting in OBIEE

    Hi all

    We must show the amount of detail, goal and target by graphic region.
    My requirement is to show retail Qty and objective bars vertical and % of the target as the region trend line.
    Currently use bars stacked to amount of detail, goal and target as trend line.

    Any suggestions for how measures in the vertical bar and % of the objective trend line would be grateful.

    Kind regards
    Rajkumar.

    Published by: [email protected] on July 9, 2009 12:47

    Use line bar chart drop-down list type, select two columns for the axis Y and a metric unit for line. Select the type of graph in 2D or 3d. you will get the expected results.

    Published by: Muriel Madan on July 9, 2009 18:20

  • Need help with my Mail window. I can't export my message to the PST format. I keep getting the message error "an error occurred during initialization of MAPI".

    Hello

    Need help with my Mail window. I can't export my message to the PST format. I keep getting the message error "an error occurred during initialization of MAPI". Y at - it solution or another method?

    Hi ErikLee,

    Do you have MS Outlook installed on your computer?

    Windows mail import and export opportunities are limited to an Outlook .pst file or an Exchange Server mailbox. They are available only if MS Outlook is installed.
    If MS Outlook is not installed and you start an import or export action, the necessary support files are not present for Windows mail complete the operation. Then I suggest you to install Outlook temporarily and see if the problem is resolved.

    Follow the instructions below and check if the problem is resolved.

    1. reboot your computer, and then start Windows Mail.
    2. on the Tools menu, click Options.
    3. in the connection tab, click on edit to open the Internet Properties dialog box.
    4. in the tab programs, click on an application other than Windows mail e-mail in the e-mail list. Click on apply and then click OK.
    5. click OK again to close the Options dialog box.
    6. exit Windows mail and restart Windows mail.

    If this does not work, I suggest you upgrade to Windows Live Mail to import or export messages that may help you resolve the issue.

    To download Windows Live Mail, visit the following Microsoft Web site:
    http://get.live.com/wlmail/overview

    For more information about Windows Live Mail, see the Microsoft Web site at the following address:
    http://windowshelp.Microsoft.com/Windows/en-us/help/4b30d3d6-abe2-46d1-a5fd-4a1ba786a1381033.mspx

    Check whether the problem is resolved.

    Please post back and let us know if it helped to solve your problem.

    Kind regards
    KarthiK TP

  • Help with sum multiline and formatting «,»

    Hey guys, I need help with a question that I am struggling to solve...

    I have a multiline field in which I paste information from an excel spreadsheet. This information is in a format 1.234,56.

    I was able to have the numbers stuck on the ground in another area, by removing the ',': something like this:

    var withcoma = this.getField("Input_1").value; This is my multi-line field used to paste data from excel

    nocoma = withcoma.replace(/\,/g, ".");

    the var values = nocoma.split("\r");

    var total = 0;

    for (var i in values) total += Number(values[i]);

    this.getField("Total").value = total;


    The point is that I have to be able to change the numbers that I have to format to the format 1,234.56 1.234,56 if I choose to use a different currency than my original and also wear numbers in the field "Total" correctly updated.

    Could someone point me in the right direction?

    Thank you very much!!!

    The solution was to add another line of code to remove the periods used so that thousands separators in numbers.

  • I'm suddenly needing help with my browser Firefox (6.0.2)

    Hello
    I'm suddenly needing help with my browser Firefox (6.0.2)

    (OS: I use Windows XP).

    When I open the browser, I don't see is a totally white screen of white, with all the toolbars at the top.

    I know that my physical connections are very good: I have tested the modem, turned the pc market etc and I can also receive/send emails.

    This problem started today, September 8, 2011 and has never happened before.

    Is it a coincidence that Firefox itself to day before I disconnected yesterday evening? Could this be something to do with this particular new update?

    I also noticed that just before I "opened" Firefox, I now get a small box indicating:

    [JAVASCRIPT APPLICATION]
    Handl exc in Ev: TypeError: this oRoot.enable is not a function

    This never appeared before - I hope that it offers a clue has what is wrong.

    The browser not be stuck in Mode safe, said by the way.

    Of course, I can't find solutions to the problem on the internet, I don't physically see all Web sites!
    (A friend sends this request in my name from their pc)

    Any light you can throw on this problem of confusion would be much appreciated. I'd rather not have to uninstall and reinstall Firefox if possible.

    If the only option is to uninstall Firefox and reinstall from your site, I'm also in trouble (I can not see the internet or download).
    In this case, would you be able to send the .exe file as an attachment to my e-mail address? In the affirmative, please let me know and I'll give you more details.

    Thanks in advance.

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • I need help with an installation failure to interpret and troubleshoot a Setup log.

    Background: A few years ago, many editors of cinema used Final Cut Pro 6 (also contained in Final Cut Studio 2) for their editing projects.  Shared Apple Final Cut X uses a different format that is not compatible with FCP6.  Sometimes, these editors are called to work on a few historical projects that have been published in FCP6 and need this version to run now.

    Starting with OS X Lion, FCP6 would install not in Lion and thereafter.

    According research by Jeremy Johnston as noted on his blog, he discovered that Apple has inserted a file in the folder CoreServices in the Library folder of the system folder that causes versions the version Final Cut Pro X (and other older Apple programs in the same situation) do not settle.  He suggested changes to this file that would seek to prevent interfering with the installation of FCP6 in Lion, many users of final cut PRO 6 were successful in their efforts to install in Lion and work with it.

    Later in a discussion update on installing FCP6 in Mavericks, HawaiianHippie determined that the simplest way to perform the installation of FCP6 was simply copy this file and remove it from the system folder, install FCP6 and then restore the copied file:

    https://discussions.Apple.com/message/26309669#26309669

    I used this method with success to install FCS2 in Yosemite:

    [click on images to enlarge]

    However, in my attempts to install FCS2 in El Capitan, it fails in the last 5% to install the first DVD:

    First of all, I need advice on how to display an extremely large Setup log in this thread (on MacRumors, it is a method to insert a 'code' in a small box that can be the object of a scrollbar if necessary to read all along).  I am unable to find such a method to post here.

    Then once approved, I need help to determine which component is causing the installation to fail and perhaps this element can be omitted from the installation:

    If this element is not required, then maybe FCP6 can be installed successfully without it.  And if that omitted element is necessary, perhaps a manual method to install it can be determined by pacifists.

    It is my goal to help those who need to install and use FCP6 on their new Macs running El Capitan.

    Here is the post on MacRumors with pre-installed Setup log:

    http://forums.MacRumors.com/threads/i-need-help-with-an-installation-failure-to-interpret-and-troubleshoot-an-Installer-log.1954786/#post-22541389

  • Help with the Powershell script to collect logs from all domain controllers

    I am writing a script to retrieve the last 5 days of application, security and log files from all domain controllers. The script runs, but fire the logs from the local server only. The variable $Computer has all of my DC so it's the fine mark. I guess it's a problem with my line ForEach-Object, but is not error. See the below script.

    $log = 'application '.
    $date = get-date-format MM-DD-YYYY
    $now = get-date
    $subtractDays = new-object System.TimeSpan 5,0,0,0,0
    $then = $Now.Subtract ($subtractDays)
    $Computers = get-ADDomainController-filter *.
    ForEach-Object - InputObject $Computers - process {Get-EventLog - LogName $log - after $then - before $now - EntryType error | select EventID, MachineName, Message, Source, TimeGenerated |} ConvertTo-html | {Out-file $env:TEMP\Applicationlog.htm}
    Invoke-Expression $env:TEMP\Applicationlog.htm

    Thank you

    Rich

    Hello

    To help with the repost the question script to the script Center Forum

    http://social.technet.Microsoft.com/forums/scriptcenter/en-us/home

Maybe you are looking for