From b09c424184745e1400fb9fd0978a0622ae94b8a4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 11 Jun 2008 13:43:39 +0000 Subject: nostarch 1.3 (10jun08) git-svn-id: svn://tug.org/texlive/trunk@8674 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/nostarch/README | 19 ++++++++++++++++++- Master/texmf-dist/doc/latex/nostarch/nostarch.pdf | Bin 316092 -> 326490 bytes Master/texmf-dist/doc/latex/nostarch/nssample.pdf | Bin 403728 -> 416315 bytes Master/texmf-dist/doc/latex/nostarch/nssample.tex | 19 +++++++++++++++++-- 4 files changed, 35 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/nostarch/README b/Master/texmf-dist/doc/latex/nostarch/README index fdecf967329..7911a0fcb19 100644 --- a/Master/texmf-dist/doc/latex/nostarch/README +++ b/Master/texmf-dist/doc/latex/nostarch/README @@ -1,5 +1,5 @@ LaTeX Style For No Starch Press - Version 1.0 2008/04/07 + Version 1.3 2008/06/06 This is the ``official'' LaTeX style for No Starch Press, http://www.nostarch.com. The class is intended to typeset books for @@ -7,3 +7,20 @@ this publisher---both hard copies and electronic books. The suite provides main class, nostarch.cls, hyperref interface nshyper.sty and MakeIndex style nostarch.ist. + +CHANGES: + +Version 1.1: + + Added interface to listings package + Formatting changes + Some bug fixes + +Version 1.2 + + Formatting changes + +Version 1.3: + + Bug fixes + Added user-settable parameters for the table of contents diff --git a/Master/texmf-dist/doc/latex/nostarch/nostarch.pdf b/Master/texmf-dist/doc/latex/nostarch/nostarch.pdf index d75235ac2ac..47bc20db724 100644 Binary files a/Master/texmf-dist/doc/latex/nostarch/nostarch.pdf and b/Master/texmf-dist/doc/latex/nostarch/nostarch.pdf differ diff --git a/Master/texmf-dist/doc/latex/nostarch/nssample.pdf b/Master/texmf-dist/doc/latex/nostarch/nssample.pdf index 0675c5557b4..2ce6ca28292 100644 Binary files a/Master/texmf-dist/doc/latex/nostarch/nssample.pdf and b/Master/texmf-dist/doc/latex/nostarch/nssample.pdf differ diff --git a/Master/texmf-dist/doc/latex/nostarch/nssample.tex b/Master/texmf-dist/doc/latex/nostarch/nssample.tex index 33a4d14a95e..9d56e2676a5 100644 --- a/Master/texmf-dist/doc/latex/nostarch/nssample.tex +++ b/Master/texmf-dist/doc/latex/nostarch/nssample.tex @@ -4,6 +4,7 @@ elei-fend no-num-my li-be-ro} \usepackage{natbib} \usepackage{nshyper} +\lstset{fancyvrb=true} \makeindex \begin{document} @@ -176,9 +177,8 @@ Pellentesque cursus luctus mauris\footnote{\lipsum[3]}. \lipsum[36-38] - \chapter{Proin vel urna} - +\label{chap:proin} \chapterartfile{100euroit}\index{euro, coin!Italy}\index{Italian euro|see{euro}} @@ -301,6 +301,20 @@ main( ) { \index{*/@\texttt{*/} (comment end)} \index{;@\texttt{;} (semicolon)} + +\begin{lstlisting}[language=Lisp, frame=single, float, + caption={[Hello, World in Emacs + Lisp]Hello, World in Emacs Lisp% + \index{Lisp|see{programming languages}}% + \index{programming languages!Lisp}\index{Emacs}}] +;;; Hello World in Emacs Lisp. + +(defun hello-world() + "Display the string hello world." + (interactive) + (message "hello world")) +\end{lstlisting} + Integer posuere, metus ac rhoncus auctor, mi tellus scelerisque nunc\index{nunc}, venenatis elementum tortor lorem eu erat. \begin{description} @@ -356,6 +370,7 @@ erat rhoncus consectetuer. Aenean pulvinar erat vitae\index{vita} mi. \lipsum[123-124] \part{Curabitur vitae}\index{vita|(} +\label{part:Curabitur} \chapter[Curabitur vitae lectus]{Curabitur vitae lectus sit amet turpis pretium condimentum} -- cgit v1.2.3