[Tutkielma-TeX] [darcs] jydiss.cls-muutos: BibTeX style: add support for @phdthesis

Antti-Juhani Kaijanaho antti-juhani.a-j.kaijanaho at jyu.fi
Mon Nov 17 13:59:36 EET 2008


(English below)

Tämä on automaattinen ilmoitus jydiss-luokkaan tai sen dokumentaatioon tehdystä
muutoksesta.  Voit hakea uuden, muutetun version osoitteesta
  http://antti-juhani.kaijanaho.fi/darcs/jydiss/

Alla on tiedot tehdystä muutoksesta.

---

This is an automated notification of a change made to the jydiss document
class or its accompanying documentation.  You can get the new version at
  http://antti-juhani.kaijanaho.fi/darcs/jydiss/

Below, you will find information about the actual change.

Mon Nov 17 13:58:14 EET 2008  Antti-Juhani Kaijanaho <antti-juhani.a-j.kaijanaho at jyu.fi>
  * BibTeX style: add support for @phdthesis
diff -rN -u old-jydiss/jydiss.bst new-jydiss/jydiss.bst
--- old-jydiss/jydiss.bst	2008-11-17 13:59:36.311593000 +0200
+++ new-jydiss/jydiss.bst	2008-11-17 13:59:36.311593000 +0200
@@ -77,6 +77,10 @@
 {
   "\makeatletter\jydiss at bib@mastersthesis\makeatother{}" 
 }
+function{lang.phdthesis} 
+{
+  "\makeatletter\jydiss at bib@phdthesis\makeatother{}" 
+}
 function{lang.edition}
 {
   "\makeatletter\jydiss at bib@edition{" swap$ * "}\makeatother{}" *
@@ -500,6 +504,19 @@
   entry.end
 }
 
+function{phdthesis}
+{
+  entry.start
+  author or.anon #1 write.names
+  " " the.year * inx * add.period$ " " * write$ 
+  title
+  school empty$ 'skip$ { add.period$ " " * school * } if$
+  add.period$ " " * type empty$ { lang.phdthesis } { type } if$ *
+  pages empty$ 'skip$ { ", " * pages * } if$
+  add.period$ "%" * write$ newline$  
+  entry.end
+}
+
 function{manual}
 {
   book
diff -rN -u old-jydiss/jydiss.cls new-jydiss/jydiss.cls
--- old-jydiss/jydiss.cls	2008-11-17 13:59:36.311593000 +0200
+++ new-jydiss/jydiss.cls	2008-11-17 13:59:36.311593000 +0200
@@ -189,6 +189,7 @@
 \def\jydiss at bib@vol{osa}%
 \def\jydiss at bib@In{Teoksessa}%
 \def\jydiss at bib@mastersthesis{Pro gradu -ty\"o}%
+\def\jydiss at bib@phdthesis{V\"ait\"oskirja}%
 \def\jydiss at bib@edition#1{%
   #1%
   \ifnum9<1#1%
@@ -212,6 +213,7 @@
 \def\jydiss at bib@eds{Eds.}%
 \def\jydiss at bib@vol{Vol.}%
 \def\jydiss at bib@mastersthesis{Master's Thesis}%
+\def\jydiss at bib@phdthesis{Ph.~D.~Thesis}%
 \def\jydiss at bib@In{In}%
 \def\jydiss at bib@edition#1{%
   #1%






More information about the Tutkielma-TeX mailing list