Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Jessica Jessica is offline
external usenet poster
 
Posts: 34
Default Cross-reference to code line numbers with following colon

I need to cross-reference line numbers in code. The code lines are numbered
using Word's numbering, with a trailing colon and tab after each number:

1: var blah = function blah(firstparam)
2: //bunch of eventlisteners

etc.

When I use the Word cross-ref feature, it includes the trailing colon, so I
get things like "The event timer is defined in line 14: then set off in line
15:."

Is there any way I can get just the number and not the colon, without having
to manually edit each xref?

Thanks,

Jessica
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Jessica Jessica is offline
external usenet poster
 
Posts: 34
Default Cross-reference to code line numbers with following colon

After some research, I found the Ref parameter that promises to eliminate the
trailing period...but it only works if the character is a period. If you use
anything else, it just does not work.

This is what I calls a bug, or a design oversight, or something.

Still, are there any suggestions for ways to get around this?

- Jessica
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating dynamic cross reference links in a Word document torajudo Microsoft Word Help 5 April 27th 23 08:57 PM
Cross reference not updating Sally Poyzer Microsoft Word Help 4 May 25th 06 12:21 AM
How can I see a text code, such as the code for 'line return'? Blackhawk Microsoft Word Help 3 January 26th 06 09:15 PM
Bullets/numbers will not indent after first line Greg Microsoft Word Help 2 August 9th 05 12:43 AM
cross reference to a numbered item dimaneel Microsoft Word Help 1 April 4th 05 11:52 PM


All times are GMT +1. The time now is 03:27 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"