On 11/03/10 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?
Adjust the style? Certainly that is easier than the macro solution I see below. > 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} > > Wolfgang > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________