source: projects/specs/trunk/t/texworks/pdfplatex.sh @ 5258

Revision 5258, 254 bytes checked in by munepi, 12 years ago (diff)

updated texworks: TeX Live 2011

  • Property svn:executable set to *
Line 
1#!/bin/bash
2## pdfplatex: support platex for TeXworks via dvipdfmx
3PLATEX_OPTS="-kanji=utf8"
4platex --help | egrep -q -e "^-synctex"
5[ $? -eq 0 ] && PLATEX_OPTS="-synctex=1 ${PLATEX_OPTS}"
6platex ${PLATEX_OPTS} $1 || exit 1
7dvipdfmx -r 8000 $1 || exit 1
Note: See TracBrowser for help on using the repository browser.