commit:     786e294e720a945157a73e65da65ae037f4eb277
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  7 17:22:32 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 17:22:32 2019 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=786e294e

pms.cls: Change bibliographystyle to unsrturl.

This will list references in order of citation. Also, use the url
field to specify URLs.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 pms.bib | 16 ++++++++--------
 pms.cls |  3 ++-
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/pms.bib b/pms.bib
index b3413db..5bd52a2 100644
--- a/pms.bib
+++ b/pms.bib
@@ -1,31 +1,31 @@
-@misc{Glep37,
+@manual{Glep37,
     author = {Jason Stubbs},
     title = {{GLEP} 37: Virtuals deprecation},
     year = 2005,
     month = Apr,
-    howpublished = "\url{https://www.gentoo.org/glep/glep-0037.html}";
+    url = {https://www.gentoo.org/glep/glep-0037.html}
 }
 
-@misc{Glep44,
+@manual{Glep44,
     author = {Marius Mauch},
     title = {{GLEP} 44: Manifest2 format},
     year = 2005,
     month = Dec,
-    howpublished = "\url{https://www.gentoo.org/glep/glep-0044.html}";
+    url = {https://www.gentoo.org/glep/glep-0044.html}
 }
 
-@misc{Glep55,
+@manual{Glep55,
     author = {Piotr Jaroszyński},
     title = {{GLEP} 55: Use {EAPI}-suffixed ebuilds},
     year = 2007,
     month = Dec,
-    howpublished = "\url{https://www.gentoo.org/glep/glep-0055.html}";
+    url = {https://www.gentoo.org/glep/glep-0055.html}
 }
 
-@misc{Glep68,
+@manual{Glep68,
     author = {Michał Górny},
     title = {{GLEP} 68: Package and category metadata},
     year = 2016,
     month = Apr,
-    howpublished = "\url{https://www.gentoo.org/glep/glep-0068.html}";
+    url = {https://www.gentoo.org/glep/glep-0068.html}
 }

diff --git a/pms.cls b/pms.cls
index 6cc5a77..f0ec4b3 100644
--- a/pms.cls
+++ b/pms.cls
@@ -102,7 +102,8 @@
     \ifdim\columnwidth>\textheight\@tempswatrue\fi
 }
 
-\bibliographystyle{plainurl}
+% Support url fields in bibliography entries
+\bibliographystyle{unsrturl}
 
 % Redefine the titlepage environment not to reset the page number
 \renewenvironment{titlepage}{\newpage\thispagestyle{empty}}{\newpage}

Reply via email to