Skip to content

Commit

Permalink
modified some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
yasoob committed Aug 16, 2015
1 parent 888e30d commit 81543c7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 20 deletions.
Binary file added _static/Large_Book_cover.pdf
Binary file not shown.
Binary file removed _static/cover.jpg
Binary file not shown.
Binary file removed _static/logo-full.png
Binary file not shown.
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@

# The name of an image file (relative to this directory) to place at the top of
# the title page.
latex_logo = '_static/logo-full.png'
latex_additional_files = ['flaskstyle.sty']#, 'logo.pdf']
latex_logo = '_static/Large_Book_cover.pdf'
latex_additional_files = ['flaskstyle.sty', '_static/Large_Book_cover.pdf']

# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
Expand Down
17 changes: 4 additions & 13 deletions flaskstyle.sty
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,18 @@
\definecolor{InnerLinkColor}{rgb}{0,0,0}
\usepackage{geometry}
\usepackage{xcolor}
\usepackage{pdfpages}
\usepackage{graphicx}
\usepackage{lipsum}% Used for dummy text.
\definecolor{titlepagecolor}{cmyk}{1,.60,0,.40}
\definecolor{namecolor}{cmyk}{1,.50,0,.10}
\definecolor{VerbatimBorderColor}{rgb}{1,1,1}

\renewcommand{\maketitle}{%

\begin{titlepage}
\newgeometry{left=5.5cm} %defines the geometry for the titlepage
\pagecolor{titlepagecolor}
\noindent
\color{white}
{\huge \textbf{\@title}}
\makebox[0pt][l]{\rule{1.3\textwidth}{1pt}}
\par
\noindent
\vfill
\noindent
\vskip\baselineskip
\noindent
\textbf{By: \@author}
\includepdf[pages={1}]{Large_Book_cover.pdf}

\end{titlepage}
\restoregeometry % restores the geometry
\nopagecolor% Use this to restore the color pages to white
Expand Down
9 changes: 4 additions & 5 deletions index.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
:orphan:

.. image:: _static/cover.jpg

Intermediate Python
===================

============
Preface
============

Python is an amazing language with a strong and friendly community of programmers. However, there is a lack of documentation on what to learn after getting the basics of Python down your throat. Through this book I aim to solve this problem. I would give you bits of information about some interesting topics which you can further explore.

The topics which are discussed in this book open up your mind towards some nice corners of Python language. This book is an outcome of my desire to have something like it when I was beginning to learn Python.
Expand All @@ -23,10 +26,6 @@ Author

I am Muhammad Yasoob Ullah Khalid. I have been programming extensively in Python for over 3 years now. I have been involved in a lot of Open Source projects. I regularly blog about interesting Python topics over at my `blog <http://www.freepythontips.wordpress.com>`_ . In 2014 I also spoke at EuroPython which was held in Berlin. It is the biggest Python conference in Europe.

============
Table of Contents
============

.. toctree::
:maxdepth: 2

Expand Down

0 comments on commit 81543c7

Please sign in to comment.