| 1 |
\opt{text}{\skbheading{Creating a Directory Structure}} |
| 2 |
|
| 3 |
The real power (and possibly madness) of the \skbacft{A3DS:SKB} comes with the separation of |
| 4 |
different parts of a document into different directory structures. For the user guide, |
| 5 |
we assume the \opt{text}{following} general directory structure% |
| 6 |
\opt{note}{shown in this slide}% |
| 7 |
. |
| 8 |
|
| 9 |
\opt{text}{ |
| 10 |
\begin{longtable}{|>{}p{0.945\textwidth} >{}p{1pt}|} |
| 11 |
\hline |
| 12 |
\rowcolor[gray]{.9} |
| 13 |
\skbinput[from=fig]{dirtree/complete} |
| 14 |
& \\ |
| 15 |
\hline |
| 16 |
\end{longtable} |
| 17 |
} |
| 18 |
|
| 19 |
To create this structure, go to the directory were you want to put all your |
| 20 |
documents, say \skbem[code]{/doc}. Now create the folders \skbem[code]{database}, |
| 21 |
\skbem[code]{figures}, \skbem[code]{publish} and \skbem[code]{repository} and the |
| 22 |
respective sub-folders as shown \opt{text}{above.}\opt{note}{in this slide.} Finally, configure the |
| 23 |
\skbacft{A3DS:SKB} by either editing one of the configuration files or adding the following line |
| 24 |
to all of your published documents (and of course change the text \skbem[code]{myfile.tex} |
| 25 |
to something that tells you about the location of the configuration change): |
| 26 |
|
| 27 |
\begin{lstlisting}[style=generic,language=TeX] |
| 28 |
\skbconfig[root=/doc, |
| 29 |
acr=database/latex,acrfile=acronym, |
| 30 |
bib=database/bibtex,bibfile=bibliograhpy, |
| 31 |
rep=repository,pub=publish, |
| 32 |
fig=figures,sli=slides |
| 33 |
]{myfile.tex} |
| 34 |
\end{lstlisting} |
| 35 |
|
| 36 |
The directory structures for the publish folder and the repository folder reflect different |
| 37 |
views to your document base. The publish folder contains documents that are published for a |
| 38 |
reason (i.e. articles, books, presentations, white papers, work in progress) while the |
| 39 |
repository folder contains content, most likely structured following a content-specific |
| 40 |
categorisation. The choice of how the directory structure looks like is yours, and of course |
| 41 |
you could also have multiple document directories with completely different structures, for instance |
| 42 |
one for computer science publications and one for a gardening book. The \skbacft{A3DS:SKB} does not set any |
| 43 |
limit, since it can be configured very flexibly to your needs |
| 44 |
\opt{text}{(please see \autoref{macro:skbconfig} for more details)}% |
| 45 |
. |