[OS X TeX] Installing RTF2LaTeX2e

André Bellaïche abellaic at math.jussieu.fr
Sat Jul 15 21:16:49 CEST 2006


Installing RTF2LaTeX2e (message #3)

I. TRYING THE INSTRUCTIONS FOR UNIX USERS (suggested by the fact that  
Mac instructions are only for MacOS9)
************************************************************************ 
******************************************************
UNIX:
-----
Unix users need to build the binary using make. Super-user mode may be
necessary for install.To start building rtf2latex2e,
change to the Unix directory directory, type:

./configure
make
make install (optional, as root)

The default install directory is /usr/local/rtf2latex2e.
The binary is called rtf2latex2e.bin.
A symbolic link /usr/bin/rtf2latex2e pointing to the binary is created.
You can change the directory into which rtf2latex2e is installed by  
editing the
variable INSTALL_DIR at the top of the Makefile. You may need to become
super-user to install into that directory. If you do not have super-user
privileges, you can change the INSTALL_DIR to somewhere in your home  
directory,
say $(HOME)/rtf2latex2e.

*****************************************************
*********************IMPORTANT***********************
MAKE SURE THE INSTALL_DIR PATH ENDS in rtf2latex2e!!!
************************************************************************ 
**********************************

"./configure" works, but
"make" yields the following errors. Indeed, "unix.mac.h" and "Main.h"  
do not exist in "/usr/local/rtf2latex2esrc/include/"


:/usr/local/rtf2latex2e/Unix andre$ make
gcc -g -O2 -DINSTALL_DIR=\"/usr/local/rtf2latex2e\" -I../src/ 
include   -c -o rtf2LaTeX2e-driver.o ../src/common/rtf2LaTeX2e-driver.c
In file included from ../src/common/rtf2LaTeX2e-driver.c:25:
../src/include/rtf2LaTeX2e.h:38:24: error: unix.mac.h: No such file  
or directory
../src/include/rtf2LaTeX2e.h:39:21: error: Main.h: No such file or  
directory
In file included from ../src/common/rtf2LaTeX2e-driver.c:25:
../src/include/rtf2LaTeX2e.h:278: error: parse error before "Str2OSType"
../src/include/rtf2LaTeX2e.h:278: warning: data definition has no  
type or storage class
../src/common/rtf2LaTeX2e-driver.c:36: error: parse error before  
"gOApped"
../src/common/rtf2LaTeX2e-driver.c:36: warning: data definition has  
no type or storage class
../src/common/rtf2LaTeX2e-driver.c: In function 'main':
../src/common/rtf2LaTeX2e-driver.c:228: error: '_fcreator' undeclared  
(first use in this function)
../src/common/rtf2LaTeX2e-driver.c:228: error: (Each undeclared  
identifier is reported only once
../src/common/rtf2LaTeX2e-driver.c:228: error: for each function it  
appears in.)
../src/common/rtf2LaTeX2e-driver.c:230: error: '_ftype' undeclared  
(first use in this function)
../src/common/rtf2LaTeX2e-driver.c:252: error: 'nil' undeclared  
(first use in this function)
../src/common/rtf2LaTeX2e-driver.c: At top level:
../src/common/rtf2LaTeX2e-driver.c:343: error: parse error before  
"Str2OSType"
../src/common/rtf2LaTeX2e-driver.c: In function 'Str2OSType':
../src/common/rtf2LaTeX2e-driver.c:345: error: 'OSType' undeclared  
(first use in this function)
../src/common/rtf2LaTeX2e-driver.c:345: error: parse error before "num"
../src/common/rtf2LaTeX2e-driver.c:346: error: 'num' undeclared  
(first use in this function)
make: *** [rtf2LaTeX2e-driver.o] Error 1

II. OTHER METHOD.
**********************

The distribution contains a file named "rtflatex2e.bin". Why not take  
advantage of it ? Where should I put it ? Or, how can I make a alias  
pointing to it, and where should I put the alias ?

However, the Mac (OS9) Installation instructions say that the "pref"  
folder has to be in the same folder as the rtf2latex2e application.  
Is this still true for MacOSX/Unix?

Thanks for any help.

André Bellaïche


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list