# From: Juan Altmayer Pizzorno[SMTP:juan@vms.gmd.de] # Sent: 31 May 1996 10:11 # To: J.Smart@ed.ac.uk # Subject: Changes to Tex2RTF # # Hello, # # Recently I've been looking for a way to create and maintain documentation on # multiple platforms out of a single source -- specifically, something that # prints nicely and can be converted to WinHelp and HTML. I liked the approach # of Tex2RTF, so I set off to give it a try... I found out it would crash # when submitted to a certain LaTeX file I created. I wanted to find out why, # so I went on and worked on compiling on my PC: Windows NT 4.0 beta, Visual # C++ 4.1a. Since all I was interested on was the conversion utility, I tried # to make it work without a GUI. It didn't compile immediately, but after a # few small changes it now works like a charm. Unfortunately it doesn't crash # anymore, so I can't tell why it used to... Anyway, I wanted to contribute # the changes back: I'm appending two files to this message, the first a # description of the changes, and the second a quick-and-dirty makefile that # doesn't require wxWindows to run. Please do write to me if you have any # questions or anything. # # Last but not least, it's great that you took the time and wrote Tex2RTF!! # # Quick-and-dirty makefile for building Tex2RTF without the wx # libraries on a Windows NT machine. If you want to use it for # "real", please update the dependancies between object and include # files. Created for Windows NT 4.0 and Visual C++ 4.1. # # Juan Altmayer Pizzorno, May 1996 # syslibs=kernel32.lib advapi32.lib cxxflags=/nologo /MD /W0 /O2 /Zi /D "WIN32" /D "_WIN32" /D "_DEBUG" /c linkflags=$(syslibs) /out:$@ /nologo /debug !if "$(PROCESSOR_ARCHITECTURE)" == "x86" cxxflags=$(cxxflags) /G5 # optimize for pentium !endif cxx=cl link=link remove=del cxxflags=$(cxxflags) /I wxwin /D wx_msw /D WINVER=0x0400 /D WIN95=0 cxxflags=$(cxxflags) /D "NO_GUI" objects=tex2any.obj texutils.obj tex2rtf.obj rtfutils.obj table.obj readshg.obj xlputils.obj htmlutil.obj objects=$(objects) wb_hash.obj wb_list.obj wb_obj.obj wb_utils.obj all : tex2rtf.exe clean : -$(remove) *.obj cleanall : clean -$(remove) *.exe *.pdb *.ilk tex2rtf.exe : $(objects) $(link) $(linkflags) $(objects) tex2any.obj : tex2any.cpp tex2any.h $(cxx) $(cxxflags) tex2any.cpp texutils.obj : texutils.cpp tex2any.h $(cxx) $(cxxflags) texutils.cpp tex2rtf.obj : tex2rtf.cpp bmputils.h tex2rtf.h tex2any.h $(cxx) $(cxxflags) tex2rtf.cpp rtfutils.obj : rtfutils.cpp tex2rtf.h bmputils.h tex2any.h readshg.h table.h $(cxx) $(cxxflags) rtfutils.cpp table.obj : table.cpp table.h $(cxx) $(cxxflags) table.cpp readshg.obj : readshg.cpp readshg.h $(cxx) $(cxxflags) readshg.cpp xlputils.obj : xlputils.cpp tex2rtf.h rtfutils.h tex2any.h $(cxx) $(cxxflags) xlputils.cpp htmlutil.obj : htmlutil.cpp tex2rtf.h tex2any.h table.h $(cxx) $(cxxflags) htmlutil.cpp wb_hash.obj : wxwin\wb_hash.cpp $(cxx) $(cxxflags) wxwin\wb_hash.cpp wb_list.obj : wxwin\wb_list.cpp $(cxx) $(cxxflags) wxwin\wb_list.cpp wb_obj.obj : wxwin\wb_obj.cpp $(cxx) $(cxxflags) wxwin\wb_obj.cpp wb_utils.obj : wxwin\wb_utils.cpp $(cxx) $(cxxflags) wxwin\wb_utils.cpp