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

Similar Messages

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

  • RoboHelp 6 crashes-Robo 5 project when using conditional build tags

    Hi there
    I had no build tags in my project, and it was an R5 project.
    I just upgrated to R6. I need to use the tags & when I put a
    build tag or two in the project on the topic level and compile it
    and it crashes. Based on a prior thread (related to merged cells in
    tables) I removed any merged cells I had in my tables and I was
    able to replace them with table captions. I also tried to place the
    build tag only on the folder level and only on the TOC level both
    crashed. Unfortunately it still crashes when I compile it without
    the merged cells in a table. I did create a brand new project and
    test and I was in fact able to compile it.
    My project was "somewhat lost" meaning I renamed it and then
    compiled it and it didn't fully compile. Two folders showed up in
    the compiled project, however all the folders were in the project
    folder when I looked via explorer. I found the CHM file from prior
    to renaming it and I decompiled it from that CHM file and
    recompiled it with the hhp builder tool.
    Any thoughts? PS. I am only a year using this product, so
    please keep that in mind :)
    Thank you Rebecca

    Hi Peter
    Thank you for the suggestion. I created a new project, new
    folders, imported the files a few at a time & compiled it each
    time (with one build tag in it) and found that only two files made
    it crash. On the one file, I removed the tables (which had no
    merged cells) from the project and it worked. The other file was
    removed completly and I will re-do that page.
    I then opened my current project (with all links &
    pictures etc TOC working) and imported the changed file and removed
    the other file and wala....I have a useable project.
    The project was on our own software so unfortunately I would
    not be able to share it.
    Being a relativley new (1.5 yrs) user, I find running into
    bugs are brutal....Thanks for all your help.

  • Archiving Documents Using Conditional Build Tag

    I'm looking for suggestions to resolve a problem I've encountered this week.
    Using information from a post by Rick Stone, I was able to create a CBT (Exclude_from_Search) that, when applied to a topic, removes that topic from the published Search results.  This work fine on a small Project that I tested it out on.  I'm now trying to apply this same technique to a large Project, only to continuously get booted out of RoboHelp completely.
    Any thoughts or suggestions on another way to keep archived documents in RoboHelp but out of the published intranet findings?

    Hi again
    So RoboHelp closes down when you attempt to apply the tag? Or when you attempt to generate output using an expression that would exclude the tag?
    Also, one of your posts said "see attached", but nothing was there to see. Were you trying to upload a screen capture? If so, use the Camera icon.
    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

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

  • 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

  • Conditional Build Tags Break Links

    Hi all,
    I have a solid, 3-years old, RHX5 project that works fine.
    Delivering a part of it using
    conditional build tags, I found out that some of links are
    broken.
    The topics configuration looks like this:
    Parent topic - with a link to several
    child topics
    (many) Child topic(s) - each with a
    link to the parent topic
    Now, using conditional build tags, all of the topics go to
    the main deliverable and are marked accordingly.
    Some of the topics go to the secondary deliverable. This
    includes the parent topic and some of the child topics.
    So, the parent topic is marked with both tags, and the links
    that point at topics that doesn't belong to the secondary
    deliverable are tagged accordingly. This part works fine.
    The links that belong to both deliverables are tagged with
    both tags. Some of them - not all - are broken.
    In these cases, a child topic exists in the deliverable, but
    the link from the parent topic is broken.
    I have deleted all links and written them anew. This did not
    solve the problem.
    Where elese should I look into?
    Thanks in advance (please help the poor writer regain his
    weekend :-)
    Avi

    quote:
    Originally posted by:
    Peter Grainge
    It sounds like topics that belong to both versions, like the
    parent, have both tags. I am wondering why they have any tag as you
    only need a tag on a topic that you might want to exclude.
    Hi Peter,
    Until this project, I had two tags, when each topic belongs
    to either tag A or tag B, and no topic belongs to both. (the reason
    to this configuration was to keep everything on the same source,
    when topics could move from tag A to tag B.)
    Now, in the current project, I have a new tag, C. Topic may
    belong to:
    Tag A only
    Tag B only
    Tag A + C
    Tag B + C
    Tag C only - there are very few such topics (maybe 5 or so).
    These topics are not problematic.
    The problem of the broken links always occur among topics of
    the type "tag A + C".
    How do I proceed from here?

  • 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 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 for Framesets Using RH6

    I am using RoboHelp 6. I have conditional build tags on some
    topics within a folder and also on certain entire folders and these
    are working nicely. In addition, however, I really would like to
    add conditional build tags to two framesets in order to separate
    this information so that each frameset is seen only by the
    appropriate groups (just as it is in the regular topics/folders). I
    am reluctant to even try to do so because if this is something that
    RH6 doesn't allow I don't want to do something that will corrupt my
    project. If adding conditional build tags is possible, then I need
    to know where I add them: 1) to the frameset, or 2) to each of the
    two topics that make up the frameset, or 3) a combination of the
    frameset and the two topics.

    Create a new project, import some topics from your existing
    project and then attempt to do what you want. If it goes pear
    shaped, no harm done.

  • 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

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

Maybe you are looking for

  • Acrobat XI Pro shows as installed, but I can't find it anywhere in my list of programs to use it. What am I missing here?

    I purchased Adobe Creative Cloud. I chose to download and installs 4 of the apps including Acrobat XI Pro. All apps are working great except Acrobat Pro. It shows as installed, but I can't find it anywhere in my list of programs. What am I missing he

  • Simple logic for the code

    HI All,       Please expalin the logic behind the code and how can we put it simpler this logic by reducing the number of lines of the following logic FORM fisical_period.   data : l_start_month like v_start_month,          l_end_month like v_end_mon

  • Problem with converting RTF to TXT

    When I convert RTF content to text format with JTextPane jtp = new JTextPane(); jtp.setContentType("text/rtf"); jtp.setText(original_text); Document doc = jtp.getDocument(); String converted_text = doc.getText(0, doc.getLength());All non-ascii charac

  • Distribution Model Owner

    Hi, How do i find which system is the owner of the Distribution Model? As far as I know, that is the only system that can modify and distribute the model. Is that correct? Thanks, Vartika.

  • Updating HRP tables

    Can anybody tell me is there any standard FM to update the HR tables : HRP1048, HRP1002,HRP1001,HRP1000 efficiently? I have to delimit and delete the records and I dont want to do direct update on HR tables. thanks Tanisha