PubMan Func Spec Export/eDoc Citation Style

From MPDLMediaWiki
Revision as of 11:23, 27 October 2010 by Makarenko (talk | contribs) (→‎Article)
Jump to navigation Jump to search

The eDoc Citation Style[edit]

Overall Rules[edit]

Creators[edit]

Authors[edit]

  • are italic
  • 1 position (if available): "<corporatebody> (Ed.) "
  • if creatorType is group, output only <creatornfamily>
  • if creatorType is person output <creatornfamily>, <creatorini> for first author and <creatorini>, <creatornfamily> for further authors
  • separate all authors with ", "
  • separate last author with " and "
  • there is special case: separate last author with ", and " (tbd!!!)
  • end authors with ": "

Editors[edit]

  • are italic
  • 1 position (if available): "<corporatebody> (Ed.) "
  • if creatorType is group, take only <creatornfamily>
  • if creatorType is person
    • for first and not last authors: <creatorini>, <creatornfamily>
    • for last and not first authors:
      • if <creatornfamily> contains "et al.": " <creatornfamily>"
      • if <creatornfamily> not contains "et al.": ", <creatorini> <creatornfamily>"
  • separate all authors with ", "
  • end authors with
    • if Editors count=1: "(Ed.): "
    • if Editors count>1: "(Eds.): "

mixed Authors and Editors[edit]

  • are italic
  • 1 position (if available): "<corporatebody> (Ed.) "
  • if at least on Author are available, output #Authors
  • if at least on Editors are available, output #Editors

journaltitle[edit]

In: <journaltitle>

vol[edit]

  • bold

" <volume>"

issuenr[edit]

", <issuenr>"

cpage[edit]

", [<spage>-]<epage>" or ", <spage>[-<epage>]"

artnum[edit]

", Seq. No.: <artnum>"

pubstatus[edit]

  • only if <pubstatus>!=published
    • if <pubstatus>!=unpublished: ", <pubstatus>"
    • if <pubstatus>=unpublished: "<pubstatus>"

date[edit]

  • if defined <datepublished>: " ( <substring(datepublished,1,4)>)"
  • if defined <dateaccepted>: " ( <substring(dateaccepted,1,4)>)"
  • if defined <datemodified>: " ( <datemodified>)"

editdesc[edit]

" editiondescription"

tosvol[edit]

if <titleofseries> is defined: "<titleofseries> #vol."

publisher[edit]

if <publisher> is defined: " <publisher>[, <publisheradd>]"

phydesc[edit]

if <phydesc> is defined: " <phydesc>[if <phydesc> not contains "p." then " p"]"

Article[edit]

#Authors <title> #journaltitle #vol #issuenr [, #page] #artnum #pubstatus #date

Book[edit]

#mixed_Authors_and_Editors <title> #editdesc #tosvol #publisher #pubstatus #date #phydesc

Conference-Paper[edit]

  • if <titleofproceedings> is defined

[[#Authors] <title> #titleofproceedings #editdesc #proceedingscfn #tosvol #publisher #pubstatus #artnum #date #page

  • if <titleofproceedings> is not defined

[[#Authors] <title> #titleofjournal #vol #issuenr #pubstatus #artnum #date #page


<xsl:template name="titleofproceedings">

   <xsl:variable name="t" select="metadata/basic/titleofproceedings/text()"/>
   <xsl:if test="$t!=">
   	<xsl:value-of select="concat('In: ',$t)"/>
   </xsl:if>

</xsl:template>

<xsl:template name="proceedingscfn"> <xsl:variable name="p" select="metadata/basic/proceedingscontributorfn/text()"/>

  	<xsl:if test="$p!=">

<xsl:value-of select="concat(', (Eds.) ',$p)"/>

		<xsl:if test="substring($p,string-length($p))!='.'">

<xsl:text>.</xsl:text>

		</xsl:if>
	</xsl:if>

</xsl:template>

Conference-Report[edit]

Thesis[edit]

PhD-Thesis[edit]

Habilitation[edit]

InBook[edit]

Interactive Resource[edit]

Issue[edit]

Journal[edit]

Lecture / Courseware[edit]

Other[edit]

Paper[edit]

Proceedings[edit]

Report[edit]

Series[edit]

Software[edit]