Forum: Wordfast support
Topic: Paste from Wordfast Pro5 into browser without formatting (Windows)
Poster: Samuel Murray
Post title: @Pablo
[quote]Pablo Strauss wrote:
Is there a trick to copy and paste into and out of WFP without getting the formatting? [/quote]
No, WFP5's WYSIWYG doesn't remove the tags -- it merely hides them.
So, if you use WFP5 with the setting Preferences > Tags >"Show supported text information" (instead of "Show formatting as tags"), the tags are still there, but they're just not visible. This means that if you select all text in a cell, and the cell starts and/or ends with an invisible tag, the tag will also be selected (and copied).
Techniques that force plain pasting won't solve your problem, since you're already copying plain text (the invisible tag itself is in plain text, not HTML).
I'm not sure how to do regex find/replace in AHK, but it should be possible to tell it to delete the stuff from < to >.
[quote]I don't get this behaviour on other CAT tools (Studio, OmegaT).[/quote]
OmegaT doesn't have WYSIWIG view. But even in OmegaT, if a segment begins or ends with a tag, and you select all text in the segment, it'll copy the tags, too. It's just that in OmegaT the tags are always visible.
With Trados 2019, you can't copy the tags at all (I find this extremely annoying myself... if I copy text in Trados and the text has tags in it, no matter what tag viewing settings I use, the tags are never copied). Trados also does not copy rich text to the clipboard -- it's always plain text, even if you're trying to copy something that contains a formatted word (regardless of whether you use WYSIWIG view and regardless of what your tag settings are). This is a *deficiency* in Trados, not an advantage.
[Edited at 2020-02-26 14:05 GMT]
Topic: Paste from Wordfast Pro5 into browser without formatting (Windows)
Poster: Samuel Murray
Post title: @Pablo
[quote]Pablo Strauss wrote:
Is there a trick to copy and paste into and out of WFP without getting the formatting? [/quote]
No, WFP5's WYSIWYG doesn't remove the tags -- it merely hides them.
So, if you use WFP5 with the setting Preferences > Tags >"Show supported text information" (instead of "Show formatting as tags"), the tags are still there, but they're just not visible. This means that if you select all text in a cell, and the cell starts and/or ends with an invisible tag, the tag will also be selected (and copied).
Techniques that force plain pasting won't solve your problem, since you're already copying plain text (the invisible tag itself is in plain text, not HTML).
I'm not sure how to do regex find/replace in AHK, but it should be possible to tell it to delete the stuff from < to >.
[quote]I don't get this behaviour on other CAT tools (Studio, OmegaT).[/quote]
OmegaT doesn't have WYSIWIG view. But even in OmegaT, if a segment begins or ends with a tag, and you select all text in the segment, it'll copy the tags, too. It's just that in OmegaT the tags are always visible.
With Trados 2019, you can't copy the tags at all (I find this extremely annoying myself... if I copy text in Trados and the text has tags in it, no matter what tag viewing settings I use, the tags are never copied). Trados also does not copy rich text to the clipboard -- it's always plain text, even if you're trying to copy something that contains a formatted word (regardless of whether you use WYSIWIG view and regardless of what your tag settings are). This is a *deficiency* in Trados, not an advantage.
[Edited at 2020-02-26 14:05 GMT]