Search found 15 matches

by kamran
2011-01-24 15:38:37
Forum: Nisus Writer Pro
Topic: ePub
Replies: 1
Views: 3456

ePub

I can't wait to see a good ePub output from Nisus as most technical publishing is going that way - what I see on the market is mostly bad, almost all have great difficulty in handling the images right.
by kamran
2009-07-08 14:19:26
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

I think we are ready to distribute this to the wider community for further testing, moaning, and use. (there is some issue with u0644 rules (and possibly with others) when a vowel mark (u0651) disappears when kashida are inserted. I can resolve this problem by extending disallowed list for u0644-rul...
by kamran
2009-07-08 09:04:08
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

I should have said "lines consisting entirely of arabic characters that cannot or non-arabic..."
by kamran
2009-07-08 08:59:13
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

I think the macro is about ready for prime time. We have taken care of empty lines, but not of lines that have arabic characters that cannot or non-arabic characters that obviously do not take a kashida. Under these conditions in the middle of a selection, the macro exits. It would be "nice&quo...
by kamran
2009-07-07 14:00:55
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

Even better! But it needs a test to skip over empty lines (extra paragraph break) and continue. It should probably also have test to skip over column or page break that I have not tested yet. Also, occasionally people insert vowel marks like \u061a or \u0650 at word-end (not recognized as word-bound...
by kamran
2009-07-07 12:57:00
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

So I take care of my fatal flaw by adding (?!\u0020) to the kashida character list.

Do not know enough to add repetition so it works for all paragraphs in a selection.
by kamran
2009-07-07 12:45:52
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

It works - except for one fatal flaw in my logic - Kashida cannot be inserted if the letter is the last character of the word or in other words, if it is followed by a "space" character. And one minor detail: it should work on every last line in a paragraph in a selection. This way one cou...
by kamran
2009-07-07 08:23:20
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

Thanks, Martin. I will try your concoction. Let me know when you post the final version of the script. Here is the extended list of letters that can be followed by a kashida. u0628 u062a-u062e u0633-u063a u0641-0643 0644 (but not when followed by 0627) 0645-0647 0649-064a 0679 067e 0686 06a9 This sh...
by kamran
2009-06-18 09:46:04
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

No instant gratification? seriously, thanks for listening - let me know when it happens.
by kamran
2009-06-17 08:32:21
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

Thanks, Hamid. Use of kerning is nice, but manual. In the similar vein, one could insert the Kashida manually as well - and that is what I currently do . Martin: Perhaps I was too ambitious :) . How about For selected text for each line delimited by a paragraph mark if (line has not wrapped over) (1...
by kamran
2009-06-16 14:19:57
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

Now that I have dodged the hatchet... I have no idea how nisus macros work or written - but this is what I would like to do: for selected text, (a) find maximum width of line from the ruler (between the margins or between two tabs) - in points?, (b) for each line in selection (marked by tabs or para...
by kamran
2009-06-16 12:22:09
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

But, Martin, if you wrap-justify poetry to next line, someone is bound to come looking for you with a hatchet!
by kamran
2009-06-16 11:47:07
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

Thanks, Hamid. May be it is time to learn perl :)
by kamran
2009-06-16 11:16:51
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

Re: kashida

Thank you Martin and Hamid.

I guess I should have emphasized AUTO insertion. In the olden/classic days, there was a ruler macro (I think) that could be used to randomly insert kashida to balance the lines. I was/am hoping if someone has done something similar for Nisus Pro. Thanks.
by kamran
2009-06-16 10:07:29
Forum: Nisus Writer Pro Macros
Topic: kashida
Replies: 28
Views: 37806

kashida

I am looking for a way to auto insert kashida (tatweel) in frasi/arabic. Help.