You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by dc...@apache.org on 2012/11/19 21:23:17 UTC

[1/3] git commit: Make PDFs if pdflatex is available

Updated Branches:
  refs/heads/docs de6dc7150 -> 621385697


Make PDFs if pdflatex is available


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/62138569
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/62138569
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/62138569

Branch: refs/heads/docs
Commit: 621385697da95f06c2c5dd90147a8ffbe40668cd
Parents: c215b45
Author: Dave Cottlehuber <dc...@apache.org>
Authored: Mon Nov 19 21:22:34 2012 +0100
Committer: Dave Cottlehuber <dc...@apache.org>
Committed: Mon Nov 19 21:22:34 2012 +0100

----------------------------------------------------------------------
 share/doc/src/conf.py |   50 ++++++++++++++++++++++---------------------
 1 files changed, 26 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/62138569/share/doc/src/conf.py
----------------------------------------------------------------------
diff --git a/share/doc/src/conf.py b/share/doc/src/conf.py
index 4f2db47..7c9e56f 100644
--- a/share/doc/src/conf.py
+++ b/share/doc/src/conf.py
@@ -64,30 +64,32 @@ text_newlines = "native"
 # use this for excluding docs from final build
 # unused_docs = ["src/tmp/*.rst"]
 
-# latex_documents = [(
-# 	"index",
-# 	"CouchDB.tex",
-# 	"",
-# 	"",
-# 	"manual",
-# 	True
-# )]
-
-# #latex_elements[(
-# #	"a4paper" # @@ do we want this?
-# #)]
-
-# texinfo_documents = [(
-# 	"index",
-# 	"CouchDB",
-# 	"",
-# 	"",
-# 	"dir_entry",
-# 	"description",
-# 	"category",
-# 	"manual",
-# 	True
-# )]
+latex_documents = [(
+       "index",
+       "CouchDB.tex",
+       "",
+       "",
+       "manual",
+       True
+)]
+
+# latex_paper_size = 'a4paper'
+
+latex_elements = {
+    'papersize':'a4paper'
+    }
+
+texinfo_documents = [(
+       "index",
+       "CouchDB",
+       "",
+       "",
+       "dir_entry",
+       "description",
+       "category",
+       "manual",
+       True
+)]
 
 rst_epilog = """
 .. |psf| replace:: Apache Software Foundation