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.

Similar Messages

  • 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

  • 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.

  • Conditional build tags on tables

    When I add conditional build tags to rows in tables, the text
    becomes hidded (as expected), but the rows still appear. This way I
    get the table too big, but with
    gaps. Am I missing something?

    Hi karlroth. When you assign a build tag to a row RH very
    helpfully only applies it to the rows content not the row itself.
    If you go into the truecode and move the x-condition statement to
    the TR tag you'll be OK.

  • Conditional Build Tags Bug

    I have several problems with RoboHelp9. I am using Windows7 and 64bit. This is the one causing the most trouble.
    Conditional build tags apply themselves unwanted and unassigned.
    The deletion of conditional build tags at the topic properties tag (right side window) does not work.
    I have to repeatedly go back and forth to the dialog and keep selecting and deleting.
    Some of the conditional build tags go clear, most don't.
    I go into the topic directly in the wysiwyg view and manually try to select and delete them, and they delete only with difficulty.
    After running through a long topic and using every method available to clear conditional build tags, I saved the project, then went in to manually apply cbtags, of which I am only using two.
    After applying them, and switching to the html window to adjust image sizes manually (because thru the wysiwyg interface the process takes too long), I find that the conditional build tag I applied to several tables and texts at the top of my topic have now applied themselves unasked to a number of the texts and even tables which I had cleared of all cbtags.
    I have just about had it with this program.
    This is only one of the many problems and bugs I have found and been trying to work around.
    I suppose that the solution to my problem is to not use conditional build tags at all, but I am working with about five years' worth of legacy technical documents that have all been upgraded to RH9 and as I am looking at them to make the standard revisions, I am noticing this phenomenon of wrongly applied cbtags in other projects.
    I would rate this as a bug of very high and critical importance.
    Has anyone seen this under the consitions stated? (RH9, upgraded RH7 projects, Windows7, 64bit).

    Sorry, I should have said see the Announcements.
    http://forums.adobe.com/community/robohelp/robohelp_general_discussion
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Conditional Build Tags - Problems when generating content

    Hi,
    Just wanted to print 4 pages of a long help project so I added conditional build tags called 'ad-hoc' and created a Printed Doc SSL where ad-hoc was the conditional build value.
    When I generate the document I am getting everything still though. Am I being particularly thick today?
    I tried tagging everything 'online' and then adding the ad-hoc tag to the pages building the condition as 'online' AND 'ad-hoc' but then got nothing.
    Help appreciated as ever.
    Nick.
    @Tompsk on Twitter.

    I don't think the One Off Print tag is needed. If you apply Generic to all topics, then remove it from a few before generating online help with NOT GENERIC applied, you will get only the topics from which you removed the tag. No need to apply another one.
    If you wanted to print, then forget tags, just have a print layout where you only select those topics you want in.
    Print works the opposite way to online. Print you have to include, online you have to exclude.
    See www.grainge.org for RoboHelp and Authoring tips
    Follow me @petergrainge

  • 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

  • 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.

  • Conditional Build Tags Ignored in Header

    Using RoboHelp HTML 8.
    When generating Microsoft HTML help, I have a conditional build tag which has been applied to the contents of the header and footer.
    Once I view the .chm, I still see the header and footer. There is a graphic in the header and text in the footer which are excluded, but the header and footer both have pattern backgrounds, which are images, that do not get excluded.
    Has anyone else seen this behavior, and/or know a workaround?
    Thanks!

    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

  • Conditional Build Tags and Baggage Files

    Good afternoon
    I have a project where I need to produce two outputs - one
    for the internet and one for our intranet. I have applied
    conditional build tags to the topics that I don't want displayed on
    the internet however, the topics with baggage files attached still
    show up - I can't figure out how to apply a cbt to these files. Can
    someone help me please?
    Thanks

    HI Leapy.
    OK I think I have got to the reason why your CBTs are being
    included. If you have them at the topic level, they are exlcuded.
    If you have them at the topic contents level they are included. Do
    a right click on the CBT in the project tab and select the
    "Properties" popup menu item. You will probably find that the tags
    show up at content level. If you change these to be at topic level
    you should be OK.
    BTW if you are using merged webhelp there is a known problem
    with links failing. Peter Grainge has covered this, and the
    workaround, very well at his site. Click
    here
    for more details.

  • Conditional build tags get out of sync with source control

    Hi all,
    I work on a team with two other people and we use RH 7 and
    Microsoft Visual Source Safe. We've been having a problem with our
    conditional build tags where one person will add, rename, or delete
    a tag, and although the author checks the tags back in right away,
    the system isn't "getting" the updated tag file when the other
    authors go into the help project. The only way we've been able to
    fix this is to have everyone delete their CPD files every time tags
    are added, renamed, or deleted, but this seems wacky, and I don't
    see any other messages about this problem in the forum. Are we
    doing something wrong? We've been having problems (errors) related
    to XPJ files being checked out by the first person to enter the
    project (posted in another message). Might this be the cause of our
    tag problem, too?
    Thanks in advance for any help,
    Lisa

    Hi, I understand about the mismatch…the problem is there shouldn’t be any mismatches, because the source documents didn’t change at all, and no updates were made to the html help topics in RoboHelp. The mismatches appear for no reason that I am aware of. They are very random and I can “fix” the mismatches by performing an “update” for a few linked topics, but then a few more mismatches randomly appear.
    I don’t use a Master Page…can you think of anything else I should look into?
    Thanks for your help.

  • I need help with the conditional build tag option RoboHelp 10

    I need help with the conditional build tag option. I want to apply CBT to content in a topic. I looked at the Help topics and believed that I applied the feature correctly. Howver, it is not working as desired. In the 2nd sentence below I want the text highlighted in blue to only appear for the printed output and the text printed in purple to only appear for the .htm /online output. Please help.
    There are common tasks used to manage the folders in the Navigator and the folders
    in the BBS Folders Viewer Grid. For more information on these common tasks see Help
    and Support in Success Enterprise. click the links below.

    Hi there
    Using tagging is a two part process.
    Part One
    You create and apply the tags to the information you wish to control.
    Part Two
    You create a Build Expression that is used when you generate your output. The Build Expression typically reads something like: NOT Tag1 (or whatever your tag name is)
    Then when you generate and use the Build Expression, the information tagged is not included in the build.
    Cheers... Rick

  • 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 tags affecting formatting and merging hyperlinks

    I'm working in RH6 on a number of projects. In all of them I use a specific caption box/format combination for tips and notes. I also use a conditional build tag so I can generate a 'lite' versions of full help, suitable for printing.  I note that on occasions, when I apply the build tag, I lose the formatting on the text - or the entire formatting of the text is applied where I don't want it applied.
    Wrose, still, I find that applying a build tag to a list of hyperlinks can merge the link addresses so they all point to the same area, which is pretty disastrous.
    Is this a bug Adobe know about? Is it fixed in 7 or 8?
    Any advice appreciated.
    Robin

    Hi again
    Well, I wasn't suggesting it wasn't a bug.
    I suppose it's quite likely that something is getting munged. Actually, I think that's rather obvious as it's happening to you.
    I think perhaps the editor is becoming confused. I believe the way these things are handled is by using some specially formatted span tags to apply the CBTs.
    By the way, these new forums now support screen captures. So we no longer have to resort to a reasonable facsimile using only text.
    Sorry I don't really have a workaround to offer here. At this point I'm as puzzled as you are.
    Cheers... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

