# shlomi-fish-homepage / bin / gen-printable-CVs.sh

  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #!/bin/bash render() { filename="$1" shift (cd t2 && wml --passoption=2,-X3074 --passoption=3,-I../lib/ \ -I../lib/ -DROOT~. -DLATEMP_SERVER=t2 -DLATEMP_FILENAME="$filename" \ -DPRINTABLE=1 "${filename}.wml"$(latemp-config --wml-flags) \ -DLATEMP_THEME=better-scm \ -I $HOME/conf/wml/Latemp/lib \ -I$HOME/apps/wml \ "$filename" ) > printable/"$filename" } render "SFresume_detailed.html" render "SFresume.html"