r288 | wh | 2016-09-17
add missing newline after display equation end

r287 | wh | 2016-09-16
add option to delimit LaTeX equations by \(...\) and \[...\]

r286 | prahl | 2013-04-09
some fixes

r285 | prahl | 2012-10-30
adding .gitignore

r284 | prahl | 2012-10-22
minor tweaks to EQ fields

r283 | prahl | 2012-10-22
fix paragraph bug

r282 | prahl | 2012-10-22
more or less working EQ conversion

r281 | prahl | 2012-10-22
add RTFGetNonWhiteSpaceToken()()

r280 | prahl | 2012-10-16
support EQ braces

r279 | prahl | 2012-10-15
support for EQ fractions

r278 | prahl | 2012-10-15
support for sub and superscripts

r277 | prahl | 2012-10-15
first step towards supporting Word EQ commands

r276 | prahl | 2012-10-07
redefine roundf

r275 | prahl | 2012-08-16
fix parsing of unicode token followed by \'00

r274 | prahl | 2012-08-16
build fix for linux, inlucd math library when linking

r273 | whennings | 2012-07-05
updated emf2pdf.bat to allow blanks in folder names

r272 | whennings | 2012-06-29
updated documentation, Makefile, writer.c for the Windows version 2-2-1

r271 | prahl | 2012-06-29
remove russian-short.tex from makefile

r270 | prahl | 2012-06-29
final ChangeLog update before 2.2.1

r269 | prahl | 2012-06-28
patch future tag to fail better

r268 | prahl | 2012-06-28
bump version number to 2.2.1

r267 | prahl | 2012-06-28
update ChangeLog

r266 | prahl | 2012-06-28
documentation updates

r265 | prahl | 2012-06-28
make sure mandir is present

r264 | prahl | 2012-06-27
correctly identify presence of unoconv

r263 | prahl | 2012-06-27
add mising files to distribution

r262 | prahl | 2012-06-27
use unoconv to convert figures

r261 | prahl | 2012-06-27
change 'convert2pdf' to 'vectorimage2pdf'

r260 | whennings | 2012-06-26
Sorry last version was Makefile for Windows
now uploaded Makefile for Unix

r259 | whennings | 2012-06-26
Makefile modification for MS Windows
added : emf2pdf.bat

r258 | whennings | 2012-06-20
updated Makefile

r257 | whennings | 2012-06-20
writer.c : new wmf/emf to eps converter under MS Windows
added : Readme_Windows.txt

r256 | prahl | 2012-06-17
fix compiler warnings

r255 | prahl | 2012-06-17
support unicode thinspace

r254 | prahl | 2012-06-17
fix bug when footnote is first in doc

r253 | prahl | 2012-06-17
add amssymb package to preamble

r252 | prahl | 2012-06-16
fix fonttable, fix v3 eqn

r251 | prahl | 2012-06-16
Copy permissions during install

r250 | prahl | 2012-06-16
add some more rtf control words

r249 | prahl | 2012-06-16
script to convert files

r248 | prahl | 2012-06-16
add item to list

r247 | prahl | 2012-06-16
better image conversion

r246 | whennings | 2012-03-20
WH: add CC:=gcc to Makefile

r245 | prahl | 2012-03-19
silence useless warning

r244 | prahl | 2012-03-19
remove unused files and fix image insertion

r243 | prahl | 2012-03-19
don't save unused images

r242 | prahl | 2012-03-19
fix pict export when header is present

r241 | prahl | 2012-03-17
tabs->spaces

r240 | prahl | 2012-03-17
make ole equations more robust

r239 | prahl | 2012-03-17
add web files to dist

r238 | prahl | 2012-03-14
tweak title

r237 | prahl | 2012-03-14
html errors and style update

r236 | prahl | 2012-03-13
add rsync install to Makefile

r235 | prahl | 2012-03-13
add MTEF html files

r234 | prahl | 2012-03-13
add hand-crafted web files

r233 | prahl | 2012-03-11
add man file, remove SWP file

r232 | prahl | 2012-03-11
tweak help message

r231 | prahl | 2012-03-11
more tweaks to Makefile

r230 | prahl | 2012-03-11
adhere to www.gnu.org/prep/standards/

r229 | prahl | 2012-03-11
fix prototype issues in rtfprep

r228 | prahl | 2012-03-11
fix remaining prototype issues

r227 | prahl | 2012-03-11
remove redundant mkdir definition in main.c

r226 | prahl | 2012-03-11
fix prototypes and shadows in eqn.c

r225 | prahl | 2012-03-11
fix prototypes in rtf.h

r224 | prahl | 2012-03-11
update most prototypes in tokenscan

r223 | prahl | 2012-03-11
support blacksquare and document process

r222 | prahl | 2012-03-11
account for [xx] after \linebreak

r221 | prahl | 2012-03-11
handle CR before picture data

r220 | prahl | 2012-03-10
quiet warnings in table code

r219 | prahl | 2012-03-10
handle ole header differently

r218 | prahl | 2012-03-06
support for \uc0

r217 | prahl | 2012-02-12
testing git svn

r216 | prahl | 2011-11-26
start of multirow support

r215 | prahl | 2011-11-25
trivial changes to try and understand the vertically
merged cell problem

r214 | prahl | 2011-11-23
rework tables so that column alignment works better
now table.tex works up to table 6.

r213 | prahl | 2011-11-17
remove ancient comments that really don't help

r212 | prahl | 2011-11-17
when emitting latex without preamble, still include
necessary color definitions.
Add a sentence to the r2l-pref file to emphasize that
PICT conversion no longer works under Lion.

r211 | prahl | 2011-11-17
fixes so that fonttable and colortable ignore some
new keywords/tokens found in Word 2008 for Mac RTF

r210 | prahl | 2011-11-16
minor changes to try and get new rtf file to convert

r209 | prahl | 2011-11-09
add -f switch to avoid including latex preamble

