<!DOCTYPE book PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.1//EN" [
]>
<!-- =============Section:Setup============================= --> 
<chapter id="setup">
	<title>Setup</title>


	<!-- =========Preferences=========================== -->   
	<sect1 id="setup-preferences">
	<title>Preferences</title>
		<para>
			You can change the application settings through <menuchoice><guimenu>Settings</guimenu> <guimenuitem>Preferences
			</guimenuitem></menuchoice>.
			On the first tab in the preferences window you can set the default filename, editor font, syntax highlighting, inline tagging,
			  intelligent tag completion, background color, font color,  notebook tool bar and auto entity insertion.
		</para>
		<para>
			The default filename is what is in the text box originally when you choose save or save as for an unsaved file
			 and save as for a saved file. The default value (index.html) is probably what you want it set to. 
		</para>
		<para>
			The editor font is the font used in the edit window. You can change this to whatever suits your eyes the best. 
			The background color changes the background of the editing window and the editor text color changes the color
			 of the editing window text. Again you can change this to whatever suits your eyes. 
		</para>
		<para>
			You can also turn the syntax highlighting on or off. For more information on the syntax highlighting skim to the bottom 
			of this section. 
		</para>
		<para>
			To learn more about inline tagging click <link linkend="inlinetagging"> here</link>.
		</para> 
		<para>
			The intelligent tag closing looks for the last unclosed tag when you type an end tag in and copies the first word to the
			 end tag that you are typing. This feature is valuable but if you so wish you can do so on the window.
		</para>
		<para>
			The notebook tool bar is the tabed tool bar that holds the majority of the tag and wizard buttons for screem. 
			If you turn it off screem moves the buttons directly back to the top of the application. The application looks less 
			cluttered if you use the notebook tool bar, but if you find yourself constantly flipping through the tabs it might be 
			better to get rid of the notebook tool bar. 
		</para>
		<para>
			The last option on this page is auto-entity insertion. Auto entity insertion tries to insert the HTML equivalent 
			of irregular characters you insert. This feature can really hamper you if you do a lot of a scripting, so you might 
			want to turn it off. On the other hand if you write pages in another language besides English it might be a good 
			idea to leave it on.
		</para>
		<para>
			The second tab of preferences contains the setup for special key combos for text. If you have a tag that you 
			enter repeatedly such as a line break you might want to set a key command for it so that you don't have to type
			 it every time. To add a key shortcut, first decide on a set of keys. Then make sure that the group of keys isn't used for
			 anything else. You can enter the key command in two ways, you can type it in the textbox or you
			 can hold the keys and press grab key and it will type it for you. Then go ahead and type the text you want inserted
			 when you press that key combination. When you have all the data entered go ahead and click add and the 
			 key combo will appear in the table. If you wish to change a key combination select it from the table then make 
			 the changes and click update. 
		</para>
		<note>
		<para>
			Note: If you don't click update the change will not take place.
		</para>
		</note>
		<para>
			The third tab contains the color information for syntax highlighting. Select the type of tag you wish to change the 
			color of. Once selected choose whether you want to change the background color or the font color or both. Then 
			click on the boxes located next the check boxes and choose the color. Hint: If you just wish to see the HTML and 
			the normal text select the unknown tag set and change the color to whatever you want. This will highlight all tags 
			in the document.
		</para>
		<para>
		The fourth tab contains the helper application setup. For more information <link linkend="setup-helpers">click here.</link>
		</para>
		<para>
		The fifth Tab is the printer setup tab. <application>Screem</application> uses gnome-print to render print previews as well as print. You can 
		set the paper options as well as a few formatting options here. 
		</para>
		<warning>
			<para>
				Warning: In order to print the rendered HTML you must have compiled screem with gtkhtml.
			</para>
		</warning>
		<para>
			The sixth tab contains just one text field and it is for the command to run the java complier on your machine. 
			Currently the feature is unused but it might be used in later releases. So it doesn't really matter if this is correct.
		</para>
	</sect1>
	
	
	<!-- =========Import=========================== -->   
	<sect1 id="setup-import">
	<title>Importing Sites</title>
		<para>
			If you want to import a site that was not created using Screem then all
			you need to do is open the site as you would for a Screem created site.
			The site settings dialog will open up for you to enter the site information
			in.  Its as simple as that.
		</para>
	</sect1>


	<!-- =========Helpers=========================== -->   
	<sect1 id="setup-helpers">
	<title>Helpers</title>
		<para>
			A helper application is a simple external program that can act as a filter. 
			i.e. it reads the current page from the standard input, and output its results to the
			standard output. Screem then replaces the entire page with the output from this program
			Currently screem doesn't come with any helper applications.
		</para>
		<para>
			To add a helper
			<menuchoice>
			<guimenu>Select Settings</guimenu>
			<guimenuitem>Preferences</guimenuitem>
			<interface>Helpers Tab</interface>
			</menuchoice>
			Insert the command and the type of files(mime type) it can work on. Then select and icon if you want 
			and click add. To change a previous entry select it from the table make the change and 
			click update. 
		</para>
		<note>
			<para>
			Note: If you don't select update the change will not take place.
			</para>
		</note>
		<para>
			<emphasis>Removing helpers</emphasis>
		</para>
		<para> 
			To remove a helper 
			<menuchoice>
			<guimenu>Select Settings</guimenu>
			<guimenuitem>Preferences</guimenuitem>
			<interface>Helpers</interface>
			</menuchoice>
			Then click on the helper you no longer want, then click the remove button
		</para>
	</sect1>
</chapter>


