Introduction to version 3.09 of WP2LaTeX. INTRODUCTION ------------ This program converts WordPerfect 3.x, 4.x, 5.x, 6.x, RTF, HTML, T602 and AbiWord document files to LaTeX input files. Please read the manual for the basic conditions under which a satisfying conversion is made. Currently, there are MS-DOS, Linux and Windows versions of the program available. The C++ sources are included in this package. Obsolette Pascal sources are placed inside separate package. Please read doc/wp2latex.tex for more information. New to this version are: + Conversion from WP 3.x + Conversion from T602 + Conversion from AbiWord + Parsing OLE wrapper around some WP7x documents + Support for WPG l.2 + New file format autodetection + Add support for JPG images The things have to be done: - Decrease amount of TeX Errors in converted documents - Make tests of quality of the conversion - Add new foreigner characters - Add new features - Improve support for WPG l.2 and hybrid images (Raster+Line draw+Postscript) - Add support for new formula format MTEF THE PACKAGE ----------- The home base for this package is http://www.penguin.cz/~fojtik/wp2latex/ HOW TO BUILD & INSTALL ---------------------- **********DOS/WINDOWS and GCC******** There is makefile prepared for GCC. It will work under both Linux and DJGPP. A, if you have bash run it and type ./configure B, or if you do not have bash type (it will return generic makefiles) make distclean type for building whole project: make all Automatic installation is not fully finished, but you might try: make install **********DOS/WINDOWS and Borland C******** Because there is freely available Borland C++ compiler, I also provide script for building wp2latex by BCC. change to directory win cd win execute bcc55.bat bcc55.bat **********DOS/WINDOWS and Microsoft Visual C++ 6******** Open MSVC/wp2latex.dsw inside your Visual C++ environment. Rebuild the target. The result of your build you will find in the MSVC/release/wp2latex.exe ********Linux build and instalation********* Under Linux you may type: ./configure make all make install For finishing instalation you should also store files wp2latex.sty, endnotes.sty, wncyr.sty, cyracc.def etc. to proper directory. These files are stored in the directory 'styles.tex'. The TeX translator should know about these files. It is solved by using a TEXINPUTS system variable. Suggestion from Roger for kpathsea LaTeX distribution: After 'make install' it is necessary to do this (as root): (1) in the tex tree, within the latex subdirectory, create a subdirectory called wp2latex. For example in my (web2c) installation I have /usr/share/texmf/tex/latex/wp2latex (2) Into this subdirectory copy the contents of the styles.tex subdirectory. (3) Invoke texhash. ******Generic Unix manual instalation******* Do this: copy YOUR_EXECUTABLE to /usr/local/bin/ mkdir /usr/share/texmf/tex/latex/wp2latex copy styles.tex/*.* to /usr/share/texmf/tex/latex/wp2latex/ copy doc/wp2latex.1 to /usr/local/man/man1/ copy doc/locale/*.* to /usr/share/locale/ run texthash (for kpathsea TeX distribution) ***********DOS installation*********** Currently you might also try to run make install Cross your fingers - it might perhaps work. Place a file wp2latex.exe (from directory dos\ or dos\real) to the directory which is referred by the PATH variable. Place all stuff from the directory 'styles.tex\' to the directory emtex\texinput\ . Optionally you can copy a file doc\locale\lc_messages\cs\wp2latex.mo to the directory $(DJDIR)\SHARE\LOCALE\LC_MESSA\CS\WP2LATEX.MO . For Borland C++ you should make another makefile. All code was tested and you cannot expect any problems. Do not omit to add files from directory .\atoms\ to your makefile. USAGE ----- The command line looks like : WP2LaTeX [arguments] [] [arguments] When not supplied [] , the LaTeX filename is composed by changing or adding `.tex' to the base name of WP-file. There are also a lot of other arguments, which are described in the included documentation or are available by executing 'wp2latex -?'. THANKS ------ I want to thank all previous authors of this package to bring some ideas. I try to gather them into my package. I thank to everybody who found a bug or sended me some notes about incorrect function of WP2LaTeX. COPYRIGHT --------- The package, this is the collection of all the files mentioned above, may be distributed and copied freely under the condition that no changes to the files are made before distribution or copying. DISCLAIMER ---------- Neither the author nor the Eindhoven University of Technology takes any responsibility for any damage or loss of data regarding to the use of the program. Usage of the program is for your own responsibility. BUG REPORTING ------------- Note:Before reporting anything 1,consult a file doc\bug.txt 2,Test latest version from: http://www.penguin.cz/~fojtik/wp2latex/ a,If you find a bug, which cause a data loss or program crash please send me a description, how to repeat this bug. Cut your WP file to shortest possible, which still cause this bug. Then send me this file. b,If you find a bug which causes TeX errors, send me a detailed description what was happen and idea how the convertor should work in this case. I know about many situation, when TeX reports errors and I don't know how to cope with them. c,If you cannot compile wp2latex please send me output of your make file. make >out.txt Be prepared that I will ask you for some analysis of the problem because on my computer it works fine. Please do not suspect me, that I missed some typo in the source code. Before every distribution I recompile wp2latex under several different compilers. I also welcome any suggestions obtained from porting wp2latex to another platforms. HOW TO CONTACT THE AUTHOR ------------------------- Because nobody of previous authors want to hear about this program, contact me: fojtik@htc.honeywell.cz (These might net be valid: fojtik@vision.felk.cvut.cz or fojtik@cmp.felk.cvut.cz) Yours Sincerely, Jaroslav Fojtik