Permalink
Browse files

Added TeXcount support

Added support for the TeXcount Perl script by Einar Andreas Rødland,
which counts the number of words in the text of LaTeX files.
  • Loading branch information...
1 parent 19e2df0 commit 77b89160a0cea42185686827954a2026db4bfbd4 @benjennings benjennings committed with infininight Aug 24, 2012
Showing with 3,779 additions and 0 deletions.
  1. +33 −0 Commands/TeXcount.plist
  2. +3,744 −0 Support/bin/texcount.pl
  3. +2 −0 info.plist
View
@@ -0,0 +1,33 @@
+<?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>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>command</key>
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+"$TM_BUNDLE_SUPPORT"/bin/texcount.pl "$TM_FILEPATH"</string>
+ <key>input</key>
+ <string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
+ <key>keyEquivalent</key>
+ <string>^~N</string>
+ <key>name</key>
+ <string>TeXcount</string>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
+ <string>toolTip</string>
+ <key>scope</key>
+ <string>text.tex.latex</string>
+ <key>uuid</key>
+ <string>361BC324-8D67-4E03-8939-824D4D65916B</string>
+ <key>version</key>
+ <integer>2</integer>
+</dict>
+</plist>
Oops, something went wrong.

0 comments on commit 77b8916

Please sign in to comment.