Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-22-2018, 07:12 AM
Rajesoz Rajesoz is offline How to customize subentries in an index Windows 7 64bit How to customize subentries in an index Office 2010 32bit
Novice
How to customize subentries in an index
 
Join Date: May 2018
Posts: 4
Rajesoz is on a distinguished road
Question How to customize subentries in an index

Hello,

I have created an index using the entries thanks to the "References" menu. For some entries, I used the "Subentry" option and when inserting the index, I used the "Run-in" type instead of the default "Indented" type.

The subentries in my index are shown after each main entry, after the ": " characters. My document is in French, so ": " (i.e. colon, space) must be replaced by " : " (space, colon, space).

Is there a way to force Word to use my language punctuation?

My index currently looks like this:
accélération, 7, 20
distance, 8, 10; Terre-Lune, 17; Terre-Soleil, 19
position, 14, 23


temps: chronologie, 12, 24; météorologie, 15, 21
vitesse: de la lumière, 4, 12 ; du son, 2, 17

What I want it to look like (see colons and semi-colons):
accélération, 7, 20
distance, 8, 10 ; Terre-Lune, 17 ; Terre-Soleil, 19
position, 14, 23
temps : chronologie, 12, 24 ; météorologie, 15, 21
vitesse : de la lumière, 4, 12 ; du son, 17

Thanks in advance !
Reply With Quote
  #2  
Old 05-22-2018, 07:36 PM
macropod's Avatar
macropod macropod is offline How to customize subentries in an index Windows 7 64bit How to customize subentries in an index Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You need to apply the appropriate separator switch and/or language switch to your INDEX field. See: https://support.office.com/en-us/art...7-743da1635d9e
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 05-23-2018, 01:54 AM
Rajesoz Rajesoz is offline How to customize subentries in an index Windows 7 64bit How to customize subentries in an index Office 2010 32bit
Novice
How to customize subentries in an index
 
Join Date: May 2018
Posts: 4
Rajesoz is on a distinguished road
Default

My INDEX field already use the \z switch with language code 1036 (i.e. French), that's why it is mysterious to me. I couldn't see any difference in my index with or without the language switch, but it is probably unnoticeable.

Here is what my index field currently looks like :
{INDEX \r \z "1036"}

Maybe I can replace the ": " manually thanks to fields, just like the \d \e \g \k or \l switches, but I couldn't find one for subentries.

Apart from my language, how does an English-speaking user do to change the default ": " mark if it is not to their liking?
Reply With Quote
  #4  
Old 05-23-2018, 02:51 AM
macropod's Avatar
macropod macropod is offline How to customize subentries in an index Windows 7 64bit How to customize subentries in an index Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Manually editing the field display is fairly pointless, as Word will re-set it immediately anything causes the field to refresh (e.g. printing, or print preview).

It appears the behaviour you're seeing is the result of using the \r switch. As documented in the link I gave you:
Quote:
\r
Runs subentries into the same line as the main entry. Colons (:​) separate main entries from subentries; semicolons (;​) separate subentries. The field { INDEX \r } displays entries such as "Text: inserting 5, 9; selecting 2; deleting 15".
Thus, the behaviour is by design and there appears no way to change it.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 05-23-2018, 11:41 PM
eNGiNe eNGiNe is offline How to customize subentries in an index Windows 7 32bit How to customize subentries in an index Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default

French typography, for whatever reason, likes to scatter thin spaces around when it runs across punctuation; see http://unicode.org/udhr/n/notes_fra.html for an overview. I'm fairly sure I've seen Word applying this convention in body text when the language is set to French, but I've never had to create an index there. Would setting language=French in the style for the index output help?
Reply With Quote
  #6  
Old 05-24-2018, 12:08 AM
macropod's Avatar
macropod macropod is offline How to customize subentries in an index Windows 7 64bit How to customize subentries in an index Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The OP has already done that via the \z "1036" witch in the field. The \r switch specs I quoted don't seem to contemplate any language subtleties.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 05-28-2018, 05:40 AM
eNGiNe eNGiNe is offline How to customize subentries in an index Windows 7 32bit How to customize subentries in an index Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default

Hm. I'm getting the same results as OP. When I type in a paragraph styled with French as the language, Word automagically injects a finespace before the colon. I set up index entries inside these French-language paragraphs, set the index language to French, use the \r option to run sub-entries into the same line … and even if I set the Index 1 style to French, no sign of the required finespace before a colon.

An oversight, perhaps?
Reply With Quote
  #8  
Old 05-28-2018, 05:49 AM
macropod's Avatar
macropod macropod is offline How to customize subentries in an index Windows 7 64bit How to customize subentries in an index Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Perhaps, but it's performing exactly as specified.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #9  
Old 05-29-2018, 12:01 AM
eNGiNe eNGiNe is offline How to customize subentries in an index Windows 7 32bit How to customize subentries in an index Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default

Sorry to harp on it, but I'd suggest that while the index field is behaving as specified the style for the index output is letting the side down; and doesn't match the behaviour of styles for body text with similar settings. To put it another way – we're all right, but nobody wins :-}
Reply With Quote
  #10  
Old 05-29-2018, 01:21 AM
macropod's Avatar
macropod macropod is offline How to customize subentries in an index Windows 7 64bit How to customize subentries in an index Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Since it seems to be an issue, I'd suggest raising it via http://word.uservoice.com/
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
formatting, index, subentries



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a I create an index in a word document where index entries control sections of the document? pfriorda Word 3 12-28-2017 08:02 PM
Get Paragraph index from bookmark starting index vince692 Word VBA 6 05-13-2016 04:51 AM
How to customize subentries in an index Keyboard customize mbouchier Word 1 11-25-2013 10:10 PM
How to customize subentries in an index Indexing - Subentries godofpool Word 1 07-09-2012 11:28 AM
How to customize subentries in an index customize hotkeys userman Outlook 1 06-06-2012 11:17 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft