Ciao Folks,
at first I would like to say how much I love Skim, it quickly replaced PDFView
or Preview as my default viewer.
Lately though PDFSync seems not to work anymore using Skim and TextMate. I
followed the instructions in the wiki and created a command in the LaTeX-Bundle
containing:
FILE="${TM_LATEX_MASTER:-$TM_FILEPATH}"
SCRIPT="$(find_app Skim.app)/Contents/SharedSupport/displayline"
# Switch to the right directory
cd "${TM_PROJECT_DIRECTORY:-$TM_DIRECTORY}"
cd "$(dirname "$TM_LATEX_MASTER")"
if [[ -x "$SCRIPT" ]]; then
"$SCRIPT" &>/dev/console $TM_LINE_NUMBER "${FILE%.tex}.pdf"
"${TM_FILEPATH}"
else
echo "Unable to locate Skim."
fi
Sadly I only receive /bin/bash: line 1: Switch: command not found!
Any ideas or recommendations?
I also seem not to be the only one encountering this, as I have been asked the
same question in a german forum, where I recommended Skim.
Greetz
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users