Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Mar 2007
    Location
    Montreal, Quebec
    Posts
    125
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi gang,
    In my office people work on systems and Office Suites with different languages: French and English.
    When I create a Table of Contents from specific styles on the French system the code goes somewhat like this:
    { TOC \T "MyStyle 1;1;MyStyle 2;2" }
    Of course, I get an error message when I try to update my ToC on the English system.
    If I create the same type of entry of the English system it goes like this:
    { TOC \T "MyStyle 1,1,MyStyle 2,2" }
    Which gives me an error when updating the ToC on the French system.
    The problem is the different "separators" the French (i.e. the ; ) and English (i.e. the , ) systems use.
    Any way I could avoid modifying my ToC code when switching from English to French systems?
    Of course, when I use a ToC based on paragraph levels { TOC \O "1-2" \U } I don't have that problem (because there are no ; or , involved).
    Please help if you can.
    Thanks.
    Johanne Champagne
    Montreal (Quebec) CANADA

  2. #2
    WS Lounge VIP
    Join Date
    Mar 2006
    Location
    Maryland, USA
    Posts
    690
    Thanks
    17
    Thanked 66 Times in 56 Posts
    Quote Originally Posted by JC@OR View Post
    Hi gang,
    In my office people work on systems and Office Suites with different languages: French and English.
    When I create a Table of Contents from specific styles on the French system the code goes somewhat like this:
    { TOC \T "MyStyle 1;1;MyStyle 2;2" }
    Of course, I get an error message when I try to update my ToC on the English system.
    If I create the same type of entry of the English system it goes like this:
    { TOC \T "MyStyle 1,1,MyStyle 2,2" }
    Which gives me an error when updating the ToC on the French system.
    The problem is the different "separators" the French (i.e. the ; ) and English (i.e. the , ) systems use.
    Any way I could avoid modifying my ToC code when switching from English to French systems?
    Of course, when I use a ToC based on paragraph levels { TOC \O "1-2" \U } I don't have that problem (because there are no ; or , involved).
    Please help if you can.
    Thanks.
    If you change each style's setting to the appropriate paragraph level, you'll be able to use { TOC \o "1-2" \u }.

    Pam
    Pam Caswell

  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  4. #4
    2 Star Lounger
    Join Date
    Mar 2007
    Location
    Montreal, Quebec
    Posts
    125
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks all.
    The MS KB article would help if my problem would be internal only. Our documents travel between us and our clients.
    I will take the other route by adapting the style's setting to the appropriate paragraph level to meet my ToC needs.
    Tks again.
    Johanne Champagne
    Montreal (Quebec) CANADA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •