Is there a way to configure Nisus to use the Times 12 font to paste text copied from another application into a Nisus document and if so, how?
(I tend to copy text from Firefox to paste into Nisus documents. I have not been able to locate a way to set a clipboard font copy preference in Firefox. Also, I tried using Nisus’ ‘Paste Character Attributes' menu option. Though the Firefox font size was different, it still did not seem to work.)
Thank you!
(PS Sorry for all the words in the subject line — I didn't know the proper vernacular, so I tossed in some of everything.)
Clipboard font style paste preference default setting
- martin
- Official Nisus Person
- Posts: 5230
- Joined: 2002-07-11 17:14:10
- Location: San Diego, CA
- Contact:
Re: Clipboard font style paste preference default setting
There's not really any setting like you describe, but I wonder if this tip doesn't help: you can paste anything on the clipboard as plain text using the menu Edit > Paste > Paste Text Only. That way instead of using whatever font Firefox has applied, the pasted text will assume the font/styles of the destination document. Of course using that command would also strip other formatting, links, images, etc, so perhaps it's not quite what you're after.
Another solution would be to use a macro to do the paste, plus some special post-processing. I think the most generalizable solution would be to paste and then apply the Normal paragraph style, so your document's default font is enforced:
That will keep most of the pasted formatting intact (eg: links, bolded words, etc) but give a baseline font. Depending on the content being pasted, this might not be enough to really change the font. You might have to get more aggressive and explicitly change it like so:
I hope this helps.
Another solution would be to use a macro to do the paste, plus some special post-processing. I think the most generalizable solution would be to paste and then apply the Normal paragraph style, so your document's default font is enforced:
Code: Select all
$text = Read Clipboard
Insert Attributed Text $text
Menu "Paragraph Style:Normal"
Code: Select all
$text = Read Clipboard
Insert Attributed Text $text
Menu "Paragraph Style:Normal"
Set Font Name "Times New Roman"
Set Font Size 12
Re: Clipboard font style paste preference default setting
It might…I'm not versed in macros, other than to click an option under the Macro menu.
Is there any way you could put both macro-related suggestions into an importable macro file that I could add to the menu, to try?
As always, continuing thanks!
-- Susan
Is there any way you could put both macro-related suggestions into an importable macro file that I could add to the menu, to try?
As always, continuing thanks!
-- Susan
Re: Clipboard font style paste preference default setting
Hello Susan,
- select the code of the macro above (just the code) and copy.
- Switch to Nisus
- Select Macro > New Macro
- Paste the code
- Macro > Save as Macro…
philip