Difference between revisions of "PubMan Func Spec Export/eDoc Citation Style"
m (→meeting) |
m (→meeting) |
||
Line 37: | Line 37: | ||
** if genre=Conference-Report: <code>" (Conference-Report of the <nameofevent>[if defined <placeofevent> then " in <placeofevent>"])"</code> | ** if genre=Conference-Report: <code>" (Conference-Report of the <nameofevent>[if defined <placeofevent> then " in <placeofevent>"])"</code> | ||
** if genre="Lecture / Courseware" or "Other": <code>" (<nameofevent>[if defined <placeofevent> then " in <placeofevent>"])"</code> | ** if genre="Lecture / Courseware" or "Other": <code>" (<nameofevent>[if defined <placeofevent> then " in <placeofevent>"])"</code> | ||
** if genre="Poster" or "Talk at Event": <code>" (<nameofevent> [[#datesofevent]][, <placeofevent>])'' | ** if genre="Poster" or "Talk at Event": <code>" (<nameofevent> [[#datesofevent]][, <placeofevent>])['' Last modified: <datemodified>'']"</code> | ||
** if genre="Proceedings": <code>" (<nameofevent> [[#datesofevent]][, <placeofevent>])"</code> | ** if genre="Proceedings": <code>" (<nameofevent> [[#datesofevent]][, <placeofevent>])"</code> | ||
** End with "." | ** End with "." |
Revision as of 12:01, 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: #Authors
- if at least on Editors are available: #Editors
meeting[edit]
- if defined <nameofevent>
- if genre=Conference-Report:
" (Conference-Report of the <nameofevent>[if defined <placeofevent> then " in <placeofevent>"])"
- if genre="Lecture / Courseware" or "Other":
" (<nameofevent>[if defined <placeofevent> then " in <placeofevent>"])"
- if genre="Poster" or "Talk at Event":
" (<nameofevent> #datesofevent[, <placeofevent>])[ Last modified: <datemodified>]"
- if genre="Proceedings":
" (<nameofevent> #datesofevent[, <placeofevent>])"
- End with "."
- if genre=Conference-Report:
<xsl:template name="meeting">
<xsl:variable name="ne"> <xsl:call-template name="nameofevent"/> </xsl:variable> <xsl:if test="$ne!="> <xsl:text> </xsl:text> <xsl:variable name="genre" select="metadata/basic/genre/text()"/> <xsl:text>(</xsl:text> <xsl:choose>
<xsl:when test="$genre='Proceedings'">
<xsl:value-of select="$ne"/> <xsl:call-template name="datesofevent"/> <xsl:call-template name="cplaceofevent"/>
<xsl:text>)</xsl:text> </xsl:when> </xsl:choose> <xsl:text>.</xsl:text>
</xsl:if> </xsl:template>
datesofevent[edit]
if definded <dateofevent> or <enddateofevent>:
" [<dateofevent>][if definded <dateofevent> and <enddateofevent> then " to "][<enddateofevent>]"
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 "."]"
Article[edit]
#Authors <title> #titleofjournal #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]
#mixed_Authors_and_Editors <title> #meeting