Easily remove in-line Conditional Build Tags?

I'm wondering if there's an easy way to remove all Conditional Build Tags (CBT) inside a topic. Has anyone come up with a quick way to do this?
The problem I'm running into is I want to remove some CBTs on some list items. But it's not easy to remove the CBTs because the right-click menu item to deselect the CBT is grayed out unless I select a certain sub-set of the list just right.  Sometimes this even happens on a single sentence. I have to select a part of the sentence and remove that part first and then the other part. It seems due to in-line formatting that's affecting this. I'm hoping there's an easier way. Any scripts out there that do this?
I can probably figure out how to do it in Notepad++ with regular expression pattern matching, but that's a hassle if there's an easier solution.
I'm using RH 9.02.271.

If you right click in a paragraph you should see either Remove Attribute or Remove Attributes.
If Remove Attribute and the attribute is a CBT, then Rh will remove it cleanly.
If Remove Attributes, when you click the option you will get a dialog and can select the span tags you want removed.
Not quite what you want but it does work cleanly.
Back up first though just in case you remove too much.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge

Similar Messages

  • Conditional Build Tags Break on Chinese

    Using RH7 (for word) on Win XP with Word 2007.
    Generating HTMLHelp (chm only)
    I am trying to take full advantage of Conditional Build Tag
    to implement single source output. I have created my help files and
    had the text translated into Chinese. I had the person doing the
    translation simply add the Chinese text to the end of every English
    paragraph. Then I created conditional build tags for English and
    Chinese and applied the build tags the appropriate bodies of text.
    If I generate "Chinese" it appears to work correctly, however
    when I generate "English" I get the English text as well as a few
    characters of Chinese at the end of each paragraph. The Chinese
    characters that are displayed are seemingly random characters from
    the Chinese text, but I can not find any rhyme or reason as to why
    those particular characters are inserted.
    Things I have done to troubleshoot...
    - Explicitly excluded Chinese text from output (expression
    was "NOT Chinese") (No Change)
    - Added line breaks between English and Chinese (No Change.)
    - Changed the font encoding ("SimSun" and "Arial Unicode MS")
    (No Change)
    I only tried this because the original Chinese text used
    both fonts.
    - Removed punctuation from Chinese text. (No Change)
    I suspect there is a problem in RH7 for word when using
    Chinese characters, but I bought the new version of RH because it
    was supposed to be able to handle the Chinese characters. Well, it
    turns out the only official support for Chinese is when using
    RH-HTML (which was not mentioned when purchasing.) I have about 10
    years of work done in RH for Word and am not excited to migrate to
    HTML since some things don't transfer over when importing the
    project to HTML, like the conditional build tags for example.
    I have uploaded my doc, and an image that helps illustrate
    the problem.
    The Doc: Job_Console_ExtraTech.doc
    The Image: Job_Console_ExtraTech.jpg
    They are on the Support Portal FTP site...
    Here is the information I used to get there...
    https://www.adobe.com/support/crm_portal/ssi/ftpinfo.html
    If anyone else has had success with conditional build tags in
    RH7 for Word using Chinese text, I would really like to know if
    there are any tricks or secrets that might help me get this working
    correctly.
    Thanks, J

    I was a bit bummed when I found out I couldn't do the TOC
    with conditionals either. But I made the help files intentionally
    graphical so that the TOC, index, and searches are of less
    importance. I am using the help files as a sort of graphical
    trainer for an application suite.
    It is disappointing that Adobe touted the multilingual
    functionality of version 7 and this is what they meant, but it's
    better than nothing.
    I am just confused about how the Chinese characters are
    showing up when the conditional build tags are clearly supposed to
    be omitting them.
    I think the next step is to embrace the HTML transition and
    see if I have better luck there. The only daunting thing about that
    is recreating all the conditional build tags.

  • 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

  • The extra space created due to Conditional Build Tags

    Hello,
    I am authoring a online help file, for a web application. As different content is needed for the 4 different roles of the user, I have used Single Sourcing option and made use of conditional build tags for the content that is not common among the different roles. I even have images which are difffernt for the differnt roles. I have used conditional build tags for these too. The problem is that, extra space appears in place of the images which are not applicable to build I am publishing. Is there any workaround other than modifying the HTML files to remove the extra space added?
    Regards,
    Deepti Korwar

    hi Deepti,
    I have seen this issue on multi-level lists (in RH9) when using soft returns (Shift-Enter) within the lists.
    An extra space is added before images marked with CBTs. But this only caused problems in print.
    Are you seeing this space on all outputs or just print?
    Can you paste a code snippet from one of the offending list?
    Perhaps you can get round this by opening up the HTML tab and carefully examining and perhaps moving the CBTs.
    e.g. <?rh-cbt_start condition="xyz" ?><img src="xyz"  > <?rh-cbt_end ?></p><?rh-list_end ?>
    Will be helpful to see the code.
    thanks
    Craig

  • RH 11: Conditional Build tags applied: Content still showing up in search

    Hello. I am generating WebHelp using conditional build tags using RH 11.
    I have marked books in the TOC with a CBT of Not in 6.1.
    I generated help and excluded content marked with the CBT Not in 6.1.
    When the Web Help is generated, the books marked with the CBT  do not display in the TOC. However, if I do a search, topics that are under the books and therefore should not be included in the output have search results returned.
    Is there a scenario in which topics that have been excluded from the generated help would still show up in search?
    Your help is greatly appreciated.
    Jenny

    Hi Jenny
    Indeed there are a few reasons this may happen.
    First, simply excluding a topic or a book in the TOC simply makes sure that the TOC doesn't have a link pointing to the topic. Normally, I'll just tag the topic itself and ignore tagging the TOC. If a topic has been excluded, it won't appear in the TOC.
    In the WebHelp SSL recipe, click to expand the Content Categories section and look at the settings on the right. You might try ensuring the following option is enabled. It's named Exclude Unreferenced Topics from Output. As long as nothing else is linking to the topic, ensuring it is removed from the TOC *SHOULD* cause it to no longer be included.
    Cheers... Rick

  • How to apply conditional build tags to the topic title that is displayed in Search tab of CHM?

    I have the project in which 2 different words are used to reffer to one objects (this word/term depends on the customer). All other information related to functionality, steps, etc. are common. So:
    In the help content (body of the files), I created 2 conditional build tags (CBT) for these terms.
    In TOC, if topic title contains the term, I created 2 different topics reffered to the single topic file, but the title of the topic shows correct term (depends on CBT).
    File names of this topics contain only term1.
    The problem occurs when I generate CHM for CBT2 and search for the term1 (marked with CBT1) using the Search tab. All occurrencies where term1 presence in the file name, appear in the found results.
    How can I resolve the issue?
    These topics must be found by search (that's why "Exclude from search" option is not a decision).

    Ahhh, you are correct. I believe it was Version 10 introduced that.
    So here's what I'd suggest. Even though you are unable to use a variable in a Topic Title, it can still be used in other places such as the TOC, the Index and in the Topic content. So I'd still recommend that you declare and use a variable for those items. Just to simplify things.
    As for any topics that have the term in the title, you could create two topics. One with the term one way and the other with the term the opposite way. Then use a Conditional Build Tag to exclude and remove the one that shouldn't be found.
    This may cause you a bit of a maintenance issue by having the same topic content in more than one place. (one for each topic)
    So to overcome that, you would be able to add the main body information to a topic and use an Inline Frame in the two topics that would then simply be shells with appropriate Topic Titles. Either that or declare a snippet and use the snippet in both topics. Put the main part in the snippet.
    Cheers... Rick

  • Quotes conditional build tag

    I am using Office Word 2003 and Robohelp 7 for Word and I
    need to apply conditional build tag to document contents.
    I’m compiling the help for Microsoft HTML help but
    opening the chm file I can still see the following text (in a small
    font) at the place of the conditional text removed:
    I tried to change the font/size/colour of text and marker but
    it doesn’t help.
    My text is in Italian language.
    I tried to compile for WinHelp layout, but characters
    ‘’‘’‘’ are still there, in the
    middle of my page.
    Any idea?

    See Build Expressions on my site.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

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

    Hello,
    I have problems with Conditional Build Tags since I upgraded from RH7 to RH9 .
    I am using the following software:
    Windows XP Professional Version 2002 Service Pack 3.
    Version control software (RoboSource Control 3.1) as we share projects between 3 authors
    And I mainly work in wysywyg view.
    When I open a project on my PC, the conditional build tags I've defined in a topic apply themselves unwanted and randomly.
    The deletion of conditional build tags from the topic Properties > Advanced tab > Content-level tags > Remove button does not work properly. The selected tag is removed only for the paragraph pointed by the mouse cursor. When I navigate down in my document, this tag is still present on other paragraphs.
    Sometimes, I must switch to the html view to remove the tags manually.
    I noticed that a thread has seent on May 5, 2011, for which Peter Grainge gave a link to a TechNote with a fix. I tried to access this TechNote, unsuccessfully.
    I also read that Adobe RoboHelp Service Release 9.0.1 is intended to fix the following: CBT gets applied randomly in topic content on switching between the HTML view and the Design view in certain scenarios.
    However, my scenario is completely different as CBT gets applied randomly when OPENING the project in WYSYWYG.
    Moreover, my administrator told me he has already downloaded this release.
    With single sources, our team produces online helps for various versions and products. This situation is very uncomfortable for me, and my colleagues, as the produced documentation may contain bad information for a version or a product or may miss information. My work is not reliable.
    Has anyone encountered this situation and found a solution?
    Thanks for your help.

    Hi Peter,
    Thanks for your help.
    Effectively, the patch was not installed.
    I ran the update and did not need any passwords to do it. The About RoboHelp HTML now shows 9.0.1.232. However, the version of the  PolarisProjectFile.dll still shows 9.0.0.228. Is this normal?
    The IT administrator is sure to have downloaded this release. He thinks something got wrong during the downloading process and that it failed.
    This release solved some of my problems:
    I opened again the projects in which I identified that tags were messed up.
    - For some, tags were still messed up. I had to fix them again manually. I checked them in and re-opened them. They were clean.
    - For others, they re-opened with tags properly assigned (miraculously).
    I do not understand these differences in behavior.
    I do not feel confident when I open a project. We manage so many topics that it is impossible to identify those in which tags are messed up. How can I be sure that tags are correctly assigned? It is so an uncomfortable situation !
    Moreover, I identified another problems yesterday.
    I wanted to open a project that another member of the team upgraded to RH9 last week. RH9 proposed me to upgrade it.
    A member of the team wanted to open a project that I upgraded on my PC.  RH9 proposed her to upgrade it.
    We removed these projects from our local directories and used the Open project from Version Control again. And it was OK.
    This situation should not occur. What do you think?
    The other members of the team have the patch 9.01.232 (and the same version of dll as me).
    The IT thinks that these problems are linked with my user account.
    Historically, Windows XP was installed in French on my PC whereas my colleagues were in English.
    As I had so many problems after upgrading to RH9, my Windows XP is now in English.
    However, I keep having problems (those mentioned in this discussion).
    The solution proposed now is to change my machine for a new one.
    Could this be really the final solution?
    Do you have any opinion on this matter?
    Thanks for your help.

  • 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 for TOC in Robohelp X5

    HI, Can we apply conditional build tags for TOC in robohelp
    X5. I know this feature exists in robohelp X6 and x7. But as i am
    working on x5, i want to know whether we can apply conditional
    build tags for TOC. if yes, whats the process?

    Hello again Abraham
    Okay, so you have a book named Privileges. It is linked to a
    topic named the same, right? And inside this book is a book named
    Billing. I'm guessing your TOC structure would look like this:
    * Privileges
    **** Billing
    ******** Topic one
    ******** Topic two
    You seem confused that the Privileges book doesn't disappear
    when you exclude the Privileges topic. If that were to happen,
    would you also want the Billing book and all topics inside to
    disappear? Because if the Privileges book were to be removed,
    anything and everything inside the book would also be removed.
    Indeed to remove a book you need to coax all topics linked
    inside (or inside sub books) to disappear too.
    Cheers... Rick

  • 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

  • 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 on books

    I want to hide a TOC-book on certain condition. How can I do
    that? Are there any things like Conditional build tags on books?
    Thanks in advance.
    -karl

    Hi karlroth
    Unfortunately, there is nothing in RoboHelp at the moment
    which will directly allow this. But if you cause all pages and
    books inside the desired book to disappear you will remove the
    book. I've outlined how to do this at
    this
    link.
    Cheers... Rick

  • Apply Conditional Build Tags to Index Keywords?

    My client has a bespoke module for a specific customer in
    their software. There is a common Help Topic with conditional build
    tags applied to content, so that one Layout is for the standard
    product, and the Help excludes all mention of the bespoke material,
    and the other layout includes text on the bespoke module. This
    works well, except for the Index Keywords for the bespoke stuff,
    which still appear in the Index for the standard Help Guide.
    Any ideas anyone? How do I tag index keywords so they are
    excluded from a defined Layout?

    Thanks Peter, So that's what they're for!
    (I don't know if you ever used ForeHelp, but the Index tags
    were inserted immediately next to their tagged text, so that they
    were automatically included within the boundaries of the
    Conditional Build Tags. This also had the benefit that when
    exporting to Word, the Index at the back gave reference to the
    actual page number, not the page number of the beginning of the
    topic. Quite useful; I was thinking along those lines...)
    Regards

Maybe you are looking for

  • ICloud Control Panel - Outlook 2007

    My Outlook 2007 crashes constantly after Update to iCloud Control Panel 3.0 for Windows (Windows 7)! What can i do?

  • How to identify black and white images for dynamic collection ?

    Hello I would like to make a dynamic collection to quickly find my black & white pictures. It is very easy to do with your original files which have undergone a black and white (Grey) conversion under the developpement module : you have to specify "t

  • Query Regarding XSD Mapping

    Hi Experts, I 've the following requirement: My Source XSD is of the form: <element name="source" ....> <complextype> <element name="customNode" minoccurs=*0* maxoccurs=20> <complextype> <sequence> <element 1....> <element 2....> </sequence> </comple

  • Can ABAP program and a Java apps access the same DB table?

    If an ABAP program and a Java apps access the same DB table, how does the Enqueue services from ABAP and Java communicate with each other to ensure locking consistency (if they even communicate with each otehr at all)? Or there wont be such situation

  • Writting confirmation message??

    Hi all friends, I am developing one uploading software it is a total automatic process of uploading user only copy the files in predefind folder and click on upload button once and my software starts uploading one by one from queue and move the file