View pandoc.sublime-build
{
"selector": "text.html.markdown",
"path": "C:\\Users\\Dan\\AppData\\Local\\Pandoc\\;C:\\Program Files (x86)\\MiKTeX 2.9\\miktex\\bin\\",
"cmd": ["pandoc",
"--smart",
"--chapters",
"--template=C:\\Users\\Dan\\Dropbox\\Pandoc\\default.latex",
"--csl=C:\\Users\\Dan\\Dropbox\\Pandoc\\default.csl",
"--bibliography=C:\\Users\\Dan\\Dropbox\\Jabref\\mybib.bib",
"--latex-engine=xelatex",
View jQueryWordcountStyle.html
<script src="/js/jquery-1.8.3.min.js"></script>
// A little clever jQuery styling of blockquotes
<script>
$('blockquote p').each(function(){
var $numWords = $(this).text().split(" ").length;
console.log($numWords)
View myjekyll.bat
CD C:\Users\Dan\Dropbox\dansheffler
CALL jekyll build
SET PATH=C:\cygwin64\bin;%PATH%
CD C:\cygwin64\bin
CALL bash.exe -c /usr/local/bin/myrsync.sh
View definitionlist.css
dl {
padding: 0;
margin: 1.5em 0;
}
dt {
float: left;
clear: left;
font-weight: bold;
margin-right: 1em;
View definition.tex
\usepackage[shortlabels]{enumitem}
\setlist[description]{%
labelindent=0.5in,%
leftmargin=0.5in,%
rightmargin=0.5in,%
itemsep=12pt%
}
% Put a colon after description labels
\renewcommand{\descriptionlabel}[1]{%
View default.tex
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\RequirePackage{etoolbox}
% $if(documentclass)$
% $if(classoption)$
% \documentclass[$for(classoption)$$classoption$$sep$,$endfor$)]{$documentclass$}
% $else$
% \documentclass[12pt,oneside]{$documentclass$}
% $endif$
View chicago.csl
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="never" page-range-format="chicago">
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Chicago Manual of Style 16th edition (full note)</title>
<id>http://www.zotero.org/styles/chicago-manual-of-style-16th-edition-full-note</id>
<link href="http://www.zotero.org/styles/chicago-manual-of-style-16th-edition-full-note" rel="self"/>
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
<author>
<name>Julian Onions</name>
View classinfo.yaml
---
author: Dan Sheffler
title: Example Title
class: PHI 735
semester: Fall 2015
---
View openTodo.py
import sublime, sublime_plugin
class openTodoCommand(sublime_plugin.TextCommand):
def run(self, edit):
path = "/Users/dansheffler/Dropbox/Tasks/todo.taskpaper"
self.view.window().open_file(path)
View pandoc.sublime-build
{
"selector": "text.html.markdown",
"cmd": ["pandoc",
"--smart",
"--chapters",
"--template=C:\\Users\\Dan\\Dropbox\\Pandoc\\default.latex",
"--csl=C:\\Users\\Dan\\Dropbox\\Pandoc\\default.csl",
"--bibliography=C:\\Users\\Dan\\Dropbox\\Jabref\\mybib.bib",
"--latex-engine=xelatex",
"-o",