Search found 563 matches

by adryan
2019-09-02 23:00:43
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 36321

Re: Table Format for Sort by date?

G'day, wF et al

It sorts Tables for me, without any error messages.

Are you using NWP 3.0.3? That command is definitely there in the Edit hierarchical menu.

Cheers,
Adrian
by adryan
2019-09-02 14:09:17
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 36321

Re: Table Format for Sort by date?

G'day, wF et al All eight of those most recently uploaded macros are new versions. Version numbers would be a good idea. Next time! You don't need to test them all if you don't want to. The Sort by Date macros are standalone macros, incorporating the code from the Date macros rather than merely refe...
by adryan
2019-09-02 07:13:24
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 36321

Re: Table Format for Sort by date?

G’day, all

Date ISO → AU.nwm
(22.78 KiB) Downloaded 593 times

Date ISO → AU Ordinal.nwm
(23.65 KiB) Downloaded 586 times

Cheers,
Adrian
by adryan
2019-09-02 07:10:13
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 36321

Re: Table Format for Sort by date?

G’day, all

Date ISO → US.nwm
(22.78 KiB) Downloaded 602 times

Date ISO → US Ordinal.nwm
(23.65 KiB) Downloaded 628 times

Date AU → ISO.nwm
(23.2 KiB) Downloaded 587 times

Cheers,
Adrian
by adryan
2019-09-02 07:05:28
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 36321

Re: Table Format for Sort by date?

G’day, all My aim all along in this project has been to devise a sorting routine that would work in a variety of situations, not just in Tables. In these broader contexts, things that look a bit like dates or parts thereof may not necessarily be the appropriate sort targets. I think I’ve now address...
by adryan
2019-09-02 01:52:59
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 36321

Re: Table Format for Sort by date?

G'day, wF, Philip et al Full marks for the heroic testing effort, wF! I much appreciate your going to the trouble of testing all the solutions Philip and I have offered. Thanks for pointing out the erroneous ordinal expressions in my macros. How silly of me! Sorry about that. I think I’ve now rectif...
by adryan
2019-08-31 17:10:58
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 36321

Re: Table Format for Sort by date?

G'day, wF et al

How about this one? As long as the date comes first, it will operate on a selection to sort ordinary paragraphs, list items and tables. The day of the month is allowed to be expressed as an ordinal.

Sort by Date US.nwm
(24.41 KiB) Downloaded 633 times

Cheers,
Adrian
by adryan
2019-08-31 13:52:54
Forum: Nisus Writer Pro
Topic: Library of styles
Replies: 10
Views: 13549

Re: Library of styles

G'day, Yohanan et al My suggestion would be that you create a series of template documents, each designed for a specific purpose and containing a tailor-made set of Styles appropriate for documents derived from that template. You might have different templates for business letters, specific legal do...
by adryan
2019-08-31 02:21:37
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 36321

Re: Table Format for Sort by date?

G’day, all

And just in case there are any Australians out there who use the format “21 December, 2019” or the ordinal equivalent, here is another set of macros:–

Date AU → ISO.nwm
(22.15 KiB) Downloaded 668 times

Date ISO → AU.nwm
(22.81 KiB) Downloaded 681 times

Date ISO → AU Ordinal.nwm
(23.11 KiB) Downloaded 661 times

Cheers,
Adrian
by adryan
2019-08-31 01:11:49
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 36321

Re: Table Format for Sort by date?

G'day, Philip et al I think that does everything that's required for wF's purpose, Philip, as long as every cell in the selected column actually contains something from which a date can be extracted. Perhaps I should clarify some things about my approach. Although wF is dealing with a table, I sough...
by adryan
2019-08-30 20:06:24
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 36321

Re: Table Format for Sort by date?

G'day, Philip, wF et al I knew there'd be some way to get the macro language to do this. :-) Thanks to Philip for showing how it's done. All sorts of variants are possible here. I guess my approach would be to decide on my own immediate and anticipated needs, and then devise a fairly general solutio...
by adryan
2019-08-30 17:23:36
Forum: Nisus Writer Pro
Topic: Table Format for Sort by date?
Replies: 31
Views: 36321

Re: Table Format for Sort by date?

G'day, wF et al Apple's Numbers is a free and very powerful spreadsheet application, available for both macOS and iOS. But one does not want to resort to another application for this purpose. Here are two macros that operate on selections. One converts US dates to ISO 8601 format (viz, YYYY-MM-DD); ...
by adryan
2019-08-28 14:23:04
Forum: Nisus Writer Pro
Topic: Print specific pages
Replies: 16
Views: 19920

Re: Print specific pages

G'day, Martin et al Thanks for another great addition to the macro collection, Martin. With respect to my distrust of the Mac's PDF system, it's born of long experience — including yet again yesterday, as a matter of fact. I think there are two factors involved. One is that line wrapping appears dif...
by adryan
2019-08-28 02:17:07
Forum: Nisus Writer Pro
Topic: Print specific pages
Replies: 16
Views: 19920

Re: Print specific pages

G'day, all It occurred to me that, since I had CUPS-related files for my Brother printer installed in one of my Libraries, perhaps I could, without any preamble at all, simply use CUPS commands in Terminal to print files. And so it proved! All I had to do was connect the printer, open Terminal, ente...
by adryan
2019-08-26 16:54:58
Forum: Nisus Writer Pro
Topic: Print specific pages
Replies: 16
Views: 19920

Re: Print specific pages

G'day, johseb, Martin et al I'm not a fan of relying on Apple's PDF system if it can be avoided. I think I've found another solution to johseb's original problem, but I'm not quite sure how to implement it. The CUPS environment offers a command for selecting a range (or several comma-separated range...