• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

"Paste as text" expected behaviour?

Explorer ,
Aug 22, 2023 Aug 22, 2023

Copy link to clipboard

Copied

Greetings,

I changed the maker.ini file some time ago to paste as plain text as first priority. Works fine when pasting from external sources and is a great feature when working with Microsoft Office or other sources.

However, I noted that when pasting from the active FM document it picks up the paragraph and character formats. Now, it may be that I have just not noted this behaviour before (or that I'm really absent-minded) - can anyone confirm that it is expected?

Best regards,

Mats

Views

221

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 22, 2023 Aug 22, 2023

Copy link to clipboard

Copied

As far as I know FM internally uses  a different clipboard. Hence I use since years a special utility TextHelper.

 

Edit

See   What is the kill-buffer? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 23, 2023 Aug 23, 2023

Copy link to clipboard

Copied

I also use another utility to paste text only: PureText

http://stevemiller.net/puretext/

Very handy also in other applications than FrameMaker, when you want to paste without formatting. E.g. in Outlook or Excel.

Microsoft has the PowerToys collection of utilities. There is also one that pastes text without formatting.

https://learn.microsoft.com/en-us/windows/powertoys/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 22, 2023 Aug 22, 2023

Copy link to clipboard

Copied

Yes, it's always worked that way - in those cases, you still have to use the Paste Special - plain text choice.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 22, 2023 Aug 22, 2023

Copy link to clipboard

Copied

Hi Mats:

 

When I want to paste unformatted text from one section of FrameMaker to another, I use Paste as Unicode Text. It will not carry in the character styles, and the text will adapt whatever paragraph style I paste into.

 

My disclaimer is that I figured this out on my own, and this technique may make the Unicode experts on this forum shudder. I'm talking to you, @Bob_Niland, the man who knows more about Unicode than I ever will. (Probably you do too, Klaus.)

 

Anyway, that works for me, and I will continue until someone tells me not to. 😝 Which could be any minute.

 

~Barb

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 22, 2023 Aug 22, 2023

Copy link to clipboard

Copied

Paste Special as: Text or Unicode Text strips all formatting, much as copy to Notepad first would do.

I've never really dived into what the difference is betwen those two pastes. Just playing with it a bit, they are different. It's very tricky to test, as the current font needs to populate any codepoints used, and you need to be sure that all codepoints are below U+FFFF, because U+10000 and up won't work at all in any version of FM to date. Fails may look uninformatively like [?] or [??].

My guess is that "Text" would be anything supported by FM7 and below — whether FM's own character set then, or Windows CP1252, would take some testing. Paste as Unicode Text may have have arrived with FM8, with both forms being needed then due to document back-crossing.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 23, 2023 Aug 23, 2023

Copy link to clipboard

Copied

LATEST

Thanks, @Bob_Niland.

 

~Barb

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 23, 2023 Aug 23, 2023

Copy link to clipboard

Copied

🙂


Bjørn Smalbro - FrameMaker.dk

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines