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

Similar Messages

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

  • 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

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

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

  • 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

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

  • 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

  • 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

  • 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

  • In RH9, random conditional build tags appear within topic text

    I have assigned conditional build tags to text within a topic. After closing the topic and re-entering at a later time, other (additional) text now has the conditional build tag assigned as well. However, I did not assign the tags to those other sections of text.
    I do not have any trouble assigning a conditional build tag at the topic level. The issue only occurs when a tag has been assigned to text within a topic.

    There is another thread running on this. See http://forums.adobe.com/thread/58834?tstart=0
    I am locking this thread so that all replies go to the one above.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • 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

Maybe you are looking for

  • Counting duplicates in a big table

    Dear all, We are counting the number of duplicate records in a table as follows : SELECT COUNT (*) FROM semateam b WHERE cdate < '02-apr-09' AND ROWID IN ( SELECT MAX (ROWID) FROM incalls a WHERE a.cdate = b.cate AND a.bno = b.bno AND a.b_suno = b.b_

  • Why can't i open and save pdf's in i books any more?

    Over the last couple of upgrades i have lost the ability to open pdf docs in i books - is there a proper solution for this Cant use zip files there either

  • Next version Wish List (6i-??)

    Is there one? My $0.02: a. Give me a way to change the subject line in mail (globally with individual report override would be nicest) b. (And I'm sorry for mentioning this) Native excel X.0 export c. Better Queue Manager, although it is pretty good

  • Filesync agent crash - Started deleting files

    Hi, we are using a OSX Server 10.6 and OSX Clients (10.6) i a magic triagle setup and the users are setup as a mobile user with a few folders that sync to a window server. We noticed on one of the computers syn failed silently and started deleting fi

  • Combox Enabled property

    I working on a custom form where I requiered to manuever a combobox to enabled it or not.  In screen painter I have access to the enabled property (false/true) but in SDK, programming I don't have it.  Graphically: oCombobox.Enabled = True (or False)