| 1 |
We could, and it usually makes sense to do so, go one step further in that |
| 2 |
separation. This time within the documents in the \skbem[code]{published} |
| 3 |
folder. The reason is the structure of \LaTeX~documents: they do need some |
| 4 |
commands specific to \LaTeX, which we don't necessarily want to mix with the |
| 5 |
commands that input our content (the files from repository). |
| 6 |
So it would make sense to have another pair of documents here, one |
| 7 |
containing all \LaTeX~commands needed to create a document, and one |
| 8 |
containing all the commands that include our content. Say we have a few |
| 9 |
articles for state of the art discussions on \textit{naming}, |
| 10 |
\textit{object-models} and \textit{protocols}, we could create |
| 11 |
\opt{text}{the following structure}\opt{note}{the structure shown in this slide} |
| 12 |
for the \skbem[code]{article} folder% |
| 13 |
\opt{text}{:% |
| 14 |
\begin{longtable}{|>{}p{0.945\textwidth} >{}p{1pt}|} |
| 15 |
\hline |
| 16 |
\rowcolor[gray]{.9} |
| 17 |
\skbinput[from=fig]{dirtree/publish-art} |
| 18 |
& \\ |
| 19 |
\hline |
| 20 |
\end{longtable} |
| 21 |
\addtocounter{table}{-1} |
| 22 |
} |
| 23 |
|
| 24 |
Now everything is structured, thus simple again. If we are looking for content, we go to the |
| 25 |
\skbem[code]{repository} directory and the directory names help us to find what |
| 26 |
we are looking for. If we need a figure, we do the same at the \skbem[code]{figures} directory. |
| 27 |
\skbem[code]{acronyms} and \skbem[code]{bibtex} help with the respective |
| 28 |
other content. If we want a specific published document, we simply check the |
| 29 |
\skbem[code]{published} directory and will have a look into a |
| 30 |
\skbem[code]{tex} sub-directory to see what content is include how. |
| 31 |
|
| 32 |
Good news, the separation is finished! What have we done? We have |
| 33 |
separated the contents from the structure by creating, created a separate directory structure for |
| 34 |
figures, another one for bibliographic data, one for acronyms and finally a |
| 35 |
complete directory structure for published documents. Content and title |
| 36 |
form a pair, include figure, use acronyms and references and are combined |
| 37 |
in the published documents. At this point we can start calling it document repository. |