During yet another LaTeX project on my MacBook, I added some algorithmsto my paper. After checking a couple of examples online, and discussingwith a colleage I decided to go with algorithm2e over others such asalgorithm, algorithmic, algorithmicx, program and pseudocode[1].However I got the following error “! LaTeX Error: File`algorithm2e.sty’ not found.” Since I am using macport, to resolvethis I needed to install the texlive-science package by executing sudoport install texlive-science, and all was good again.
Read More →
I had to recently rebuild my Mac Book Pro (gasp!), and decided toupgrade to Lion. The whole process was relatively painless. Files werecopied back from backups, and updated from my SVN repositories, howeverI had troubles installing the appropriate Mac port package for theAPACite classes.
sudo port install texlive-bibtex-extra
The latter yielded errors, which were logged in
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-text-bibtex/p5.12-text-bibtex/main.log
Since the dependency p5.12-text-bibtex could not be installed,examination of the log file provided the following clues; error: ‘main’must return ‘int’
Read More →