Re: [Framers] Condition expression for conditional text

2019-12-23 Thread Lynne A. Price

Doug,
   You are quite welcome. I think you will find that the boolean 
expressions are much easier to manage than the large number of tags that 
would be needed to use Show and Hide.

    --Lynne

On 12/23/2019 6:51 AM, Doug wrote:

I just now tried out your suggestion using the original version of my
chapter.  The results were just as you predicted, everything displayed as I
had hoped.  The "40" and not("PDF") did the trick; it is the kind of
expression I originally had in mind though the wording hadn't occurred to
me.

Thanks!



--
Lynne A. Price
Text Structure Consulting, Inc.
Specializing in structured FrameMaker consulting, application development, and 
training
lpr...@txstruct.comhttp://www.txstruct.com
voice/fax: (510) 583-1505  cell phone: (510) 421-2284

___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com

Re: [Framers] Condition expression for conditional text

2019-12-23 Thread Doug
Lynne,

I just now tried out your suggestion using the original version of my
chapter.  The results were just as you predicted, everything displayed as I
had hoped.  The "40" and not("PDF") did the trick; it is the kind of
expression I originally had in mind though the wording hadn't occurred to
me.

Thanks!

Doug

On Fri, Dec 20, 2019 at 1:52 PM Lynne A. Price  wrote:

> In your situation, you must use conditional expressions. You'll need
> 8 of them, one for PDF and one for HTML for each chapter. Use View >
> Show/Hide Conditional Text to define all 8 of them in the chapter and
> then apply the one you want.
>
> There are a couple of problems with the expressions Doug has used. I
> believe the tag names have to be in quotes. Also, Doug has started his
> expression for the PDF version of  book 40 with:
>
>  not  ("41" or "42" or "44" or "HTML")
>
> That will exclude anything with tagged 40 and any of the other book
> tags. In particular, it will exclude your "except 44" case, which will
> be tagged with 40, 41, and 42. Instead, assuming you will never tag
> something with both HTML and PDF, you can use simply:
>
>  "40" and not("PDF")
>
> The other 7 expressions follow this model.
>  --Lynne
>
>
___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com