Index » PageStream Support » General » Formatting disappears after pasting text |
Sign in to add a comment. | Pages: 1 |
2012-02-03 20:28:58 CT | #1 |
---|---|
Martin B. Brilliant From: United States Registered: 2008-03-15 Posts: 89 |
Has anybody else experienced this bug? I paste some text into a paragraph, and the rest of the paragraph, or sometimes the next paragraph, loses formatting and reverts to default character and paragraph style. The Edit Palette still shows the assigned paragraph style. Sometimes the formatting can be restored by reselecting the paragraph style. Sometimes that fails, and then to restore the formatting I can either undo the paste and type in the text I want to add, or leave the pasted text in and recreate the paragraph from plain text. I've been experiencing this bug in a newsletter with lots of fonts and features. I cut it down to a simplified 1 page 12 KB PGS file, using only Times New Roman Regular, that exhibits the bug, and uploaded it to the website that normally hosts the finished newsletters. I can reproduce the bug by selecting and copying the first word and pasting it in various places in the text. If anybody wants to play with it the file is athttp://www.heartsofjersey.org/PasteBug.PGS. If you can't download it directly from that link you can go tohttp://www.heartsofjersey.org/PasteBug.html where there's a link to the file. The Pagestream and OS versions (see below) might make a difference. -- |
2012-02-03 21:28:20 CT | #2 |
---|---|
admfubar From: Unknown Registered: 2011-11-19 Posts: 198 |
would love to help however neither link is working On Fri, 03 Feb 2012 20:28:58 -0500, Martin B. Brilliant <mbrilliant@alum.mit.edu> wrote: > [Non-text portions of this message have been removed] |
2012-02-03 22:01:04 CT | #3 |
---|---|
Martin B. Brilliant From: United States Registered: 2008-03-15 Posts: 89 |
Don't know why, the links work for me, and the permissions look OK in Cyberduck. The file is attached, the individual addressee should get it but it won't get to the list subscribers. If this is a new bug I could post it in the bug tracker with the file attached. Trouble is, I don't know all the keywords that might find the bug if it's in the bug tracker and I don't want to post a new bug if it's already been looked into. Therefore the question: Has anybody experienced this bug? -- On Feb 3, 2012, at 9:28 PM, admfubar@gmail.com wrote: > would love to help however neither link is working
|
2012-02-03 21:09:10 CT | #4 |
---|---|
Tim Doty From: United States Registered: 2006-02-06 Posts: 2939 |
> Don't know why, the links work for me, and the permissions look OK in Cyberduck. The first link in the email has the trailing period included, at least here. Remove that and it works. Paste works for you? Copy/paste do nothing for me here in OS X. Have you tried using 'Send to editor' ? When formatting goes weird seeing the codes PgS exports can help understand what is happening. The document as is exhibits no abnormal text formatting. The text frame was offset from where I'd expect it to be given the master page settings, but other than that it looked fine. I can't replicate your bug because copy/paste is broken for me. I notice you are on 10.6.8 whereas I'm on 10.7 which probably explains that difference in behavior. Tim Doty
|
2012-02-03 22:25:07 CT | #5 |
---|---|
admfubar From: Unknown Registered: 2011-11-19 Posts: 198 |
asaw the period at the end of the sentence, however removing that the link doesnt not work. also heartsofjersey.org is unreachable for me as well On Fri, 03 Feb 2012 22:09:10 -0500, Tim Doty <thoromyr@mac.com> wrote: > |
2012-02-03 22:56:06 CT | #6 |
---|---|
Martin B. Brilliant From: United States Registered: 2008-03-15 Posts: 89 |
I tried "Send to Editor" and it freezes Pagestream until I exit TextEdit (not just close the file). Sending the original to editor, the first two paragraphs look like: ---------------- After pasting "Diane" at the end of the first paragraph, the first two paragraphs look like: ------------ <*l><lr,120%><*h0> has been added after "Diane". I don't know what that means. Is it a clue? Looking at it some more, I think it means all previous formatting is canceled and replaced by some minimal formatting. I knew that. I still don't know why. -- On Feb 3, 2012, at 10:09 PM, Tim Doty wrote: > |
2012-02-03 22:34:13 CT | #7 |
---|---|
Tim Doty From: United States Registered: 2006-02-06 Posts: 2939 |
Hi Martin, On Feb 3, 2012, at 9:56 PM, Martin B. Brilliant wrote: > I tried "Send to Editor" and it freezes Pagestream until I exit TextEdit (not just close the file). That is expected behavior. Without something like ARexx ports there's no way to tell that the text editor is done with the file, you have to exit the editor. > Off the top of my head I don't recall what the \n directive (in the middle of the word 'welcomed') does. And I'm not seeing it listed in the text codes… Ah, probably a soft-hyphen. > -------------------- The codes at the end: *l is asserting left alignment, the lr is asserting relative leading at 120% and *h0 disables auto-hyphenation. Those are of no consequence. I'm not seeing anything to cause the style to be overridden. Now, if @PBody Text: was *before* other codes -- then there'd be some issues. What happens if you send to editor, alter by adding and removing a space, saving the file and returning to PgS? Tim Doty > What happens if you send to editor, alter by adding and removing a space, saving the file and returning to PgS? Before or after pasting a word? I pasted "Diane" at the end of the first paragraph, sent to editor, added and removed a space after the codes at the end of the first paragraph, and exited TextEdit. The entire story lost formatting. I sent to editor again and copied the first two paragraphs, which look like: --------------- The codes after "Diane" are gone. The codes in the first line look almost like the codes in the original but they're in a different order. In the original we had "Helvetica" near the middle and "Body Text" at the end, evidently overriding all. Now we have "Body Text" near the middle and "Helvetica" near the end overriding it. But as you wrote below, that's not the case when I just pasted "Diane"; there was nothing obvious to override the style. I understand that inserting and deleting a space marks the file as changed so the Pagestream reads it back. What I don't understand is why after reading it back and writing it again to the editor it looks different from what it previously looked like in the editor. Unless something nasty is going on in Pagestream after it reads back the file from the editor. Maybe that's not surprising, since nasty things are happening when I just paste a word. The only way it makes sense to me is if what it sends to the editor is not what it uses internally. -- On Feb 3, 2012, at 11:34 PM, Tim Doty wrote: > Hi Martin, |
2012-02-04 09:18:13 CT | #8 |
---|---|
T.J. Zweers From: Netherlands Registered: 2006-02-07 Posts: 331 |
Hi Martin (and others), without looking into the files (I can reach and read them) I have a I have that too. Pasting in a document with Text Styles gives me a good If I copy text from a different program or web-browser, that text can be Another approach, if I think about it first, I paste the (formatted) I have had this with all PGS (5, 4, 3 or even 2) versions. So it is And Tim, I can, most of time, copy and paste in PGS 5.0.5.8. It depends Theo Op 4-2-2012 2:28, Martin B. Brilliant schreef:
|
2012-02-04 06:07:50 CT | #9 |
---|---|
Tim Doty From: United States Registered: 2006-02-06 Posts: 2939 |
>> What happens if you send to editor, alter by adding and removing a space, saving the file and returning to PgS? Sounds like you are experiencing a bug that I have had issues with off and on for some time, going back to the Amiga if I'm remembering correctly. In one of my long running projects there were some chapter articles that would mess up through simple text editing. I could get it all cleared, eventually, but it would recur at some point. And always in the same articles. I've talked to Deron about the problem I had and the issue was finding a case that he could replicate it. If there isn't a way to reproduce the issue reliably it makes it very hard to track it down, especially in code that has been working well for years (which is basically the case of handling text codes). Since OS X 10.7 prevents me from doing some of what you are I can't tell if your document is allowing replication of a problem -- but if so I hope Deron finds the time to look at it. I'd say to post a bug report. Your document is small enough to upload to the bug. Put in the descriptions of the problem: 1. Pasting results in paragraph styles being overridden 2. Round trips to the text editor result losing all styling. While they may not be related they are both evidenced by the same document and so *could* have the same underlying cause. Really can't say. So IMO just filing one bug report with both ways the bug manifests is warranted. Tim Doty
|
2012-02-04 10:28:11 CT | #10 |
---|---|
Martin B. Brilliant From: United States Registered: 2008-03-15 Posts: 89 |
I did some more experimenting and the bug has nothing to do with the document. I create a new document, draw a text frame, call the LoremIpsum script to fill it with text, create a new style specifying only Times New Roman 11, apply the style to the whole story, select and copy the first word, paste it at the end of the first paragraph, and the rest of the story after that loses formatting. Therefore the difficulty must be in the preferences or other global environment. There are two possibilities: 1. Chase bug: capture the global environment of Pagestream and upload it to the bug tracker. I don't know how to do that. 2. Workaround: erase the global environment of Pagestream and revert to defaults. I don't know how to do that. -- On Feb 3, 2012, at 8:28 PM, Martin B. Brilliant wrote: > Has anybody else experienced this bug? |
2012-02-04 16:45:21 CT | #11 |
---|---|
T.J. Zweers From: Netherlands Registered: 2006-02-07 Posts: 331 |
Martin, try it my way!! When you paste the text, the rest of the text changed into Arial (at Theo Op 4-2-2012 16:28, Martin B. Brilliant schreef:
|
2012-02-04 11:10:54 CT | #12 |
---|---|
Martin B. Brilliant From: United States Registered: 2008-03-15 Posts: 89 |
On Feb 4, 2012, at 10:45 AM, Theo Zweers wrote: > Martin, try it my way!! I see. Yes, reapplying the style to the pasted text works even when reapplying the style to the text that lost formatting does not work. In one case the problem arose when I pasted text in a special font containing a symbol that indicates the end of the story. That text does not have a style attached to it. I may have to create a style for it. >
|
2012-02-04 18:41:04 CT | #13 |
---|---|
T.J. Zweers From: Netherlands Registered: 2006-02-07 Posts: 331 |
OK! The word (or sentence) is ended with a & and some gibberish, before the Uhm, that doesn't look what I have in my text editor. New approach: (BTW there is a lot more gibberish at the start of this text file, My theory: somehow you also copy the Text Codes For what I know it was always so (bug or not). Also a paste from another Maybe Deron can find now why this bug still exist, but it's no biggie to me. Theo Op 4-2-2012 17:10, Martin B. Brilliant schreef:
|
2012-02-04 15:03:05 CT | #14 |
---|---|
Tim Doty From: United States Registered: 2006-02-06 Posts: 2939 |
Hi Theo, On Feb 4, 2012, at 11:41 AM, Theo Zweers wrote: > For what I know it was always so (bug or not). Also a paste from another PageStream tries to maintain formatting. Because you can have not just styles but directly applied formatting this can get tricky to do what the user wants in all cases. Myself, I don't like the formatting being copied: pasted text should have the format of where it is put. This is why I never used PgS's drag-n-drop of text: too many formatting issues. Can Deron improve the situation? Maybe, I don't know: I haven't given it that much thought. Even using things like the eye dropper tool are problematic because PgS tries to maintain the formatting outside of what you are altering. What I do is strictly stick to using styles except for one-off documents that are very short and going to the trouble of defining styles is more effort than its worth. This approach works very well for me: the formatting of text is very predictable and easily controlled. Using character styles rather than directly applying formatting for things like the long italicized word in a paragraph is more reliable/predictable when editing, etc. Just my approach. Tim Doty |
2012-02-04 16:37:27 CT | #15 |
---|---|
Martin B. Brilliant From: United States Registered: 2008-03-15 Posts: 89 |
First I must say I don't know how to describe this bug or even if it's new so I'm not putting it in the bug tracker. I think it needs to be there but I don't know what triggers it. Next I protest that I sometimes like being able to carry formatting along with the text when I copy and paste. If I copy a headline into an empty text frame I want the font to be preserved. On the other hand, I find very annoying when I copy text from a web page into a plain text message in Apple Mail and I get formatting carried over from the web page. There should be a defined hierarchy of precedence rules. Character styling applied to a word within a paragraph (whether by a named style or by direct formatting) should never be overridden by a paragraph style. That is not always the case in Pagestream; if the paragraph style allows only plain text, text marked as italic or bold will become plain text. But it's too late to change the rules, since many users of Pagestream have become accustomed to the way it works and would not want to change. On the other hand it can be very difficult for users accustomed to other applications (e.g., me) to learn how best to use Pagestream. Theo and Tim apparently both have ways of working with Pagestream but they are not quite the same. Is there a wiki on how to use Pagestream where all our experience can be collected as a guide to navigating the minefield? Maybe "minefield" is not the right word; Pagestream has a lot of features that can be very useful but unfortunately can also perform in unexpected ways. What is needed is a way of working that will avoid the unexpected. Martin B. Brilliant - mbrilliant@alum.mit.edu On Feb 4, 2012, at 4:03 PM, Tim Doty wrote: > Hi Theo, |
2012-02-05 09:30:20 CT | #16 |
---|---|
T.J. Zweers From: Netherlands Registered: 2006-02-07 Posts: 331 |
Hi Martin, I don't think that you have to file this one, but you can! You have I wish I had evidence for the bug that, once in a while, PGS 5.0.5.8, Mmm, I think that Tim is working more or less the same as I do. Maybe we A wiki? Well, more or less. Theo Op 4-2-2012 22:37, Martin B. Brilliant schreef:
|
Sign in to add a comment. | Pages: 1 |
Index » PageStream Support » General » Formatting disappears after pasting text |