r208 | whennings | 2011-09-13
WH: Makefile adaptation for Windows

r207 | prahl | 2011-09-06
Clean up Makefile as was done for latex2rtf.
Eliminate unused variables
Remove binary before installing on top

r206 | prahl | 2011-08-26
Change PREFIX to DESTDIR to follow GNU standard
http://www.gnu.org/prep/standards/html_node/DESTDIR.html

r205 | prahl | 2011-05-10
properly escape ampersand in equations.  Use \mathop instead
of \limfun for some operators e.g., var()

r204 | prahl | 2011-03-06
fix NextGraphics path

r203 | prahl | 2011-03-06
when translating .rtfd files, always create a new directory
and copy all the figures to the new directory.

r202 | prahl | 2011-03-05
scale column width for oversize tables

r201 | prahl | 2011-02-28
handle text in tables very similarly to text handled elsewhere
set default conversion of tables to avoid a lot of extra noise
thereby making table conversion much more sane.  Alignment can
still be achieved, but the latex is really, really verbose.

r200 | prahl | 2011-02-27
starting to simplify table output, add new table preferences.

r199 | prahl | 2011-02-26
refactoring table writing code.  no functional changes

r198 | prahl | 2011-02-26
improve space handling before and after equations

r197 | prahl | 2011-02-26
environments should restore paragraph settings when closed
add space after inline equations *after* the final $

r196 | prahl | 2011-02-26
\sect should also indicate end of a paragraph

r195 | prahl | 2011-02-25
more simplification and better comments for table prescanning

r194 | prahl | 2011-02-24
slightly more robust table scanning

r193 | prahl | 2011-02-24
more fixes for prescanning tables.  Newer versions of Word
repeat cell size instructions which caused me no end of grief.

r192 | whennings | 2011-02-23
WH: Windows specific settings in Makefile

r191 | prahl | 2011-02-22
more cleanup for pre-scanning tables

r190 | prahl | 2011-02-22
clean up table pre-scanning code

r189 | whennings | 2011-02-22
WH: in README and rtf2latexDoc.tex,
    changed the executable name back to "rtf2latex2e"

r188 | prahl | 2011-02-21
renaming.  no change in functionality

r187 | prahl | 2011-02-21
do not include black in the color list

r186 | prahl | 2011-02-21
fix multicolumn handling that was broken in the last check-in

r185 | prahl | 2011-02-21
clean up handling of sections, in particular handle
the need for a page break properly

r184 | prahl | 2011-02-21
add RTFGetTextWord() to reader
remove a couple of warnings

r183 | prahl | 2011-02-19
improve spacing around figures
add spaces around inline equations

r182 | whennings | 2011-02-18
WH: writer.c: rename wmf to pdf script to "w2p.bat" and use it only under Windows
    two test files added

r181 | prahl | 2011-02-17
figures found in \shpgrp now work.  For this group, each \shp is processed
instead of relying on the \shprslt (which seems to be corrupted).
Added necessary scaling back in for figures.

r180 | prahl | 2011-02-17
delve into the guts of figure handling.  RTF is not a pretty beast.  No
functional changes yet.  This is mostly refactoring and making the parsing
process more robust.

r179 | prahl | 2011-02-16
rename cell structure from "cell" to "cellStruct"
fix bug in tables where minipage environment might not get
closed correctly.

r178 | whennings | 2011-02-16
WH: rename wmf to pdf script to "w2p.bat" and use it only under Windows
    minor correction in README

r177 | whennings | 2011-02-15
WH: calling wmf2eps and epstopdf also in Windows version

r176 | prahl | 2011-02-15
add missing codepage files to install

r175 | whennings | 2011-02-14
WH: minor corrections in README

r174 | prahl | 2011-02-10
support for simple equation numbers.

r173 | prahl | 2011-02-07
equation conversion is now direct to strings instead of directly writing
to the output file.  This potentially permits later manipulation of the
equation based on its surrounding text.

r172 | prahl | 2011-02-06
first part of factoring equation conversion, separating
the equation markup (\begin{eqnarray}) from the equation itself

r171 | prahl | 2011-02-06
support multiple changes to header/footer throughout document

r170 | prahl | 2011-02-06
add more RTF control words that are ignored
support left and right page headers
support inserting current page number

r169 | prahl | 2011-02-06
Simple implementation for headers and footers

r168 | prahl | 2011-02-05
add support to cp936 (simplified chinese or GB2312)

r167 | prahl | 2011-02-05
support for MacJapanese by just using the Shift-JIS lookup table

r166 | prahl | 2011-02-05
cp932 (Japanese) font encoding support.  Characters appear properly
in the raw latex source.

r165 | prahl | 2011-02-04
second part of cp932 support, read charset

r164 | prahl | 2011-02-04
first part of support of Shift-JIS or cp932 (Japanese)
currently inactive

r163 | prahl | 2011-02-01
remove internal conversion of pict to pdf in favor of using an
external program.  This simplifies the Makefile and allows
rtf2latex to be built 64-bit on MacOS.

r162 | prahl | 2011-02-01
add wmf->pdf conversion for unix systems that have
both wmf2eps (from the libwmf package) and epstopdf

r161 | prahl | 2011-02-01
Change version to 2-0-2

r160 | prahl | 2011-01-31
update changelog through version 2-0-1 and move to doc folder

r159 | prahl | 2011-01-31
better fix for extra double-close of paragraph
add new target to test/Makefile.
now cd test && make pdf should go to completion

r158 | prahl | 2011-01-31
fix a problem with moreEqns found by Wilfried.
properly initialize command line variable so that
equations are once again converted.

r157 | prahl | 2011-01-31
eliminate a few extra files from the distribution
massive update to the documentation.  It is now mostly relevant.

