Debian Codegraph @

texmf-dist/doc/latex/skb/README

raw
1 SKB-LaTeX
2 ---------
3
4 *Create and maintain a repository for long-living documents*
5
6 *Latest version: v0.52 2011/06/03*
7
8 Introduction
9 ------------
10 This package provides macros that help to build a document repository for
11 long living documents. It focuses on structure and re-use of text, code,
12 figures etc. The basic concept is to first separate structure from content
13 (i.e. text about a topic from the structure it is presented by) and then
14 separating the content from the actual published document, thus enabling
15 easy re-use of text blocks in different publications (i.e. text about a
16 protocol in a short article about this protocol as well as in a book about
17 many protocols); all without constantly copying or changing text. As a side
18 effect, using the document classes provided, it hides a lot of LaTeX from
19 someone who just wants to write articles and books.
20
21 The following classes are supported
22
23 - skbarticle: an article class using the memoir package
24 - skbbook: a book class using the memoir package
25 - skbbeamer: a class for presentations using the beamer package
26 - skblncsbeamer: a class for annotated slides using the beamer package
27 - skblncsppt: a class for annotated Powerpoint slides
28 - skbmoderncv: a class integrating the moderncv package
29
30 The documentation (current/doc) provides for a user guide, the documentation
31 of the LaTeX package and classes and a few documents showing the
32 capabilities of the skb package for documents and presentations. All
33 documentation of the SKB is done using the SKB itself, so you can have a
34 look into the LaTeX code as well to see how it works.
35
36
37 Status: Alpha, Experimental
38 ---------------------------
39 This package, while being used by me and some early adaptors, is still in
40 alpha status, thus experimental. We are using it to maintain a large amount
41 of documents (articles, lecture notes, some books, project documentation,
42 open source documentation) and various different platforms (Windows with
43 MikTeX, several Linux systems and OSX). Since we eat our own dog food, we
44 are fairly confident that the package does it's job well. However, this is
45 not written by a LaTeX expert, I am still learning, and the package might
46 or might not be usefull for you and might or might not work on your
47 machine. We are very interested in comments, critic, advice,
48 recommendations, complaints; as long as you try to keep them contructive ;)
49
50
51 Contents
52 --------
53 The repository contains this readme file, a makefile for generating all
54 required files from the source, the package source including licence
55 information (`/source`) and the generated package documentation and user
56 guide (`/doc`).
57
58 v
59 +-- makefile
60 +-- README
61 +-- [doc]
62 | +-- [user-guide] : lots of TeX and other files for documentation
63 | +-- skb.pdf : package documentation generated from skb.dtx
64 | +-- user-guide.pdf : SKB user guide
65 |
66 `-- [source]
67 +-- HISTORY.TXT : history of the package documenting changes
68 +-- LICENSE.TXT : licence for the package
69 +-- MANIFEST.TXT : fiels to which the licence applies
70 +-- skb.dtx : latex source
71 `-- skb.ins : latex installer script
72
73
74 Installation
75 ------------
76 Your LaTeX distribution might have the SKB package already installed or
77 autmatically install it from CTAN or other sources when you use it the first
78 time. If you need to install it manually, then the first step is to get the
79 archive and extract it a temporary folder of your choice. You should see the
80 directory structure and content as described in the previous section.
81
82 To build all parts of the package, you have two options: you can run 'make'
83 (or 'gmake') using the provided makefile. This will create everything
84 needed. Or you can create everything manually following the instructions in
85 the following section. In both cases, the final installation is simply
86 copying all files to their locations in your LaTeX distribution.
87
88 - copy [archive root]/source to $TEXMF/source/latex/skb
89 - copy [archive root]/doc to $TEXMF/doc/latex/skb
90 - copy [archive root]/run to $TEXMF/tex/latex/skb
91
92
93 Generating Class and Style files from source
94 --------------------------------------------
95 You can use the provided makefile to generate the class and style files of
96 the SKB package. If you want to do it manually, simply use the following
97 commands (assuming that you create them in a filder called 'run'):
98
99 [archive root]#
100 [archive root]# mkdir run
101 [archive root]# cd run;latex ../source/skb.ins
102
103 This will create the following files in the run folder:
104 [archive root]
105 |
106 `-- run
107 +-- skb.cfg : texmf/tex/latex/skb
108 +-- skb.sty : texmf/tex/latex/skb
109 +-- skbarticle.cls : texmf/tex/latex/skb
110 +-- skbbeamer.cls : texmf/tex/latex/skb
111 +-- skbbook.cls : texmf/tex/latex/skb
112 +-- skblncsbeamer.cls : texmf/tex/latex/skb
113 +-- skblncsppt.cls : texmf/tex/latex/skb
114 `-- skbmoderncv.cls : texmf/tex/latex/skb
115
116 Now copy all files into your local LaTeX distribution ($TEXMF is the path to
117 your distribution root):
118
119 [archive root]# mkdir $TEXMF/tex/latex/skb
120 [archive root]# cp run/* $TEXMF/tex/latex/skb
121
122
123 Generating the documentation from source
124 --------------------------------------------
125 The package already contains the documentation of the SKB source
126 (doc/skb.pdf) and the user guide (doc/user-guide.pdf). The documentation
127 also provides examples for slides (animated and not animated) and annotated
128 slides, which re-use parts of the user guide. To generate all documentation
129 you can either use the provided makefile or run latex manually. Start doing
130 it manually by going into the 'doc' folder of the package:
131
132 [archive root]# cd doc
133
134 Then run the following command three times to generate the package
135 documentation (skb.pdf):
136
137 [archive root]/doc# pdflatex ../skb.dtx
138
139 Similar with the user guide, except that we also need to run BibTeX for
140 including all references
141
142 [archive root]/doc# pdflatex user-guide/user-guide
143 [archive root]/doc# bibtex user-guide
144 [archive root]/doc# pdflatex user-guide/user-guide
145 [archive root]/doc# pdflatex user-guide/user-guide
146
147 Now generate the PDF files for the slides in the following order: not
148 animated, animated, annotated. The order is important, since the annotation
149 uses the PDF file of the not animated slides:
150
151 [archive root]/doc# pdflatex doc/ug-slides-noanim
152 [archive root]/doc# bibtex ug-slides-noanim
153 [archive root]/doc# pdflatex doc/ug-slides-noanim
154 [archive root]/doc# pdflatex doc/ug-slides-noanim
155
156 [archive root]/doc# pdflatex doc/ug-slides-anim
157 [archive root]/doc# bibtex ug-slides-anim
158 [archive root]/doc# pdflatex doc/ug-slides-anim
159 [archive root]/doc# pdflatex doc/ug-slides-anim
160
161 [archive root]/doc# pdflatex doc/ug-slides-notes
162 [archive root]/doc# bibtex ug-slides-notes
163 [archive root]/doc# pdflatex doc/ug-slides-notes
164 [archive root]/doc# pdflatex doc/ug-slides-notes
165
166
167 Configuration
168 -------------
169 The SKB comes with a default configuration in the package (`skb.sty`) and
170 an external configuration file (`skb.cfg`). There are multiple
171 options to configure the SKB (changing the coniguration file,
172 using a local configuration file called `skblocal.cfg` or using the
173 provided macro `\skbconfig`). Please refer to the user guide for details.
174
175
176 Where do I get it?
177 ------------------
178 - GitHub: https://github.com/vdmeer/skb-latex
179 - CTAN: http://www.ctan.org/tex-archive/macros/latex/contrib/skb/
180
181
182 License
183 -------
184 Copyright (c) 2010-2011 Sven van der Meer <[email protected]>
185
186 This work may be distributed and/or modified under the conditions of the
187 LaTeX Project Public License, either version 1.3 of this license or (at
188 your option) any later version.
189 The latest version of this license is in
190 <http://www.latex-project.org/lppl.txt>
191 and version 1.3 or later is part of all distributions of LaTeX version
192 2005/12/01 or later.
193
194 This work has the LPPL maintenance status `author-maintained'.
195
196 The Current Maintainer of this work is
197 Sven van der Meer <[email protected]>
198
199 This software is provided 'as is', without warranty of any kind, either
200 expressed or implied, including, but not limited to, the implied
201 warranties of merchantability and fitness for a particular purpose.
202
203 This work consists of all files in source/MANIFEST.TXT.