Auto-set Conditional Build Tags Based On Style?

Is there a way to auto-set conditional build tags based on style?
I want to be able to import a Word document into RoboHelp and have it recognize certain styles as requiring certain conditional tags. For example, an imported Word document might have a style called WD_Internal and any text with that style would automatically have a conditional build tag assigned to it. The idea is to allow my SMEs to indicate which text is intended for internal audiences and which text is OK for customer consumption in a single central Word document using styles. When the content is correct, I'd import it into RoboHelp, have RoboHelp assign conditional build tags, then generate multiple printed versions of the document (an internal version and a public consumption version).
Setting conditional build tags is pretty easy, but it will still be a lot of work to manually set them. Is there a way to do this automatically?
I am using RoboHelp HTML RH9.

Hi,
There's no way to do this through the interface. You can however create a script to do this for you. Cycle through the content of the topics and insert the code for the CBT.
Greet,
Willam

Similar Messages

  • Conditional build tags with character styles and ignored text

    RoboHelp HTML v8.0.2.208
    Windows XP Professional Version 2002 Service Pack 3 with 2 GB of RAM
    Output: WebHelp and HTML Help
    I have recently moved my projects from RH HTML X5 to RH HTML 8 and this is when the following problem appeared. I use lots of conditional build tags within the help projects. Some of these tags are for my own use for reference and I combine these with character styles containing a coloured background (highlight) so that they show up in the WebHelp or HTML Help output (e.g. text to identify the software version that the field/feature/text was added, reminders to check details, insertion of bug ID numbers, design document names, etc.). These areas of text are stripped out of the final build for customers by using a conditional build expression.
    What I have noticed is that if a paragraph contains text with a conditional build tag applied AND that tagged text has a character style applied AND an unknown word within the conditional build tag is ignored (with the HTML tag <?rh-ignored text="word_to_be_ignored" ?>), saving the topic, closing it, then re-opening it shows that the conditional build text has stretched to the next conditional build tag, or to the end of the topic if there aren’t any other conditional build tags. This also happens by switching from Design View to HTML View. Note that this doesn’t happen if Ignore All is applied to the unknown word.
    This doesn’t just apply to projects converted from RH X5. I created a new test project in RH8 and the same behaviour was observed. Similar behaviour occurred very occasionally in RH X5 but that seemed to be down to HTML tags being nested incorrectly.
    The largest project contains around 1200 topics and with many hundreds of conditional build text areas this now causes a problem. I’ll probably have to locate every ignored word in an area of conditional text within each project, set it to Ignore All and then manually remove and re-apply the conditional build tags, unless someone can come up with something clever. Can anyone else replicate this and should it be logged as a bug?

    Hi Daggins,
    Thanks - that is good info to have. But as we all agree, that does take away from the point of single-sourcing.
    You aren't misunderstsanding exactly... I am doing all my conditional tagging in FM and it works like a charm in terms of the PDFs that I generate from FM, and even the conditionally tagged text in RH shows/hides correctly. The issue is I am also importing my index and TOC from FM... and even if I have an entire file in FM tagged as conditional (all the text is tagged as conditional, I don't know if you can tag a file as conditional), the file name as a heading it still appears in the RH TOC. There is no text... but in my view it shouldn't appear in the TOC either (it looks like just a broken link when I generate my online help) - this is not ideal.

  • Conditional Build Tags automatically appearing

    I'm running RH 9.0.2.271 on Win 7, 64 bit machine.
    I have this procedure in the WYSIWYG editor, and I want to mark the yellow icon (highlighted in yellow below) with the Online conditional build tag (green hash highlight):
    So, I select that CBT, and so far everything looks fine in the WYSIWYG editor.
    However, if I go to the HTML editor to check the HTML and then go back to the WYGIWYG editor, it's screwed up and looks like this:
    Notice that the conditional online text is automatically covering steps 4 and 5 in the procedure. I thought this bug was supposedly exterminated in build 9.0.1, but seems to be happening... for me anyway. Any solutions to this? I've tried numerous ways of applying the CBT to that icon and it still ends up spanning the following two paragaphs.

    Anjaneai Srivastava wrote:
    I assume that you do not make any changes to any content or tag when you go to HTML view, Right?
    Correct. I just switched from one view and then back. But even when I made changes in the HTML editor, it came back in WYSIWYG. The HTML for the entire topic is quite long, but here's the bit in question, at least after the workaround:
    <li class="p-BodyText"><p class="BodyText">Access the <b>Auto Feature</b>
    dialog box (<b>Insert | Feature | Auto<span style="font-weight: normal;">)</span></b>
    <script language="VBScript" style="x-condition: Online;" type="text/javascript">//<![CDATA[
    On Error Resume Next
    MenuStr = MapCtrl.GetHelpMap(26007) ' ID_INSERT_AUTO_CIRCLE
    //]]></script><?rh-cbt_start condition="Online" ?><a
    href="javascript://" onclick="MyRoadMap(MenuStr, 'no', event.screenX, event.screenY)"><?rh-cbt_start condition="Online" ?><img
    src="../images/i_chiclet.gif" alt="Display Menu Roadmap" title="Display Menu Roadmap"
    width="14" height="14" border="0" /><?rh-cbt_end ?></a><?rh-cbt_end ?><?rh-cbt_start condition="Online" ?>
    <?rh-cbt_end ?>for either circle or cylinder auto features.</p></li>
    <li class="p-BodyText"><p class="BodyText">With the dialog box open,
    click the mouse, and drag a box around those feature types for which
    you want to create auto features. Release the mouse button. PC-DMIS
    will display the <span class="hcp4">CAD Select</span> dialog box,
    showing the number of objects selected.</p></li>
    <li class="p-BodyText"><p class="BodyText">Click <span class="hcp4">Create</span>.
    Based on the objects selected PC-DMIS will generate multiple auto
    features of the selected type.</p></li>
    </ol>
    <?rh-cbt_start condition="Online" ?><p class="BodyText"><a class="dropspot"
    href="javascript:TextPopup(this)"
    id="a21"><?rh-cbt_start condition="Online" ?><img
    src="../i_blue.jpg" alt="See a brief demo on box selecting and creating multiple auto features"
    title="See a brief demo on box selecting and creating multiple auto features"
    style="border: none;" width="30" height="30" border="0" /><?rh-cbt_end ?></a><script
    type="text/javascript" language="JavaScript1.2">//<![CDATA[
    Anjaneai Srivastava wrote:
    Is this behaviour replicable one other topics of your project?
    I certainly hope not. It's a very large project (2700+ topics) so finding the issue again while likely is going to be a bit of a pain. However, I will be testing it soon. If I find anything, I'll let you know.
    Anjaneai Srivastava wrote:
    One important question, is this the same project generated by decompiling the CHM file ?
    No. This is my original English project and was converted from RH 7.

  • Can I use conditional build tags in CSS files?

    I am using RoboHelp X5.0.2 and building CHM files.
    I use conditional build tags to output different Help files
    for the different products we have that all have similarities.
    In the past I have setup the CSS file to show headers, links
    etc in the color scheme we use to keep the look and feel of our
    branding. One of the new products uses a different branding color
    scheme.
    I was wondering if there is a way I can use conditional build
    tags in the CSS file so that when I build one type of help it uses
    header in one color and when I build another help it uses a
    different header color. Does anyone know how to do this? If it is
    not possible in my current version, is it possible in the latest
    version of Robohelp?

    [WORKAROUND ALERT IN X502]
    For .chm output, you could:
    1. In the Topics pane, select all the topics (click on one
    topic and press Ctrl+A).
    2. Right click in the highlighted area and select Properties.
    3. In the Appearance tab, select the different style sheet.
    4. Click Save.
    5. Generate the .chm file.
    6. (optional) Repeat steps 1-4 to revert to previous style
    sheet setting.
    Good luck,
    Leon

  • Conditional Build Tags Generated All Over Topics in RoboHelp 9 (HTML)

    I'm creating a help system and user manual using RoboHelp 9. The whole thing depends very heavily upon the conditional build tags. (Some parts are online and others are only for the print version of the manual.)
    Here's my problem: When I go back to topics I've already created, the tags are automatically generated in the wrong parts of the topic. The error lies in how RoboHelp is generating the HTML behind the scenes. (This was verified by one of our in-house developers who was thoroughly amused with RoboHelp's attempt at writing HTML.) I'm at my wits end. We have tried generating a new help system, only importing images from the old help system. It worked fine for awhile, but then the same problem cropped up. Is this some sort of bug? Is there a setting that I'm overlooking?
    I'm officially at my wits end. Help.

    Never seen what you're describing - when you tag text in a topic with a CBT, it stays stuck to it - there's no auto generation of CBTs. When you create your help, you specify what to show & what to hide in your SSL layout recipe.

  • RH6 crashes with th and conditional build tags

    Hello together,
    The attached code worked fine with RH X5, but leads to a
    crash with X6. To fix, you have to replace the <th> by
    <td>, but it is not too easy to find the topic within a
    project. The fix is quite easy, but it is hard to find in a big
    project.
    This happens, when the conditional build tag is used.
    Thanks and best regards,
    Katrin Lusser

    Hello Peter,
    My wife created the topic with X3 or X5.
    She just tried again with X6 and after several changes (set
    heading, insert, delete, etc.) she had the same constellation.
    Unfortunately, until now, she could not find out the exact way to
    reproduce. But it is definitely possible. We will post here, when
    we find out, how to do it.
    Best regards,
    Michael

  • Conditional build tags/expressions in the TOC

    Hello all,
    I've run into another issue with my conversion, this time with Conditional build tags and expressions.
    All seems to be fine in my topics, but not in my TOC.
    Some of my topic titles have words that have conditional text applied in the source FrameMaker document.
    These topic titles also appear in the TOC that's automatically generated when I link my Frame book to Robohelp.
    I set the conditional build expression in the Webhelp settings dialog and then Save and Generate.
    These topic titles appear to pick up the correct conditional build expression in the topics themselves, but the TOC heading shows multiple conditions (including the condition I've set to "Exclude").
    So, for example, if my topic title is
    "Conventions in this documentonline help"
    WHERE
    document > should appear in PDF only
    and
    online help > should appear in Webhelp only
    I can get the Webhelp topic to use the title "Conventions in this online help"
    but the corresponding TOC heading looks like this:
    "Conventions in this documentonline help"
    Any ideas?
    Thanks.
    Sue

    Conditional build tags are not imported to TOC from FrameMaker content. However, one can follow another approach to achieve this. One can manage the Conditional build expression in FrameMaker itself and import the filterted content in RoboHelp. Inorder to achieve this, set the conditional build expression in FrameMaker. Turn on the setting in RoboHelp to "Apply FrameMaker Conditional Text Build Expression". [File->Project Settings->Import->Edit(FrameMaker Settings)->Other Settings]
    This way RoboHelp will import only the filtered content with Conditional Build Tags resolved as per the expression applied in FrameMaker.
    Mayank

  • Switching off conditional build tags

    I now have quite a few conditional build tags in my RH7 project and it's getting a bit difficult to see what's what in my topics as they are covered in coloured hash lines. Is it possible to switch off the view of individual tags? For various jobs I need to see certain ones but not others.
    Also, can I just check that I am using them right?
    Our software has web and windows versions so I have a 'Web' tag and a 'Win' tag for where the content differs and I create different outputs for each.
    Within the web version, we now have 2 different sets of customers who each need slightly different content and different names/logos etc. So I have created 'Customer X' and 'Customer Y' tags as well as 2 separate tables of contents. So in places, I have text which has 2 tags on it, 'Web' and 'Customer X' or 'Customer Y'.
    Does this sound ridiculous? Is there a better way?
    I know I could have used user defined variables for the company names but I would still need the cond build tags for the content so figured it would keep it simpler just to use tags.
    Helen

    Hi there
    Sorry, no way to turn off individual tags. You can turn off the shading if you like.
    Click View > Show > Conditional areas.
    You might also consider submitting a wish form to ask for this type of functionality to be added to a future version.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • In the paragraph after a conditional build tag, an inline image gets wrapped in a div tag

    Hi,
    TCS5, so FM 12 and RH11. I have successfully applied some conditional build tags by turning off the apply conditional build tag setting and using the Conditional Build Expression in the WebHelp properties instead.
    In RoboHelp, everything looks correct.  I generate WebHelp and suddenly, a div tag is wrapped around the inline image in the paragraph that followed the text marked conditional.
    This did not happen with TCS 4 (FM11, RH10).  I am not sure why this div tag is applied only when I generate the help.  Any thoughts on what to check?
    Lauren

    Hi lauren,
    I tried to replicate the above mentioned issue, but did not get the <div> around the image in Webhelp output. Would it be possible for you to provide more information on this:
    At what point does the <div> start appearing around the image, as soon as the CBT expression is applied?
    If yes, what is the expression?
    What happens when expression is set to None again and individual CBT is under application
    Is there a spacing or the CBT text just follows the inline image?
    Please send us a sample file for the same, if possible. Thanks!
    Amit

  • Text coded with conditional build tags still showing up in TOC even if tag is "excluded"

    I am using TCS2, Windows XP.
    After creating a book in FM and coding with conditional build tags, I imported into RH. When I generate, I have the output tag set:
    NOT NoOUtput AND NOT Internal AND NOT Print - I want to generate my External, Online Help webhelp. And it works like a charm. Except that:
    In the TOC, I can still see headings for things that are "internal" - when I click on it, they don't go anywhere... but I don't want them to appear in the TOC!!
    It seems to be excluded from the index and the search. I am sure I am just missing a step or something...
    In looking through the forums I found this... http://forums.adobe.com/message/751847#751847 -- I don't know if it is still applicable since it seems to be referring to RH6 (which is a bit away from RH 8 that I am using)...
    Any help is appreciated!
    TIA,
    Adriana

    Hi Daggins,
    Thanks - that is good info to have. But as we all agree, that does take away from the point of single-sourcing.
    You aren't misunderstsanding exactly... I am doing all my conditional tagging in FM and it works like a charm in terms of the PDFs that I generate from FM, and even the conditionally tagged text in RH shows/hides correctly. The issue is I am also importing my index and TOC from FM... and even if I have an entire file in FM tagged as conditional (all the text is tagged as conditional, I don't know if you can tag a file as conditional), the file name as a heading it still appears in the RH TOC. There is no text... but in my view it shouldn't appear in the TOC either (it looks like just a broken link when I generate my online help) - this is not ideal.

  • Topic and content level conditional build tags

    What is the difference between a topic level and a content
    level conditional build tag? Why would you select one over the
    other? How do you select one over the other.

    First let me point out that the same conditional build tag
    can be applied at either the topic level or the content level. It
    sounds like you may be thinking that you have to create a tag as
    for either the content or topic level.
    Apply a tag at the topic level when you want the entire topic
    excluded from a certain output. Do this by right-clicking on a
    topic in your Project Manager, going to Apply Conditional Build
    Tag, and selecting the tag.
    Apply a tag at the content level (text, images) when you want
    the topic to be included but want specific content to be excluded
    from a certain output. Apply a tag at this level by selecting the
    text and/or images that you want to apply the tag to,
    right-clicking, going to Apply Conditional Build Tag, and picking
    the tag.
    Note that you wouldn't use a tag at the topic level on a
    topic where you have used that same tag at the content level, and
    vice versa.
    Generally, the idea of build tags is to set an output to
    exclude certain tags, but you can also set outputs to include tags
    instead, which then excludes all other tags.
    --Ben

  • Conditional build tag for folders

    I was told this might be a new feature in coming updates but
    have not seen an update in about 4 years (glad i didn't buy the
    maintenance) - does anyone know a way to edit core files to enable
    a folder to link a conditional build tag without code being
    rewritten when you generate a new file set?
    Thanks,
    Steve

    Hi Steve
    Believe it or not, Adobe is hard at work on a new version of
    RoboHelp to make an appearance some time next year. Maybe there
    will be a feature that allows different ways of applying
    conditional tagging. If you want to be sure this suggestion reaches
    Adobe, you can click the link below and submit a Wish Form.
    Click
    here to visit the Wish Form
    Note that if topics are excluded, they don't appear in the
    output. So essentially, if you apply conditions to all topics
    inside a folder and all are excluded via the build expression, that
    folder is effectively moot.
    Sincerely... Rick

  • Conditional Build Tags

    I have been having an issue with conditional build tags. I
    have a project that has 8 different build tags created. Recently I
    have been generating the output (webhelp files) and topics that
    have been tagged as (lets say) A are showing, in part, in other SSL
    files. As an example, if I have 30 files tagged with A, then when I
    generate SSL #1, 5 A-tagged topics may appear, generate SSL#2, 2
    A-tagged topics may appear and so on.
    This problem has only just come up, I've been working on this
    project for a year and all tagging was working well. I read in
    forum groups that the tagging doesn't like to have space in the
    names so I removed mine and re-generated everything, only to have
    the same problems.
    Has anyone experienced this, and is there a fix for
    it?

    Hi Rick,
    No. The tagging did work, then at some point, I discovered
    that topics were being generated into Help sets, but the topics
    were not tagged to go into those Help sets.
    So today I decided to delete the 6 offending topics. I opened
    my version of RH (5.0) and deleted the files, when I got to the
    last file and hit delete the software crashed. I opened up the
    project again, to find that the files are still there but now have
    a red X on the left side of the topic name. I can not open these
    files and the error message reads that the file does not exist. I
    called adobe to ask how I can get rid of the files. They tell me to
    check the project out of version control and remove the files and
    check it back in.
    Have you heard of this happening and do you know what the
    solution might be?
    Sheila (sadang)

  • Conditional build tags with numbered lists

    Hi, I am using conditional build tags to create a separate
    version of our product help file for a cut down version of the
    software. In our help instructions we use numbered tasks for
    explaining how to complete a process.
    Where some steps aren't required for the cut down version,
    the numbering does not auto-update accordingly - is there a way to
    resolve this?
    Thanks
    Richard.

    Sorry I was talking rubbish. If this can be deleted please go
    ahead.

  • Conditional Build Tags...weird behavior?

    If I apply a conditional build tag to a topic from the TOC
    tab, the topic gets included in the output even if I have specified
    that tag to be excluded.
    However, if I apply the same conditional build tag to a topic
    from the Project tab, then the topic gets excluded (as expected)
    from the output because I have specified that tag to be excluded.
    Is this inconsistency in behavior by design? I looked at the
    RoboHelp Help, and it appears there is nothing wrong with adding
    conditional build tags to topics from the TOC tab.
    Can someone shed light on this? I am using Adobe RoboHelp
    HTML 6, Build 099.
    Thanks,
    K
    P.S.: It appears RoboHelp is completely ignoring the
    conditional build tags that I am adding to topics from the TOC tab.
    If I see these tagged topics from the Project tab or the Topics
    tab, there is no color shading for these topics. The color shading
    for the topics shows only if I tag the topics from the Project Tab
    or the Topics tab.

    Here's a copy-paste from the RH Help...It didn't explain
    things the way you did. :-(
    Applying conditional build tags to Table of Contents
    Use conditional build tags to design and create multiple
    versions of your project from a single set of source files. After
    creating the conditional build tag, you can apply it to both books
    and pages in the TOC for maximum control over the final results.
    From the TOC view, you can apply conditional build tags to Topics
    also. When you generate a project, you can define conditional build
    expressions to include or exclude the book or page in the TOC, from
    the output.
    Show Me
    Use this procedure to apply conditional build tags to books
    and pages in the TOC. When you exclude such a tag from your output,
    the book or page in the TOC, is not included in the output.
    To apply a conditional build tag to a book or page in the
    TOC:
    Option 1:
    Create the conditional build tag.
    Click the TOC tab to view the Topic list.
    Select a book or page to which you want to apply a
    conditional build tag.
    Right-click and select Apply Conditional Build Tag, and
    choose the Tag you want to apply. The tag is applied to the
    selected book or page.
    When you generate the project, you can define conditional
    build expressions to include or exclude the tagged books or pages
    in the TOC, from the output. (A TOC to which a tag has not been
    applied, will be included in the output.)
    Option 2:
    Create the conditional build tag.
    Click the TOC tab to view the Topic list.
    Select the book or page to which you want to apply a
    conditional build tag.
    From the Format menu, select Apply Conditional Build Tag, and
    then choose a tag. The conditional build tag is applied to the
    selected book or page in the TOC.
    When you generate the project, you can define conditional
    build expressions to include or exclude tagged books or pages in
    the TOC, from the output. (A TOC to which a tag has not been
    applied, will be included in the output.)
    To apply multiple tags:
    From the Format menu, select Apply Conditional Build Tag, and
    choose New/Multiple. The Conditional Build Tag dialog box appears.
    Click Check All to apply all the tags, or select specific
    tags to apply to the book or page in the TOC.
    Click OK.
    If your project is under version control, these steps may
    include more options. Click here for more information.
    Tips:
    You can also apply conditional build tags to topics, topic
    content, folders, and Index.
    To verify the tags applied to topics, topic areas, TOC, and
    Index, or rename a tag, or change the color of a tag, click the
    Project tab, expand the Conditional Build Tags folder, and
    double-click the tag. You can make the desired changes in the
    Conditional Build Tag Properties dialog box.
    Ensure that you remove textual references to the excluded
    book or page, such as text links, which refer to the tagged book or
    page in the TOC. (Hotspots are not active for excluded topics.)
    If you generate Printed Documentation, TOC with Conditional
    Build tags are not excluded from printing.

Maybe you are looking for

  • How do i re-name my bluetooth name ?

    how do i rename my Bluetooth name on my iphone 4s?

  • PR and PO

    HI GURUS, CAN ANY ONE GIVE ME  AN INFORMATION ABOUT HOW MANY TYPES OF STANDARD PURCHASE REQUISITIONS AND PURCHASE ORDERS ARE THERE?

  • Restore file un openable

    I recently had to back up and restore my HP Pavilion dv-6 after rebooting, installing operating system ETC. I ran the backup and in placed a backup folder on the desk top that contains all of my documents from before the crash. The problem is that I

  • If I buy the software can I install it on both of my home computers?

    If I buy the photoshop software can I install it on both of my home computers or would I have to buy it twice?

  • Idoc (posting program)

    what is the posting program in idoc and what is the message type give me the exact definitions?