...
 
Commits (17)
dev/test/base.html
*.webm
*.mp4
*.png
grades.csv
## Redirect errors to my own error page
# Shibboleth unauthenticated errors are 401
ErrorDocument 401 /403-forbidden.html
ErrorDocument 403 /403-forbidden.html
ErrorDocument 404 /404-not-found.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Gautam Iyer">
<title>
Access Forbidden
</title><link rel="stylesheet"
href="/dev/static/bootstrap/3.3.7/css/bootstrap.css">
<link rel="stylesheet"
href="/share/css/pygments-theme.css">
<link rel="stylesheet" href="/share/css/local.css"><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.js">
</script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.js">
</script>
<![endif]-->
</head>
<body >
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://localhost:8000">Gautam Iyer</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="http://localhost:8000/index.html">Research</a>
</li>
<li>
<a href="http://localhost:8000/teaching">Teaching</a>
</li>
<li>
<a href="http://localhost:8000/contact.html">CV/Contact</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class='disabled'>
<a href="#">Code</a>
</li>
<li>
<a href="http://localhost:8000/blog">Blog</a>
</li>
<li>
<a href="http://localhost:8000/dev/test">Test</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav><div class='container'>
<div>
<h1>Access Forbidden</h1>
<p>Oops. You don&rsquo;t have permission to access this resources. Here are a few reasons that might explain why.</p>
<ul>
<li>
<p>For current courses, solutions are usually restricted to enrolled students. If you&rsquo;re sitting in on the course and want access then contact me. (You will need an Andrew ID).</p>
</li>
<li>
<p>For past courses, solutions are not available to students.</p>
</li>
</ul>
<p>If none of the above apply, and you believe you reached this page due to a technical error, please contact me and I&rsquo;ll look into it.</p>
</div>
</div>
<footer>
<div class='container'>
<hr>
<div class='media'>
<div class='media-body'>
<p>
<span class='text-nowrap'>&copy; Gautam Iyer 2015&ndash;2017.</span>
This site is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons BY-NC-SA 4.0 License</a>.
</p>
</div>
<div class='media-right'>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
<img alt="Creative Commons License" class='media-object' style="border-width:0" src="/share/licence/cc-by-nc-sa-88x31.png">
</a>
</div>
</div>
<span class='text-nowrap' title='Email'>
<span class='glyphicon glyphicon-envelope' aria-hidden='true'></span>
gautam@math.cmu.edu.</span>
&emsp;
<span class='text-nowrap' title='Office'><span class='glyphicon glyphicon-briefcase' aria-hidden='true'></span> <a title='Wean Hall' href='https://www.google.com/maps/place/Wean+Hall,+Carnegie+Mellon+University,+Pittsburgh,+PA+15213'>WEH</a> 6121.
</span>
</div>
</footer><script src="/dev/static/jquery/1.12.4/jquery.js">
</script>
<script src="/dev/static/bootstrap/3.3.7/js/bootstrap.js">
</script><script src='/share/js/local.js'></script></body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Gautam Iyer">
<title>
File not found
</title><link rel="stylesheet"
href="/dev/static/bootstrap/3.3.7/css/bootstrap.css">
<link rel="stylesheet"
href="/share/css/pygments-theme.css">
<link rel="stylesheet" href="/share/css/local.css"><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.js">
</script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.js">
</script>
<![endif]-->
</head>
<body >
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://localhost:8000">Gautam Iyer</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="http://localhost:8000/index.html">Research</a>
</li>
<li>
<a href="http://localhost:8000/teaching">Teaching</a>
</li>
<li>
<a href="http://localhost:8000/contact.html">CV/Contact</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class='disabled'>
<a href="#">Code</a>
</li>
<li>
<a href="http://localhost:8000/blog">Blog</a>
</li>
<li>
<a href="http://localhost:8000/dev/test">Test</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav><div class='container'>
<div>
<h1>File not found</h1>
<p>Oops. The link that got you here is probably outdated. You can try searching on Google.
Alternately, tell me how you got here, and I&rsquo;ll see if I can redirect it to the correct place.</p>
</div>
</div>
<footer>
<div class='container'>
<hr>
<div class='media'>
<div class='media-body'>
<p>
<span class='text-nowrap'>&copy; Gautam Iyer 2015&ndash;2017.</span>
This site is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons BY-NC-SA 4.0 License</a>.
</p>
</div>
<div class='media-right'>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
<img alt="Creative Commons License" class='media-object' style="border-width:0" src="/share/licence/cc-by-nc-sa-88x31.png">
</a>
</div>
</div>
<span class='text-nowrap' title='Email'>
<span class='glyphicon glyphicon-envelope' aria-hidden='true'></span>
gautam@math.cmu.edu.</span>
&emsp;
<span class='text-nowrap' title='Office'><span class='glyphicon glyphicon-briefcase' aria-hidden='true'></span> <a title='Wean Hall' href='https://www.google.com/maps/place/Wean+Hall,+Carnegie+Mellon+University,+Pittsburgh,+PA+15213'>WEH</a> 6121.
</span>
</div>
</footer><script src="/dev/static/jquery/1.12.4/jquery.js">
</script>
<script src="/dev/static/bootstrap/3.3.7/js/bootstrap.js">
</script><script src='/share/js/local.js'></script></body>
</html>
\ No newline at end of file
# Shibboleth header
AuthType Shibboleth
ShibRequireSession On
ShibApplicationId default
ShibExportAssertion On
# For any authenticated user. (Need not be a CMU member)
#Require Shibboleth
# Specific user id
#require user gi1242@andrew.cmu.edu
# Groups.
#require shib-attr affiliation Faculty@andrew.cmu.edu
#require shib-attr affiliation Staff@andrew.cmu.edu
#require shib-attr affiliation Member@andrew.cmu.edu
require shib-user ~ ^.+@andrew\.cmu\.edu$
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Gautam Iyer">
<title>
test
</title><link rel="stylesheet"
href="/dev/static/bootstrap/3.3.7/css/bootstrap.css">
<link rel="stylesheet"
href="/share/css/pygments-theme.css">
<link rel="stylesheet" href="/share/css/local.css"><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.js">
</script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.js">
</script>
<![endif]-->
</head>
<body style='position: relative' data-spy='scroll' data-target='#col-right'>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://localhost:8000">Gautam Iyer</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="http://localhost:8000/index.html">Research</a>
</li>
<li>
<a href="http://localhost:8000/teaching">Teaching</a>
</li>
<li>
<a href="http://localhost:8000/contact.html">CV/Contact</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class='disabled'>
<a href="#">Code</a>
</li>
<li>
<a href="http://localhost:8000/blog">Blog</a>
</li>
<li>
<a href="http://localhost:8000/dev/test">Test</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav><div class='container'>
<div class='row'>
<div class='col-md-9' id='col-main'>
<div class='justify'>
<h1>
test
</h1>
<h2 id="cgi-output">CGI Output</h2>
<pre id='form-output'></pre>
<script>
window.addEventListener('DOMContentLoaded', function() {
$.get( "http://localhost:8000/cgi-bin/auth/test.py",
'auth/grades.csv',
function(data) {
$('#form-output').text(data);
}
);
});
</script>
</div>
</div>
<div class='col-md-3' id='col-right'>
<div data-affix-after='#create'>
<nav class='nav hidden-xs hidden-sm'><div id='toc'>
<div class="toc">
<ul>
<li><a href="#cgi-output">CGI Output</a></li>
</ul>
</div>
</div>
</nav>
</div></div>
</div>
</div>
<footer>
<div class='container'>
<hr>
<div class='media'>
<div class='media-body'>
<p>
<span class='text-nowrap'>&copy; Gautam Iyer 2015&ndash;2017.</span>
This site is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons BY-NC-SA 4.0 License</a>.
</p>
</div>
<div class='media-right'>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
<img alt="Creative Commons License" class='media-object' style="border-width:0" src="/share/licence/cc-by-nc-sa-88x31.png">
</a>
</div>
</div>
<span class='text-nowrap' title='Email'>
<span class='glyphicon glyphicon-envelope' aria-hidden='true'></span>
gautam@math.cmu.edu.</span>
&emsp;
<span class='text-nowrap' title='Office'><span class='glyphicon glyphicon-briefcase' aria-hidden='true'></span> <a title='Wean Hall' href='https://www.google.com/maps/place/Wean+Hall,+Carnegie+Mellon+University,+Pittsburgh,+PA+15213'>WEH</a> 6121.
</span>
</div>
</footer><script src="/dev/static/jquery/1.12.4/jquery.js">
</script>
<script src="/dev/static/bootstrap/3.3.7/js/bootstrap.js">
</script><script src='/share/js/local.js'></script></body>
</html>
\ No newline at end of file
RewriteEngine on
RewriteBase /blog/
# Renamed a few files on the old blog
RewriteRule ^20130929-git-intro\.html$ 20130929-git-quickstart.html
RewriteRule ^20130930-nsf-margins\.html$ 20130930-tex-margins.html
\ No newline at end of file
This diff is collapsed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Gautam Iyer">
<title>
Setting up ikiWiki and MathJAX
</title><link rel="stylesheet"
href="/dev/static/bootstrap/3.3.7/css/bootstrap.css">
<link rel="stylesheet"
href="/share/css/pygments-theme.css">
<link rel="stylesheet" href="/share/css/local.css"><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.js">
</script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.js">
</script>
<![endif]-->
</head>
<body style='position: relative' data-spy='scroll' data-target='#col-right'>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://localhost:8000">Gautam Iyer</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="http://localhost:8000/index.html">Research</a>
</li>
<li>
<a href="http://localhost:8000/teaching">Teaching</a>
</li>
<li>
<a href="http://localhost:8000/contact.html">CV/Contact</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class='disabled'>
<a href="#">Code</a>
</li>
<li class='active'>
<a href="http://localhost:8000/blog">Blog</a>
</li>
<li>
<a href="http://localhost:8000/dev/test">Test</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav><div class='container'>
<div class='row'>
<div class='col-md-9' id='col-main'>
<div class='justify'>
<h1>
Setting up ikiWiki and MathJAX
<br>
<small>2013-09-30</small>
</h1>
<div class="alert alert-warning">
<p><strong>NOTE:</strong> These are old instructions on how to set up <a href="https://ikiwiki.info/">ikiWiki</a> and <a href="http://www.mathjax.org/">MathJAX</a>, and might not be relelvant anymore. I no longer use <a href="https://ikiwiki.info/">ikiWiki</a> to maintain my website. This site is generated using <a href="http://staticjinja.readthedocs.org/en/latest/">staticjinja</a> and a <a href="https://gitlab.com/gi1242/sjinja-www">custom build script</a>.</p>
</div>
<p><a href="https://ikiwiki.info/">ikiWiki</a> is an awesome (minimalist) wiki engine based on Git.
Basically you can edit happily in your editor of choice (e.g. <a href="http://www.vim.org/about.php">vim</a>), preview it locally in your browser and then commit your changes and push the result to a server when you&rsquo;re happy.
I&rsquo;ve set up a couple of ikiwiki engines to serve lecture notes etc.
Usually pages are written in <a href="http://fletcherpenney.net/multimarkdown/">MultiMarkDown</a>, and the math is rendered using <a href="http://www.mathjax.org/">MathJAX</a>.</p>
<h2>Setup instructions and tips.</h2>
<ul>
<li><a class="wikilink" href="http://localhost:8000/blog/20130930-ikiwiki/000-example.html">Example of Math Rendering</a></li>
<li><a class="wikilink" href="http://localhost:8000/blog/20130930-ikiwiki/010-setup.html">Setup Instructions</a></li>
<li><a class="wikilink" href="http://localhost:8000/blog/20130930-ikiwiki/020-local-preview.html">Setting up a local preview or creating a static site</a></li>
<li><a class="wikilink" href="http://localhost:8000/blog/20130930-ikiwiki/030-latex-differences.html">Differences from LaTeX when typing Math</a></li>
</ul>
<p>Finally, if you want to use the look and feel of <a href="http://wiki.math.cmu.edu/iki/wiki/index.html">this wiki</a> look <a class="wikilink" href="http://localhost:8000/blog/20140720-ikiwiki-navbar.html">here</a>.</p>
<br>
<h3>
<span class='glyphicon glyphicon-comment' aria-hidden='true'></span>&emsp;Comments
</h3>
<h4>
<span class='glyphicon glyphicon-pencil' aria-hidden='true'></span>&emsp;Leave a comment
<small class='text-warning'>
(Spammers beware: All comments are moderated)
</small>
</h4>
<div id='comment-failed' class='alert alert-danger hidden'>
Sorry. There was an error submitting your comment. Please try again, or contact me if the problem persists.
</div>
<div id='comment-form' class='well row small'>
<form role='form' method='post'
action='javascript:submit_comment()'>
<input type='hidden' name='page' value='20130930-ikiwiki.md'>
<input type='hidden' name='comment-number' value='1'>
<div class="col-md-6 form-group">
<label class="sr-only" for="name">Name</label>
<input type="text" class="form-control" name="name" placeholder="Name (optional)">
</div>
<div class="col-md-6 form-group">
<label class="sr-only" for="email">Email address</label>
<input type="email" class="form-control" name="email"
placeholder="Email (optional, to generate an avatar; will not be published)"
title="Your email is only used to generate an avatar. It will not be published or used to contact you. Promise!">
</div>
<div class='col-md-12 form-group'>
<label class="sr-only" for="subject">Subject</label>
<input type="text" class="form-control" name="subject"
placeholder="Subject (REQUIRED)" REQUIRED>
</div>
<div class="col-md-12 form-group">
<label class="sr-only" for="email">Comment</label>
<textarea class="form-control" name="comment"
placeholder="Comment. (REQUIRED. Write your comment in Markdown)"
rows='4' REQUIRED></textarea>
</div>
<div class="col-md-12 form-group text-right">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</form>
</div>
<div id='comment-sending' class='alert alert-info hidden'>
Sending comment; please wait.
</div>
<div id='comment-success' class='alert alert-success hidden'>
Thanks. Your comment was successfully submitted.
It will appear here shortly if it isn't spam.
</div>
</div>
</div>
<div class='col-md-3' id='col-right'>
<div data-affix-after='#create'>
<br>
<h4><span class='glyphicon glyphicon-bullhorn' aria-hidden='true'></span>&emsp;Recent posts</h4>
<ol class='list-unstyled'>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171208-bibtex-custom-label.html'>Using custom labels with the `alpha` BibTeX style</a>
(2017-12-08)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171207-keyboard-settings.html'>Swapping control/caps lock, and using Apple keyboards on Linux</a>
(2017-12-07)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171114-bibtex-doi.html'>Getting DOI / arXiv links with BibTeX.</a>
(2017-11-14)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171021-setup.html'>Static Jinja2 Site Generator</a>
(2017-10-21)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20160406-dropbox-git.html'>Using git and Dropbox</a>
(2016-04-06)
</li>
</ol>
</div></div>
</div>
</div>
<footer>
<div class='container'>
<hr>
<div class='media'>
<div class='media-body'>
<p>
<span class='text-nowrap'>&copy; Gautam Iyer 2015&ndash;2017.</span>
This site is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons BY-NC-SA 4.0 License</a>.
</p>
</div>
<div class='media-right'>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
<img alt="Creative Commons License" class='media-object' style="border-width:0" src="/share/licence/cc-by-nc-sa-88x31.png">
</a>
</div>
</div>
<span class='text-nowrap' title='Email'>
<span class='glyphicon glyphicon-envelope' aria-hidden='true'></span>
gautam@math.cmu.edu.</span>
&emsp;
<span class='text-nowrap' title='Office'><span class='glyphicon glyphicon-briefcase' aria-hidden='true'></span> <a title='Wean Hall' href='https://www.google.com/maps/place/Wean+Hall,+Carnegie+Mellon+University,+Pittsburgh,+PA+15213'>WEH</a> 6121.
</span>
</div>
</footer><script src="/dev/static/jquery/1.12.4/jquery.js">
</script>
<script src="/dev/static/bootstrap/3.3.7/js/bootstrap.js">
</script><script src='/share/js/local.js'></script></body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Gautam Iyer">
<title>
Example of Math Rendering
</title><link rel="stylesheet"
href="/dev/static/bootstrap/3.3.7/css/bootstrap.css">
<link rel="stylesheet"
href="/share/css/pygments-theme.css">
<link rel="stylesheet" href="/share/css/local.css"><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.js">
</script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.js">
</script>
<![endif]-->
</head>
<body style='position: relative' data-spy='scroll' data-target='#col-right'>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://localhost:8000">Gautam Iyer</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="http://localhost:8000/index.html">Research</a>
</li>
<li>
<a href="http://localhost:8000/teaching">Teaching</a>
</li>
<li>
<a href="http://localhost:8000/contact.html">CV/Contact</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class='disabled'>
<a href="#">Code</a>
</li>
<li class='active'>
<a href="http://localhost:8000/blog">Blog</a>
</li>
<li>
<a href="http://localhost:8000/dev/test">Test</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav><div class='container'>
<div class='row'>
<div class='col-md-9' id='col-main'>
<ul class='breadcrumb hidden-xs'>
<li><a href='http://localhost:8000/blog/20130930-ikiwiki.html'>Setting up ikiWiki and MathJAX</a></li>
<li class='active'>Example of Math Rendering</li>
</ul>
<div class='justify'>
<h1>
Example of Math Rendering
</h1>
<p>Here&rsquo;s an example of the math rendering:</p>
<blockquote>
<p><strong>Theorem</strong> <em>(Mean Value Property).</em>
Let <script type="math/tex">\Omega \subset \R^3</script> be a domain, and <script type="math/tex">u</script> is harmonic in <script type="math/tex">\Omega</script> (i.e. <script type="math/tex">\lap u = 0</script> in <script type="math/tex">\Omega</script>).
Suppose <script type="math/tex">B</script> is a ball of radius <script type="math/tex">R</script> and center <script type="math/tex">x_0</script> that is completely contained in <script type="math/tex">\Omega</script>.
Then
<script type="math/tex; mode=display">
u(x_0) = \frac{1}{4 \pi R^2} \int_{\partial B} u \, dS
</script>
</p>
</blockquote>
<p>This was produced by the following code:</p>
<div class="codehilite"><pre><span></span>**Theorem** *(Mean Value Property).*
Let $\Omega \subset \R^3$ be a domain, and $u$ is harmonic in $\Omega$ (i.e. $\lap u = 0$ in $\Omega$).
Suppose $B$ is a ball of radius $R$ and center $x_0$ that is completely contained in $\Omega$.
Then
$$
u(x_0) = \frac{1}{4 \pi R^2} \int_{\partial B} u \, dS
$$
</pre></div>
<br>
<h3>
<span class='glyphicon glyphicon-comment' aria-hidden='true'></span>&emsp;Comments
</h3>
<h4>
<span class='glyphicon glyphicon-pencil' aria-hidden='true'></span>&emsp;Leave a comment
<small class='text-warning'>
(Spammers beware: All comments are moderated)
</small>
</h4>
<div id='comment-failed' class='alert alert-danger hidden'>
Sorry. There was an error submitting your comment. Please try again, or contact me if the problem persists.
</div>
<div id='comment-form' class='well row small'>
<form role='form' method='post'
action='javascript:submit_comment()'>
<input type='hidden' name='page' value='000-example.md'>
<input type='hidden' name='comment-number' value='1'>
<div class="col-md-6 form-group">
<label class="sr-only" for="name">Name</label>
<input type="text" class="form-control" name="name" placeholder="Name (optional)">
</div>
<div class="col-md-6 form-group">
<label class="sr-only" for="email">Email address</label>
<input type="email" class="form-control" name="email"
placeholder="Email (optional, to generate an avatar; will not be published)"
title="Your email is only used to generate an avatar. It will not be published or used to contact you. Promise!">
</div>
<div class='col-md-12 form-group'>
<label class="sr-only" for="subject">Subject</label>
<input type="text" class="form-control" name="subject"
placeholder="Subject (REQUIRED)" REQUIRED>
</div>
<div class="col-md-12 form-group">
<label class="sr-only" for="email">Comment</label>
<textarea class="form-control" name="comment"
placeholder="Comment. (REQUIRED. Write your comment in Markdown)"
rows='4' REQUIRED></textarea>
</div>
<div class="col-md-12 form-group text-right">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</form>
</div>
<div id='comment-sending' class='alert alert-info hidden'>
Sending comment; please wait.
</div>
<div id='comment-success' class='alert alert-success hidden'>
Thanks. Your comment was successfully submitted.
It will appear here shortly if it isn't spam.
</div>
</div>
</div>
<div class='col-md-3' id='col-right'>
<div data-affix-after='#create'>
<div>
<br>
<h4 class='hide-xoverflow'>
<span class='glyphicon glyphicon-menu-hamburger' aria-hidden='true'></span>&emsp;<a href='http://localhost:8000/blog/20130930-ikiwiki.html'>Setting up ikiWiki and MathJAX</a>
</h4>
<ol class='post-series'>
<li>
<a href='http://localhost:8000/blog/20130930-ikiwiki/000-example.html'>Example of Math Rendering</a>
</li>
<li>
<a href='http://localhost:8000/blog/20130930-ikiwiki/010-setup.html'>Setup Instructions</a>
</li>
<li>
<a href='http://localhost:8000/blog/20130930-ikiwiki/020-local-preview.html'>Setting up a local preview or creating a static site</a>
</li>
<li>
<a href='http://localhost:8000/blog/20130930-ikiwiki/030-latex-differences.html'>Differences from LaTeX when typing Math</a>
</li>
</ol>
</div>
<br>
<h4><span class='glyphicon glyphicon-bullhorn' aria-hidden='true'></span>&emsp;Recent posts</h4>
<ol class='list-unstyled'>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171208-bibtex-custom-label.html'>Using custom labels with the `alpha` BibTeX style</a>
(2017-12-08)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171207-keyboard-settings.html'>Swapping control/caps lock, and using Apple keyboards on Linux</a>
(2017-12-07)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171114-bibtex-doi.html'>Getting DOI / arXiv links with BibTeX.</a>
(2017-11-14)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171021-setup.html'>Static Jinja2 Site Generator</a>
(2017-10-21)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20160406-dropbox-git.html'>Using git and Dropbox</a>
(2016-04-06)
</li>
</ol>
</div></div>
</div>
</div>
<footer>
<div class='container'>
<hr>
<div class='media'>
<div class='media-body'>
<p>
<span class='text-nowrap'>&copy; Gautam Iyer 2015&ndash;2017.</span>
This site is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons BY-NC-SA 4.0 License</a>.
</p>
</div>
<div class='media-right'>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
<img alt="Creative Commons License" class='media-object' style="border-width:0" src="/share/licence/cc-by-nc-sa-88x31.png">
</a>
</div>
</div>
<span class='text-nowrap' title='Email'>
<span class='glyphicon glyphicon-envelope' aria-hidden='true'></span>
gautam@math.cmu.edu.</span>
&emsp;
<span class='text-nowrap' title='Office'><span class='glyphicon glyphicon-briefcase' aria-hidden='true'></span> <a title='Wean Hall' href='https://www.google.com/maps/place/Wean+Hall,+Carnegie+Mellon+University,+Pittsburgh,+PA+15213'>WEH</a> 6121.
</span>
</div>
</footer><script src="/dev/static/jquery/1.12.4/jquery.js">
</script>
<script src="/dev/static/bootstrap/3.3.7/js/bootstrap.js">
</script><script src='/share/js/mathjax-config.js'></script>
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script><script src='/share/js/local.js'></script></body>
</html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Gautam Iyer">
<title>
Differences from LaTeX when typing Math
</title><link rel="stylesheet"
href="/dev/static/bootstrap/3.3.7/css/bootstrap.css">
<link rel="stylesheet"
href="/share/css/pygments-theme.css">
<link rel="stylesheet" href="/share/css/local.css"><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.js">
</script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.js">
</script>
<![endif]-->
</head>
<body style='position: relative' data-spy='scroll' data-target='#col-right'>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://localhost:8000">Gautam Iyer</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="http://localhost:8000/index.html">Research</a>
</li>
<li>
<a href="http://localhost:8000/teaching">Teaching</a>
</li>
<li>
<a href="http://localhost:8000/contact.html">CV/Contact</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class='disabled'>
<a href="#">Code</a>
</li>
<li class='active'>
<a href="http://localhost:8000/blog">Blog</a>
</li>
<li>
<a href="http://localhost:8000/dev/test">Test</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav><div class='container'>
<div class='row'>
<div class='col-md-9' id='col-main'>
<ul class='breadcrumb hidden-xs'>
<li><a href='http://localhost:8000/blog/20130930-ikiwiki.html'>Setting up ikiWiki and MathJAX</a></li>
<li class='active'>Differences from LaTeX when typing Math</li>
</ul>
<div class='justify'>
<h1>
Differences from LaTeX when typing Math
</h1>
<p>There are a few things to watch for which are different in the ikiWiki/MathJAX setup than traditional LaTeX.
I list a couple that have tripped me up here.</p>
<ul>
<li>
<p>Underscores near braces cause trouble:
<code>${{a}_{1}}^{{b}_{1}}$</code> renders incorrectly.</p>
<p>Fix: Add spaces, or remove braces.
E.g. write <code>${{a} _{1}}^{{b} _{1}}$</code> instead which renders correctly as <script type="math/tex">{{a} _{1}}^{{b} _{1}}</script>.</p>
</li>
<li>
<p>Some smileys might cause problems:
<code>$ {x} $</code> renders incorrectly as <script type="math/tex"> {x} </script>.
(On the other hand <code>${x}$</code> renders correctly as <script type="math/tex">{x}</script>.)</p>
</li>
<li>
<p>In the <code>align</code> or <code>gather</code> environments linebreaks via <code>\\</code> won&rsquo;t work. </p>
<p>Instead try <code>\\\\</code> or <code>\cr</code> instead.
For example:
<script type="math/tex; mode=display">\begin{align*}
a &= b + 1 \cr
b + c &= d \\\\
e + 1 &= f + g.
\end{align*}</script>
</p>
</li>
<li>
<p>Quotes: Open quotes in LaTeX must be escaped, otherwise they&rsquo;re treated as CODE blocks.</p>
</li>
</ul>
<p>Some miscellaneous rendering tests can be found <a class="wikilink" href="http://localhost:8000/blog/20130930-ikiwiki/files/tests.html">here</a>.</p>
<br>
<h3>
<span class='glyphicon glyphicon-comment' aria-hidden='true'></span>&emsp;Comments
</h3>
<h4>
<span class='glyphicon glyphicon-pencil' aria-hidden='true'></span>&emsp;Leave a comment
<small class='text-warning'>
(Spammers beware: All comments are moderated)
</small>
</h4>
<div id='comment-failed' class='alert alert-danger hidden'>
Sorry. There was an error submitting your comment. Please try again, or contact me if the problem persists.
</div>
<div id='comment-form' class='well row small'>
<form role='form' method='post'
action='javascript:submit_comment()'>
<input type='hidden' name='page' value='030-latex-differences.md'>
<input type='hidden' name='comment-number' value='1'>
<div class="col-md-6 form-group">
<label class="sr-only" for="name">Name</label>
<input type="text" class="form-control" name="name" placeholder="Name (optional)">
</div>
<div class="col-md-6 form-group">
<label class="sr-only" for="email">Email address</label>
<input type="email" class="form-control" name="email"
placeholder="Email (optional, to generate an avatar; will not be published)"
title="Your email is only used to generate an avatar. It will not be published or used to contact you. Promise!">
</div>
<div class='col-md-12 form-group'>
<label class="sr-only" for="subject">Subject</label>
<input type="text" class="form-control" name="subject"
placeholder="Subject (REQUIRED)" REQUIRED>
</div>
<div class="col-md-12 form-group">
<label class="sr-only" for="email">Comment</label>
<textarea class="form-control" name="comment"
placeholder="Comment. (REQUIRED. Write your comment in Markdown)"
rows='4' REQUIRED></textarea>
</div>
<div class="col-md-12 form-group text-right">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</form>
</div>
<div id='comment-sending' class='alert alert-info hidden'>
Sending comment; please wait.
</div>
<div id='comment-success' class='alert alert-success hidden'>
Thanks. Your comment was successfully submitted.
It will appear here shortly if it isn't spam.
</div>
</div>
</div>
<div class='col-md-3' id='col-right'>
<div data-affix-after='#create'>
<div>
<br>
<h4 class='hide-xoverflow'>
<span class='glyphicon glyphicon-menu-hamburger' aria-hidden='true'></span>&emsp;<a href='http://localhost:8000/blog/20130930-ikiwiki.html'>Setting up ikiWiki and MathJAX</a>
</h4>
<ol class='post-series'>
<li>
<a href='http://localhost:8000/blog/20130930-ikiwiki/000-example.html'>Example of Math Rendering</a>
</li>
<li>
<a href='http://localhost:8000/blog/20130930-ikiwiki/010-setup.html'>Setup Instructions</a>
</li>
<li>
<a href='http://localhost:8000/blog/20130930-ikiwiki/020-local-preview.html'>Setting up a local preview or creating a static site</a>
</li>
<li>
<a href='http://localhost:8000/blog/20130930-ikiwiki/030-latex-differences.html'>Differences from LaTeX when typing Math</a>
</li>
</ol>
</div>
<br>
<h4><span class='glyphicon glyphicon-bullhorn' aria-hidden='true'></span>&emsp;Recent posts</h4>
<ol class='list-unstyled'>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171208-bibtex-custom-label.html'>Using custom labels with the `alpha` BibTeX style</a>
(2017-12-08)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171207-keyboard-settings.html'>Swapping control/caps lock, and using Apple keyboards on Linux</a>
(2017-12-07)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171114-bibtex-doi.html'>Getting DOI / arXiv links with BibTeX.</a>
(2017-11-14)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171021-setup.html'>Static Jinja2 Site Generator</a>
(2017-10-21)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20160406-dropbox-git.html'>Using git and Dropbox</a>
(2016-04-06)
</li>
</ol>
</div></div>
</div>
</div>
<footer>
<div class='container'>
<hr>
<div class='media'>
<div class='media-body'>
<p>
<span class='text-nowrap'>&copy; Gautam Iyer 2015&ndash;2017.</span>
This site is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons BY-NC-SA 4.0 License</a>.
</p>
</div>
<div class='media-right'>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
<img alt="Creative Commons License" class='media-object' style="border-width:0" src="/share/licence/cc-by-nc-sa-88x31.png">
</a>
</div>
</div>
<span class='text-nowrap' title='Email'>
<span class='glyphicon glyphicon-envelope' aria-hidden='true'></span>
gautam@math.cmu.edu.</span>
&emsp;
<span class='text-nowrap' title='Office'><span class='glyphicon glyphicon-briefcase' aria-hidden='true'></span> <a title='Wean Hall' href='https://www.google.com/maps/place/Wean+Hall,+Carnegie+Mellon+University,+Pittsburgh,+PA+15213'>WEH</a> 6121.
</span>
</div>
</footer><script src="/dev/static/jquery/1.12.4/jquery.js">
</script>
<script src="/dev/static/bootstrap/3.3.7/js/bootstrap.js">
</script><script src='/share/js/mathjax-config.js'></script>
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script><script src='/share/js/local.js'></script></body>
</html>
\ No newline at end of file
#!/usr/bin/perl
# Created : Fri 04 Oct 2013 01:19:02 PM EDT
# Modified : Sat 05 Oct 2013 11:58:52 AM EDT
# Author : GI <a@b.c>, where a='gi1242+perl', b='gmail', c='com'
#
# Allows adding the MathJAX scripts via a tag.
#
# The directive [[!mathjax]] will add the MathJAX script from CDN. By default
# it will look for a config file in /javascript/mathjax-config.js. If you want
# to include config in a different location do so via the config parameter. E.g.
#
# [[!mathjax config="myconfig"]]
#
# Your config file can also contain latex macros. (External scripts can not be
# linked to using the config parameter.)
#
# Only one config file per invocation is supported. If you inline two pages
# each sourcing a different config file, then only the config from the last one
# inlined will be included.
package IkiWiki::Plugin::mathjax;
use warnings;
use strict;
use IkiWiki 3.00;
my %mathjax_config; # Disable by default.
sub import {
hook(type => "preprocess", id => "mathjax", call => \&preprocess);
hook(type => "format", id => "mathjax", call => \&format);
}
sub preprocess(@)
{
my %params=@_;
my $page = $params{destpage};
my $config_file = exists( $params{config} ) ?
$params{config} : "/javascript/mathjax-config";
my $js = bestlink( $page, "$config_file.js" );
if ( length( $js ) ) {
$mathjax_config{$page} = urlto( $js, $page );
}
else {
if( exists( $params{config} ) ) {
error( "$params{config}.js: " . gettext( "script not found" ) );
}
else {
# No config param, and default config not found.
# Include MathJAX with no config.
$mathjax_config{$page} = "NONE";
}
}
return ""; #Directive produces no output.
}
sub format (@) {
my %params=@_;
my $page = $params{page};
if( exists( $mathjax_config{$page} ) )
{
# Add MathJAX config at the end of the head section.
my $cdn_url = ( defined $config{url} && $config{url}=~/^https:/ ) ? "https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" : "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML";
my $script_tag = "\n<script src='$cdn_url' type='text/javascript'>"
. "</script>\n";
if ( $mathjax_config{$page} ne "NONE" ) {
$script_tag .= "<script src='$mathjax_config{$page}' "
. "type='text/javascript'></script>\n";
}
if (! ($params{content}=~s!^(<body[^>]*>)!$1.$script_tag!em)) {
# no <body> tag, probably in preview mode
$params{content}=$script_tag.$params{content};
}
}
return $params{content};
}
1;
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Gautam Iyer">
<title>
Using bibtool to fix your BibTeX databases.
</title><link rel="stylesheet"
href="/dev/static/bootstrap/3.3.7/css/bootstrap.css">
<link rel="stylesheet"
href="/share/css/pygments-theme.css">
<link rel="stylesheet" href="/share/css/local.css"><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.js">
</script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.js">
</script>
<![endif]-->
</head>
<body style='position: relative' data-spy='scroll' data-target='#col-right'>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://localhost:8000">Gautam Iyer</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="http://localhost:8000/index.html">Research</a>
</li>
<li>
<a href="http://localhost:8000/teaching">Teaching</a>
</li>
<li>
<a href="http://localhost:8000/contact.html">CV/Contact</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class='disabled'>
<a href="#">Code</a>
</li>
<li class='active'>
<a href="http://localhost:8000/blog">Blog</a>
</li>
<li>
<a href="http://localhost:8000/dev/test">Test</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav><div class='container'>
<div class='row'>
<div class='col-md-9' id='col-main'>
<div class='justify'>
<h1>
Using bibtool to fix your BibTeX databases.
<br>
<small>2014-03-04</small>
</h1>
<p>Downloading <a href="http://www.bibtex.org/">BibTeX</a> citations from review sites (e.g. <a href="http://www.ams.org/mathscinet">MathSciNet</a>, <a href="http://apps.webofknowledge.com/">WebOfKnowledge</a>) doesn&rsquo;t always get you consistent results. Sometimes the case is messed up, there are extra braces, etc. Or there is a <code>note</code> field showing the number of citations (which shows up in your final PDF output). Moreover the citation keys are often of the form <code>MR673830</code>, which is useless unless you&rsquo;re a computer. Here&rsquo;s an easy way to fix most of these problems using <a href="http://www.gerd-neugebauer.de/software/TeX/BibTool/">BibTool</a>.</p>
<p>Here&rsquo;s how you use it:</p>
<ol>
<li>
<p>Create a <code>~/.bibtoolrsc</code> file with your preferences.
You can edit <a class="wikilink" href="http://localhost:8000/blog/20140304-bibtool/bibtoolrsc.txt">my preferences</a> to suit your taste if you like.</p>
</li>
<li>
<p>Filter your bibliography through bibtool:</p>
<div class="codehilite"><pre><span></span>bibtool &lt; downloaded_refs.bib &gt; cleaned_up_refs.bib
</pre></div>
<p>Or, if you use <a href="http://www.vim.org">vim</a> you can just do</p>
<div class="codehilite"><pre><span></span>:1,$!bibtool
</pre></div>
<p>when editing your bibliography file.</p>
</li>
<li>
<p>That&rsquo;s it. You might have to fix the case of a few words in the title here and there (e.g. writing <code>{G}alton-{W}atson</code> instead of <code>Galton-Watson</code>, etc.).</p>
</li>
</ol>
<br>
<h3>
<span class='glyphicon glyphicon-comment' aria-hidden='true'></span>&emsp;Comments
</h3>
<h4>
<span class='glyphicon glyphicon-pencil' aria-hidden='true'></span>&emsp;Leave a comment
<small class='text-warning'>
(Spammers beware: All comments are moderated)
</small>
</h4>
<div id='comment-failed' class='alert alert-danger hidden'>
Sorry. There was an error submitting your comment. Please try again, or contact me if the problem persists.
</div>
<div id='comment-form' class='well row small'>
<form role='form' method='post'
action='javascript:submit_comment()'>
<input type='hidden' name='page' value='20140304-bibtool.md'>
<input type='hidden' name='comment-number' value='1'>
<div class="col-md-6 form-group">
<label class="sr-only" for="name">Name</label>
<input type="text" class="form-control" name="name" placeholder="Name (optional)">
</div>
<div class="col-md-6 form-group">
<label class="sr-only" for="email">Email address</label>
<input type="email" class="form-control" name="email"
placeholder="Email (optional, to generate an avatar; will not be published)"
title="Your email is only used to generate an avatar. It will not be published or used to contact you. Promise!">
</div>
<div class='col-md-12 form-group'>
<label class="sr-only" for="subject">Subject</label>
<input type="text" class="form-control" name="subject"
placeholder="Subject (REQUIRED)" REQUIRED>
</div>
<div class="col-md-12 form-group">
<label class="sr-only" for="email">Comment</label>
<textarea class="form-control" name="comment"
placeholder="Comment. (REQUIRED. Write your comment in Markdown)"
rows='4' REQUIRED></textarea>
</div>
<div class="col-md-12 form-group text-right">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</form>
</div>
<div id='comment-sending' class='alert alert-info hidden'>
Sending comment; please wait.
</div>
<div id='comment-success' class='alert alert-success hidden'>
Thanks. Your comment was successfully submitted.
It will appear here shortly if it isn't spam.
</div>
</div>
</div>
<div class='col-md-3' id='col-right'>
<div data-affix-after='#create'>
<br>
<h4><span class='glyphicon glyphicon-bullhorn' aria-hidden='true'></span>&emsp;Recent posts</h4>
<ol class='list-unstyled'>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171208-bibtex-custom-label.html'>Using custom labels with the `alpha` BibTeX style</a>
(2017-12-08)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171207-keyboard-settings.html'>Swapping control/caps lock, and using Apple keyboards on Linux</a>
(2017-12-07)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171114-bibtex-doi.html'>Getting DOI / arXiv links with BibTeX.</a>
(2017-11-14)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20171021-setup.html'>Static Jinja2 Site Generator</a>
(2017-10-21)
</li>
<li class='hide-xoverflow'>
<a href='http://localhost:8000/blog/20160406-dropbox-git.html'>Using git and Dropbox</a>
(2016-04-06)
</li>
</ol>
</div></div>
</div>
</div>
<footer>
<div class='container'>
<hr>
<div class='media'>
<div class='media-body'>
<p>
<span class='text-nowrap'>&copy; Gautam Iyer 2015&ndash;2017.</span>
This site is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons BY-NC-SA 4.0 License</a>.
</p>
</div>
<div class='media-right'>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
<img alt="Creative Commons License" class='media-object' style="border-width:0" src="/share/licence/cc-by-nc-sa-88x31.png">
</a>
</div>
</div>
<span class='text-nowrap' title='Email'>
<span class='glyphicon glyphicon-envelope' aria-hidden='true'></span>
gautam@math.cmu.edu.</span>
&emsp;
<span class='text-nowrap' title='Office'><span class='glyphicon glyphicon-briefcase' aria-hidden='true'></span> <a title='Wean Hall' href='https://www.google.com/maps/place/Wean+Hall,+Carnegie+Mellon+University,+Pittsburgh,+PA+15213'>WEH</a> 6121.
</span>
</div>
</footer><script src="/dev/static/jquery/1.12.4/jquery.js">
</script>
<script src="/dev/static/bootstrap/3.3.7/js/bootstrap.js">
</script><script src='/share/js/local.js'></script></body>
</html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
\newlength{\bibitemsep}\setlength{\bibitemsep}{.2\baselineskip plus .05\baselineskip minus .05\baselineskip}
\newlength{\bibparskip}\setlength{\bibparskip}{0pt}
\let\oldthebibliography\thebibliography
\renewcommand\thebibliography[1]{%
\oldthebibliography{#1}%
\setlength{\parskip}{\bibitemsep}%
\setlength{\itemsep}{\bibparskip}%
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.