summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/doipubmed
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-08-24 18:41:08 +0000
committerKarl Berry <karl@freefriends.org>2007-08-24 18:41:08 +0000
commit636d13a66cc63625779c228dd77846fb5f99c39e (patch)
tree64f5e7330bd707a8139352ff0a23866a194c4662 /Master/texmf-dist/doc/latex/doipubmed
parentac2dc0635882400d398bd97198d138880c7bcf64 (diff)
doipubmed 1.01 (21aug07)
git-svn-id: svn://tug.org/texlive/trunk@4802 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/doipubmed')
-rw-r--r--Master/texmf-dist/doc/latex/doipubmed/CHANGES6
-rw-r--r--Master/texmf-dist/doc/latex/doipubmed/README4
-rw-r--r--Master/texmf-dist/doc/latex/doipubmed/doipubmed-manual.html123
-rw-r--r--Master/texmf-dist/doc/latex/doipubmed/doipubmed.pdfbin81069 -> 84395 bytes
-rw-r--r--Master/texmf-dist/doc/latex/doipubmed/doipubmed.perl29
-rw-r--r--Master/texmf-dist/doc/latex/doipubmed/sample.bib15
-rw-r--r--Master/texmf-dist/doc/latex/doipubmed/sample.pdfbin31906 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/doipubmed/sample.tex11
8 files changed, 154 insertions, 34 deletions
diff --git a/Master/texmf-dist/doc/latex/doipubmed/CHANGES b/Master/texmf-dist/doc/latex/doipubmed/CHANGES
new file mode 100644
index 00000000000..bd7cfce0aa1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/doipubmed/CHANGES
@@ -0,0 +1,6 @@
+v1.01 (2007/8/20):
+ * changed licence preamble
+ * put \href check in \AtBeginDocument
+ * \doi now works with awkward characters (see manual for details)
+
+v1.0 (2005/9/9): Initial release
diff --git a/Master/texmf-dist/doc/latex/doipubmed/README b/Master/texmf-dist/doc/latex/doipubmed/README
index ff6f2156dfd..298835afb9b 100644
--- a/Master/texmf-dist/doc/latex/doipubmed/README
+++ b/Master/texmf-dist/doc/latex/doipubmed/README
@@ -1,6 +1,6 @@
-LaTeX Package : doipubmed v 1.0
+LaTeX Package : doipubmed v 1.01
-Last Modified : 9th September 2005
+Last Modified : 20 August 2007
Author : Nicola Talbot
diff --git a/Master/texmf-dist/doc/latex/doipubmed/doipubmed-manual.html b/Master/texmf-dist/doc/latex/doipubmed/doipubmed-manual.html
new file mode 100644
index 00000000000..bdea85551a9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/doipubmed/doipubmed-manual.html
@@ -0,0 +1,123 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+
+<!--Converted with LaTeX2HTML 2002 (1.67)
+original version by: Nikos Drakos, CBLU, University of Leeds
+* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
+* with significant contributions from:
+ Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
+<HTML>
+<HEAD>
+<TITLE>Documentation for doipubmed.sty</TITLE>
+<META NAME="description" CONTENT="Documentation for doipubmed.sty">
+<META NAME="keywords" CONTENT="manual">
+<META NAME="resource-type" CONTENT="document">
+<META NAME="distribution" CONTENT="global">
+
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
+<META NAME="Generator" CONTENT="LaTeX2HTML v2002">
+<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
+
+
+</HEAD>
+
+<BODY >
+
+<P>
+
+<H1 ALIGN="CENTER">Documentation for doipubmed.sty</H1>
+<P ALIGN="CENTER"><STRONG>Nicola L. C. Talbot
+<BR>
+<BR>
+School of Computing Sciences
+<BR>
+University of East Anglia
+<BR>
+Norwich. Norfolk
+<BR>
+NR4 7TJ. United Kingdom
+<BR><TT><A NAME="tex2html1"
+ HREF="http://theoval.cmp.uea.ac.uk/~nlct/">http://theoval.cmp.uea.ac.uk/~nlct/</A></TT></STRONG></P>
+<P ALIGN="CENTER"><STRONG>20th August 2007</STRONG></P>
+
+<P>
+
+<H1><A NAME="SECTION00010000000000000000">
+Introduction</A>
+</H1>
+ The commands defined in this package were primarily designed
+ for use in bibliographies to make it easier to cite
+ documents with digital object identifiers (DOI) or PubMed
+ entries. If the command <TT>&#092;url</TT> has been defined, the
+ definition will remain, otherwise the <TT>url</TT> package
+ will be loaded.
+
+<P>
+
+<P>
+<TT>&#092;doi{</TT><EM>ref number</EM><TT>}</TT>
+<P>
+This displays doi: <I>ref number</I> with a hyperlink to the
+corresponding web entry. For example:
+<PRE>
+\doi{10.1016/j.neunet.2004.07.002}
+</PRE>
+produces:
+<A NAME="tex2html5"
+ HREF="http://dx.doi.org/10.1016/j.neunet.2004.07.002">doi: 10.1016/j.neunet.2004.07.002</A>.
+
+<P>
+As from version 1.01, this
+command also works with awkward characters, for example:
+<PRE>
+\doi{10.1002/1521-3951(200103)224:1&lt;271::AID-PSSB271&gt;3.0.CO;2-\#}
+</PRE>
+produces:
+<A NAME="tex2html6"
+ HREF="http://dx.doi.org/10.1002/1521-3951(200103)224:1&lt;271::AID-PSSB271&gt;3.0.CO;2-%23">doi: 10.1002/1521-3951(200103)224:1&lt;271::AID-PSSB271&gt;3.0.CO;2-#</A>.
+
+<P>
+Alternatively, you can do:
+<PRE>
+\doi{10.1002/1521-3951(200103)224:1&lt;271::AID-PSSB271&gt;3.0.CO;2-\%23}
+</PRE>
+which produces:
+<A NAME="tex2html7"
+ HREF="http://dx.doi.org/10.1002/1521-3951(200103)224:1&lt;271::AID-PSSB271&gt;3.0.CO;2-%23">doi: 10.1002/1521-3951(200103)224:1&lt;271::AID-PSSB271&gt;3.0.CO;2-%23</A>.
+
+<P>
+
+<P>
+<TT>&#092;pubmed{</TT><EM>ref number</EM><TT>}</TT>
+<P>
+This displays PubMed: <I>ref number</I> with a hyperlink to the
+corresponding PubMed entry. For example:
+<PRE>
+\pubmed{15541948}
+</PRE>
+produces:
+<A NAME="tex2html8"
+ HREF="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids=15541948&dopt=Abstract">PubMed: 15541948</A>.
+
+<P>
+
+<P>
+<TT>&#092;citeurl{</TT><EM>url</EM><TT>}</TT>
+<P>
+Displays the URL inside angle brackets. For example:
+<PRE>
+\citeurl{http://theoval.cmp.uea.ac.uk/~gcc/publications/}
+</PRE>
+produces:
+&lt;<A NAME="tex2html9"
+ HREF="http://theoval.cmp.uea.ac.uk/~gcc/publications/">http://theoval.cmp.uea.ac.uk/~gcc/publications/</A>&gt;.
+
+<P>
+<BR><HR>
+<ADDRESS>
+<A href=http://theoval.cmp.uea.ac.uk/~nlct/>Nicola L. C. Talbot</A>.
+<A HREF=http://www.cmp.uea.ac.uk/>School of Computing Sciences</A>.
+<A HREF=http://www.uea.ac.uk/>University of East Anglia.</A>
+Last Modified: 2007-08-20
+</ADDRESS>
+</BODY>
+</HTML>
diff --git a/Master/texmf-dist/doc/latex/doipubmed/doipubmed.pdf b/Master/texmf-dist/doc/latex/doipubmed/doipubmed.pdf
index 188497a3b9d..c9c83f31c2d 100644
--- a/Master/texmf-dist/doc/latex/doipubmed/doipubmed.pdf
+++ b/Master/texmf-dist/doc/latex/doipubmed/doipubmed.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/doipubmed/doipubmed.perl b/Master/texmf-dist/doc/latex/doipubmed/doipubmed.perl
index 614414481ab..64a14fd081a 100644
--- a/Master/texmf-dist/doc/latex/doipubmed/doipubmed.perl
+++ b/Master/texmf-dist/doc/latex/doipubmed/doipubmed.perl
@@ -1,9 +1,25 @@
#!/usr/bin/perl
-# File : doipub.perl
-# Author : Nicola Talbot
-# Date : 9th September 2005
-# Description : LaTeX2HTML style file implementing doipubmed package
+# File : doipub.perl
+# Author : Nicola Talbot
+# Date : 9th September 2005
+# Last Modified : 20 Aug 2007
+# Version : 1.01
+#
+# This is a LaTeX2HTML style implementing the doipubmed package, and
+# is distributed as part of that package.
+# Copyright 2007 Nicola L.C. Talbot
+# This work may be distributed and/or modified under the
+# conditions of the LaTeX Project Public License, either version 1.3
+# of this license of (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 work has the LPPL maintenance status `maintained'.
+#
+# The Current Maintainer of this work is Nicola Talbot.
sub do_cmd_doitext{
local($_) = @_;
@@ -27,8 +43,9 @@ sub do_cmd_doi{
s/$next_pair_pr_rx/$br_id=$1;$doi=$2;''/eo;
- $doitext = &do_cmd_doitext("$OP$br_id$CP$doi$OP$br_id$CP");
+ $doitext = &translate_commands("\\doitext$OP$br_id$CP$doi$OP$br_id$CP");
+ $doi=~s/#/${percent_mark}23/g;
join('',
&make_href("http://dx.doi.org/$doi", $doitext),
$_);
@@ -40,7 +57,7 @@ sub do_cmd_pubmed{
s/$next_pair_pr_rx/$br_id=$1;$pubmed=$2;''/eo;
- $pubmedtext = &do_cmd_pubmedtext("$OP$br_id$CP$pubmed$OP$br_id$CP");
+ $pubmedtext = &translate_commands("\\pubmedtext$OP$br_id$CP$pubmed$OP$br_id$CP");
join('',
&make_href("http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids=$pubmed&dopt=Abstract",
diff --git a/Master/texmf-dist/doc/latex/doipubmed/sample.bib b/Master/texmf-dist/doc/latex/doipubmed/sample.bib
deleted file mode 100644
index a4d8a83ebbf..00000000000
--- a/Master/texmf-dist/doc/latex/doipubmed/sample.bib
+++ /dev/null
@@ -1,15 +0,0 @@
-@article{Cawley2002e,
- author = "Cawley, Gavin C. and Talbot, Nicola L. C.",
- title = "Fast leave-one-out cross-validation of sparse least-squares
- support vector machines",
- journal = "Neural Networks",
- volume = 17,
- number = 10,
- pages = "1467--1475",
- month = DEC,
- year = 2004,
- note = "(\doi{10.1016/j.neunet.2004.07.002},
- \pubmed{15541948}). Also available from
- \citeurl{http://theoval.cmp.uea.ac.uk/~gcc/publications}"
-}
-
diff --git a/Master/texmf-dist/doc/latex/doipubmed/sample.pdf b/Master/texmf-dist/doc/latex/doipubmed/sample.pdf
deleted file mode 100644
index 773ca90f981..00000000000
--- a/Master/texmf-dist/doc/latex/doipubmed/sample.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/doipubmed/sample.tex b/Master/texmf-dist/doc/latex/doipubmed/sample.tex
deleted file mode 100644
index 39af1898d82..00000000000
--- a/Master/texmf-dist/doc/latex/doipubmed/sample.tex
+++ /dev/null
@@ -1,11 +0,0 @@
-\documentclass{article}
-
-\usepackage{hyperref}
-\usepackage{doipubmed}
-
-\begin{document}
-\nocite{*}
-\bibliographystyle{unsrt}
-\bibliography{sample}
-
-\end{document}