Maybe you are looking for

  • Mac is very slow after upgrading to 10.8.3

    my mac with 2.4 ghz i5 and 4gb RAm is very slow after upgrading to OS X 10.8.3 any suggestions would be appreciated...

  • I can't open PDF files in InDesign CS5

    Hi all, I can't seem to open any PDF files of any version while using InDesign CS5... I'm currently running InDesign in Windows 7 Professional x32bit... This message keeps popping up: Cannot open the file "TIG_Sheet_and_Application.pdf". Adobe InDesi

  • Attach an xml to a pdf using ADS

    Hi all, I have a scenario where we are sending a Base64 encoded PDF (a bill) and the corresponding xml data from SAP backend on level 4.6C to PI 7.1. In PI we should attach the xml data to the PDF. I have already succeeded to do this using iText but

  • Demand and receipts

    hi in SAP parlance we frequently come across two words Demands  and Receipts list of all demands as for as i know are  are  customer demand ,sales order demand,demand from MD61 (pir),demand created from planning book .would you please list out all de

  • Any way to revert to Safrai 2?

    I didn't realize this seemingly simple update would render my use of a major commercial printing company's (RR Donnelley) online proofing system (Kodak InSite) useless. AFTER I installed the 10.4.11 update on my G5 yesterday morning, they sent out a