r156 | prahl | 2011-01-31
add missing 1251 encoding to SVN
rewrite code that rewrites the file.  Windows does not properly
support the rename() function, so we have to dance around that.
Also fix a bug caused by not properly initializing a variable
Remove tabs in c files

r155 | prahl | 2011-01-30
put ChangeLog under svn control

r154 | prahl | 2011-01-30
few more tweaks before release

r153 | prahl | 2011-01-30
update README
fix 'make dist' issues
rename ourselves to rtf2latex2e
clean up error messages

r152 | prahl | 2011-01-30
test page for showing russian translation.  Support
\ansicpg10000, and avoid handling \ansicpg token twice.

r151 | prahl | 2011-01-30
command-line options override r2l-pref file

r150 | prahl | 2011-01-30
basic support for cp1251 (russian)

r149 | prahl | 2011-01-30
Use just one version number located in the Makefile

r148 | prahl | 2011-01-30
suppress spurious numbering when PAGE field is encountered

r147 | prahl | 2011-01-30
revise help command and add many command-line options
add new preferences

r146 | whennings | 2011-01-30
WH: InitConverter() must be called after reading command line options

r145 | prahl | 2011-01-30
change file read and write to "rb" and "wb"

r144 | prahl | 2011-01-29
turn off subscript/superscript with \dn0 and \up0

r143 | prahl | 2011-01-29
bring back unicode support

r142 | prahl | 2011-01-29
new improved preamble

r141 | prahl | 2011-01-29
last set of changes before shifting over to rewriting entire file

r140 | prahl | 2011-01-29
populate preambleOurDefs

r139 | prahl | 2011-01-29
split out initialization code and place it in init.c
simplify charset handling
change handling of styles to be much more coherent and possibly extensible

r138 | prahl | 2011-01-29
more progress on preamble rationalization

r137 | prahl | 2011-01-29
first batch of changes to rationalize latex preamble info
move some hard-coded strings out of the c-file and into the r2l-pref
eliminate output encoding option on the command line because it is
probably best if only the utf8x encoding is used.

r136 | prahl | 2011-01-28
only keep one copy of rtf-ctrl around.  Now if you type 'make parser'
after changing rtf-controls then a new version of rtf-ctrl is produced
and inserted into the pref/ directory.  If this is followed by just
a simple 'make install' then you should have a working binary that
incorporates all the changes in rtf-controls.

r135 | prahl | 2011-01-28
support for NeXtGraphix (commonly used in .rtfd files)

r134 | prahl | 2011-01-27
add support for \ulnone

r133 | prahl | 2011-01-27
add support for exporting .emf files

r132 | prahl | 2011-01-27
add a bunch of rtf test files created by Jani Giannoudis
for the RtfConverter project.  I would add attribution to
the files, but these are test files and I don't want to change
them.
fixed a parsing bug when reading the font table at the start of
the rtf file.  This is covered by test interpreter test 11.

r131 | prahl | 2011-01-27
changes to tables

r130 | prahl | 2011-01-27
fixed vertical space between paragraphs
fixed linespacing within paragraphs

r129 | prahl | 2011-01-27
have parser support \CR or \LF as \par token

r128 | prahl | 2011-01-27
explicitly handle {\*\shppict ... }{\nonshppict ...}

r127 | prahl | 2011-01-26
eliminate spurious ;;;;; in translated latex file

r126 | prahl | 2011-01-26
trying to fix mishandling of unknown keywords {\*\keword ... }
lots of thrashing, but no resolution yet --- just trivial cleanup}

r125 | prahl | 2011-01-26
revamp preferences, add new ones and remove old ones
fix swapped values for upper and lower case c with cedilla
continue deleting unused variables

r124 | prahl | 2011-01-26
remove more unused variables
enable color support
fix character formatting bug

r123 | prahl | 2011-01-25
fix paragraph regression with figures
replace \newpage with \pagebreak (because the latter
can show up nearly anywhere)

r122 | prahl | 2011-01-25
eliminate CharAttr()

r121 | prahl | 2011-01-25
implement character formatting.  Much simpler and more robust.

r120 | prahl | 2011-01-25
experimental new implementation of character styles
only works for italics and bold (and then not together!)

r119 | prahl | 2011-01-25
simplify code for handling headings

r118 | prahl | 2011-01-25
remove spurious opening brace
improve ExamineToken()

r117 | prahl | 2011-01-25
fix regressions with equations and tables

r116 | prahl | 2011-01-24
more paragraph formatting fixes

r115 | whennings | 2011-01-19
WH: in main.c, added declaration of mkdir()

r114 | prahl | 2011-01-18
step 1 in adding tracking textStyles

r113 | prahl | 2011-01-18
more work on paragraphs.
Add infrastructure to track changes in parser state
for paragraphs.

r112 | prahl | 2011-01-17
improved paragraph indentation

r111 | prahl | 2011-01-17
add -D option to create a new directory for all the files
created by one .rtf file

r110 | whennings | 2011-01-17
WH: changed formatting of tables in test file "enc-utf8x.rtf" from heading2 to body text

r109 | prahl | 2011-01-15
fix a bug in table code
add a test file for utf8.  It seems to work, but getting
all the packages correct so that the translated file produces
a pdf is beyond my skills.

r108 | prahl | 2011-01-15
Start reclaiming the rtf2latex namespace

r107 | prahl | 2011-01-15
add varrho and varepsilon to list of standard character names

r106 | whennings | 2011-01-15
WH: fixed 2 little typos in documentation

r105 | prahl | 2011-01-14
last set of changes for unicode translation.  Latin 1 and Latin 2
characters should be pretty much covered now.

r104 | prahl | 2011-01-14
update headers for latex-encoding files
continue to update the default unicode latex-encoding file

r103 | prahl | 2011-01-14
remove unused alternate symbolfong encodings

r102 | prahl | 2011-01-14
more character encoding clean-up

r101 | prahl | 2011-01-14
rename TeX-map to latex-encoding
I figure that if I was confused by the names of these files
then others would be as well.

