Skip to content

Commit

Permalink
More style updates.
Browse files Browse the repository at this point in the history
Add logo for PDF generation.
  • Loading branch information
markstory committed Jun 26, 2012
1 parent ba85e1f commit be4757e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions config/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,18 +163,18 @@
#latex_paper_size = 'letter'

# The font size ('10pt', '11pt' or '12pt').
#latex_font_size = '10pt'
latex_font_size = '11pt'

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('pdf-contents', 'CakePHPCookbook.tex', u'CakePHP Cookbook Documentation',
u'CakePHP', 'manual'),
u'Cake Software Foundation', 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
# the title page.
latex_logo = None
latex_logo = '../themes/cakephp/static/pdf-logo.png'

# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
Expand Down Expand Up @@ -208,6 +208,14 @@
\ChNameVar{\color{TitleColor}\Large}
\ChNumVar{\color{TitleColor}\Large}
\ChTitleVar{\color{ChapterColor}\Huge\sf}
% link colors
\definecolor{InnerLinkColor}{rgb}{0.208,0.374,0.486}
\definecolor{OuterLinkColor}{rgb}{0.216,0.439,0.388}
% background and border for code examples.
\definecolor{VerbatimColor}{RGB}{242,242,242}
\definecolor{VerbatimBorderColor}{RGB}{230,230,230}
'''

latex_elements ={
Expand Down
Binary file added themes/cakephp/static/pdf-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit be4757e

Please sign in to comment.