Copy/paste from Word

 When I copy and paste from Word 2003 I get this effect

Rear number plate = 375 x 165mm    Any ideas, Firefox problem? [IMG]http://i80.photobucket.com/albums/j183/gwa_2006/ozzsmile-1.gif[/IMG]

 Just done a test, and it’s Firefox, IE7 posts ok…not what I wanted to find out really,as I do a lot of copy paste for the tech forums and I do not want to go back to that old clunker of browser

  

<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 2.4  (Unix)">
<style type="text/css">
<!--
	@page { margin: 2cm }
	P { margin-bottom: 0.21cm }
-->
</style>

Bizzare
font
eff
ects f
or
te
st
pu
rposes.
Paste from OpenOffice to FF3.

What are you trying to paste?

 This is an example of a paragraph from a word .doc on my pc, whan you compose it, it looks fine, if you preview it you get all the Word embedded code, which you can’t delete.  
 

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}

<![endif]–>

Supercharger fitted by Danny Irvine

Jackson Racing M45 supercharger kit, plus
full standalone plug and play ECU (MSPNP). Other bits include:<o:p></o:p>

  • Jackson Racing BBK "Big Boost Kit" crank overlay pulley (gives 10psi)
  • Innovate LC-1 wideband oxygen sensor and controller
  • 4x Denso 330cc injectors with new O rings (swap straight in)
  • Bosch throttle position sensor (bolts onto standard throttle body without modification)

 Does the new “Paste from Word” button sort this, by any chance?

Lets see

 

No! see above[:^)]

But Word is rubbish anyway, and generates incredibly messy html text full of non-standard Microsoft-specific formatting code. That’s what you’re seeing in the pasted text for some reason.

Have you tried OpenOffice Writer? I find it works well, includes an excellent pdf export function, and it reads and writes Word format files.
Best of all it’s free.

(Runs away from starting flame wars about MS and Word…)

 

Downloading it now

There are some useful tips here:

http://www.linuxplanet.com/linuxplanet/tutorials/6506/3/
http://www.linuxplanet.com/linuxplanet/tutorials/6515/3/
http://www.linuxplanet.com/linuxplanet/tutorials/6519/3/
http://www.linuxplanet.com/linuxplanet/tutorials/6532/1/
http://www.linuxplanet.com/linuxplanet/tutorials/6532/3/

Most of it is relevant, not specific to Linux.

There is also a migration guide somewhere on the openoffice support site.
PM me with your email address if you can’t find it and I’ll send you a copy.

Test pasting text from OpenOffice Writer.

Closer but still not perfect :frowning:

The html code pasted in appears to have converted one set of ‘<’ and ‘>’ into &amp;&lt; and &amp;&gt; symbols. What’s inside this pair gets displayed instead of filtered.






    &amp;lt;!–
        @page { margin: 2cm }
        P { margin-bottom: 0.21cm }
    –&amp;gt;
   


Test pasting text from OpenOffice Writer.


&nbsp;


Could this be an error in the html or xml parser within the forum message editor?

If I copy/paste the same line of text into a simple plain text editor, like a code editor, all I get is the text I entered, none of the formatting stuff gets through. There must be something in the paste function that determines what is pasted, as clearly the result depends on the application into which it is pasted.

 

p.s. Forum wizards, please ignore me if I’m talking blx.

Test pasting text from MS Word.

Same thing happens here, it’s just that the side effects are much worse because of all the crap formatting info that Word puts in.









&amp;lt;!–
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
    {mso-style-parent:"";
    margin:0cm;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:“Times New Roman”;
    mso-fareast-font-family:“Times New Roman”;}
@page Section1
    {size:612.0pt 792.0pt;
    margin:72.0pt 90.0pt 72.0pt 90.0pt;
    mso-header-margin:36.0pt;
    mso-footer-margin:36.0pt;
    mso-paper-source:0;}
div.Section1
    {page:Section1;}
–&amp;gt;

Test pasting text from MS Word.


Again, one pair of ‘<’ ‘>’ markers has been incorrectly converted to &amp;&lt; and &amp;&gt; then everything betwen these is displayed instead of filtered.

In both cases it appears to be multi-line comments in the html code that breaks it.

<!–
…multiple lines of comment text
>

is converted to

&amp;&lt;!–

…multiple lines of comment text

&amp;&gt;

??

A workaround is to delete manually the offending section in the pasted html code.

Click on the HTML button just above the message editor to view/edit the html source code for the message, then look for patterns as shown above and delete them.

 

Alternatively, copy and paste the text from Word to Notepad (or any other plain text editor), then from Notepad to the forum. That should strip out any spurious formatting stuff.

The following article is reprinted with the permission of Grassroots Motorsports magazine. For more information from this fine publication, please point your browser to Grassroots Motorsports magazine.

Pointed
the Right Way

story
by john hagerman

Camber,
Caster and Toe: What Do They Mean?

The
three major alignment parameters on a car are toe, camber, and
caster. Most enthusiasts have a good understanding of what these
settings are and what they involve, but many may not know why a
particular setting is called for, or how it affects performance.
Let’s take a quick look at this basic aspect of suspension tuning.

UNDERSTANDING
TOE

When
a pair of wheels is set so that their leading edges are pointed
slightly towards each other, the wheel pair is said to have toe-in.
If the leading edges point away from each other, the pair is said to
have toe-out. The amount of toe can be expressed in degrees as the
angle to which the wheels are out of parallel, or more commonly, as
the difference between the track widths as measured at the leading
and trailing edges of the tires or wheels. Toe settings affect three
major areas of performance: tire wear, straight-line stability and
corner entry handling characteristics.

For
minimum tire wear and power loss, the wheels on a given axle of a car
should point directly ahead when the car is running in a straight
line. Excessive toe-in or toe-out causes the tires to scrub, since
they are always turned relative to the direction of travel. Too much
toe-in causes accelerated wear at the outboard edges of the tires,
while too much toe-out causes wear at the inboard edges.

 Pasted from O office

Better but still no coconut