Uwe Stöhr wrote:
Attached is the patch that fixes the problem, that babel isn't called
when you are foreign languages in CJK and Armenian-documents.
I think this is now the last remaining babel bug.
Is my patch correct? It works here for all my testcases but you have
perhaps a better solution.
---
I have a stupid C++ question:
How is the syntax in C++ for this logic:
if (
(a == 1) && (b == 1) &&
((C == 1) || (C == -1))
)
I mean how can the OR be included into an AND?
Seems to me you already got this right. That if-test will
work when
a is 1 and b is 1 and
C is either 1 or -1
Don't worry about operator precedence, you can always
override that by using parentheses. That's how you get an
"or" into a chain of "ands" or vice-versa. The extra parentheses
around the C parts means that "C==-1" alone is not enough,
a==1 and b==1 is necessary too.
Helge Hafting