The shorter expression in your original post:

not ( "DocIss" or "Internal" or "LP" or "LPvA" or "LPvB" or "LPvC" or "NoSeeEm"
or "SAS4vB" or "SAS4vC" or "TBP" or "WriterNote" ) or ( "SAS4" and ( "LPvB" or
"LPvC" ) ) and not ("TBP" or "Internal") or ( "SAS4vA" and ( "LPvB" or "LPvC"
) ) and not ("TBP" or "Internal")

That would return everything that has none of these tags:

( "DocIss" or "Internal" or "LP" or "LPvA" or "LPvB" or "LPvC" or "NoSeeEm"
or "SAS4vB" or "SAS4vC" or "TBP" or "WriterNote" )

plus everything selected by this statement:

( "SAS4" and ( "LPvB" or
"LPvC" ) ) and not ("TBP" or "Internal") or ( "SAS4vA" and ( "LPvB" or "LPvC"
) ) and not ("TBP" or "Internal")

On Tue, Apr 18, 2017 at 1:56 PM, Lin Sims <ljsims...@gmail.com> wrote:
> Which shorter expression? This one?
>
> "LITEvA" and ( ( "LP" or "LPvA" or "LPvB" or "LPvC" or "SAS4" or "SAS4vA" or
> "SAS4vB" or "SAS4vC" ) and not (  "Internal" or "TBP" ) ) and not (
> "DocIss" or "NoSeeEm" or "WriterNote" )
>
> Because it didn't work, although it's entirely probably I misunderstood
> what you were trying to tell me while constructing it. The last couple of
> weeks have been long and frantic, and this was a major reason why. At this
> point, my brain has run out my ears, and I'm looking for instructions on
> how to use a toothpick. <wry smile>
>
>
> On Tue, Apr 18, 2017 at 4:22 PM, Robert Lauriston <rob...@lauriston.com>
> wrote:
>
>> The shorter expression returns everything that is NOT tagged with
>> anything in the ( "DocIss" or ... "WriterNote") set, PLUS everything
>> that matches ("LITEvA" and (("LP" or ... or "SAS4vC") and not ("TBP"
>> or "Internal"))).
>>
>> You might try running the first one through a utility that simplifies
>> logical expressions.
>>
>> http://stackoverflow.com/questions/14902141/any-good-boolean-expression-
>> simplifiers-out-there
>>
>> On Tue, Apr 18, 2017 at 1:08 PM, Lin Sims <ljsims...@gmail.com> wrote:
>> > I wish. But my boss wants unstructured, so I'm sorta stuck.
>> >
>> > At least the long expression works properly. I just wish I understood why
>> > the shorter one (which to me looks logically the same) doesn't. Ah, well.
>> >
>> > On Tue, Apr 18, 2017 at 4:02 PM, Robert Lauriston <rob...@lauriston.com>
>> > wrote:
>> >
>> >> DocBook and DITA have a much more sophisticated approach to
>> >> conditional text. There are multiple profiling attributes that can
>> >> have multiple values. Thus the parameters you use when processing
>> >> output are simple and human-readable.
>> >>
>> >> In my main docs, currently I use audience (public / internal) and
>> >> condition (public / tech writer only). Both default to public, so I
>> >> don't have to do anything to hide internal and tech-writer-only
>> >> elements.
>> _______________________________________________
>>
>> 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
>>
>
>
>
> --
> Lin Sims
> _______________________________________________
>
> 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
_______________________________________________

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

Reply via email to