r100 | prahl | 2011-01-14
add more unicode entities to TeX-map
fix spelling of diaerisis in all files

r99 | prahl | 2011-01-13
extend utf8 support to 0xFFFF
add more characters to TeX-map, still a ways to go

r98 | prahl | 2011-01-13
extent utf8 support to characters up to 0x07FF

r97 | whennings | 2011-01-11
WH: URLs updated in documentation

r96 | prahl | 2011-01-10
changing the default output to utf8.

r95 | prahl | 2011-01-09
change default output to cp1252
add basic support for converting .rtfd files
add NeXtStep character mapping because it was the default for
.rtfd files long ago.

r94 | whennings | 2011-01-09
WH: source code cleanup (removed comments inserted during testing)

r93 | prahl | 2011-01-08
make latin1 the default output encoding.

r92 | prahl | 2011-01-08
improve unicode character translation ...

r91 | whennings | 2011-01-08
WH: in main.c, changed fopen() of input file to binary

r90 | prahl | 2011-01-06
fixes for make install target

r89 | prahl | 2011-01-06
add missing prototypes to rtf.h and reader.c
put rtf-controls under SVN again

r88 | prahl | 2011-01-06
I decided to add the files that are created by rtfprep to SVN
and to stop producing them every time.
Add some error checking to search for OLE header also.

r87 | whennings | 2011-01-06
WH: cole_support.c, fix for "too many open files"

r86 | prahl | 2011-01-05
remove more cruft

r85 | prahl | 2011-01-05
insert minor debugging commands, reformat some of the table code

r84 | prahl | 2011-01-05
Makefile changes to support new source file structure
and to support .pict to .pdf conversion

r83 | prahl | 2011-01-05
eliminate extra src directory
add pict -> rtf version under osx
add tracing of paragraph ending

r82 | prahl | 2011-01-04
this time the tempnam() code has actually be tested

r81 | prahl | 2011-01-04
yet another attempt at getting tmpnam() working on mingw

r80 | whennings | 2011-01-04
WH: revert to tmpnam() and add printout of generated tempfile name

r79 | prahl | 2011-01-03
replace uses of tmpnam() with mkstemp() in an effort to get
a working binary for windows

r78 | prahl | 2011-01-02
trivial changes ... just trying to scope out how hard it will be to
improve paragraph translation

r77 | prahl | 2011-01-02
convert all use of sprintf to snprintf

r76 | prahl | 2011-01-02
improved testing so that pdflatex is used to validate the results
made all splint suggestions to eqn.c

r75 | prahl | 2011-01-02
fix all warnings muttered by splint for the cole files
including mixed up function point passing.  it is unclear
how it worked before, but testing seems to suggest that
everything still works fine.  The hope is that djgpp or
mingw compilers will now succeed.

r74 | prahl | 2011-01-02
off by one allocation error in cole
clean up more casts
rename equation.rtf

r73 | prahl | 2011-01-02
now that all .eqn files start with 0xd0, fix test files
add .eqn files to distribution
add missing test files to distribution
fix Makefiles so that 'make test' works on newly unarchived directory

r72 | prahl | 2011-01-02
remove yet another file that should not be in SVN

r71 | prahl | 2011-01-02
More robust method for extracting OLE files.  Now just search
for a byte sequence that each OLE file should begin with.
Remove lots of cruft from the cole_support and cole_decode files.
Anyone wanting to hack on these files should get them elsewhere.

r70 | prahl | 2011-01-02
bizarre off-by-one byte in test/multiline.rtf conversion,
fix translation of unknown functions
add bold to vector typeface
change from \prime to just '
fix \therefore typo

r69 | whennings | 2011-01-02
WH: added output of filename and errno to cole_perror
    changed PLATFORM:=-DMSDOS # Windows/DOS
         to PLATFORM:=-DRTF2LATEX2E_DOS # Windows/DOS
    which is checked in main.c

r68 | prahl | 2011-01-01
improve character embellishment
dramatically improve auto-recognition of inline vs displayed equations

r67 | prahl | 2011-01-01
fix for embellishments

r66 | prahl | 2011-01-01
fix variant of superscript and subscript
eliminate an extra table for charset attributes
add test files for different equations

r65 | prahl | 2011-01-01
add -e and -E flags
allow processing of a single .eqn file
consolidate character lookup into one table
add a dozen or so missing character translations for MT Extra

r64 | prahl | 2011-01-01
remove cole_version.c from Makefile

r63 | prahl | 2011-01-01
removing more unused files from SVN

r62 | prahl | 2011-01-01
remove files that are no longer used from SVN

r61 | prahl | 2011-01-01
more consolidation.  eliminate cole_internal.* by inserting in cole_support.*
add eqn_support.h to list of header files.
make dist now actually creates an archive that can be compiled afte unzipping

r60 | prahl | 2011-01-01
add newline at end of these source files

r59 | prahl | 2011-01-01
hide unused HasHVLine() function from compilers

r58 | prahl | 2011-01-01
add simple implementation of strcasestr for portability
add more casts to appease msys and djgpp compilers

r57 | prahl | 2010-12-31
fix matrices
always emit definition for \degree
remove more vestigal dependence on jpeg2eps and figure2eps

r56 | prahl | 2010-12-31
update ToDo list

r55 | prahl | 2010-12-31
add MathType equation documentation to the project

r54 | prahl | 2010-12-31
correctly parse RULER tag in a LINE tag

r53 | prahl | 2010-12-31
add textgreek.sty
remove vestigal references to cole_encode, fig2eps, jpg2eps

r52 | prahl | 2010-12-31
eliminate c++ style comments in c files

r51 | prahl | 2010-12-31
fix several warnings found by Wilfried when compiling under Windows
no longer link to figure2eps.o, jpeg2eps.o, or cole_decode.o because
these are unused.  This should get us much closer to compiling under
mingw

