summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/MemoirChapStyles/README
blob: a93c8f18b3379174a9fcbd1a71a80be123b84a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
% (C) Lars Madsen, daleif@imf.au.dk, 2006/04/06
% This material is subject to the LaTeX Project Public License. 
% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html 
% for the details of that license.


The main idea behind this document is to demonstrate various either
contributed or inspired chapter styles for the memoir class.

If you have style you would like to contribute a style/implementation,
please send it with a minimal example to daleif+memoir@imf.au.dk
and I will include it into this document.



Memoir Chapter style Showcase -- README
----------------------------------------

The showcase source consists of one single file that includes
everything needed to compile the document.


Files
------

MemoirChapStyles.tex  -- source code
MemoirChapStyles.pdf  -- compiled showcase
README                -- this document 


Versions
---------

1.4c: Added demo2 from the comming new version of Memoir Addendum, and
      also added the the daleif3 style
1.4b: Sample text bugfix, a missing \par after \fancybreak affects
      the spacing after \chapter*
1.4:  Added the EQ style inspired by a mail from Erik Quaeghebeur
1.3:  Added the reparticle, southall and chappell styles from the
      memoir addendum. Thanks to David Chadd for reminding me. 



How to compile this showcase document:
--------------------------------------

Requirements:

A fairly new LaTeX installation

pdfcrop (comes at least with TeX Live 2005)
pdftops (comes with Xpdf, only for Linux, sorry)
perl    (see later)


To compile:

Run the document once through latex or pdflatex.
This will create 

  process.pl
  chapterexample.tex

and a lot of
  
  *-style.tex

files

Now run (you might need to change the permissions on process.pl)

  ./process.pl -f MemoirChapStyles.styles

This will process all of the *-style files mentioned in MemoirChapStyles.styles.
It will run

  pdflatex XXX-style.tex
  pdfcrop XXX-style.pdf tmp.pdf
  mv tmp.pdf XXX-style.pdf
  pdftops -eps XXX-style.pdf


(plus a little extra for the EQ style)

The reason for going over pdflatex, pdfcrop, pdftops is that dvips is
not good at creating correct bounding boxes for files that contain
postscript effects, pdfcrop does a much better job.

Then run latex or pdflatex on MemoirChapStyles.tex a few times to get all
references up to date.


/daleif