Sunday, June 26, 2005


An Emacs Plugin for previewing Itrans and Latex File

Project Webpage .
Here is a brief overview of our project
  • Select any itrans/latex text that is between valid tags. Now you can select
    option from menu for prview of this region.(See Preview1).
  • You can preview many such region in emacs window.
  • You can select option "Remove all preview" from Itrans menu to remove all preview of all regions.
  • With "continuous preview" option you can view preview in seperate gv (ghost view) window.(Preview 2)
  • In "continuous preview" mode you can edit text and preview gets automatically updated in gv.

Image Previews Preview1 Preview2


Sunday, June 05, 2005

Preview Latex

This is an in-line latex viewer for emacs.The purpose of preview-latex is to embed LaTeX environments such as display math or figures into the source buffers and switch conveniently between source and image representation.It replaces the latex text with its preview.

When we tried it ,it could generate previews of only sections,sub-sections and mathematical formula. So a small trick could be used to preview any part of a latex document be it tables, enumerations, paragraphs or any kind of fonts.Just place the part to be previewed in the '\begin{figure}' and '\end{figure}' tags.And now preview latex will generate preview for this part of the document.

Previewing itrans text
Preview-latex can be used to preview itrans text.But the itrans text cannot be directly modified and previewed in the latex file.We have to first compile the .itx file using itrans and then the resulting .tex file can be used for generating previews for the itrans text.
We have to use the '\begin{figure}' and '\end{figure}' tags for previewing this also.

Tuesday, May 24, 2005

Hindi Presentation using Beamer

In this presentation we have implimented the following features :
1) Beamer has predesigned themes that can be modified as required.We have used one of the themes.
2) Beamer supports pgf package which can be used for making geometrical figures and graphs. (In slide 8 )
3) Images (in .eps format) can be used in the presentation.
4) Frames once declared can be used thereafter in the presentation with dynamic effects (one by one appearance of the blocks). In page 11,12,13 of the sample presentation.
5) There are inbuilt buttons associated with the template like next slide,previous slide,last slide.
6) Buttons that link to some other page can also be declared. (In slide 15 of the presentation)
7) Frame information and section/subsection information is displayed at the top of the template. (Inbuilt feature of the template)

Including Hindi in the Presentation
Beamer class is used in latex file (.tex file).So for including hindi we started with .itx file with the same content as the latex file and added hindi font paths and itrans text to it.Then we applied itrans to it.The resultant tex file was could be converted to a pdf file using latex+dvips+ps2pdf.

Tex file with beamer can also be converted to pdf using pdflatex on tex file.But due to some font path problem it is not recognizing hindi fonts.

The presentation can be downloaded from the following link :

View Readme for details.

The source .itx file can be found here.

Thursday, May 19, 2005


Beamer is a latex class used to prepare presentations.It is not a WYSIWYG program.It can easily create dynamic effects.Predesigned themes can be used to make presentations.The layout,the color,the fonts can be globally changed.
Beamer can be used with pdflatex and latex+dvips commands.

Beamer can be used to add audio and video file in the presentation.This can be done in two ways:

1) By calling an external program to play the audio or video file.
Using the '\href' we can run an external program eg. mplayer,xmms.
This has been implemented in the sample files at the following link:
(View Readme first) Sample-beamer.pdf

2) The multimedia package of beamer has commands such as '\sound' and '\movie' that enable us to embed movied and sounds in pdf files.Using this the data of the sound file can be completely embedded in the a pdf file and hence no need to carry the sound file along.The package can play movie in the presentation itself.
We still have to implement this.

Wednesday, May 18, 2005

Lyx (Basic idea)

A tool for preparing presentations that can be exported in various formats like ps,PDF,HTML.

Learned the basic operations in lyx.
1)Adding images :
While exporting images are first converted to eps format and then added to the file.
When an image of a format other than .eps is added to a lyx file ,the application is able to convert the image to .eps but after that it is unable to create the final document.The application works fine when the image in the lyx file is of .eps format.

2)Adding special characters and mathematical symbols :
There is a maths panel that can be used to insert various mathematical formulae and symbols such as root,summation,integral,operators.It also has options for inserting special characters and greek symbols.

3)Text formatting :
The application has options for formatting the text in paragraphs,sections,enumerations etc.
The document being prepared can also be viewed in various formats before exporting it.

Sample files are at the following link :

Wednesday, May 11, 2005

The first post

So here we start with the summer project.We'll be posting the updates to our work ,as we progress with the project ,on this blog.We hope it'll be a good learning experience and fun too :)