- Download the llncs2e.zip package from the Springer website [1]
- Unzip the file into the tex-live distribution location for macport, i.e. /opt/local/share/texmf-texlive-dist/tex/latex
- Rebuild the ls-R databases using TeX by executing sudo texhash
- To get the bibliography style setup, change directory by using cd /opt/local/share/texmf-texlive-dist/bibtex/bst
- Make a directory to hold the style sudo mkdir splncs; cd splncs
- Either copy or link the files sudo ln -s ../../../tex/latex/llncs2e/*.bst .
If you are using a variant of TexLive such as MacTex, then you can copy the style files (*.bst) into "/usr/local/texlive/2012/texmf-dist/bibtex/bst/splncs" and the tex files into "/usr/local/texlive/2012/texmf-dist/tex/latex/llncs" and finally to update the ls-R database use "sudo /usr/local/texlive/2012/bin/x86_64-darwin/texhash"
Makefile
My Makefile now run without issues. Here's a copy of my Makefile
PROJ=paper
OS := $(shell uname -s)
.PHONY: all pdf clean read
all: pdf
pdf: $(PROJ).tex
pdflatex $(PROJ)
bibtex $(PROJ)
pdflatex $(PROJ)
pdflatex $(PROJ)
diff: $(PROJ)-original.tex
latexdiff $(PROJ)-original.tex $(PROJ).tex > $(PROJ)-diff.tex
pdflatex $(PROJ)-diff
bibtex $(PROJ)-diff
pdflatex $(PROJ)-diff
pdflatex $(PROJ)-diff
readdiff:
ifeq ($(OS), windows32)
start ${PROJ}-diff.pdf
endif
ifeq ($(OS), Darwin)
open -a /Applications/Preview.app/Contents/MacOS/Preview ${PROJ}-diff.pdf
endif
ifeq ($(OS), Linux)
acroread ${PROJ}-diff.pdf
endif
read:
ifeq ($(OS), windows32)
start ${PROJ}.pdf
endif
ifeq ($(OS), Darwin)
open -a /Applications/Preview.app/Contents/MacOS/Preview ${PROJ}.pdf
endif
ifeq ($(OS), Linux)
acroread ${PROJ}.pdf
endif
clean:
rm -f ${PROJ}.ps ${PROJ}.pdf ${PROJ}.log ${PROJ}.aux ${PROJ}.out ${PROJ}.dvi ${PROJ}.bbl ${PROJ}.blg ${PROJ}.toc
cleandiff:
rm -f ${PROJ}-diff.ps ${PROJ}-diff.pdf ${PROJ}-diff.log ${PROJ}-diff.aux ${PROJ}-diff.out ${PROJ}-diff.dvi ${PROJ}-diff.bbl ${PROJ}-diff.blg ${PROJ}-diff.toc
References- http://www.springer.com/computer/lncs/lncs+authors?SGWID=0-40209-0-0-0
You can also just keep the class file in the same directory as your document.
ReplyDeletehaha! Thanks Dr. Stebila. It did seem like a lot of effort when I was doing it :)
ReplyDelete