Search found 1186 matches

by phspaelti
2013-05-02 02:01:20
Forum: Nisus Writer Pro Macros
Topic: Macro for SwordSearcher to USFM
Replies: 19
Views: 21770

Re: Macro for SwordSearcher to USFM

Hi Eric, check the last version (v5). I have changed things around, added comments, and added some formatting to make thing easier to read. The marker \p can be mid-verse – not necessarily at the beginning of the verse or at the beginning of the line. If it's mid-verse, it does not start on a new li...
by phspaelti
2013-05-01 20:15:00
Forum: Nisus Writer Pro Macros
Topic: Macro for SwordSearcher to USFM
Replies: 19
Views: 21770

Re: Macro for SwordSearcher to USFM

While the above should do most of what you wanted there is still a small problem with the Pilcrow. Right now the following: $$ Ge 1:1 ¶ In the beginning GOD created the heaven and the earth. Will be turned into: \id GEN \c 1 \v 1 \p In the beginning \nd God\nd* created the heaven and the earth. But ...
by phspaelti
2013-05-01 19:48:07
Forum: Nisus Writer Pro Macros
Topic: Macro for SwordSearcher to USFM
Replies: 19
Views: 21770

Re: Macro for SwordSearcher to USFM

And now version 4 also handles deity names (converting them from All-caps to Capitalized.
Bible v4.nwm
(20.78 KiB) Downloaded 637 times
by phspaelti
2013-05-01 17:44:25
Forum: Nisus Writer Pro Macros
Topic: Macro for SwordSearcher to USFM
Replies: 19
Views: 21770

Re: Macro for SwordSearcher to USFM

The "barebones" macro you made give this: \id Ge \c 1 \v 1 In the beginning God created the heaven and the earth. Based on the intent of changing only references, it actually should be this: \id Ge \c 1 \v 1 In the beginning God created the heaven and the earth. \v 2 And the earth was without form,...
by phspaelti
2013-05-01 06:41:28
Forum: Nisus Writer Pro Macros
Topic: Macro for SwordSearcher to USFM
Replies: 19
Views: 21770

Re: Macro for SwordSearcher to USFM

Ok, so now here is an extended version of the previous macro. This adds a few things: It adds the change in abbreviations. In the macro this is done with a hash. This currently only covers the case of Ro -> ROM , but can easily be expanded. Ideally this expansion would also be done with a macro. Ask...
by phspaelti
2013-05-01 06:06:24
Forum: Nisus Writer Pro Macros
Topic: Macro for SwordSearcher to USFM
Replies: 19
Views: 21770

Re: Macro for SwordSearcher to USFM

Here a few explanations to my 'barebones' macro. The first line of the macro is: $doc = Document.active This creates a document object, since to do just about anything in Nisus macro language you need a document object. Pretty much any macro will start with a line like that. Find All '^\$\$ [123]?[A...
by phspaelti
2013-05-01 04:37:50
Forum: Nisus Writer Pro Macros
Topic: Macro for SwordSearcher to USFM
Replies: 19
Views: 21770

Re: Macro for SwordSearcher to USFM

NisusUser wrote:1. Pilcrows will not always be at the beginning of verses.
Well the reason I ask, is that in your example you place the pilcrow before the verse marker. So is that the normal rule in such cases? What happens to the ones that are not at the beginning of a verse?
by phspaelti
2013-05-01 03:24:47
Forum: Nisus Writer Pro Macros
Topic: Macro for SwordSearcher to USFM
Replies: 19
Views: 21770

Re: Macro for SwordSearcher to USFM

Hello Eric, well PowerFind is regex, but what I meant was you need to write a "real" macro for this. I am appending a very bare bones version here. This doesn't address the footnotes, or the change of abbreviation names yet (or the pilcrows). But they can be added easily following the same format. B...
by phspaelti
2013-05-01 02:38:28
Forum: Nisus Writer Pro Macros
Topic: Macro for SwordSearcher to USFM
Replies: 19
Views: 21770

Re: Macro for SwordSearcher to USFM

Just some quick questions: 1. About the pillcrow. Is this always placed at the beginning of a verse? 2. Checking your sample file I noticed that one footnote (in Ro 10:4) does not have a closing bracket. Is that an error? Can one assume that these footnotes always (should always) come in matching pa...
by phspaelti
2013-05-01 02:19:55
Forum: Nisus Writer Pro Macros
Topic: Macro for SwordSearcher to USFM
Replies: 19
Views: 21770

Re: Macro for SwordSearcher to USFM

Hello NisusUser, this is certainly doable. Let me make however one general comment. While regex is great, when things get this complicated you will definitely be better off if you take an approach which first reads in the info--in your case, the chapter/verse numbers, etc., and even the text--and th...
by phspaelti
2013-04-30 19:35:45
Forum: Nisus Writer Pro
Topic: Changing the Size of Bullets in a List
Replies: 6
Views: 5713

Re: Changing the Size of Bullets in a List

Here's how I type directly into the bullet pull-down menu in the list settings. (Note: this will only "take" once you move the cursor to a different field of the list settings.) Nisus Custom Bullet.jpg Here is how I format the bullet in the style menu. Nisus Format Custom Bullet.jpg Here is the resu...
by phspaelti
2013-04-30 00:12:59
Forum: Nisus Writer Pro
Topic: Changing the Size of Bullets in a List
Replies: 6
Views: 5713

Re: Changing the Size of Bullets in a List

First of all what character are you using for the box? (The box in my bullet list is U+2610 which is definitely too big.) You can actually insert a different character into the bullet definition. This works. So you could use U+25A1 or U+25AB instead. Otherwise to set the font or size of the bullet, ...
by phspaelti
2013-04-24 17:19:14
Forum: Nisus Writer Pro
Topic: letterhead help
Replies: 4
Views: 4146

Re: letterhead help

I just want to put my name and title in larger font with my address and contact information underneath, centered. I tried to put it in the header of the first page and then mark "different first page" in the list of selections but what this does is leave the first page header blank and put my infor...
by phspaelti
2013-04-04 04:58:44
Forum: Nisus Writer Pro
Topic: Find not working on document
Replies: 10
Views: 7885

Re: Find not working on document

I can't quite imagine "can't find anything". First question: you are not doing a "Attribute Sensitive" search? (If no) Second question: you start with a blank find box and then use "." (AnyTextCharacter), and this finds nothing? Does this problem persist after a restart? On all files or only certain...
by phspaelti
2013-04-01 10:47:03
Forum: Nisus Writer Pro Macros
Topic: How to pause macro when menu dialog is opened?
Replies: 4
Views: 8181

Re: How to pause macro when menu dialog is opened?

I seem to be in deja-vu land, but I can't find the previous discussion. My earlier suggestion seems to work, for multiple cross-references, if you keep the "prompt $num" instruction . This has something to do with the updating of the GUI while a macro is running. Once you take the "prompt" line out ...