Commit f4cff59e authored by Jeroen F.J. Laros's avatar Jeroen F.J. Laros

Updated the mkposter script to work with relative directories.

Added documentation.
parent 4f230307
# LaTeX poster template
This repository provides a LaTeX template for LUMC styled posters.
## Installation
Install all dependencies:
apt-get install texlive-base-bin texlive-latex-base \
texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended \
texlive-science latex-beamer ghostscript graphviz
## Making a new poster
Add this repository as a submodule of your project:
git submodule add https://git.lumc.nl/j.f.j.laros/poster.git
You also might want to use the central pictures repository:
git submodule add https://git.lumc.nl/humgen/presentation-pics.git
Make a new poster using the following command:
cd poster
bash mkposter.sh ../myposter
## Usage
The poster is compiled with a Makefile.
make
To clean everything, except for output files and important temporary files
(bibliography, glossary, encapsulated postscript files):
make clean
To clean everything including temporary files:
make distclean
### Pictures
Using pictures is relatively straightforward. Every file in the current
directory with file extension **dot**, **gif**, **jpg**, **png**, **ppm**,
**svg**, **xcf**, or **dia** will be automatically converted to encapsulated
postscript.
Gnuplot files (with extension **gnp**) are converted to encapsulated postscript
as well.
......@@ -10,14 +10,22 @@ if [ -e $1 ]; then
exit
fi
here=`pwd`
mkdir $1
ln -s $here/lumc_logo.eps $1/
ln -s $here/ul_logo.eps $1/
ln -s $here/lgtc_logo.eps $1/
ln -s $here/nbic_logo.eps $1/
ln -s $here/gen2phen_logo.eps $1/
ln -s $here/Makefile $1/
ln -s $here/beamerthemelumc.sty $1/
cp poster.tex $1/
source=$(cd $1; pwd)
target=$(pwd)
common_part=$source
back=
while [ "${target#$common_part}" = "${target}" ]; do
common_part=$(dirname ${common_part})
back="../${back}"
done
cp poster.tex $1
links=$(ls Makefile *.eps *.sty)
cd $1
for i in ${links}; do
ln -s ${back}${target#$common_part/}/${i}
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment