From 377590870fabe2d2a9980e629c67b1aa7065fa92 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 14 Jun 2006 19:12:00 +0000 Subject: Changed prado3_quick_start.pdf to quickstart.pdf --- buildscripts/texbuilder/build.php | 12 +-- buildscripts/texbuilder/prado3_quick_start.tex | 122 ------------------------- buildscripts/texbuilder/quickstart.tex | 122 +++++++++++++++++++++++++ 3 files changed, 128 insertions(+), 128 deletions(-) delete mode 100644 buildscripts/texbuilder/prado3_quick_start.tex create mode 100644 buildscripts/texbuilder/quickstart.tex (limited to 'buildscripts') diff --git a/buildscripts/texbuilder/build.php b/buildscripts/texbuilder/build.php index cbea9859..c0577c8f 100644 --- a/buildscripts/texbuilder/build.php +++ b/buildscripts/texbuilder/build.php @@ -5,7 +5,7 @@ $pdflatexExec = "C:/Wei/miktex/texmf/MiKTeX/bin/pdflatex.exe"; $pdfTex = "$pdflatexExec -interaction=nonstopmode -max-print-line=120 %s"; -$mainTexFile = dirname(__FILE__).'/prado3_quick_start.tex'; +$mainTexFile = dirname(__FILE__).'/quickstart.tex'; //page root location $base = realpath(dirname(__FILE__).'/../../demos/quickstart/protected/pages/'); @@ -244,14 +244,14 @@ foreach($pages as $chapter => $sections) echo " Adding $section\n"; $page = $base.'/'.$section; $current_path = $page; - + //add id to

,

, <3> $tmp_content = set_header_id(file_get_contents($page),$j++); file_put_contents($page, $tmp_content); - + $content .= get_section_label($section); $file_content = file_get_contents($page); - $tex = + $tex = $content .= parse_html($page,$file_content); } @@ -265,7 +265,7 @@ foreach($pages as $chapter => $sections) if($argc <= 1 && $count > 1) { - echo "** Use pdflatex to compile prado3_quick_start.tex to obtain PDF version of quickstart tutorial. **\n"; + echo "** Use pdflatex to compile quickstart.tex to obtain PDF version of quickstart tutorial. **\n"; exit; } if($argv[1] == 'pdf') @@ -277,7 +277,7 @@ if($argv[1] == 'pdf') system($command); system($command); //run it twice - echo "\n\n** PDF file prado3_quick_start.pdf created **\n\n"; + echo "\n\n** PDF file quickstart.pdf created **\n\n"; } else diff --git a/buildscripts/texbuilder/prado3_quick_start.tex b/buildscripts/texbuilder/prado3_quick_start.tex deleted file mode 100644 index ee3010fe..00000000 --- a/buildscripts/texbuilder/prado3_quick_start.tex +++ /dev/null @@ -1,122 +0,0 @@ -\documentclass{book} -\usepackage[pdftex]{graphicx} -\usepackage[pdftex]{hyperref} - -\usepackage{fancyhdr} - -%---------- fonts Type 1 ----------------- -%\usepackage{times} -%\usepackage[T1]{fontenc} -%\usepackage{textcomp} - -%------------------------Page set-up----------------------------------------- - -\renewcommand{\baselinestretch}{1.25} -\setlength{\hoffset}{-1in} -\setlength{\oddsidemargin}{3.5cm} -\setlength{\evensidemargin}{3.5cm} -\setlength{\topmargin}{0cm} -\setlength{\footskip}{2cm} -\setlength{\headheight}{14pt} -\setlength{\marginparwidth}{0cm} -\setlength{\marginparsep}{0cm} -\setlength{\marginparpush}{0cm} -\setlength{\textwidth}{15cm} -\setlength{\parindent}{0cm} -\setlength{\parskip}{0.75\baselineskip} - -%------------------------------------------------------------------------------ - - -%---- change link style ---- -\hypersetup{colorlinks, linkcolor=blue, pdfstartview={FitH}} - - -% Pages and Fancyheadings stuff -%----------------------------------------------------------------------- -\cfoot{\thepage} -\fancyhead[LE,RO]{} -\fancyhead[LO]{\nouppercase{\scshape\rightmark}} -\fancyhead[RE]{\nouppercase{\scshape\leftmark}} -%----------------------------------------------------------------------- - -%----------------- TITLE -------------- - -\title{\Huge \bfseries Prado v3.0.1 Quick Start Tutorial - \thanks{Copyright 2005-2006. All Rights Reserved.} -} -\author{Qiang Xue, Wei Zhuo} -\date{\today} - - -%-------------- BEGIN DOCUMENT ------------------ - - -\begin{document} - -\maketitle - -\pagestyle{plain} -\addcontentsline{toc}{chapter}{Contents} -\pagenumbering{roman} -\tableofcontents - -\chapter*{Preface} -\addcontentsline{toc}{chapter}{Preface} -Prado quick start doc - -\chapter*{License} -\addcontentsline{toc}{chapter}{License} -PRADO is free software released under the terms of the following BSD license.\\ -Copyright 2004-2006, PradoSoft (http://www.pradosoft.com)\\ -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: -\begin{enumerate} - \item Redistributions of source code must retain the above copyright notice, -this list of conditions and the following disclaimer. - - \item Redistributions in binary form must reproduce the above copyright notice, -this list of conditions and the following disclaimer in the documentation -and/or other materials provided with the distribution. - -\item Neither the name of the developer nor the names of its contributors may -be used to endorse or promote products derived from this software without -specific prior written permission. -\end{enumerate} - -\begin{verbatim} -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT -OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -\end{verbatim} - - -\newpage - -\pagestyle{fancyplain} -\pagenumbering{arabic} - -\include{ch1} -\include{ch2} -\include{ch3} -\include{ch4} -\include{ch5} -\include{ch6} -\include{ch7} -\include{ch8} -\include{ch9} -\include{ch10} -\include{ch11} -\include{ch12} -\include{ch13} - -\end{document} diff --git a/buildscripts/texbuilder/quickstart.tex b/buildscripts/texbuilder/quickstart.tex new file mode 100644 index 00000000..ee3010fe --- /dev/null +++ b/buildscripts/texbuilder/quickstart.tex @@ -0,0 +1,122 @@ +\documentclass{book} +\usepackage[pdftex]{graphicx} +\usepackage[pdftex]{hyperref} + +\usepackage{fancyhdr} + +%---------- fonts Type 1 ----------------- +%\usepackage{times} +%\usepackage[T1]{fontenc} +%\usepackage{textcomp} + +%------------------------Page set-up----------------------------------------- + +\renewcommand{\baselinestretch}{1.25} +\setlength{\hoffset}{-1in} +\setlength{\oddsidemargin}{3.5cm} +\setlength{\evensidemargin}{3.5cm} +\setlength{\topmargin}{0cm} +\setlength{\footskip}{2cm} +\setlength{\headheight}{14pt} +\setlength{\marginparwidth}{0cm} +\setlength{\marginparsep}{0cm} +\setlength{\marginparpush}{0cm} +\setlength{\textwidth}{15cm} +\setlength{\parindent}{0cm} +\setlength{\parskip}{0.75\baselineskip} + +%------------------------------------------------------------------------------ + + +%---- change link style ---- +\hypersetup{colorlinks, linkcolor=blue, pdfstartview={FitH}} + + +% Pages and Fancyheadings stuff +%----------------------------------------------------------------------- +\cfoot{\thepage} +\fancyhead[LE,RO]{} +\fancyhead[LO]{\nouppercase{\scshape\rightmark}} +\fancyhead[RE]{\nouppercase{\scshape\leftmark}} +%----------------------------------------------------------------------- + +%----------------- TITLE -------------- + +\title{\Huge \bfseries Prado v3.0.1 Quick Start Tutorial + \thanks{Copyright 2005-2006. All Rights Reserved.} +} +\author{Qiang Xue, Wei Zhuo} +\date{\today} + + +%-------------- BEGIN DOCUMENT ------------------ + + +\begin{document} + +\maketitle + +\pagestyle{plain} +\addcontentsline{toc}{chapter}{Contents} +\pagenumbering{roman} +\tableofcontents + +\chapter*{Preface} +\addcontentsline{toc}{chapter}{Preface} +Prado quick start doc + +\chapter*{License} +\addcontentsline{toc}{chapter}{License} +PRADO is free software released under the terms of the following BSD license.\\ +Copyright 2004-2006, PradoSoft (http://www.pradosoft.com)\\ +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +\begin{enumerate} + \item Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + + \item Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +\item Neither the name of the developer nor the names of its contributors may +be used to endorse or promote products derived from this software without +specific prior written permission. +\end{enumerate} + +\begin{verbatim} +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +\end{verbatim} + + +\newpage + +\pagestyle{fancyplain} +\pagenumbering{arabic} + +\include{ch1} +\include{ch2} +\include{ch3} +\include{ch4} +\include{ch5} +\include{ch6} +\include{ch7} +\include{ch8} +\include{ch9} +\include{ch10} +\include{ch11} +\include{ch12} +\include{ch13} + +\end{document} -- cgit v1.2.3