1 |
commit: 786e294e720a945157a73e65da65ae037f4eb277 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 7 17:22:32 2019 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 7 17:22:32 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=786e294e |
7 |
|
8 |
pms.cls: Change bibliographystyle to unsrturl. |
9 |
|
10 |
This will list references in order of citation. Also, use the url |
11 |
field to specify URLs. |
12 |
|
13 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
14 |
|
15 |
pms.bib | 16 ++++++++-------- |
16 |
pms.cls | 3 ++- |
17 |
2 files changed, 10 insertions(+), 9 deletions(-) |
18 |
|
19 |
diff --git a/pms.bib b/pms.bib |
20 |
index b3413db..5bd52a2 100644 |
21 |
--- a/pms.bib |
22 |
+++ b/pms.bib |
23 |
@@ -1,31 +1,31 @@ |
24 |
-@misc{Glep37, |
25 |
+@manual{Glep37, |
26 |
author = {Jason Stubbs}, |
27 |
title = {{GLEP} 37: Virtuals deprecation}, |
28 |
year = 2005, |
29 |
month = Apr, |
30 |
- howpublished = "\url{https://www.gentoo.org/glep/glep-0037.html}" |
31 |
+ url = {https://www.gentoo.org/glep/glep-0037.html} |
32 |
} |
33 |
|
34 |
-@misc{Glep44, |
35 |
+@manual{Glep44, |
36 |
author = {Marius Mauch}, |
37 |
title = {{GLEP} 44: Manifest2 format}, |
38 |
year = 2005, |
39 |
month = Dec, |
40 |
- howpublished = "\url{https://www.gentoo.org/glep/glep-0044.html}" |
41 |
+ url = {https://www.gentoo.org/glep/glep-0044.html} |
42 |
} |
43 |
|
44 |
-@misc{Glep55, |
45 |
+@manual{Glep55, |
46 |
author = {Piotr Jaroszyński}, |
47 |
title = {{GLEP} 55: Use {EAPI}-suffixed ebuilds}, |
48 |
year = 2007, |
49 |
month = Dec, |
50 |
- howpublished = "\url{https://www.gentoo.org/glep/glep-0055.html}" |
51 |
+ url = {https://www.gentoo.org/glep/glep-0055.html} |
52 |
} |
53 |
|
54 |
-@misc{Glep68, |
55 |
+@manual{Glep68, |
56 |
author = {Michał Górny}, |
57 |
title = {{GLEP} 68: Package and category metadata}, |
58 |
year = 2016, |
59 |
month = Apr, |
60 |
- howpublished = "\url{https://www.gentoo.org/glep/glep-0068.html}" |
61 |
+ url = {https://www.gentoo.org/glep/glep-0068.html} |
62 |
} |
63 |
|
64 |
diff --git a/pms.cls b/pms.cls |
65 |
index 6cc5a77..f0ec4b3 100644 |
66 |
--- a/pms.cls |
67 |
+++ b/pms.cls |
68 |
@@ -102,7 +102,8 @@ |
69 |
\ifdim\columnwidth>\textheight\@tempswatrue\fi |
70 |
} |
71 |
|
72 |
-\bibliographystyle{plainurl} |
73 |
+% Support url fields in bibliography entries |
74 |
+\bibliographystyle{unsrturl} |
75 |
|
76 |
% Redefine the titlepage environment not to reset the page number |
77 |
\renewenvironment{titlepage}{\newpage\thispagestyle{empty}}{\newpage} |