Search found 45 matches

by Nobumi Iyanaga
2020-04-24 20:50:57
Forum: Nisus Writer Pro Macros
Topic: add line number to a selected text
Replies: 4
Views: 10292

Re: add line number to a selected text

Hello Philip,

Thank you for your new macro. I tried it on my documents. It works perfectly.

Thank you so much again!
by Nobumi Iyanaga
2020-04-23 22:44:46
Forum: Nisus Writer Pro Macros
Topic: add line number to a selected text
Replies: 4
Views: 10292

Re: add line number to a selected text

Hello Philip,

Thanks a lot! I customized the grep pattern for my use, and it worked perfectly.

However, my document is very complicated, and cannot be processed at once. So, if possible, I would like to be able to run a similar macro on selections... Is it possible...?

Thank you in advance.
by Nobumi Iyanaga
2020-04-23 17:56:43
Forum: Nisus Writer Pro Macros
Topic: add line number to a selected text
Replies: 4
Views: 10292

add line number to a selected text

Hello, I would like to write a macro that add line number (from 1 to x...) to the beginning of each paragraph in a selected text. The macro should be able to skip paragraphs depending on some conditions that can be detected by grep patterns (for example blank lines, "^\n", or lines beginni...
by Nobumi Iyanaga
2019-03-01 20:57:32
Forum: Nisus Writer Pro Macros
Topic: A macro converting numbered texts to endnotes
Replies: 9
Views: 19862

Re: A macro converting numbered texts to endnotes

Hello Philip,

Thank you for your reply.

> So it seems Martin was taking this pattern quite literally.

Ah, now I understand...!

I must be more careful when I give an example text!
by Nobumi Iyanaga
2019-03-01 06:55:08
Forum: Nisus Writer Pro Macros
Topic: A macro converting numbered texts to endnotes
Replies: 9
Views: 19862

Re: A macro converting numbered texts to endnotes

Hello Philip, Thank you for your reply and your lesson. Thanks to it, I could understand the cryptic find pattern. I tried the formula '(?<!\d|^)\d+' on my document and could find that it matches all the reference numbers in the notes text. But then I don't understand the find pattern at the line 33...
by Nobumi Iyanaga
2019-02-28 22:14:41
Forum: Nisus Writer Pro Macros
Topic: A macro converting numbered texts to endnotes
Replies: 9
Views: 19862

Re: A macro converting numbered texts to endnotes

Thank you very much, Philip and Martin, for your macros. I tested them on my problematic file. None of them worked the first time, but I could get Philip's last macro work with a slight modification. I think the main problem was that the example that I gave in my first post was not good -- not suffi...
by Nobumi Iyanaga
2019-02-25 17:48:58
Forum: Nisus Writer Pro Macros
Topic: A macro converting numbered texts to endnotes
Replies: 9
Views: 19862

A macro converting numbered texts to endnotes

Hello, I need a macro that would convert a plain text in which are inserted numbers, followed by a text with paragraphs preceded by numbers, to a text with endnotes. Here is how the current text is: Lorem ipsum dolor sit amet1, consectetuer adipiscing elit2. Etiam lobortis facilisis sem3. ... Nullam...
by Nobumi Iyanaga
2018-06-10 18:37:19
Forum: Nisus Writer Pro Macros
Topic: Insert paragraph numbers at the beginning of paragraphs
Replies: 5
Views: 16526

Re: Insert paragraph numbers at the beginning of paragraphs

Hello Philip,

The two macros work perfectly now. Thanks so much!
by Nobumi Iyanaga
2018-06-10 15:46:31
Forum: Nisus Writer Pro Macros
Topic: Insert paragraph numbers at the beginning of paragraphs
Replies: 5
Views: 16526

Re: Insert paragraph numbers at the beginning of paragraphs

Hello Philip, Thank you as always for your excellent macro. It works very well. However, there is a problem: that is the macro inserts the number "0001" at the beginning of the footer (having the page number...), so that all the digits are the actual number of the paragraphs + 1. I thought...
by Nobumi Iyanaga
2018-06-10 03:36:56
Forum: Nisus Writer Pro Macros
Topic: Insert paragraph numbers at the beginning of paragraphs
Replies: 5
Views: 16526

Insert paragraph numbers at the beginning of paragraphs

Hello, I need a macro that inserts the paragraph numbers at the beginning of all paragraphs in a document, with four digits (like "0001", "0002"), and a "tab". I looked for if such a macro is not already in this forum, and found at least a candidate in the topic "A...
by Nobumi Iyanaga
2018-03-19 04:32:50
Forum: Nisus Writer Pro Macros
Topic: How to select all note reference and make change to them?
Replies: 6
Views: 16590

Re: How to select all note reference and make change to them?

Hello phspaelti,

Wow! Thank you very much! You satisfied all my requests.

Thank you so much again!
by Nobumi Iyanaga
2018-03-17 15:33:58
Forum: Nisus Writer Pro Macros
Topic: How to select all note reference and make change to them?
Replies: 6
Views: 16590

Re: How to select all note reference and make change to them?

Thank you very much, Þorvarður and phspaelti, for your respective solutions. Þorvarður's macro worked well for me -- except that for some reason that I don't understand, it inserted 208 extra spaces after the first note reference in note (there are 207 notes in all in the document). phspaelti's macr...
by Nobumi Iyanaga
2018-03-15 07:13:31
Forum: Nisus Writer Pro Macros
Topic: How to select all note reference and make change to them?
Replies: 6
Views: 16590

How to select all note reference and make change to them?

Hello,

Here is what I would like to achieve:
Select all the note references (in the main text and notes);
changes their font
add a space after the note reference in the notes.

Could anyone show me how to do this?

Thank you very much in advance!

Best regard,

Nobumi Iyanaga
Tokyo,
Japan
by Nobumi Iyanaga
2017-07-23 06:21:12
Forum: Nisus Writer Pro Macros
Topic: macro to delete "tracks" containing certain characters
Replies: 6
Views: 14600

Re: macro to delete "tracks" containing certain characters

Hello Martin, Hello Philip, Thank you for your new macro, Martin. I downloaded it and used it. It works perfectly, as I have expected. This helped much, and now, with much less "track changes", I can edit my document without difficulties. Thank you very much again! As Philip points out, yo...
by Nobumi Iyanaga
2017-07-20 06:22:12
Forum: Nisus Writer Pro Macros
Topic: macro to delete "tracks" containing certain characters
Replies: 6
Views: 14600

Re: macro to delete "tracks" containing certain characters

Hello Martin, Thank you for your reply and your excellent macro! You wrote: Here's a macro that finds text in tracked changes. It will search all tracked deletions and replacements in your document, selecting those whose original (ie: deleted) text matches the search text. You can then either accept...