Rakesh API

org.rakeshv.applications
Class ConvertToTeX

java.lang.Object
  extended by org.rakeshv.applications.ConvertToTeX

public class ConvertToTeX
extends java.lang.Object

A wrapper application to open a text file, and apply some common translations to the contents to add LATEX markup.


Constructor Summary
ConvertToTeX()
           
 
Method Summary
static void main(java.lang.String[] args)
           
private static java.lang.StringBuffer populateHeader(java.lang.StringBuffer headerBuffer, java.lang.String fileName)
          Populate the specified StringBuffer with the standard tex header used to typeset books.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertToTeX

public ConvertToTeX()
Method Detail

populateHeader

private static final java.lang.StringBuffer populateHeader(java.lang.StringBuffer headerBuffer,
                                                           java.lang.String fileName)
Populate the specified StringBuffer with the standard tex header used to typeset books.

Parameters:
headerBuffer - - The StringBuffer to which the header is to be appended.
fileName - - The name of the output tex file
Returns:
StringBuffer - The reference to the StringBuffer passed in. This makes it easy to chain this method call with other standard StringBuffer methods.

main

public static void main(java.lang.String[] args)

Rakesh API

Copyright © 2002-2005 - Rakesh Vidyadharan