r50 | prahl | 2010-12-31
rewrite equation line breaking
rewrite PILE handling code

r49 | whennings | 2010-12-31
WH: fixed typos in Makefile and eqn.c

r48 | prahl | 2010-12-29
fix embell parsing problems
add textgreek package
fix use of text in equations

r47 | prahl | 2010-12-29
fix crashing bug in embellishments
add defines to help with debugging
remove some vestigal code
add a few special cases to unicode translation

r46 | prahl | 2010-12-27
support for single unicode characters

r45 | prahl | 2010-12-27
improve inline and display equation modes

r44 | prahl | 2010-12-26
fix slant fractions again
hack to make superscripts work ... an empty line enclosing
another line was hiding the contents.  this probably should
be revisited.

r43 | prahl | 2010-12-26
hacks to work with equations 15.113 and 15.49 which have
undocumented integral variation codes

r42 | prahl | 2010-12-26
properly read OLE equation file so that MTEF v5 equations
get parsed correctly.

r41 | prahl | 2010-12-26
add explicit exit(1) to help static code analyzer,
remove or comment out unused variables.

r40 | prahl | 2010-12-25
more removal of longs
fixes for static code analysis
removal of unused code in cole_encode.

r39 | prahl | 2010-12-24
fixing possible NULL dereferencing as found by static code analyzer
Remove many declarations of type long to avoid 64-bit problems
Make casting from 64 bit to 32 bit explicit

r38 | prahl | 2010-12-22
inline and display

r37 | prahl | 2010-12-22
add moreEqns.rtf as another test file

r36 | prahl | 2010-12-22
still fussing with the 02 00 00 00 00 sequence.

r35 | prahl | 2010-12-22
remove tabs ... yet again

r34 | prahl | 2010-12-22
fix fractions

r33 | prahl | 2010-12-21
restore character translation

r32 | prahl | 2010-12-21
mend fences

r31 | prahl | 2010-12-21
MTEF 5 changed the meanings of every TMPL.  First attempt
at adding the new template profile table

r30 | prahl | 2010-12-21
still seems like the OLE equation size is off by 4 bytes
try shifting the entire equation by four bytes and appending
four NULLs at the end.

r29 | prahl | 2010-12-20
trivial whitespace changes

r28 | prahl | 2010-12-20
more Makefile housecleaning.
move most of eqn.h to eqn_support.h
eliminate gratitious LaTeX capitalization

r27 | prahl | 2010-12-20
There is no need to track these pdf files in SVN

r26 | prahl | 2010-12-20
Clean up building of documentation files
Clean up creating a zip distribution

r25 | prahl | 2010-12-20
clean up the README
eliminate the duplicate INSTALL
go back to rtf2latex2e as a binary name
fix Makefile to actually install again

r24 | prahl | 2010-12-20
add option to include both translated latex equation and
the corresponding image in the new latex file
replace .pict suffix on images with .pdf since almost no
TeX implementations support PICT images anymore.

r23 | prahl | 2010-12-20
At least two MTEF 5 equations translate successfully!

r22 | prahl | 2010-12-19
fix xfNULL to be 0x01 and not 0x10

r21 | prahl | 2010-12-19
restored functionality for MTEF < 5

r20 | prahl | 2010-12-19
better handling of the options/attributes for each tag
MTEF version 5 has a separate bye for each option, earlier
versions just used the upper part of the tag byte

r19 | prahl | 2010-12-19
MTEF equation parsing in progress
got tired of two spaces indenting so ran the eqn.c and eqn.h through gnuindent -kr

r18 | prahl | 2010-12-17
new test file for newer equations

r17 | prahl | 2010-12-17
one step forward, two steps back.
fix OLE decoding so that it works
equation parsing does not yet work for newer
MathType equations so nothing shows.

r16 | prahl | 2010-12-17
only emit \begin{spacing} ... \end{spacing} when something
has changed.

r15 | prahl | 2010-12-17
perl script to indent RTF group levels.  The result
may or may not be a proper RTF file, but it is much
easier for humans to read

r14 | prahl | 2010-12-17
add support for PAGEREF field.  Right now HYPERLINK \L
competes with PAGEREF.  Pretty screwy.

r13 | prahl | 2010-12-17
support for \bkmkstart

r12 | prahl | 2010-12-16
try to streamline handling of rtfField ...

r11 | prahl | 2010-12-16
eliminate R2Lurl in favor of standard href
tweak \\ to \\{} to avoid problem when next line starts
with a right bracket
add DebugMessage() to help tracking tokens
process tokens when in doing HYPERLINK
ignore HYPERLINK commands
Now translates a 200 page thesis but equations are
still not working right and images are wrong size.

r10 | prahl | 2010-12-16
start moving from ancient K&R style functions to prototypes

r9 | prahl | 2010-12-16
improve HYPERLINK support so that latex output
does not cause latex errors.  It is still broken
but ... not as broken as before.

r8 | prahl | 2010-12-15
remove spurious complier warning about rtfprep.c
update ToDo list

r7 | prahl | 2010-12-15
replace use of \quotedbl with \quotedblright

r6 | prahl | 2010-12-15
add missing test file
add parsing for \ts so that stylesheet is read correctly
modify makefile so that rtf-ctrl gets updated

r5 | prahl | 2010-12-14
change writer name and add todo list

r4 | prahl | 2010-12-14
make test works now
support command line arguments

r3 | prahl | 2010-12-14
add more test files
add rtfprep and friends
add more Makefiles

r2 | prahl | 2010-12-14
run the source code through gnuindent -kr and
eliminate all tabs.  don't touch eqn.c because
there may need to be more merging done.

r1 | prahl | 2010-12-14
moving away from CVS to SVN
restructure the source to streamline the build
the code now builds cleanly and works on simple
files.

Release 1.0 final candidate 1 (26. Nov 2000)
============================================
- bug fixes
- run-time compatibility support for Scientific Workplace

