View Single Post
  #3   Report Post  
FrankL FrankL is offline
Junior Member
 
Posts: 2
Default REF \p Switch: language setting

Quote:
Originally Posted by Stefan Blom[_3_] View Post
If you also add the \* CHARFORMAT switch to the PAGEREF field, before
formatting the field in English, does that help?
No, unfortunately not.
I verified that CHARFORMAT is effective by also applying some character formatting to the "R" character of REF. Style is correctly used, but language does not change.

I have also tried exchanging REF by PAGEREF - same behaviour.

Finally I have even changed system language settings, default location, keyboard layout, number format etc. to English(US) - no change to the REF field.

It also happened that field expansion was slightly instable: the result changed between first and second update ("F9") between "unterhalb" and "unten", then stayed stable. But I don't know how to exactly reproduce this.


For me it feels like a bug in Word, but maybe I have missed something else?


A workaround would be a nested field like
{ IF { REF ...}="unte*" "below" "above" }
or for PAGEREF
{ IF { PAGEREF ...}="unte*" "below" { IF { PAGEREF ... }="oben" "above" "on page {PAGEREF without \p...}" } }
and place a HYPERLINK on the result (Ctrl-K) as required.
... but this tends to be too complicated for everyday use


Regards - Frank

Last edited by FrankL : July 17th 12 at 08:33 AM Reason: title was missing