<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE abiword PUBLIC "-//ABISOURCE//DTD AWML 1.0 Strict//EN" "http://www.abisource.com/awml.dtd">
<abiword template="false" styles="unlocked" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/" fileformat="1.1" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:awml="http://www.abisource.com/awml.dtd" xmlns="http://www.abisource.com/awml.dtd" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.99.6" xml:space="preserve" props="lang:en-GB; dom-dir:ltr">
<!-- ======================================================================== -->
<!-- This file is an AbiWord document.                                        -->
<!-- AbiWord is a free, Open Source word processor.                           -->
<!-- More information about AbiWord is available at http://www.abisource.com/ -->
<!-- You should not edit this file by hand.                                   -->
<!-- ======================================================================== -->

<metadata>
<m key="dc.format">application/x-abiword</m>
<m key="abiword.generator">AbiWord</m>
<m key="abiword.date_last_changed">Thu Sep 11 14:28:55 2003</m>
<m key="dc.title">AbiWord Help: How To make Web-Clean Documents in AbiWord</m>
<m key="dc.creator">Copyright (C) 2002 John Clark</m>
</metadata>
<styles>
<s type="P" name="Heading 1" basedon="Normal" followedby="Normal" props="font-family:Arial; margin-top:0.3056in; font-style:normal; font-weight:bold; lang:en-GB; text-indent:0.00cm; text-align:center; keep-with-next:1; bgcolor:transparent; margin-bottom:0.0417in; line-height:1.000000; font-size:17pt; field-font:NULL"/>
<s type="P" name="Normal" followedby="Current Settings" props="text-indent:0in; field-font:NULL; margin-top:12pt; margin-left:0pt; font-stretch:normal; line-height:1.000000; text-align:left; bgcolor:transparent; lang:en-GB; dom-dir:ltr; margin-bottom:0pt; font-weight:normal; text-decoration:none; font-variant:normal; color:000000; text-position:normal; font-size:12pt; margin-right:0pt; font-style:normal; widows:2; font-family:Times New Roman"/>
<s type="P" name="Heading 2" basedon="Normal" followedby="Normal" props="keep-with-next:1; font-size:14pt; field-font:NULL; margin-bottom:0.0417in; text-indent:0.00cm; line-height:1.000000; font-weight:bold; margin-top:0.3056in; font-family:Arial"/>
<s followedby="Current Settings" name="Emphatic" basedon="None" type="C" props="font-style:italic"/>
<s type="P" name="Heading 3" basedon="Normal" followedby="Normal" props="keep-with-next:1; font-size:12pt; field-font:NULL; margin-bottom:0.0417in; line-height:1.000000; font-weight:bold; margin-top:0.3056in; font-family:Arial"/>
<s followedby="Current Settings" name="GUIdoc" basedon="None" type="C" props="font-weight:bold"/>
<s type="C" name="Command" basedon="None" followedby="Current Settings" props="font-family:Courier New"/>
</styles>
<pagesize pagetype="Letter" orientation="portrait" width="8.500000" height="11.000000" units="in" page-scale="1.000000"/>
<section>
<p style="Heading 1"><c props="lang:en-US">Tips and Tricks for Authoring Web-Clean AbiWord Documents</c><c props="lang:en-US"></c></p>
<p style="Heading 2"><bookmark type="start" name="introduction"/><c props="lang:en-US">Introduction</c><c props="lang:en-US"></c><bookmark type="end" name="introduction"/></p>
<p style="Normal"><c props="lang:en-US">When writing a document, many authors want to be able to present that document in a variety of media and formats.  AbiWord has a variety of file formats available for your use.</c><c props="lang:en-US"></c></p>
<p style="Normal"><c props="lang:en-US">Often, a particular file format is naturally associated with a particular type of media.  For example, HTML is naturally associated with presentation on the World Wide Web.  If you are interested in presenting your document in a variety of media, there are issues of presentation which you should keep in mind.  This tutorial discusses how to create "Web-Clean" AbiWord documents.  A "Web-Clean" document is a document which will accurately be represented in HTML and which will be easy for you to modify for integration into your web-site.</c><c props="lang:en-US"></c></p>
<p style="Heading 2"><bookmark type="start" name="structure"/><c props="lang:en-US">Word Processing versus Content Authoring</c><c props="lang:en-US"></c><bookmark type="end" name="structure"/></p>
<p style="Normal"><c props="lang:en-US">When creating any document, there are two different approaches that an author can take.  The first is a concentration on presentation, where the author manually edits the visual details of his or her document until happy with the way it looks.  The second is a concentration on structure, where the author focuses on the content of the document, and then applies formatting based on what type of structure the content possesses.</c><c props="lang:en-US"></c></p>
<p style="Normal"><c props="lang:en-US">In order to create a "Web-Clean" AbiWord document, you must engage in word processing while at the same time paying attention to the structure of the document which you are creating.  A typical document consists of a variety of structures, such a headers, lists, paragraphs, and so on.</c><c props="lang:en-US"></c></p>
<p style="Normal">To demonstrate what I'm talking about, let's look at the example of creating a header in a document.  Doing things the first way, concentrating on presentation, we would insert the cursor where we want the header, then select Bitstream Vera Serif for the font, 20 for the font size, and bold, for emphasis.  Doing things the second way, concentrating on structure, we would select the style which best represents the structure we want from the drop down menu at the left of the Formatting toolbar.  In this case, we would select "Heading 1", and then this section of the document would have the "Heading 1" style.<c></c></p>
<p style="Heading 2"><bookmark type="start" name="styles"/><c props="lang:en-US">Styles</c><c props="lang:en-US"></c><bookmark type="end" name="styles"/></p>
<p style="Normal"><c props="lang:en-US">What we notice first, following the instructions above, is that when we apply the "Heading 1" style to our header, we do </c><c props="lang:en-US"></c><c style="Emphatic">not</c><c props="lang:en-US"> have the formatting which we had when we manually formatted our header by the first method.  By default, the built in formatting for the "Header 1" style is Arial, bold, 17 point font.  This is just the default, however; styles give an author a great deal of control over the appearance of a document.</c></p>
<p style="Normal"><c props="lang:en-US">A style is simply a description of a structural element in your document, such as a header.  Each style has an associated set of formatting instructions which apply to every element with that style.  The author can then manipulate these formatting instructions to control the visual presentation of all elements with the given style.</c><c props="lang:en-US"></c></p>
<p style="Heading 3"><bookmark type="start" name="important"/><c props="lang:en-US">Why is this important?</c><c props="lang:en-US"></c><bookmark type="end" name="important"/></p>
<p style="Normal"><c props="lang:en-US">There are two main reasons why utilizing styles is important for the authoring of your documents.  The utilization of styles allows you to make changes to the presentation of the document very easily.  For instance, if you need to make all headers of a certain type bigger, you just adjust the formatting instructions for that header, and the change is applied throughout the document.  To do this, go to </c><c props="lang:en-US"></c><c style="GUIdoc">Format &gt; Style...</c><c props="lang:en-US"> to bring up the </c><a xlink:href="../interface/dialogstyles.html"><c style="GUIdoc">Styles</c></a><c props="lang:en-US"> menu.  Select the style you want to modify from the </c><c style="GUIdoc">Available Styles</c><c props="lang:en-US"> list, and press </c><c style="GUIdoc">Modify...</c><c props="lang:en-US"> to bring up the </c><c style="GUIdoc">Modify Styles</c><c props="lang:en-US"> dialog.  From this window you can access the presentation information associated with the style that you chose.  As you can see, this technique is valuable for any type of document authoring.  This concept of styles is also utilized in the export to HTML, so that if you need to edit your HTML separately, you can change the presentation of one style by easily editing the formatting instructions, known as Cascading Style Sheets.</c></p>
<p style="Normal"><c props="lang:en-US">Additionally, using styles and formatting instructions gathers all presentation information into a centralized location, which greatly simplifies the content of your document.  This is particularly important when it comes to working with HTML, as you may need to work directly with the HTML markup at some point to integrate your document with your web-site.</c><c props="lang:en-US"></c></p>
<p style="Heading 3"><bookmark type="start" name="css"/><c props="lang:en-US">HTML Formatting Instructions - Cascading Style Sheets (CSS)</c><c props="lang:en-US"></c><bookmark type="end" name="css"/></p>
<p style="Normal"><c props="lang:en-US">By default, when you save your document as an HTML file, AbiWord places all formatting instructions into one block at the beginning.  These formatting instructions use the Cascading Style Sheet language, and are in the &lt;style&gt; tag in the &lt;head&gt; of your document.  From here it is easy to move the styles as a whole (copy and paste) into a new document which can then be externally linked or integrated with your web-site's style sheet.</c><c props="lang:en-US"></c></p>
<p style="Heading 2"><bookmark type="start" name="paragraphs"/><c props="lang:en-US">Paragraphs &amp; Indentation</c><c props="lang:en-US"></c><bookmark type="end" name="paragraphs"/></p>
<p style="Normal"><c props="lang:en-US">Every time you press Enter or Return when you are editing an AbiWord document, you are creating a new content block in your document.  In order to create Web-Clean AbiWord documents, you should try to have only one content block for every section of content in your document.  </c><c props="lang:en-US"></c><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:12pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Examples of sections of content include paragraphs, headers, and items in a list.</c></p>
<p style="Normal"><c props="lang:en-US">For example many authors, when using a word processor, will manually insert whitespace between paragraphs by pressing Enter repeatedly.  The amount of whitespace between paragraphs, however, is a detail about visual presentation which should be left to the formatting instructions of the paragraphs, as discussed in the section about styles, </c><c props="lang:en-US"></c><a xlink:href="#styles"><c props="lang:en-US">above</c></a><c props="lang:en-US">.</c></p>
<p style="Normal"><c props="lang:en-US">You can also control indentation within paragraphs with formatting instructions.  It is often tempting to control the specific indentation of sections of text with multiple spaces or tabs.  In order to create Web-Clean documents, however, you should set the desired margins or indents using </c><c props="lang:en-US"></c><a xlink:href="#styles"><c props="lang:en-US">formatting instructions</c></a><c props="lang:en-US"> or the margin stops in the ruler:</c></p>
<p style="Normal" props="text-align:center"><image dataid="/home/john/In_progress/abisource/ruler.png_0" props="height:0.23in; width:6.49in"/></p>
<p style="Normal" props="text-align:left">Using this method enables the HTML to use the appropriate formatting instructions to properly indent the text, and saves you, the author, from having to repeatedly indent text manually.</p>
<p style="Heading 2"><c props="lang:en-US">Images</c><c props="lang:en-US"></c></p>
<p style="Normal"><c props="lang:en-US">As an author using AbiWord and interested in presenting your content as a web-page, there is one issue you should be aware of with respect to using images in your document.  First, unlike AbiWord files, HTML files cannot store image information within the file itself.  Rather, they must refer to separate image files.  When you save an AbiWord file as an HTML file, then, all images are saved into a directory and referred to from there.  If the name of the HTML file to which you are saving is </c><c props="lang:en-US"></c><c style="Command" props="lang:en-US">filename.html</c><c props="lang:en-US">, then this directory will be called </c><c style="Command" props="lang:en-US">filename.html_d</c><c props="lang:en-US">.  You will find all the images from your document in this directory.</c></p>
</section>
<data>
<d name="/home/john/In_progress/abisource/ruler.png_0" mime-type="image/png" base64="yes">
iVBORw0KGgoAAAANSUhEUgAAAokAAAAXCAIAAADoRkJsAAAABGdBTUEAALGPC/xhBQAADthJ
REFUeNrtXXtQVNcZv+fcs/exL16LLBjFJzEaBImxBCPWNGoSMQo2oGYybTKdmCYzNhAn06aP
ybSjzqSZtFWraVrTTBKLbY2d1AoUiW/AVONEVhtZICOyMJEgy8Lefd299/SPS7e4e+8mDeyV
vbnff8zHPXd/5zvn+33nO985F3Rf7yZuFYwxMZkEADCexzGBjazxwIED77//vtVqJTDB8zzn
48rLyx9//HGf3wcIQCSzYI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