Sunday, February 17, 2008

SEEing LaTeX 26: Sample Environment Settings

As a starting point for customizing the LaTeX mode, here are some sample environment settings:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>BIBINPUTS</key>
    <string>"$HOME/Library/texmf/bibtex/bib"</string>
    <key>SEE_BIBTEX</key>
    <string>'bibtex "${FILE%.tex}" | open -f -a SubEthaEdit'</string>
    <key>SEE_LATEX_CLEANUP</key>
    <string>'latexmk -C "$FILE"'</string>
    <key>SEE_LATEX_COMMENT</key>
    <string>'"$SEE_MODE_RESOURCES"/bin/comment.sh "% "'</string>
    <key>SEE_LATEX_COMPILER</key>
    <string>'latexmk -pdf -quiet "$FILE"'</string>
    <key>SEE_LATEX_COMPILEVIEWER</key>
    <string>'open -a Skim "$PRODUCT"'</string>
    <key>SEE_LATEX_PRODUCT_TYPE</key>
    <string>pdf</string>
    <key>SEE_LATEX_VIEWER</key>
    <string>'export __CF_USER_TEXT_ENCODING=0x1F5:0:0; /Applications/Skim.app/Contents/SharedSupport/displayline $LINE "$PRODUCT"'</string>
</dict>
</plist>

2 comments:

Adit said...

Thank you for posting this. I am writing my thesis now and was wondering when you plan to release the mode bundle?

Your blog has been very interesting to follow! I am glad to see that I am not the only one who would like to use SubEthaEdit, LaTeX and Skim all together.

Michael Barber said...

I'll make it available today.

The activity here today, after a few weeks of silence, reflects that I've finished the documentation. I've spent some time earlier today getting everything ready.