Difference between revisions of "PubMan Func Spec Export/eDoc Citation Style"

From MPDLMediaWiki
Jump to navigation Jump to search
Line 70: Line 70:
====phydesc====
====phydesc====
if <phydesc> is defined: <code>" <phydesc>[if <phydesc> not contains "p." then " p"]"</code>
if <phydesc> is defined: <code>" <phydesc>[if <phydesc> not contains "p." then " p"]"</code>
====titleofproceedings====
if <titleofproceedings> is defined: <code>"In: <titleofproceedings>"</code>
====titleofjournal====
if <journaltitle> is defined: <code>"In: <journaltitle>"</code>
====proceedingscfn====
* if <proceedingscontributorfn> is defined
<code>",  (Eds.) <proceedingscontributorfn>[if <proceedingscontributorfn> not ends with "." then "."]"</code>
<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>


==Article==
==Article==

Revision as of 11:32, 27 October 2010

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>"

page[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"]"

titleofproceedings[edit]

if <titleofproceedings> is defined: "In: <titleofproceedings>"

titleofjournal[edit]

if <journaltitle> is defined: "In: <journaltitle>"

proceedingscfn[edit]

  • if <proceedingscontributorfn> is defined

", (Eds.) <proceedingscontributorfn>[if <proceedingscontributorfn> not ends with "." then "."]"



<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>

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

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]