Release 1.0 beta 3 (21. Aug 2000)
==================================
- bug fixes
- resolved compatibility issues with Scientific Workplace
- added TeX-map.german and TeX-map.latin1 files (Thanks, Hermann Lauer)

Release 1.0 beta 3 (11. June 2000)
==================================
- hyperlink translation bug fixed
- Some new RTF destinations were added, so that they can be recognized and
  ignored.
- added a new preference to specify output map file other than TeX-map file.
  This can be done in the r2l-pref file.
  A different output map file can also be specified by the "-t" command
  line option.
  Packages specific to the output mapfile, eg. \usepackage[applemac]{inputenc}
  can be specified in the output mapfile itself so that they are always loaded
  when that map is used. See the TeX-map.applemac file as an example.

Release 1.0 beta 2 (20. May 2000)
=================================
- first wave of bugs fixed
- jpeg2eps put back in since it was more reliable than ImageMagick on JPEGs

Release 1.0 beta (1. May 2000)
==============================
- equation support added by Steve Swanson, Mackichan Software
- ImageMagick support added bu Ujwal S. Sathyam
- bug fixes


Release 0.3 beta (18. March 2000)
====================================
- Added cole support: cole is a free C library for reading OLE objects. It will
  be used to read and translate equations (hopefully soon).
- Added wmf2pict conversion for the Mac version.
- Updated the documentation
- Fixed bugs in footnote and hyperlink conversion code that may have 
  caused some StarOffice RTF documents to crash rtf2latex2e.
- Footnotes now work in tables too.
- Unix/Linux and DOS command-line versions have support for two
  very useful command line options:
  -h for help
  -v version  

Release 0.263 beta (26. Sept. 1999)
===================================
- added support for hyperlinks using the hyperref package. Translation of
  hyperlinks can be turned off in the r2l-pref file or from the Preferences 
  menu in the Mac application.
- fixed bugs in the translation of subscripts and superscripts.

Release 0.262 beta (2. Sept. 1999)
==================================
- Corrections to character map files cp1252.map, cp437.map, and cp850.map.
- Improved translation of text styles such as bold, italic, etc.
- Added characters to ansi-sym symbol map file.
- Added recognition of more rtf control codes.
- Minor code corrections to LaTeX2e-writer.c
	- added code to ControlClass () to ignore sn and sv.
	- added code to ignore first character in a footnote if it is a space.
	- added CheckForCharAttr () before InitializeTextStyle () for rtfPlain.
- Minor code correction to reader.c
	- commented out RTFMsg about unknown token in ReadStyleSheet ()
- Added smallcaps and documentclass customization to r2l-map.
- All TeX-maps
	- changed '"' to {\textquotedbl}
	- added Thorn to map to {\TH}
	- changed th to thorn mapping {\th}
	- enclosed \AE and \AA in {}.
- standard-names
	- added "powern" character.

Release 0.261 beta (3. July 1999)
=================================
- Fixed a problem that erroneously caused the Mac character set to become
  active under certain circumstances. European users particularly may have 
  wondered about the sometimes weird and totally incorrect character 
  translation. I had inadvertently followed some outdated documentation on 
  character set IDs.
  
