Changes

Jump to navigation Jump to search
2,495 bytes added ,  17:03, 30 August 2007
New page: (Version 0.01) Sometimes the bibliography needs to be more flexible. For this case here is a simple module (still in development) to help. It is also a good starting-point for your own ad...
(Version 0.01)

Sometimes the bibliography needs to be more flexible. For this case here is a simple module (still in development) to help. It is also a good starting-point for your own adaption.

Still open points:
* interface should be multilingual
* n*broad / itemspace is not working
* \item[...] should be rightaligned
* \textreference[...]{\tmpabkuerzung} is not working (value-copy problem)

<pre>
\startmodule[quellenverzeichnis]
\unprotect

%\setupmodule[itemspace=12]

\defineitemgroup[quellenverzeichnis]
\setupitemgroup[quellenverzeichnis][levels=1,left={[},right={]},stopper=]
\setupitemgroup[quellenverzeichnis][1][n,12*broad]
%\expanded{\setupitemgroup[bibliography][1][n,\currentmoduleparameter{itemspace}*broad]}

\def\referenz[#1]#2{\doifemptyelse{#2}
{[\in[#1]]}
{[\in[#1], #2]}}

\def\quelle#1[#2]
{\getparameters[tmp][schluessel=,abkuerzung=,autor=,jahr=,titel=,serie=,band=,verlag=,ort=,url=,seiten=,#2]
%\expandafter\processaction\expandafter[\tmpabkuerzung]
% [\s!default =>{\item[\tmpschluessel]},
% \s!unknown =>{\textreference[\tmpschluessel]{\cap{\expandafter[\tmpabkuerzung]}}}]
\item[\tmpschluessel]
\expandafter\processaction\expandafter[\tmpautor]
[\s!unknown =>{\tmpautor}]
\expandafter\processaction\expandafter[\tmpjahr]
[\s!unknown =>{~(\tmpjahr):}]
\expandafter\processaction\expandafter[\tmpautor]
[\s!unknown =>{~{\it \tmptitel}}]
\expandafter\processaction\expandafter[\tmpserie]
[\s!unknown =>{~aus der Reihe {\it \tmpserie}}]
\expandafter\processaction\expandafter[\tmpband]
[\s!unknown =>{~(Band \tmpband),}]
\expandafter\processaction\expandafter[\tmpverlag]
[\s!unknown =>{~\tmpverlag}]
\expandafter\processaction\expandafter[\tmport]
[\s!default =>{,},
\s!unknown =>{~\tmport,}]
\expandafter\processaction\expandafter[\tmpurl]
[\s!unknown =>{~\tmpurl}]
}
\protect
\stopmodule
\endinput
</pre>

And here is an example how to use it:

<pre>

\chapter{Quellen}
\subject{Textrepräsentation}
\startquellenverzeichnis

\quelle[schluessel=cha8,autor{Paul, Hugo},jahr=2008,titel={Das Nirgendwo...}]

\stopquellenverzeichnis
\subsubject{Internationalität}
\startquellenverzeichnis[continue]

\quelle[schluessel=rv,abkuerzung=Etd05,autor={Etemad, Elika J.},jahr=2005,
titel={Robuts vertical text layout},serie={Technical Note},band=22,
verlag={Unicode Inc.},url={http://www.unicode.org/notes/tn22/}]

\stopquellenverzeichnis

\stopproduct
</pre>
Anonymous user

Navigation menu