Table of contents

1.Introduction 1.1Purpose

2.System Requirements

3.Installation

3.1. Apache and PHP installation

3.2. Installing fonts 3.2.1 in 3.2.2 in windows

3.3.Installing Adobe AIR 3.3.1 in ubuntu 3.3.2 in windows

3.4.Installing Flash Plugin

4.Description of the features 1. Introduction

XeTeX (pronounced /ˈ ziːtɛ x/ or /ˈziːtɛ χ/, though English lacks /x/ or /χ/) is a TeX typesetting engine using and supporting modern font technologies such as OpenType or Apple Advanced . It is written and maintained by Jonathan Kew and distributed under the X11 free software license.

Background: Some familiarity with TEX, LATEX, and XETEX is to be gained first.

1.1 Purpose:

TEX and LATEX do not allow direct coding of texts in non-Roman scripts and languages, and have no native support for Unicode. XETEX addresses this. This is a Web 2.0 API that allows web programmers to create XETEX web applications. The applications themselves will allow users to process documents. It supports languages like English, Tamil and Hindi, the fonts should be True-Type/Open Type/Unicode, and allows for highlighting, italics, easy rescaling, etc., and also it allow the production of camera-ready documents suitable for printing and binding.

2. System Requirements:

Server Side:

• Apache

• PHP

• Xetex compiler from TeXLive

Client side

• Web browser like IE 6.0 and above or Mozilla firefox

• Flash player plugin

3. Installation

3.1 Installing Apache and PHP:

3.1.1 In Ubuntu Open up the /etc//sources.list file, find and uncomment the following lines

http://us.archive.ubuntu.com/ubuntu dapper universe main restricted universe

• deb http://security.ubuntu.com/ubuntu dapper-security universe

Once you are done adding the repositories, you’ll need to run this command:

• sudo apt-get update

From a command shell, you will run the following commands:

• sudo apt-get install apache2

• sudo apt-get install php5

• sudo apt-get install libapache2-mod-php5

• sudo /etc/init.d/apache2 restart

If apache is already installed you can omit the first line. Your web files will now be found in /var/www/

3.1.2 In Windows

First download apache server onto your system and the downloaded file should be stored at C:\temp\apache_2.2.3-win32-x86-no_ssl.msi. This shows you how to install Apache server to your Windows system:

1. Double click the downloaded file C:\temp\apache_2.2.3-win32-x86-no_ssl.msi. The installation wizard window shows up.

2. Click the Next button and follow the instructions to get to the server information screen.

3. Enter the following values on the server information screen:

Network Domain: localhost Server Name: localhost Administrator's Email Address: root@localhost

Install Appache HTTP Server 2.2 programs and shortcuts for: Checked on "only for the current user, on Port 8080, when started Manually." 4. Continue to finish the installation with default settings.

5. Write down the installation destination folder: C:\Program Files\Apache Software Foundation\Apache2.2\.

3.2 Installing Fonts

3.2.1 In Ubuntu:

• Step1: Open home folder • Step2: Goto View>Show Hidden Files • Step3: Open .fonts folder.If the folder is not present,create one by that name. • Step 4: Copy .tff/.otf file to .fonts folder

3.2.2 In Windows

• Choose Start > Settings > Control Panel • Note: In Windows XP, choose Start > Control Panel • Double-click the Fonts folder. • Choose File > Install New Font. • Locate the fonts you want to install. ~In the Drives list, select the drive and the folder containing the fonts you want to install. ~In the Folders list, select a folder that contains the fonts you want to install. (Make sure you have unzipped them first.) The fonts in the folder appear under List of Fonts. • Select the fonts to install. To select more than one font, hold down the CTRL key and click each font. • To copy the fonts to the Fonts folder, make sure the Copy fonts to the Fonts folder check box is selected. • Note: If installing fonts from a floppy disk or a CD-ROM, you should make sure this check box is selected. Otherwise, to use the fonts in your applications, you must always keep the disk in the disk drive. • Click OK to install the fonts.

3.3 Install Adobe AIR

3.3.1 In Ubuntu

• Open the

• Download the file from here using the wget command: http://airdownload.adobe.com/air/lin/download/1.5/AdobeAIRInstaller.bin • The name of the file is AdobeAIRInstaller.bin • Save the file in the Home folder (Places > Home Folder) • Run this command: chmod +x AdobeAIRInstaller.bin • Now run this command: sudo ./AdobeAIRInstaller.bin The normal installer will open, install it. From now whenever you download a .air file, just double click it and it will be installed.

3.3.2 In windows

• Download and save the application installer file (.air file) to your desktop.

• Double-click the .air file to install the application.

3.4 Install Flash Plugin

In Ubuntu

• First, we remove the Flash 9 plugin (you can skip this step if you are absolutely sure that Flash 9 is not installed): • Sudo apt-get remove –purge flashplugin-nonfree

• Then go to the directory where you've stored the Flash 10 .deb package (e.g. /home/falko/Desktop)...... Cd /home/falko/Desktop

• install Flash 10 as follows:

sudo –I install_flash_player_10_linux.deb

4. Describing Features (Usage)

The application can be accessed by the URL http://192.168.3.36/

When the application is opened the following screen appears on the browser where you are supposed to choose the language and a font supported by it.

This application supports three languages.

1. English

2. Tamil

3. Hindi

Language-Fonts:

English Language Supports

10 pitch

• Free Mono •

Tamil Language Supports

• Latha

• TAM-ilango

• TSCu-Paranar

Hindi Language Supports

• Osho

After selecting the language and font click on “Open Editor” which enables you to enter into the main application user interface. Generate Template:

This application allows the user to generate template automatically where in user can enter his/her content. This can be done by clicking on the “Generate Template” button.

Inserting Images:

The user can insert images into the content by the following steps:

Step 1: Click on the “Insert Image” button.

Step 2: A pop-up box appears, which has “Upload File” by clicking this you can upload the required image.

Step 3: A code is generated which can be used where ever needed. Highlighting Text:

This application provides various options for high lighting text such as rescaling, bold, italics etc.

Text rescaling:

To use this option you need to select the part of the text which is to be rescaled and from the dropdown menu select the appropriate font needed.

Text Underlined, Bold and Italics:

To use these options you need to select the part of the text which is to be high lightened and choose one of the option (underlined or bold or italics) as per your use.

Compiling your code and generating PDF document:

After completing the Tex code, click on “Compile and create PDF” button. If the document has any errors it sends an error report. If the compilation is successful, it generates the PDF of the document. The user can save this document.