Greetings All,
I'm using Amiga PageStream 4.1.5.6 with OS4.0 under Update
Final.
Recently, I had some annoying sessions where the annoyance
was the direct consequence of a COPY command subsequently
followed by a PASTE command. These operations were at the
PageStream document level, not within PageLiner.
The problem was that the COPY operation would pick up some
hidden text formatting codes that resulted in sudden and
strange transformations of paragraph(s) that followed the
location where the PASTE operation was performed. Sometimes
the unwanted transformations would apply to several
paragraphs.
Thinking about this, I realized that the operation "Paste as
is" is almost never used here. Perhaps the "Paste as is"
operation would save the day!? Not finding an explanation
of the difference between 'Paste' and "Paste as is" I tried
the following:
% Type a short 'first' paragraph.
% Blank line, then type in the following two explanatory
paras:
(1) Following paragraph resulted from a 'Paste' operation:
«blank line»
(2) Following paragraph resulted from a 'Paste as is'
operation:
% Highlight everything typed so far and apply the style
'BodyFlat' which has been defined so that it uses
Times-Normal set at 16/18; i.e., font is 16 points set on
fixed leading of 18 points.
% Return to the first para, and change the font to
Times-Bold.
% Highlight the first para, then COPY it.
% Using the 'Paste' operator, paste the 'copy' immediately
following the '(1)' paragraph; i.e., as the 3rd para.
So the doc should look like the following where font size,
leading and boldface have to be imagined:
-----------------------
This first para is set to Times-Bold.
(1) Following paragraph resulted from a 'Paste' operation:
This first para is set to Times-Bold.
(2) Following paragraph resulted from a 'Paste as
is' operation:
------------------------------
In the following and above, blank or null paras are ignored;
i.e.,
above the second para is actually a null para but that fact
will be ignored and the para that begins with '(1)' will be
referred to as the 'second' para. With this convention, the
1st and 3rd paras should appear as identical, displayed
using Times-Bold, and set at 16/18. The 2nd and 4th paras
should appear in Times-Normal and set at 16/18 as well.
In PageStream, the first three paras are okay, i.e., the
first appears in Times-Bold at 16/18, the second is set in
Times-Normal at 16/18, and the third is a replica of the
first, as intended.
But the last paragraph has been transformed and this
transformation occurred immediately AFTER the PASTE
operation was performed. The problem is:
(a) In the last para, the font size used throughout is
11/14!!! Not 16/18! Where does 11/14 come from? From the
parameters set in the style <No Style> -- I think!
Highlighting the above and sending it to PageLiner, I see
(approximately)
-----------------------
<PageStream3.0>[]
C:<t0%><T3><*l><lf,14pt><*k1><*h1><*t><z11pt><h100%>
<*i0",0",0"><*sf,0pt,f,0pt>
PBodyFlat:<f"Times-Bold">This
first para is set to Times-Bold.[]
<f"Times-Normal">[]
(1) Following paragraph resulted from a
<#8216>Paste<#8217> operation:[]
<f"Times-Bold">This first para is set to
Times-Bold.<f"Times-Normal">[]
<lf,14pt><*h1>[]
(2) Following paragraph resulted from a <#8220>Paste as
is<#8221> operation:[]
------------------------------
The 'approximation' alluded to above is that '[]' is used to
represent the 'Esc' character which PageLiner represents as
a hollow square character (roughly Ctrl-D 9633) and appears
to be the "end of paragraph" code.
>From my perspective, there are several things 'wrong' with
the text formatting commands as seen above.
Everything is okay up to and including the Pageliner line
(YAM displays on two lines!):
<f"Times-Bold">This first para is set to
Times-Bold.<f"Times-Normal">[]
The very next line:
<lf,14pt><*h1>[]
is simply 'wrong' from my perspective! The part <lf,14pt>
changes the leading 'l' to fixed 'f' and at 14pt whereas it
should have remained at <lf,18pt> as defined within the
style 'BodyFlat'. Also, the font size has been reduced to
11pt (in PageStream) although I can find nothing in the
text codes to suggest that transformation. Since there is
no indication that the font size is to be changed, why does
the last para appear in Times-Normal at 11/14? Had the
penultimate line in Pageliner been
<lf,14pt><*h1><z11pt>[]
(something like that) then the change in font size would be
understandable.
Going even further back, in the very second line in
Pageliner, I fail to understand why the entries
<z11pt> and <lf,14pt>
appear since those values are associated with <No Style>. At
this point, I do not use character styles, i.e., the only
character style available is <No Style>.
Furthermore, the above behaviour is NOT consistent. I have
gone through the EXACT same steps and on more than one
occasion end up in Pageliner with
-----------------------
<PageStream3.