From 8fe468463ec2b957d63fb0c33d034cbcbd3237b3 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 24 Jul 2010 00:49:10 -0700
Subject: [PATCH] --offline implies --standalone.

---
 src/pandoc.hs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/pandoc.hs b/src/pandoc.hs
index 7af43d3a4..ef38c0332 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -321,7 +321,8 @@ options =
 
     , Option "" ["offline"]
                  (NoArg
-                  (\opt -> return opt { optOffline = True }))
+                  (\opt -> return opt { optOffline = True,
+                                        optStandalone = True }))
                  "" -- "Make slide shows include all the needed js and css"
 
     , Option "" ["xetex"]