NISUS Archives

January 2019

NISUS@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 25 Jan 2019 09:52:14 +0900
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (1170 bytes) , text/html (4 kB)
Hello Takamitsu,
You could try the following macro:

# Index Bible Verses with Book
$sel = TextSelection.active
$verse = $sel.substring
Find @String(\<\d?[[:upper:]][[:lower:]]{1,4}\>), 'Er-W-i'
$book = Read Selection
TextSelection.setActiveRange $sel.range
prompt "Will index this as:", "$book $verse"
Add to Text Index As "$book $verse"


Philip

> On Jan 23, 2019, at 19:23 , takamitsu Muraoka <[log in to unmask]> wrote:
> 
> Dear friends,
> 
> I wonder if someone could help.
> When you have a series of references to a biblical book, for instance, with the name of the book first, then a series of references, I would like to use "Index as". E.g. 1Sam 3.4, 5.6, 7.8, 12.10. At the moment  for the the last three references, I first select "1Sam", copy it, then apply "Index a" to the last three references, by manually copying "1Sam" in front of the numbers. Sometimes, however, without me doing anything, when I press "Index as", "1Sam 5.6" appears in the window, and then I just press "Mark." Is there something I can do in order to spare myself this nuisance?
> 
> Best wishes,
> Takamitsu MURAOKA
> 村岡崇光

Philip Spaelti
[log in to unmask]







ATOM RSS1 RSS2