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

Unused images compiled into CHM

New Here ,
Feb 22, 2012 Feb 22, 2012

Copy link to clipboard

Copied

When using conditional build tags in RoboHelp to exclude topics in a generated CHM file, the images used in these topics are compiled anyway.

So, the HTML files are not integrated (using the build tags), the images used in these HTML files are ...

In my case:

I want to generate a separate CHM file which contains only a very small subset of the full manual (API specifications for third party vendors) .

This CHM only contains about 10 HTML files, but still amount to 13MB because all images from the entire manual are compiled into the CHM.

How can this be avoided ?

Many thanks !

John Victor

Views

2.2K

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
Adobe Employee ,
Feb 22, 2012 Feb 22, 2012

Copy link to clipboard

Copied

Hello John,

So, as per my undertsanding, your CHM output is not displaying images or topics that were excluded via CBT, but the Compilation does include those images, hence they are adding to the size of the CHM output. Correct?

Seems to be an intresting scenario. As a test, Can you rename the CHM output, located inside the ProjectsDirectory/!SSL!/ . i.e (filename.chm to filename.zip) and then extract the zip file, it would uncompress the contents and display you all it holds, see, if you find those excluded topics or any graphics that were contained in those excluded topics?

Thanks,

Anjaneai

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 ,
Feb 22, 2012 Feb 22, 2012

Copy link to clipboard

Copied

Hello Anjaneai

I am not sure of I explained the problem well.  An example:

Project contains:

TopicA: without images

TopicB: with images

Using conditional build tags, TopicB is excluded from the output.  So the CHM only contains TopicA (the one without images).

However, given the size of the CHM, you can see that the images are still included.

It seems that RoboHelp (v9) does not check whether images refer to topics that are excluded from the output.

John

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
Adobe Employee ,
Feb 22, 2012 Feb 22, 2012

Copy link to clipboard

Copied

Hello John,

I just now created a Project with the exact scenario that you explained.

I used the HTML Help Studio (View--Pods--Toolbox), to check the contents of the CHM  -- CHM only contains TopicA (the one without images).

When you launch this utility and open you CHM it would show all the contnets inside it that were used during compilation process.

In the same scenario, i checked it was not displaying the Graphics from Topic B, neither the Topic B itself. So in your case, the 13 MB size could have been because of some other objects, you can determine that too, with HTML help Studio.

hope it helps.

Thanks,

Anjaneai

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
Community Expert ,
Feb 22, 2012 Feb 22, 2012

Copy link to clipboard

Copied

Are you perhaps applying build tag in the Table of Contents pod, rather than on the topic itself? I believe this method will only remove the topic from the TOC and the topic  remains in the compiled chm. This would explain why the chm file size remains large.

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
LEGEND ,
Feb 22, 2012 Feb 22, 2012

Copy link to clipboard

Copied

Excellent suggestion, Amebr!

Will we be seeing you at Writer's UA this year?

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7, 8 or 9 within the day!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks

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 ,
Feb 23, 2012 Feb 23, 2012

Copy link to clipboard

Copied

@ amebr: the CBT's are applied on topic level.   This is confirmed by the fact that the CHM does not contain the excluded HTML file, but does contain its referred images.

@Anjaneai: many thanks for the tip.  I checked the contents of the CHM with HTML Help Studio and my assumptions were confirmed. Would like to add a screenshot, but getting the following forum error "An error occurred while trying to submit your post. Please try again."

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
Community Expert ,
Feb 23, 2012 Feb 23, 2012

Copy link to clipboard

Copied

John

It might be worth trying again with the image. I just had a problem with the forum so maybe it was a glitch.

I assume you have checked the images are not set as baggage files.


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
Community Expert ,
Feb 22, 2012 Feb 22, 2012

Copy link to clipboard

Copied

A search on something in the "excluded" topic would confirm Amber is right.


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 ,
Mar 27, 2014 Mar 27, 2014

Copy link to clipboard

Copied

Hi John,

Did you solve the problem?

I have the same one...

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 ,
Mar 27, 2014 Mar 27, 2014

Copy link to clipboard

Copied

I switched to Madcap Flare

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 ,
Mar 27, 2014 Mar 27, 2014

Copy link to clipboard

Copied

I have just installed MadCap Flare 10, imported my RoboHelp project and generated 3 CHM files with different conditional text tags.

Sizes of these CHM files are identical and they are a little bit larger than CHM generated by Robohelp

The problem with images still resist...

All images in my project occupy 1.2 Mb of disk space and CHM is 1.4 Mb, but not all of these images are used for all output targets.

So, how did you solve this problem by moving to MadCap Flare?

Thanks in advance for your answer!

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 ,
Mar 27, 2014 Mar 27, 2014

Copy link to clipboard

Copied

In Flare, you can put Condition Tags on *any* file in your project, not only topics (HTML files).

This means you put conditions on images, PDF files, ....

Personnally, I always (try to) store my images in the same folder as the topic in which they are used.

In Flare, you can put a condition on an entire folder (which propagates to all files in that folder)

Problem solved ...

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 ,
Mar 27, 2014 Mar 27, 2014

Copy link to clipboard

Copied

John, thanks a lot! Now I see this functionality

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
Community Expert ,
Mar 27, 2014 Mar 27, 2014

Copy link to clipboard

Copied

In Rh you don't put the condition on the image file, you put it on the image in the topic. You might want it tagged out of one topic but not another.

You can also apply a tag to a folder and that will apply to all topics in that folder.

What I am wondering here is are you sure the images are getting included? Add the text "redrabbit" to a topic where an image should be tagged out. Generate and search for redrabbit. Is the image showing or not?

The way to prove the point would be to create a single topic project with an image, tag it out, and then reverse engineer the CHM.

Picking up on an earlier point, is the tag being applied to a topic or an image?


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
Adobe Employee ,
Mar 27, 2014 Mar 27, 2014

Copy link to clipboard

Copied

LATEST

Hi

I tried at my end in RH9 and in RH 11.

I created two topic

Topic 1 and Topic 2 (having image)

I applied tag on topic 2, and filtered it through CBT on CHM output.

I checked in the output by unzipping it, image was not there. The size of CHM was smaller too.

RH removes unreferenced images or topics.

I am not sure how it is not working at your end.

Please feel free to share the project where it is not working for you.

Thanks

Amit Jha

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