Excluding all graphics in Quick Reference Guides

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.
Post Reply
nluoma
Propeller Head
Posts: 14
Joined: Thu Sep 13, 2007 7:53 am

Excluding all graphics in Quick Reference Guides

Post by nluoma »

I am trying to really push the single-source capabilities of Flare. Right now I write detailed how to topics, including several graphics, which are available online. I then output these complete documents to Word in a single-column format in Word to provide detailed training/reference manuals for new employees.
I also produce two column Quick Reference Guides in Word, which only includes the actual steps and omits the graphics. I currently produce these by cut-and-paste--make the complete document then cut-and-paste into my QRG template. I think the new Page Layouts will allow me to easily create the two column structure. What I'm interested in is a way to omit the graphics in the Quick Reference Guide. I know I can use conditional markers to flag all the graphics, then omit those markers when outputting the QRG. However, this will require a lot of overhead to set up. Does anyone know of a faster way to exclude teh graphics in a specific target?
DoCo
Propeller Head
Posts: 47
Joined: Tue May 26, 2009 3:18 am
Location: Belgium

Re: Excluding all graphics in Quick Reference Guides

Post by DoCo »

Hi,

Instead of using Conditional Markers, you could create a specific medium for your Quick Reference Guide Target and set the img block property to display: none.
If you do not want to discard all the images of your QRG, you can only apply this setting to a class of image.

HTH

DoCo
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Excluding all graphics in Quick Reference Guides

Post by LTinker68 »

nluoma wrote:However, this will require a lot of overhead to set up. Does anyone know of a faster way to exclude teh graphics in a specific target?
Yes. Apply a conditional tag to the folder containing the images. All files within that folder will be excluded from the output, so you don't need to condition the images in the topics -- that's already being done at the folder level.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
DurtyMat
Sr. Propeller Head
Posts: 224
Joined: Wed Aug 22, 2007 8:09 am
Location: ClrH2o, Fl

Re: Excluding all graphics in Quick Reference Guides

Post by DurtyMat »

LTinker68 wrote:
nluoma wrote:However, this will require a lot of overhead to set up. Does anyone know of a faster way to exclude teh graphics in a specific target?
Yes. Apply a conditional tag to the folder containing the images. All files within that folder will be excluded from the output, so you don't need to condition the images in the topics -- that's already being done at the folder level.

wouldnt this leave a blank line in the documentation where the image was?
Flare: I bought it ... so that means I can break it, right?
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Excluding all graphics in Quick Reference Guides

Post by LTinker68 »

Yeah, probably, but I think setting the img tag to display: none does the same thing. In both cases you're essentially leaving behind an empty paragraph tag. I should also point out that if you have a caption under the image then the caption wouldn't disappear. The only way to get around the blank lines is to go into every topic and apply a condition to the image and caption paragraphs, which is the very work that the poster wanted to avoid.

So conditioning out the images at the folder level is the fastest way to hide the images if you're on a tight deadline, but in the long-term I would go into the topics and apply a condition to the paragraph containing the images to be hidden.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
DurtyMat
Sr. Propeller Head
Posts: 224
Joined: Wed Aug 22, 2007 8:09 am
Location: ClrH2o, Fl

Re: Excluding all graphics in Quick Reference Guides

Post by DurtyMat »

well....you could have done this:

create a paragraph style called: picture, apply fancy style elements.
insert an image with the p style applied
so you have <p class="picture"><img></img></p> in your scoure code
FnR for: <p class='picture'> and replace with <p class="picture" MadCap:conditions="default.PrintOnly">

removes the extra line and applies a print only property, you can obviously exchange PrintOnly with QRefGuide or ReadersDontLookAnyway :D
Flare: I bought it ... so that means I can break it, right?
Post Reply