• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

The extra space created due to Conditional Build Tags

New Here ,
Apr 20, 2011 Apr 20, 2011

Copy link to clipboard

Copied

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

Views

629

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2011 Apr 20, 2011

Copy link to clipboard

Copied

I am wondering if you need to modify what you have applied the tag to. Maybe there is some space that needs to be tagged out as well?


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 20, 2011 Apr 20, 2011

Copy link to clipboard

Copied

Hello Peter,

I have a numbered list. For one of the steps, I need to include an image. As the image is different for different roles. I have placed them one below the other and applied conditional build tags.As the list is indented a bit, I have moved the images to the right by adding spaces. Could that be the problem? Is it possible to tag spaces?

Thanks,

Deepti

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 20, 2011 Apr 20, 2011

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 20, 2011 Apr 20, 2011

Copy link to clipboard

Copied

Thanks Peter:) I applied the tag to the whole line containg the image. It works fine now.

Thanks Again,

Deepti Korwar

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp