| \documentclass[11pt, dvips]{book} |
| \usepackage[hyperref, thmmarks]{styles/ntheorem} |
| \usepackage{framed} |
| \usepackage{times} |
| \usepackage{textcomp} |
| \usepackage{tabularx} |
| \usepackage{moreverb} |
| \usepackage[dvips]{graphicx} |
| \usepackage[dvips, |
| pdftitle={JAX-RS: Java API for RESTful Web Services}, |
| pdfauthor={Marc Hadley and Paul Sandoz, Sun Microsystems Inc.}, |
| pdfsubject={JAX-RS: Java API for RESTful Web Services}, |
| pdfkeywords={Java XML Web Services API REST RESTful}, |
| pdftex, |
| colorlinks=true, |
| linkcolor=black, |
| citecolor=black, |
| pdfstartview=FitH, |
| letterpaper=true, |
| bookmarksnumbered=true |
| ]{hyperref} |
| |
| % set up page dimensions |
| \textwidth = 6.5 in |
| \textheight = 9.33 in |
| \oddsidemargin = 0.0 in |
| \evensidemargin = 0.0 in |
| \topmargin = -0.75 in |
| \headheight = 15pt |
| \headsep = 0.33 in |
| \parskip = 6pt |
| \parindent = 0.0in |
| \footskip=0.5in |
| |
| \usepackage{fancyhdr} |
| \pagestyle{fancy} |
| \usepackage{styles/jsr} |
| \theoremstyle{plain} |
| %\setlength{\theorempostskipamount}{0pt} |
| \newtheorem{ednote}{Editors Note}[chapter] |
| |
| \theoremstyle{nonumberplain} |
| \theoremindent0cm |
| \theoremseparator{:} |
| \newtheorem{nnnote}{Note}[chapter] |
| |
| \usepackage[pagewise, right]{styles/lineno} |
| \usepackage[dvips]{changebar} |
| \usepackage{longtable} |
| |
| \renewcommand{\today}{September 8, 2008} |
| |
| \begin{document} |
| |
| \frontmatter |
| \include{styles/macros} |
| \include{styles/jsrfrontstyle} |
| |
| \include{chapters/titlepage} |
| |
| \cleardoublepage |
| { |
| \small |
| %\include{chapters/license} |
| \include{chapters/license_final} |
| } |
| |
| \pdfbookmark[0]{Contents}{toc} |
| \tableofcontents |
| |
| \mainmatter |
| \include{styles/jsrmainstyle} |
| |
| \linenumbers |
| \nochangebars |
| |
| \setcounter{secnumdepth}{4} |
| |
| \include{chapters/intro} |
| \include{chapters/applications} |
| \include{chapters/resources} |
| \include{chapters/providers} |
| \include{chapters/context} |
| \include{chapters/environment} |
| \include{chapters/delegate} |
| |
| \appendix |
| \renewcommand{\chaptermark}[1]{ |
| \markboth{\appendixname |
| \ \thechapter.\ #1}{}} |
| |
| \include{chapters/annotations} |
| \include{chapters/headers} |
| \include{chapters/changes} |
| |
| \backmatter |
| |
| \include{chapters/refs} |
| |
| \end{document} |