# Installing/Using Exceltex

1,216

I got exceltex working in Mountain Lion by applying the following steps. Note that exceltex is included in the TeX Live distribution, and the installation may work without downloading the package

4. Run perl Makefile.PL

When trying to run exceltex file.tex, I had problems with exceltex not finding the correct @INC path (or something). That is because OS X comes with its own Perl distribution, while my updated version is from MacPorts. My solution was to jump into the exceltex script and change the Perl call:

1. sublime /opt/local/bin/exceltex (replace sublime with whichever editor you prefer)
2. Change the first line of the script to: #!/opt/local/bin/perl -w

Now it should work! =)

Share:
1,216

Author by

### N Nik

Updated on August 01, 2022

• N Nik 5 months

I need help installing and using exceltex.

I installed ActivePerl, then according to link I installed Spreadsheet::ParseExcel. Then copied exceltex into

/usr/local/bin

and exceltex.sty

into

/usr/local/texlive/2012/texmf/tex/latex/Misc

Note: I created the Misc folder myself.

Now according to the above link, when I try to run the simple example given in the above link, after creating the LaTeX file, it says

now, run latex, exceltex, and latex again.

This is the part I don't understand.

Am I supposed to compile my LaTeX file, then run exceltex from /usr/local/bin and then compile the LaTeX file again? I tried this and it doesnt work. It compiles, but doesnt give me the result I am looking for. I really appreciate any help/suggestions.

Never add things manually to the main tree. The correct place is /usr/local/texlive/texmf-local/tex/latex/exceltex/ (create the necessary folders); run sudo mktexlsr after copying the .sty file there,
• N Nik about 10 years
I edited the post; now it has the link.
• N Nik about 10 years
@egreg: Thanks for your help. I followed your suggestion and I got mktexlsr: Done. Now, exceltex is installed? I ran my latex file, still doesnt work. Can you please explain how I should use it? Thanks a lot
@Nikandish Sorry, I know nothing of Excel (and I don't want to learn, either). My comment was only about where to put exceltex.sty in a safe place.