[Framers] Are there limits on Conditional Expressions? If so, what are they?

Lin Sims ljsims.ml at gmail.com
Tue Apr 18 13:56:22 PDT 2017


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 <robert at 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.ml at 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 <robert at 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 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


More information about the Framers mailing list