On Wed, Nov 3, 2010 at 11:08, Wolfgang Schuster wrote:
Am 03.11.2010 um 11:00 schrieb Matija Šuklje:
So, how do I skip missing bibliography fields and characters besides spaces that are part of the citing style?
You saved the values here in macros:
\def\zakon[#1][#2]% {\doifdefinedelse{zakonkratko:#2} {\zakonkratko[#1][#2]} {\bgroup \nocite[#2]% \getcitedata[title][#2] to \localtitle \getcitedata[kratko][#2] to \localkratko \getcitedata[journal][#2] to \localjournal \getcitedata[issue][#2] to \localissue \getcitedata[volume][#2] to \localvolume \getcitedata[spremembe][#2] to \localspremembe \footnote{\localtitle\ (\localkratko), \localjournal, št. \localissue/\localvolume\skip, \localspremembe.}% \egroup}% \setvalue{zakonkratko:#2}{done}}
You can check for content in these macros with:
\doifsomething{\localtitle}{\localtitle} \doifsomethingelse{\localtitle}{\localtitle}{<something else>} \doifnothing{\localtitle}{<no title>} \doifelsenothing{\localtitle}{<no title>}{\localtitle}
But this is what the macros \setuppublicationlayout and \insertXYZ are already doing, right? Wouldn't it be easier to use those? Or is the problem that something needs to be cited multiple times (once in footnote and then again at the end of article)? Mojca