summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-02-28 00:36:50 +0000
committerKarl Berry <karl@freefriends.org>2012-02-28 00:36:50 +0000
commite82102b1b98d1452833b3fbe54f7ce7b0e8a219c (patch)
tree0bd2e83135ba7caede893da79733087844c034a0 /Master/texmf-dist
parenteb73e4b0206537b52fa1542a2572854dae55e414 (diff)
vancouver 1.2 (26feb12)
git-svn-id: svn://tug.org/texlive/trunk@25519 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/bibtex/bst/vancouver/vancouver.bst50
-rw-r--r--Master/texmf-dist/doc/bibtex/vancouver/FAQ17
-rw-r--r--Master/texmf-dist/doc/bibtex/vancouver/README33
-rw-r--r--Master/texmf-dist/doc/bibtex/vancouver/vancouver.bib (renamed from Master/texmf-dist/bibtex/bib/vancouver/vancouver.bib)0
4 files changed, 56 insertions, 44 deletions
diff --git a/Master/texmf-dist/bibtex/bst/vancouver/vancouver.bst b/Master/texmf-dist/bibtex/bst/vancouver/vancouver.bst
index 644563ce1dd..bc3fb462066 100644
--- a/Master/texmf-dist/bibtex/bst/vancouver/vancouver.bst
+++ b/Master/texmf-dist/bibtex/bst/vancouver/vancouver.bst
@@ -11,26 +11,23 @@
%%
%%-------------------------------------------------------------------
%%
-%% Copyleft 2004 Folkert van der Beek
+%% Copyright 2004 Folkert van der Beek
%%
-%% This program is free software; you can redistribute it and/or
-%% modify it under the terms of the GNU General Public License
-%% as published by the Free Software Foundation; either version 2
-%% of the License, or (at your option) any later version.
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
%%
-%% This program is distributed in the hope that it will be useful,
-%% but WITHOUT ANY WARRANTY; without even the implied warranty of
-%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-%% GNU General Public License for more details.
+%% This work has the LPPL maintenance status `maintained'.
%%
-%% Complaints, suggestions and comments may be sent to
+%% The Current Maintainer of this work is Folkert van der Beek.
%%
-%% Folkert van der Beek
-%% Spieghelstraat 78
-%% 9721 JX Groningen
-%% the Netherlands
+%% Complaints, suggestions and comments may be sent to
%%
-%% folkertvanderbeek at gmail dot com
+%% Folkert van der Beek <folkertvanderbeek at gmail dot com>
%%
%%-------------------------------------------------------------------
%%
@@ -425,13 +422,22 @@ FUNCTION {parenthesize.check}
STRINGS {z}
FUNCTION {remove.dots}
-{ 'z :=
- ""
- { z empty$ not }
- { z #1 #1 substring$
- z #2 global.max$ substring$ 'z :=
- duplicate$ "." = 'pop$
- { * }
+{ 'z := % expects string on top of the stack, pops the string and assigns it to variable z
+ "" % push empty string
+ { z empty$ not } % returns 0 if variable z is empty
+ { z #1 #1 substring$ % push the first character of variable z
+ z #2 global.max$ substring$ 'z := % assigns the 2nd to last character of variable z to variable z
+ duplicate$ "\" = % pushes 1 if the last character is "\", otherwise 0
+ { * % concatenates the last 2 literals
+ z #1 #1 substring$ % push the first character of variable z
+ z #2 global.max$ substring$ 'z := % assigns the 2nd to last character of variable z to variable z
+ * % concatenates the last 2 literals, i.e. every character, even a dot, following a "\" will be printed
+ }
+ { duplicate$ "." = % pushes 1 if the last character is ".", otherwise 0
+ 'pop$ % pushes the pop$ function
+ { * } % concatenates the last 2 literals
+ if$ % pops the last character if it is a dot, otherwise concatenates it with the string on top of the stack
+ }
if$
}
while$
diff --git a/Master/texmf-dist/doc/bibtex/vancouver/FAQ b/Master/texmf-dist/doc/bibtex/vancouver/FAQ
new file mode 100644
index 00000000000..37ad3680111
--- /dev/null
+++ b/Master/texmf-dist/doc/bibtex/vancouver/FAQ
@@ -0,0 +1,17 @@
+Question:
+Why can't MacTeX find my BibTeX file?
+Answer:
+The problem isn't a bug in the vancouver style file, but rather an issue with the way TeXShop/MacTeX handles bibliographies. TeX Live is slightly pickier about placement of these files. ".bib" files go in ~/Library/texmf/bibtex/bib or subfolders of this directory, and ".bst" files go in ~/Library/texmf/bibtex/bst or subfolders of this directory. It is a known issue of MacTex that is explained in this FAQ: http://tug.org/mactex/faq/#qm05.
+
+Question:
+The Digital Object Identifier (DOI®) included in the .bib file isn't displayed in the final pdf file latex generated
+Answer:
+The doi formatting is disabled by default. You can enable it by changing the following line in vancouver.bst from:
+#0 'adddoiresolver := % 0=no DOI resolver; 1=include it
+to:
+#1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+
+Question:
+My bibliography is supposed to be sorted by author name instead of appearance for a better overview. Is there a way to order the bibliography alphabetically instead of by appearance?
+Answer:
+According to the requirements of the vancouver style, the reference list has to be unsorted, i.e. in order of appearance. The only way (I'm aware of) to make BibTeX sort the citations alphabetically instead of in order of appearance is to change the style file. That involves quite a drastic change with insertion of a few sorting functions and quite a lot of other changes. In short, it would mean the implementation of an entirely new style file.
diff --git a/Master/texmf-dist/doc/bibtex/vancouver/README b/Master/texmf-dist/doc/bibtex/vancouver/README
index 5f287c131c0..0e296baa0fd 100644
--- a/Master/texmf-dist/doc/bibtex/vancouver/README
+++ b/Master/texmf-dist/doc/bibtex/vancouver/README
@@ -1,35 +1,24 @@
-This `vancouver.bst' bibliographic style file (for LaTeX/BibTeX) is
-generated with the docstrip utility and modified manually to meet the
-``Uniform Requirements for Manuscripts Submitted to Biomedical Journals''
-as published in N Engl J Med 1997;336:309-315.
-(also known as the Vancouver style)
-This specification may be found on the web page of the
-International Committe of Medical Journal Editors:
+This `vancouver.bst' bibliographic style file (for LaTeX/BibTeX) is generated with the docstrip utility and modified manually to meet the ``Uniform Requirements for Manuscripts Submitted to Biomedical Journals'' as published in N Engl J Med 1997;336:309-315. (also known as the Vancouver style)
+This specification may be found on the web page of the International Committe of Medical Journal Editors:
http://www.icmje.org
-------------------------------------------------------------------
-Copyleft 2004 Folkert van der Beek
+Copyright 2004 Folkert van der Beek
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
+This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
+This work has the LPPL maintenance status `maintained'.
-Complaints, suggestions and comments may be sent to
+The Current Maintainer of this work is Folkert van der Beek.
-Folkert van der Beek
-Spieghelstraat 78
-9721 JX Groningen
-the Netherlands
+Complaints, suggestions and comments may be sent to
-folkertvanderbeek at gmail dot com
+Folkert van der Beek <folkertvanderbeek at gmail dot com>
-------------------------------------------------------------------
This bibliography style file is intended for texts in ENGLISH
diff --git a/Master/texmf-dist/bibtex/bib/vancouver/vancouver.bib b/Master/texmf-dist/doc/bibtex/vancouver/vancouver.bib
index 10ae51efbbb..10ae51efbbb 100644
--- a/Master/texmf-dist/bibtex/bib/vancouver/vancouver.bib
+++ b/Master/texmf-dist/doc/bibtex/vancouver/vancouver.bib