Commit f4cff59e authored by Laros's avatar Laros
Browse files

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 ...@@ -10,14 +10,22 @@ if [ -e $1 ]; then
exit exit
fi fi
here=`pwd`
mkdir $1 mkdir $1
ln -s $here/lumc_logo.eps $1/
ln -s $here/ul_logo.eps $1/ source=$(cd $1; pwd)
ln -s $here/lgtc_logo.eps $1/ target=$(pwd)
ln -s $here/nbic_logo.eps $1/
ln -s $here/gen2phen_logo.eps $1/ common_part=$source
ln -s $here/Makefile $1/ back=
ln -s $here/beamerthemelumc.sty $1/ while [ "${target#$common_part}" = "${target}" ]; do
cp poster.tex $1/ 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