Help:From Word

From IslandWood Education Wiki
Jump to: navigation, search

Many people like to copy text from somewhere else and paste it into the wiki.  As long as you have the rights to do so, that's fine, but beware of formatting challenges!

How to deal with Pasting Text from MS Word

Here are some options:

1. Try using the Copy & Paste function of the visual editor. Copy the text in Word, click on the "paste" icon,

Btn-WYSIWYG-CopyandPaste.png

or just paste your text into the editing area.  This tries to convert, and does an OK job, just be aware there may be challenges.

2. Paste from Word into Notepad (windows) or Text Edit (Mac), then copy and paste into the Wiki.  (This usually cuts out the formatting.)

3. Paste the Word text into the online converter: http://word2cleanhtml.com/     Use the defualt settings at that site.  You can then copy that code and paste it into the wikitext editor. Be sure to swicth to "Wikitext" before you paste, then switch back.  This is a good way to save a lot of formatting.

 

Background

If you don't want to try to understand why, just go down to how to: How_to_deal_with_Pasting_Text_from_MS_Word

The term "Wiki" comes from the Hawaiian word wiki-wiki which means "quick."  The first wikis were developed as quick ways for people to create collections of interlinked documents.  Creating the links was much easier than other forms of hyper-linked text.

Unfortunately, there are many, many ways of "coding" or describing how to format text for viewing on your screen.  Wikis have their default format.  Web pages use hypertext markup language (html). 

Microsoft Word documents use something similar to html, but it's highly specific to Word, and has lots of extra information that can muck up a wiki page.


For example: this is bold and this is italic
In wikitext: this is '''bold''' and this is ''italic''
In html: this is <b>bold</b> and this is <i>italic</i>
From MS Word: <style><!-- /* Font Definitions */ @font-face {font-family:"MS 明朝"; mso-font-charset:78; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-536870145 1791491579 18 0 131231 0;} @font-face {font-family:"MS 明朝"; mso-font-charset:78; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-536870145 1791491579 18 0 131231 0;} @font-face {font-family:Cambria; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-1610611985 1073741899 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"MS 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"MS 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} --> </style>

We've installed a wysiwyg (What You See Is What You Get) editor in our wiki that allows you to format text just as you would with most word processing software, and most modern websites (like blogging sites or discussion forums, etc.)  If you want to see the "code" behind the page - what's actually saved and interpreted by your web browser - click on the "Wikitext" icon in the editor toolbar.

It looks like this:

Btn-WYSIWYG-Wikitext.png

Here's what's important to remember:  If you copy and paste, your computer carries along all of the background code for formatting.

Plain, unformatted text from Wordpad (Windows), Text Editor or SimpleText (Mac) etc. is fine.  You'll have to then format it with the wysiwyg editor in the wikki - add bold, italic, bullets, etc.

Text from other web pages will probably retain the formatting.

Text from MS Word may be really, really messed up.  It may not look like it initially, but if/when you try to edit the pages, it can become very difficult.