[SCM] Extract bibliographic references from various sources branch, debian, updated. debian/1.3.3-1

Filippo Rusconi (Debian Maintainer) rusconi-debian at laposte.net
Fri Sep 18 20:35:58 UTC 2009


The following commit has been merged in the debian branch:
commit 411f0919023f28fbf7beb320b55fb2fd0c4c1fb3
Author: Filippo Rusconi (Debian Maintainer) <rusconi-debian at laposte.net>
Date:   Fri Sep 11 15:02:43 2009 +0200

    Reinstallment of the debian directory after git_load_dirs in debian branch.

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..79bbde3
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,29 @@
+This package's suggestions enable the following optional features:
+
+* libimage-exiftool-perl: enable storage of bibliographic data (as
+   XMP-format metainformation) into PDF files.
+
+* konqueror: cb2Bib manages local and network files in an equivalent
+  manner. Network file retrieving, however, requires sometimes
+  password and/or cookies administration, both of which can be enabled
+  by the kfmclient utility, shipped within the konqueror package.
+
+* poppler-utils | xpdf-utils: enable conversion of PDF files to simple
+  text (required for cb2bib extraction of bibliographical data from
+  articles in PDF format).
+
+* bibutils: enable conversion between BibTeX, COPAC, EndNote refer,
+  EndNote XML, Pubmed XML, ISI web of science, US Library of Congress
+  MODS XML, RIS, and Word 2007 bibliography bibliographic data
+  formats.
+
+* jsmath: enable display of the mathematical notation in the text
+  notes.
+
+* texlive-latex-base: enable latex-based compilation of LaTeX
+  documents.
+
+* texlive-base-bin: enable dvipdfm-based conversion of DVI LaTeX
+  output to PDF.
+
+ -- Filippo Rusconi <rusconi-debian at laposte.net>, Thu, 25 Jun 2009 22:03:56 +0200
diff --git a/debian/bib2pdf.1 b/debian/bib2pdf.1
new file mode 100644
index 0000000..f009222
--- /dev/null
+++ b/debian/bib2pdf.1
@@ -0,0 +1,63 @@
+.TH "BIB2PDF" "1" "2009/06/24" "" ""
+.SH "NAME"
+bib2pdf \- script to convert BibTeX files to PDF
+
+.SH "SYNOPSIS"
+.HP 7
+\fBbib2pdf\fR <input.bib> <output.pdf>
+.PP
+
+
+.SH "DESCRIPTION"
+.PP
+\fBbib2pdf\fR is a script to convert a BibTeX file into a PDF
+file. The conversion is performed by first creating a small LaTeX file
+in which all the bibliographical records are inserted. That LaTeX file
+is then \fBlatex\fR\-compiled into a DVI file which, in turn, gets
+converted into a PDF file using \fBdvipdfm\fR\&. Note that the script
+might be configured to use \fBpdflatex\fR instead of \fBlatex\fR\&,
+thus producing the PDF output file with no extra conversion step.
+.PP
+This script is part of the \fBcb2bib\fR package and is located at
+/usr/share/cb2bib/c2btools/bib2pdf.
+
+
+.SH "BIBLIOGRAPHICAL REFERENCES TO BE CITED"
+.PP
+P. Constans (2009) "A simple extraction procedure for bibliographical author field", arXiv:0902.0755.
+.PP
+P. Constans (2007) "Approximate textual retrieval", arXiv:0705.0751.
+
+.RE
+.SH "SEE ALSO" 
+.PP 
+\fBcb2bib\fR (1); \fBmed2bib\fR (1); \fBisi2bib\fR (1); \fBris2bib\fR (1).
+
+.RE
+.SH "AUTHORS"
+.PP
+\fBPere Constans \&<constans\&@molspaces\&.com\&> and \fBFilippo
+Rusconi\fR <\&rusconi\&\-debian\&@laposte\&.net\&>
+.sp -1n
+.IP "" 4
+Program authors\&.
+.PP
+\fBFilippo Rusconi\fR <\&rusconi\&\-debian\&@laposte\&.net\&>
+.sp -1n
+.IP "" 4
+Man\-page author for the Debian distribution\&.
+.SH "COPYRIGHT"
+Copyright \(co 2004\-2008 Pere Constans
+.br
+Copyright \(co 2009 Filippo Rusconi
+.BR
+.PP
+This manual page was written for the Debian system (but may be used by others)\&.
+.PP
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU General Public License, Version 3 or (at
+your option) any later version published by the Free Software
+Foundation\&. On a Debian system the complete text of the GNU General
+Public License version 3 can be found in the file
+`/usr/share/common\-licenses/GPL\-3'.
+
diff --git a/debian/cb2bib.1 b/debian/cb2bib.1
new file mode 100644
index 0000000..418765f
--- /dev/null
+++ b/debian/cb2bib.1
@@ -0,0 +1,182 @@
+.TH "CB2BIB" "1" "September 2009" "" ""
+
+.SH "NAME"
+cb2bib \- software to extract bibliographic references from various sources
+
+.SH "SYNOPSIS"
+.HP 7
+\fBcb2bib\fR 
+.PP
+\fBcb2bib\fR  [\-\-conf [filename.conf]] [action] [filename1
+[filename2 ... ]]
+.PP
+\fBc2bimport\fR <imported reference file>
+.PP
+\fBc2bciter\fR [space\-separated list of BibTeX files or directories]
+
+
+.SH "DESCRIPTION"
+\fBcb2bib\fR is a software to extract bibliographic references from
+unformatted and non standard sources, like, for example 1) email
+alerts; 2) journal Web pages; 3) PDF files.
+.PP
+Captured references are provided to the user for inspection in a
+graphical form. Once validated, the references are transformed into
+BibTeX records which might be appended to a user\-defined BibTeX bib
+file.
+.PP
+The software allows to peruse a BibTeX file and to send to the
+clipboard a citation of all the records currently selected. A pipe is
+also setup with the LyX LaTeX editor.
+.PP
+When invoked with the \fB\-h\fR | \fB\-\-help\fR option, \fBcb2bib\fR
+lists all the options that are available on the command line.
+
+.SH "VARIANTS"
+.B cb2bib\fP is the main program.
+.PP
+.B c2bimport\fP is equivalent to using \fBcb2bib \-\-import\fR (this
+variant takes only \fBone\fR file name as parameter).
+.PP
+.B c2bciter\fP is equivalent to using \fBcb2bib \-\-citer\fR.
+
+
+.SH "OPTION"
+.TP
+.B \-\-conf [filename.conf]\fP	Use configuration file
+
+
+.SH "ACTIONS"
+.TP
+.B \-\-configure [filename.conf]\fP					Edit configuration
+.PP
+.B \-\-bibedit [filename1.bib [filename2.bib ... ]]\fP	Edit/browse BibTeX files
+.PP
+.B \-\-citer [filename1.bib [filename2.bib ... ]]\fP		Start cb2Bib citer
+.PP
+.B \-\-import <tmp_reference_filename>\fP				Imports reference, usually from ad hoc websites
+.PP
+.B \-\-doc2bib fn1.doc [fn2.doc ... ] reference.bib\fP	Extract reference from document file
+.PP
+.B \-\-txt2bib fn1.txt [fn2.txt ... ] reference.bib\fP	Extract reference from text file
+.PP
+.B \-\-html\-annote filename.tex\fP					Convert annote file to HTML
+.PP
+.B \-\-view\-annote filename.tex\fP					Convert and visualize annote file
+.PP
+.B \-\-view\-annote filename.tex.html\fP				Visualize annote file
+
+
+.SH "KEY SHORTCUTS"
+.HP 4
+\fBKey:\fR Description
+.PP 
+\fBAlt A:\fR Open cb2Bib Annote
+.PP 
+\fBAlt B:\fR Edit Bookmarks
+.PP 
+\fBAlt C:\fR Preparses cb2Bib's clipboard
+.PP 
+\fBAlt D:\fR Deletes temporary BibTeX output file
+.PP 
+\fBAlt E:\fR Edit Regular Expressions
+.PP q
+\fBAlt F:\fR Select File source filename
+.PP 
+\fBAlt I:\fR Insert Regular Expression
+.PP 
+\fBAlt J:\fR Edit Journal Abbreviations
+.PP 
+\fBAlt O:\fR Open File Document
+.PP 
+\fBAlt P:\fR Postprocess BibTeX
+.PP 
+\fBAlt R:\fR Restarts automatic recognition
+.PP 
+\fBEsc:\fR Quits cb2Bib popup menu
+.PP 
+\fBRight:\fR Click Editor popup menu
+
+.SH "EXAMPLES"
+.HP 4
+cb2bib                                        Starts cb2Bib extraction program
+.PP
+cb2bib \-\-import tmp_reference_filename        Imports a reference from a file
+.PP
+cb2bib \-\-bibedit filename.bib                 Edits BibTeX filename.bib
+.PP
+cb2bib \-\-conf                                 Starts cb2Bib in USB mode
+.PP
+cb2bib \-\-doc2bib *.pdf references.bib         Extracts references from PDF title pages
+.PP
+
+.SH "NOTES"
+.HP 4
+The file cb2bib.conf must be readable and writable. If it does not
+exist, the cb2Bib will create one based on predefined defaults.
+.PP
+Use switch \-\-conf to particularize specific settings for specific
+actions.
+.PP
+If starting the cb2Bib from a removable media use the command 'cb2bib
+\-\-conf' without configuration filename. Settings will be read from
+and written to /cb2bib/full/path/cb2bib.conf, being therefore
+independent of the mounting address that the host computer will
+provide.
+.PP
+To import references from a browser select when asked c2bimport, which
+expands to 'cb2bib \-\-import %f'. The browser will provide the
+temporary reference filename. The temporary file is deleted once
+imported.
+.PP
+A number of factors influence the reliability of automatic
+extractions. Consider writing customized regular expressions and
+network queries, and use metadata when available.
+.PP
+.IP \fBImportant\fR
+.PP
+The commands \-\-doc2bib and \-\-txt2bib do not append the references
+to the references.bib. They create a new file, or silently overwrites
+it if already exists.
+.PP
+The website http://www.molspaces.com/d_cb2bib\-overview.php has
+detailed instructions corresponding to different use cases.
+.PP
+
+
+.SH "BIBLIOGRAPHICAL REFERENCES TO BE CITED"
+P. Constans (2009) "A simple extraction procedure for bibliographical author field", arXiv:0902.0755.
+.PP
+P. Constans (2007) "Approximate textual retrieval", arXiv:0705.0751.
+
+.SH "SEE ALSO" 
+.BR bib2pdf (1),
+.BR med2bib (1),
+.BR isi2bib (1),
+.BR ris2bib (1)
+
+.SH "AUTHORS"
+\fBPere Constans\fR <\&constans at molspaces.com\&>
+.sp -1n
+.IP "" 4
+Program author\&.
+.PP
+\fBFilippo Rusconi\fR <\&rusconi-debian at laposte.net\&>
+.sp -1n
+.IP "" 4
+Man\-page author for the Debian distribution\&.
+.SH "COPYRIGHT"
+Copyright \(co 2004\-2008 Pere Constans
+.br
+Copyright \(co 2009 Filippo Rusconi
+.BR
+.PP
+This manual page was written for the Debian system by Filippo Rusconi
+<\&rusconi\-debian at laposte.net\&>\&. Permission is granted to copy,
+distribute and/or modify this document under the terms of the GNU
+General Public License, Version 3, published by the Free Software
+Foundation.
+.PP 
+ On a Debian system the complete text of the GNU General Public
+License version 3 can be found in the file
+`\fI\%/usr/share/common-licenses/GPL\-3\fP'.
diff --git a/debian/cb2bib.dirs b/debian/cb2bib.dirs
new file mode 100644
index 0000000..a75a4c0
--- /dev/null
+++ b/debian/cb2bib.dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/share/cb2bib/c2btools
+
diff --git a/debian/cb2bib.install b/debian/cb2bib.install
new file mode 100644
index 0000000..a45c966
--- /dev/null
+++ b/debian/cb2bib.install
@@ -0,0 +1,17 @@
+debian/build/bin/* usr/bin
+c2bscripts/c2bciter usr/bin
+c2bscripts/c2bimport usr/bin
+
+c2bscripts/c2bciter.desktop usr/share/applications
+c2bscripts/c2bimport.desktop usr/share/applications
+c2bscripts/cb2bib.desktop usr/share/applications
+
+c2btools/bib2pdf usr/share/cb2bib/c2btools
+c2btools/isi2bib usr/share/cb2bib/c2btools
+c2btools/med2bib usr/share/cb2bib/c2btools
+c2btools/ris2bib usr/share/cb2bib/c2btools
+
+data /usr/share/cb2bib
+testPDFImport /usr/share/cb2bib
+debian/cb2bib.xpm usr/share/pixmaps
+src/icons/cb2bib.png usr/share/pixmaps
diff --git a/debian/cb2bib.manpages b/debian/cb2bib.manpages
new file mode 100644
index 0000000..240e374
--- /dev/null
+++ b/debian/cb2bib.manpages
@@ -0,0 +1,5 @@
+debian/cb2bib.1
+debian/bib2pdf.1
+debian/med2bib.1
+debian/isi2bib.1
+debian/ris2bib.1
diff --git a/debian/cb2bib.menu b/debian/cb2bib.menu
new file mode 100644
index 0000000..fe256e2
--- /dev/null
+++ b/debian/cb2bib.menu
@@ -0,0 +1,17 @@
+?package(cb2bib):needs="X11" section="Applications/Text" \
+  title="cb2bib" \
+  longtitle="Extract bibliographical data from various sources" \
+  icon="/usr/share/pixmaps/cb2bib.xpm" \
+  command="/usr/bin/cb2bib"
+
+?package(cb2bib):needs="X11" section="Applications/Text" \
+  title="c2bciter" \
+  longtitle="Cite bibliographical references from BibTeX files to clipboard" \
+  icon="/usr/share/pixmaps/cb2bib.xpm" \
+  command="/usr/bin/c2bciter"
+
+?package(cb2bib):needs="X11" section="Applications/Text" \
+  title="c2bimport" \
+  longtitle="Parse an imported reference file to the cb2bib program window" \
+  icon="/usr/share/pixmaps/cb2bib.xpm" \
+  command="/usr/bin/c2bimport"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0bdd2bf
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,15 @@
+cb2bib (1.3.2-1) unstable; urgency=low
+
+  * New upstream release;
+  * Small packaging modifications to accomodate the small changes in the
+    source tree.
+  * Fixed some glitches in the nroff formatting of the man page.
+
+ -- Filippo Rusconi <rusconi-debian at laposte.net>  Wed, 09 Sep 2009 23:19:05 +0200
+
+cb2bib (1.3.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #529399);
+
+ -- Filippo Rusconi <rusconi-debian at laposte.net>  Fri, 04 Sep 2009 06:02:19 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..fa8ef65
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: cb2bib
+Section: text
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Filippo Rusconi <rusconi-debian at laposte.net>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7), libx11-dev, x11proto-core-dev, libqt4-dev (>=4.4), imagemagick
+Standards-Version: 3.8.3
+Homepage: http://www.molspaces.com/cb2bib/
+Vcs-Git: git://git.debian.org/git/debian-science/packages/cb2bib.git
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/cb2bib.git
+
+Package: cb2bib
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libimage-exiftool-perl, konqueror, poppler-utils | xpdf-utils, bibutils, jsmath, texlive-latex-base, texlive-base-bin
+Description: extract bibliographic references from various sources
+ cb2bib is a program to extract bibliographic references from
+ unformatted and non standard sources, like:
+  - email alerts;
+  - journal Web pages;
+  - and most interestingly PDF files.
+ .
+ Output references are written to BibTeX-formatted files. Other
+ features include:
+  - article files can be linked and renamed by dragging them onto the
+    cb2Bib window;
+  - editing and browsing BibTeX files;
+  - citing references, searching references and the full contents of the
+    referenced documents;
+  - inserting bibliographic metadata to documents;
+  - writing short notes that interrelate several references.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..89435db
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,49 @@
+This package was debianized by Filippo Rusconi <rusconi-debian at laposte.net> on
+Sat, 16 May 2009 20:56:59 +0200.
+
+It was downloaded from http://www.molspaces.com/cb2bib/
+
+Author: Pere Constans <constans at molspaces.com>
+
+cb2bib Copyright © 2004-2008 Pere Constans
+
+License for cb2bib: GNU General Public License version 3
+
+    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 3 of the License, or
+    (at your option) any later version.
+
+    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.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+ On Debian systems, the GNU General Public License version 3, is
+ available as the file `/usr/share/common-licenses/GPL-3'.
+
+
+ This work builds upon some code/artwork all licensed under Free
+ Software licenses, as detailed below:
+
+  - Class clipboardPoll (files clipboardPoll.h & clipboardPoll.cpp) is
+    based on work by Lubos Lunak, 2003 (GPLv2 or later);
+
+  - Function citeToLyXPipe is adapted from work by Robby Stephenson,
+    2005 (file c2bReferenceList.cpp, from project Tellico, GPLv2 or
+    later);
+
+  - Class EQRegExp is based on work by Trolltech ASA, 2008 (files
+    findDialog.h, findDialog.cpp, c2bSaveRegExp.cpp & cb2Bib.cpp,
+    GPLv3);
+
+  - Icons come from the Oxygen, Crystal SVG, and Noia icon sets,
+    as published by the KDE Desktop Environment (GPL).
+
+
+The Debian packaging is © 2009, Filippo Rusconi
+<rusconi-debian at laposte.net> and is licensed under the GPL, see
+`/usr/share/common-licenses/GPL-3'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b8c9a41
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+AUTHORS
+
diff --git a/debian/isi2bib.1 b/debian/isi2bib.1
new file mode 100644
index 0000000..c333f7d
--- /dev/null
+++ b/debian/isi2bib.1
@@ -0,0 +1,60 @@
+.TH "ISI2BIB" "1" "2009/06/24" "" ""
+.SH "NAME"
+isi2bib \- script to convert ISI\-format files to PDF
+
+.SH "SYNOPSIS"
+.HP 7
+\fBisi2bib\fR <input.isi> <output.bib>
+.PP
+
+
+.SH "DESCRIPTION"
+.PP
+\fBisi2bib\fR is a script to convert an ISI\-format file into a PDF
+file. The conversion is a two step process: the ISI\-format file is
+first converted into an XML\-format file; that XML\-format file is in
+turn converted into the BibTeX\-format file (both utilities are
+shipped in the \fBbibutils\fR package).
+.PP
+This script is part of the \fBcb2bib\fR package and is located at
+/usr/share/cb2bib/c2btools/isi2bib.
+
+
+.SH "BIBLIOGRAPHICAL REFERENCES TO BE CITED"
+.PP
+P. Constans (2009) "A simple extraction procedure for bibliographical author field", arXiv:0902.0755.
+.PP
+P. Constans (2007) "Approximate textual retrieval", arXiv:0705.0751.
+
+.RE
+.SH "SEE ALSO" 
+.PP 
+\fBcb2bib\fR (1); \fBmed2bib\fR (1); \fBpdf2bib\fR (1); \fBris2bib\fR (1).
+
+.RE
+.SH "AUTHORS"
+.PP
+\fBPere Constans \&<constans\&@molspaces\&.com\&> and \fBFilippo
+Rusconi\fR <\&rusconi\&\-debian\&@laposte\&.net\&>
+.sp -1n
+.IP "" 4
+Program authors\&.
+.PP
+\fBFilippo Rusconi\fR <\&rusconi\&\-debian\&@laposte\&.net\&>
+.sp -1n
+.IP "" 4
+Man\-page author for the Debian distribution\&.
+.SH "COPYRIGHT"
+Copyright \(co 2004\-2008 Pere Constans
+.br
+Copyright \(co 2009 Filippo Rusconi
+.BR
+.PP
+This manual page was written for the Debian system (but may be used by others)\&.
+.PP
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU General Public License, Version 3 or (at
+your option) any later version published by the Free Software
+Foundation\&. On a Debian system the complete text of the GNU General
+Public License version 3 can be found in the file
+`/usr/share/common\-licenses/GPL\-3'.
diff --git a/debian/med2bib.1 b/debian/med2bib.1
new file mode 100644
index 0000000..e816ebe
--- /dev/null
+++ b/debian/med2bib.1
@@ -0,0 +1,54 @@
+.TH "MED2BIB" "1" "2009/06/24" "" ""
+.SH "NAME"
+med2bib \- script to convert Pubmed\-format files to BibTeX\-format files
+
+.SH "SYNOPSIS"
+.HP 7
+\fBmed2bib\fR <input.med> <output.bib>
+.PP
+
+
+.SH "DESCRIPTION"
+.PP
+\fBmed2bib\fR is a script to convert a Pubmed\-format file into a
+BibTeX\-format file. The conversion is a two step process: the
+Pubmed\-format file is first converted into an XML\-format file; that
+XML\-format file is in turn converted into the BibTeX\-format file (both
+utilities are shipped in the \fBbibutils\fR package).
+.PP
+This script is part of the \fBcb2bib\fR package and is located at
+/usr/share/cb2bib/c2btools/med2bib.
+
+
+.SH "BIBLIOGRAPHICAL REFERENCES TO BE CITED"
+.PP
+P. Constans (2009) "A simple extraction procedure for bibliographical author field", arXiv:0902.0755.
+.PP
+P. Constans (2007) "Approximate textual retrieval", arXiv:0705.0751.
+
+.RE
+.SH "SEE ALSO" 
+.PP 
+\fBcb2bib\fR (1); \fBbib2pdf\fR (1); \fBisi2bib\fR (1); \fBris2bib\fR (1).
+
+.RE
+.SH "AUTHORS"
+.PP
+\fBFilippo Rusconi\fR <\&rusconi\&\-debian\&@laposte\&.net\&> basing
+the writing on previous work by \fBPere Constans \&<constans\&@molspaces\&.com\&>.
+.sp -1n
+.IP "" 4
+Program and man page (for the Debian distribution) author\&.
+.PP
+.SH "COPYRIGHT"
+Copyright \(co 2009 Filippo Rusconi
+.BR
+.PP
+This manual page was written for the Debian system (but may be used by others)\&.
+.PP
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU General Public License, Version 3 or (at
+your option) any later version published by the Free Software
+Foundation\&. On a Debian system the complete text of the GNU General
+Public License version 3 can be found in the file
+`/usr/share/common\-licenses/GPL\-3'.
diff --git a/debian/ris2bib.1 b/debian/ris2bib.1
new file mode 100644
index 0000000..7fc2f97
--- /dev/null
+++ b/debian/ris2bib.1
@@ -0,0 +1,60 @@
+.TH "RIS2BIB" "1" "2009/06/24" "" ""
+.SH "NAME"
+ris2bib \- script to convert RIS\-format files to PDF
+
+.SH "SYNOPSIS"
+.HP 7
+\fBris2bib\fR <input.ris> <output.bib>
+.PP
+
+
+.SH "DESCRIPTION"
+.PP
+\fBris2bib\fR is a script to convert an RIS\-format file into a PDF
+file. The conversion is a two step process: the RIS\-format file is
+first converted into an XML\-format file; that XML\-format file is in
+turn converted into the BibTeX\-format file (both utilities are
+shipped in the \fBbibutils\fR package).
+.PP
+This script is part of the \fBcb2bib\fR package and is located at
+/usr/share/cb2bib/c2btools/ris2bib.
+
+
+.SH "BIBLIOGRAPHICAL REFERENCES TO BE CITED"
+.PP
+P. Constans (2009) "A simple extraction procedure for bibliographical author field", arXiv:0902.0755.
+.PP
+P. Constans (2007) "Approximate textual retrieval", arXiv:0705.0751.
+
+.RE
+.SH "SEE ALSO" 
+.PP 
+\fBcb2bib\fR (1); \fBmed2bib\fR (1); \fBpdf2bib\fR (1); \fBisi2bib\fR (1).
+
+.RE
+.SH "AUTHORS"
+.PP
+\fBPere Constans \&<constans\&@molspaces\&.com\&> and \fBFilippo
+Rusconi\fR <\&rusconi\&\-debian\&@laposte\&.net\&>
+.sp -1n
+.IP "" 4
+Program authors\&.
+.PP
+\fBFilippo Rusconi\fR <\&rusconi\&\-debian\&@laposte\&.net\&>
+.sp -1n
+.IP "" 4
+Man\-page author for the Debian distribution\&.
+.SH "COPYRIGHT"
+Copyright \(co 2004\-2008 Pere Constans
+.br
+Copyright \(co 2009 Filippo Rusconi
+.BR
+.PP
+This manual page was written for the Debian system (but may be used by others)\&.
+.PP
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU General Public License, Version 3 or (at
+your option) any later version published by the Free Software
+Foundation\&. On a Debian system the complete text of the GNU General
+Public License version 3 can be found in the file
+`/usr/share/common\-licenses/GPL\-3'.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cb9e3ef
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,106 @@
+#!/usr/bin/make -f
+# Based on the initial work of Joey Hess and Craig Small.
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+PACKAGE=cb2bib
+
+BUILDDIR=$(CURDIR)/debian/build
+
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+         NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+         MAKEFLAGS += -j$(NUMJOBS)
+endif
+
+$(info "---------------------------------------")
+$(info NUMJOBS: $(NUMJOBS))
+$(info MAKEFLAGS: $(MAKEFLAGS))
+$(info DEB_BUILD_OPTIONS: $(DEB_BUILD_OPTIONS))
+$(info "---------------------------------------")
+
+
+.PHONY: clean
+clean: 
+	dh_testdir
+	dh_testroot
+
+	dh_clean
+
+	rm -rf $(BUILDDIR)
+	rm -f debian/cb2bib.xpm
+
+
+configure-stamp: 
+	dh_testdir
+
+	mkdir -p $(BUILDDIR)
+	cp -rpf cb2bib.pro cb2bib.rc configure src $(BUILDDIR)
+	cd $(BUILDDIR) && ./configure --qmakepath /usr/bin/qmake-qt4	\
+	--prefix /usr --bindir /usr/bin --datadir /usr/share		\
+	--desktopdatadir /usr/share/applications --icondir		\
+	/usr/share/pixmaps
+
+	touch configure-stamp
+
+
+build-arch-stamp: configure-stamp 
+	dh_testdir
+	dh_prep -a
+
+	$(MAKE) -C $(BUILDDIR)
+	convert src/icons/cb2bib.png -resize 32x32 debian/cb2bib.xpm
+
+	touch build-arch-stamp
+
+
+.PHONY: build-indep
+build-indep:
+
+
+.PHONY: build-arch
+build-arch: build-arch-stamp
+
+
+.PHONY: build
+build: build-indep build-arch
+
+
+# Build architecture-independent files here.
+.PHONY: binary-indep
+binary-indep: 
+
+
+# Build architecture-dependent files here.
+.PHONY: binary-arch
+binary-arch: build-arch-stamp
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_install -a
+	dh_installmenu -a cb2bib.menu
+	dh_installman -a
+	dh_link -a usr/share/man/man1/cb2bib.1 usr/share/man/man1/c2bimport.1
+	dh_link -a usr/share/man/man1/cb2bib.1 usr/share/man/man1/c2bciter.1
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+
+.PHONY: binary
+binary: binary-indep binary-arch
+
+
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d22769a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+
+opts=downloadurlmangle=s/d_cb2bib-download.php/\./ \
+http://www.molspaces.com/d_cb2bib-download.php/ \
+dl/progs/cb2bib-([\d\.]*)\.tar\.gz
+

-- 
Extract bibliographic references from various sources



More information about the debian-science-commits mailing list