- Added a feature to read a file called r2l-map where you can customize 
  how certain features such as bold, italic, heading1,  are mapped into LaTeX.
  For example, the default mapping for bold is \textbf{}. Instead, you could 
  override this in the r2l-map file by specifying:
  
  bold		"{\it "
  
  Similarly, default mapping for heading1 is \section*{}. Instead, you could 
  say:
  
  heading1		\chapter{	# provide only opening braces!
  
  The r2l-map file will be used only if present. Otherwise default mappings 
  are used.

Release 0.26 beta (28. June 1999)
=================================
- Fixed a problem that generated unreadable WMF files on Windows systems. 
  I was not specifying the bounding box correctly, and I had not accounted for
  byte-swapping issues between big-endian and little-endian systems.

- Added a feature to read a file called "r2l-head". In it, you can specify 
  any additional packages you want rtf2latex2e to insert into the header of the 
  output ".tex" file before \begin{document}. 
  For example, Italian users may want to use the Italian babel package. 
  You would then insert "\usepackage[italian]{babel}" in the r2l-head 
  file. If the r2l-head file is not found, nothing happens. Thanks to Riccardo 
  Lucchetti for the suggestion.
  
- Many European users wanted the inputenc feature back that I had dropped to 
  implement auto-switching of character sets. Using standard LaTeX notation makes 
  editing of files that have lots of \`{a}'s and \`{e}'s difficult, not to 
  mention spell-checking. There is a much more elegant method of using the 
  inputenc package than the one previously implemented. Earlier, I had 
  hard-coded the input encoding stuff into the program. This approach was 
  inflexible and made it difficult to add support for more encodings. The much 
  easier method is to appropriately edit the TeX-map file. This file determines 
  how a character is mapped in the output ".tex" file. For example, the character 
  Agrave is mapped to 
  
  Agrave	\`{A} 
  
  using the standard LaTeX notation. People wishing to use inputenc can change 
  the mapping to 
  
  Agrave	À 	# this is \'{A} on the Mac character set.
  
  in the TeX-map file. The appropriate command 
  "\usepackage[<enc>]{inputenc}" can then be inserted into the r2l-head file, 
  so that rtf2latex2e produces a ".tex" file that uses the inputenc package.
  
  In this distribution, I have provided sample TeX-map files for applemac,  
  cp1252 (ansi, latin1), and cp1250 (Eastern European, latin2) encodings 
  called TeX-map.applemac, TeX-map.cp1252 and TeX-map.cp1250 respectively. 
  To use any of them, rename the file to "TeX-map". For example, on a Macintosh, 
  you rename the file "TeX-map.applemac" to "TeX-map" and insert the line 
  "\usepackage[applemac]{inputenc}" in your "r2l-head" file. I did this on my 
  Mac, so please check the TeX-map.cp1252 and TeX-map.cp1250 for accuracy.
  
  Thanks again to Riccardo Lucchetti for the suggestion.
  
- rtf2latex2e has been successfully compiled on a DEC Alpha, thanks to Chris 
  Rennie. Some issues involved make barfing on the supplied Makefile:
  - there was an extra line containing just a tab character, and this resulted 
    in make aborting with the message 'null command'.  
  - Also the macro $^ is not available on DEC Alphas, nor is it mentioned in 
    'Unix in a Nutshell'. It should be replaced with $(OBJ).
    
- In the Unix and DOS versions, rtf2latex2e now first searches for its 
  associated files in the current working directory and then in the 
  directory specified by the RTF2LATEX2E_DIR variable. Useful for overriding 
  files.
    
- more miscellaneous stuff tweaked.
    

Release 0.252 beta (22. June 1999)
==================================
- I found that Macintosh PowerPC systems running MacOS < 8.5 need to have the 
  "Navigation" shared library in the Extensions folder. Otherwise, rtf2latex2e 
  will not launch complaining about "NavigationLib" not found. In this update, 
  I have included the file "Navigation" in the folder called "-> put into 
  Extensions folder". PowerPC systems running MacOS 8.5 or later should not need 
  this. 68k systems are not affected either (unless I hear otherwise).

Release 0.251 beta (21. June 1999)
==================================
- I had added a feature to ignore stuff marked invisible by RTF. Didn't quite work 
  out the way I wanted it to. So I disabled it again. I will look into it further 
  if I find the time.
  
- another minor bug in function CheckForParagraph () fixed.

Release 0.25 beta (18. June 1999)
=================================
- Scott Prahl (prahl@ece.ogi.edu) has joined the development effort. He will be 
  working on routines to convert various image formats to eps, and hopefully the 
  two of us can figure out how the hell to read embedded equations in RTF. However, 
  I will still be the main point of contact for rtf2latex2e, and all bug reports 
  and feature requests should be sent to me.

- RTF allows use of multiple character sets, say latin1 and latin2. For example,
  the default character set may be latin1, but to produce a Hungarian letter, RTF
  might switch to latin2. rtf2latex2e now supports automatic switching of character
  sets. However, this feature is not compatible with the inputenc feature, so I had
  to drop support of the inputenc package. All characters wiil be represented by 
  standard LaTeX commands. rtf2latex2e now supports two additional character sets:
  code page 1250 (Eastern European/latin2) and code page 1254 (Turkish/latin5). 
  Other character sets can be easily added.
  
- I have added an option to specify the use of the fontenc package in the preference
  file. All acceptable values for the fontenc package, eg. T1, LY1, etc. can be 
  specified. Basically I got tired of LaTeX bitching about things just because it 
  was using the default encoding.
  
- In the Mac version, Scott has added support for converting PICT files to EPS
  format. It requires that you have the Laserwriter 8 driver installed on your
  system, and that your current printer uses that Laserwriter driver. The conversion 
  process looks a little weird. Printer dialog windows pop up and buttons get 
  automatically pressed. Some user interaction is required for choosing directory 
  where the EPS file will get saved. You can also choose the type of preview 
  and fonts to be written into the EPS file. The pict2eps conversion option is turned 
  off by default. The conversion code is still in alpha stage and may not be stable; 
  you can choose to enable that option in preferences dialog.

- In the Mac version, Scott has also added support to use Apple's new File Navigation 
  Services. Navigation Services will be used only when available, otherwise standard 
  File dialogs will be used.
  
- Also in the Mac version, you can now specify the creator for your output LaTeX file. 
  For example, you can specify OTEX to get QzTeX files, or you could specify *TEX 
  to get Textures files. Other values include R*ch for BBEdit and ALFA for Alpha. I 
  use OzTeX with Alpha and Scott uses Textures with BBEdit. Had to keep both of us 
  happy.
  
- And yet again in the Mac version, I fixed a bug in the DropUnix framework that 
  provides the Mac user interface. Under certain circumstances, that bug would cause 
  menu bar to disappear and the application becomes unresponsive requiring a force 
  quit to exit the application. That bug has been fixed. Can you tell that both 
  Scott and I are Mac users?
  
- Internal table routines have been revamped. Table processing should be a lot more 
  robust and cleaner.
  
- More miscellaneous bugs have been fixed.

Release 0.232 beta (17. May 1999)
=================================
- rtf2latex2e didn't compile on Redhat Linux 6.0. New version of gcc?
  I had to make minor changes to Paul Du Bois' reader code reader.c
- Adding preferences dialog for the Mac version screwed up reading the
  preference file reading routine on the other platforms. Stupid, stupid,...
  I have fixed it. Just shows how much testing I do on Unix and Windows :-)
  Sorry...

Release 0.231 beta (15. May 1999)
=================================
- The Mac application now has a preferences dialog that can be accessed from the
  file menu. It is basically a graphical interface to edit the r2l-pref file.
- Fixed a stupid bug that prevented converting multiple files.
- Fixed another bug related to processing text style (bold, italic,...)


Release 0.23 beta (1. May 1999)
===============================
- Got a fairly serious bug report that warranted an immediate fix. Following 
  up on it, I found an inexcusible bug in the code that caused an infinite 
  while loop while trying to read an object under certain conditions. I am
  amazed that this problem didn't surface before now. While reading an object, 
  rtf2latex2e looks for specfication of the object class. I had made the foolish
  assumption that RTF always specifies the object class. It turns out that it 
  doesn't, and under those circumstances, rtf2latex2e keeps looking for an 
  object class for ever causing the infinite while loop. I have put in an escape
  mechanism. I should have done so in the first place. I hang my head in shame.
  
- I also found that RTF sometimes encodes tables in a very nonsensical manner 
  that defies logic. I came across a table where two adjacent cells in a table 
  had been specified to have the same right border position. In its defence, RTF
  also specifies the two cell to be merged, but it still does not conform to the
  standard manner of encoding tables. As a result, rtf2latex2e translated the table,
  but produced slightly incorrect LaTeX in the longtable environment. I have 
  provided a hack to fix it, so that the tex file runs through latex without
  errors, but the result will not look very pretty. The table will definitely 
  require some manual editing.
  
- I have also provided another preference in the r2l-pref file to ignore spacing.
  In combination with other preferences, you can get a tex file almost completely 
  free of visual formatting.


Release 0.221 beta (30. April 1999):
====================================
- When an unknown Word97 object was encountered, rtf2latex2e would complain
  and exit the program entirely. This is unnecessary. I changed the complaint to
  a simple warning so that rtf2latex2e continues on its merry way.
  
Release 0.22 beta (26. April 1999):
===================================
- added support for use of the inputenc package. You can now specify various
  encodings such as ansinew, latin1, latin2, etc in the r2l-pref preference file.
  If a valid encoding is specified, rtf2latex2e will insert characters between 
  128-255 directly into the LaTeX file and specify \usepackage[<encoding>]{inputenc} 
  into the preamble of the LaTeX file. However, not all characters between 128-255 
  are defined in some of the corresponding <encoding>.def file that LaTeX reads. 
  I had to dig through all the <encoding>.def files and figure out the 
  characters that are defined. The ones that are not defined are translated in the
  standard way using the TeX-map file. Also, the <encoding>.def files do not
  ensure mathmode for certain characters, so I had to fix rtf2latex2e to care 
  of that.

- Embedded JPEG images in the RTF file are internally converted to EPS format.
  I adapted the jpeg2ps code (with the author's permission) for this. The jpeg->eps 
  conversion is equivalent to running "jpeg2ps -h", ie. the conversion uses hex 
  encoding. If I ever learn how to convert other graphic file formats found in 
  RTF to EPS, I will add those too.
  
- Some minor internal bugs were fixed.

- Changed default preferences in the r2l-pref file:
  ignoreRulerSettings is set to true; causes indentation to be ignored.
  ignoreColor is set to true; color information is ignored.
  
  
Release 0.211 beta
==================
- as usual, when I fixed something, I lost something: this time objects of type
Equation.3; I put it back in.

Release 0.21 beta:
==================
- added a feature to read  a preference file r2l-pref where you can specify 
options to ignore ruler settings, color, and to give values of paper size and margins.
- fixed a minor bug in a Word97 object reading routine.
- added feature to read fields under certain circumstances: Sometimes, Word and maybe 
other word processors decide to insert symbols as fields rather that switching fonts. 
Version 0.21 reads those fields only if they contain symbols.
- \tab characters in RTF are translated into \tab commands in LaTeX. I initially 
define \tab as \newcommand{\tab}{\makebox[4em]{}}. The definition of a tab command 
is convenient when translating a table built with tabs, eg:

	A	B
	e1	e2
	e3	e4
	e5	e6
	
will get translated into

\tab A\tab B\\
\tab e1\tab e2\\
\tab e3\tab e4\\
\tab e5\tab e6\\

Manual insertion of \begin{tabular}{lll} and \end{tabular} nd redefinition of \tab 
to & will result in a proper tabular environment.
- All packages except color are loaded only when needed. Use of color package is 
specified in the preference file.

Release 0.20 beta:
==================
- corrected some path separator stuff.
- In Unix and DOS versions, added capability to run rtf2latex2e from directories 
that do not contain the auxiliary files. This required setting an environment 
variable RTF2LATEX2E_DIR that points to the directory that contains the auxiliary 
files.

Release 0.19 alpha:
===================
- In the Mac version, added type and creator for output files. Output tex file has 
OzTeX creator (OTEX). PICT files are of type 'PICT' and 'ttxt' (Simpletext), PNG 
files have type 'PNGf' and creator 'ogle' (Quicktime Picture Viewer), WMF files have 
type 'WMF ' and creator 'GKON' (Graphic converter), and JPEG files have type 'JPEG' 
and creator 'JVWR' (JPEGView).
- Added support for
	- line spacing
	- multicolumn
	- minipage
	- small caps
- Fixed minor bugs with closing environments properly
- Fixed minor bug in a table routine
- used proper path separator for specific operating systems. It is inexcusible that 
C does not provide this. Or does it?
- Comand-line versions of rtf2latex2e can actually spaces in file names if the 
command line argument is enclosed in double quotes. I did not do anything special 
to incorporate this, but it was pointed out to me, and I thought it was useful to 
pass it along.
- However, some TeX systems do not like spaces in file names, eg. OzTeX on Mac. 
rtf2latex2e now scans the file name and internally converts any spaces into non-breaking 
space characters (ASCII 202). Original input RTF file name is not affected; only output t
ex and image files will have spaces substituted. Of course, the path information is left 
untouched, otherwise it might result in an invalid (non-existing) directory.

Release 0.18 alpha:
===================
Fixed a bug in a table routine. 
Made table and graphicx packages dynamically loadable into the output tex file. 
Created two sets of ansi-gen and ansi-sym character map files. RTF seems to have 
changed its ansi encoding somewhere between Word 5.1 and Word 97/98. Even the new 
versions of Word themselves (Word 97/98) do not correctly interpret some characters 
(beyond ASCII range 127) from RTF files produced by older versions (say Word 5.1). 
I have therefore included in the directory "for-older-rtf-files" the files ansi-gen 
and ansi-sym for older verions of RTF files. Experiment with your RTF file to determine 
whether you need the new set or the old set. Be sure to safely back up the versions 
you are not using for later use. At some point, I will write code to make the reader 
dynamically read the appropriate character map files. RTF files with Mac character 
encoding do not seem to suffer from this malaise.

Release 0.1 alpha:
==================
Initial test release.
