[Framers] Conditional Expression build crashing FrameMaker with Internal Errors

Fred Ridder DocuDoc at hotmail.com
Tue May 10 14:39:06 PDT 2016


Assuming that there is a legitimate use case for having content that is tagged as both IP A and Internal, the most foolproof way of doing this is to define an "IP A + Internal" tag so that the content has only a single condition tag applied to it. You would probably also define an "IP B + Internal" tag and a "Common Internal" tag. 

Then at build/publish time for the IP A and Cust01 case you use in your example, it's a simple matter of including content tagged with either the IP A or Cust01 conditions and excluding all other conditions including the "IP A + Internal" condition.  

-FR

________________________________________
From: Framers <framers-bounces+docudoc=hotmail.com at lists.frameusers.com> on behalf of Robert Lauriston <robert at lauriston.com>
Sent: Tuesday, May 10, 2016 5:02 PM
To: Lin Sims; framers at lists.frameusers.com
Subject: Re: [Framers] Conditional Expression build crashing FrameMaker with Internal Errors

Generally speaking, when defining a set of conditions, you want to (1)
minimize the amount of text that has to be tagged, (2) minimize
multiple tagging, (3) maximize unconditional text, and (4) define the
minimum number of conditions to achieve that.

Sometimes that means defining conditions for text to be included,
other times it means defining conditions for text to be excluded. Best
practice, those should be named so as to indicate their function, for
example IncludeInFoo, OnlyInFoo, and ExcludeFromFoo.

I'm not sure why an Internal tag would ever be combined with any other
tag. External should be unnecessary since it means the same thing as
the absence of the Internal tag.

On Tue, May 10, 2016 at 1:21 PM, Lin Sims <ljsims.ml at gmail.com> wrote:
> Yours is a more elegant solution. As I said before, this is my first
> go-around with Conditional expressions. It didn't help at all that the
> standard I was told to apply here was to tag text with the condition for the
> book I want to produce. That produced some odd results I can no longer
> recall (mostly because I had text tagged for both Internal and Cust01).
>
> What I wound up with, in variations, is as follows:
>
> For a book where I want IP A and Cust01, but not IP B or Internal, I used:
>
> "IP A" or "Cust01" and not ("IP B" or ("IP A" and "Internal"))
>
> It works.
>
>
>
>
> On Tue, May 10, 2016 at 3:35 PM, Robert Lauriston <robert at lauriston.com>
> wrote:
>>
>> ("A" or "External" or ("A" and "External")) could be simplified to
>>
>> ("A" or "External")
>>
>> not (("A" and "Internal") or "B" or ("B" and "External") or "TBP or
>> "WriterNote")
>>
>> could be simplified to
>>
>> not ("A" and "Internal") or "B"  or "TBP or "WriterNote")
>>
>> But it's not clear why you can't just use
>>
>> not ("Internal" or "B"  or "TBP or "WriterNote")
>> _______________________________________________
>>
>> This message is from the Framers mailing list
>>
>> Send messages to framers at 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 listadmin at frameusers.com
>
>
>
>
> --
> Lin Sims
_______________________________________________

This message is from the Framers mailing list

Send messages to framers at 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 listadmin at frameusers.com


More information about the Framers mailing list