Commit e5f79e1e authored by Filippo Rusconi's avatar Filippo Rusconi

Imported Upstream version 1.9.2

parent f9194f89
2011-11-05 RELEASE OF VERSION 1.4.9
2015-08-10 RELEASE OF VERSION 1.9.2
2015-08-09 Code cleanup through cppcheck
2015-08-09 Removed old modified QRegExp
2015-08-08 Updated indexing
2015-07-24 RELEASE OF VERSION 1.9.1
2015-07-24 Set QRegularExpression/PCRE for full search indexing
2015-07-20 Fixed Qt 5.5.0 compilation
2015-07-18 RELEASE OF VERSION 1.9.0
2015-07-18 Ported to Qt5
2014-12-20 RELEASE OF VERSION 1.5.0
2014-12-18 Fixed document indexing when conversion to text fails
2014-12-17 Improved keyword sentence extraction
2014-12-17 Added modified XPDF code to separate superscripts
2014-12-10 Improved PDF to text postprocessing, code checking and de-hyphenation
2014-08-18 Fix missing keywords for two c2bscripts/*.desktop files (Thanks to F. Rusconi)
2012-12-23 Updated netqinf.txt for PubMed (Thanks to S. Kreisel)
2012-11-05 RELEASE OF VERSION 1.4.9
2012-11-04 Minor improvements in keyword extraction
2012-11-03 Code cleanup and micro optimizations through cppcheck
2012-10-23 Assure tmp path is writable when operating remotely (Thanks to A. Norton)
2012-08-02 Disable Open button when Postprocess does not produce a file (Thanks to J. Welford)
2011-05-15 RELEASE OF VERSION 1.4.8
2012-05-15 RELEASE OF VERSION 1.4.8
2012-05-13 Fixed gcc 4.7 compilation, Debian bug 667129 (Thanks to M. Klose and F. Rusconi)
2012-02-17 Added a warning whenever external document to text conversion fails while indexing
2012-01-15 Minor improvements in keyword extraction
......
......@@ -23,6 +23,8 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions(-DC2B_DEBUG)
endif()
find_package(Qt5Widgets)
option(C2B_USE_WEBKIT "Link cb2bib against QtWebKit library." ON)
option(C2B_USE_LZO "Link cb2bib against lzo2 library." ON)
if(UNIX AND NOT APPLE)
......@@ -64,10 +66,10 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
#-------------------------------------------------------------------------------
# general settings
#-------------------------------------------------------------------------------
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.8.11)
set(CMAKE_COLOR_MAKEFILE ON)
set(CMAKE_VERBOSE_MAKEFILE ON)
set(CB2BIB_MINIMUM_REQUIRED_QT "4.4.0")
set(CB2BIB_MINIMUM_REQUIRED_QT "5.0.0")
#-------------------------------------------------------------------------------
# build tree structure
......@@ -99,10 +101,10 @@ if(APPLE)
set(MACOSX_BUNDLE_GUI_IDENTIFIER "com.MOLspaces.cb2Bib")
set(MACOSX_BUNDLE_ICON_FILE src/icons/cb2bib.icns)
set(MACOSX_BUNDLE_INFO_STRING "A tool for rapidly extracting unformatted bibliographic references")
set(MACOSX_BUNDLE_SHORT_VERSION_STRING "1.4")
set(MACOSX_BUNDLE_LONG_VERSION_STRING "1.4.2")
set(MACOSX_BUNDLE_BUNDLE_VERSION "1.4.2")
set(MACOSX_BUNDLE_COPYRIGHT "(C) 2004-2012 Pere Constans")
set(MACOSX_BUNDLE_SHORT_VERSION_STRING "1.9")
set(MACOSX_BUNDLE_LONG_VERSION_STRING "1.9.0")
set(MACOSX_BUNDLE_BUNDLE_VERSION "1.9.0")
set(MACOSX_BUNDLE_COPYRIGHT "(C) 2004-2015 Pere Constans")
### ??
### set_source_files_properties(${ProjectName_RESOURCES} ${ProjectName_TRANSLATIONS} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
......
The cb2Bib. Copyright (C) 2004-2012 by Pere Constans
The cb2Bib. Copyright (C) 2004-2015 by Pere Constans
The cb2Bib includes third party GPL and LGPL code that is copyrighted by others:
......@@ -7,11 +7,7 @@ The cb2Bib includes third party GPL and LGPL code that is copyrighted by others:
- Function citeToLyXPipe is adapted from work by Robby Stephenson, 2005
- Function updateUserTimestamp from KDE libraries, by Matthias K. Dalheimer, 1997
- Class EQRegExp is based on work by Trolltech ASA, 2008
- Class QtSingleApplication by Nokia Corporation, 2009
- Class QtSingleApplication by Digia Plc, 2013
- Icons come from the Oxygen, Crystal SVG, and Noia icon sets, published by the
KDE Desktop Environment.
......@@ -2,7 +2,7 @@
#-------------------------------------------------------------------------------
# c2bciter -- Wrapper for calling cb2Bib Citer
# cb2Bib Tools
# Copyright (C) 2004-2012 by Pere Constans
# Copyright (C) 2004-2015 by Pere Constans
# constans@molspaces.com
#
# Copyright (C) 2009 by Filippo Rusconi
......
......@@ -12,3 +12,4 @@ StartupNotify=false
Terminal=false
Categories=Office;
Type=Application
Keywords=bibliography,citations,scientific articles
......@@ -2,7 +2,7 @@
#-------------------------------------------------------------------------------
# c2bimport -- Script for calling cb2Bib in "Download Reference to cb2Bib" mode
# cb2Bib Tools
# Copyright (C) 2004-2012 by Pere Constans
# Copyright (C) 2004-2015 by Pere Constans
# constans@molspaces.com
#
# Copyright (C) 2009 by Filippo Rusconi
......
[Desktop Entry]
Comment=Donwload reference to cb2Bib
Comment=Download reference to cb2Bib
Comment[ca]=Importa referència al cb2Bib
Exec=cb2bib --import %f
GenericName=cb2Bib Import Reference
......
......@@ -12,3 +12,4 @@ StartupNotify=true
Terminal=false
Categories=Office;
Type=Application
Keywords=bibliography,citations,scientific articles
......@@ -3,7 +3,7 @@
# bib2pdf -- Script to convert BibTeX files to PDF
# cb2Bib Tools
#
# Copyright (C) 2005-2012 by Pere Constans
# Copyright (C) 2005-2015 by Pere Constans
# constans@molspaces.com
#
# Improvements and modifications:
......
......@@ -3,7 +3,7 @@
# isi2bib -- Script to convert ISI format to BibTeX
# cb2Bib Tools
#
# Copyright (C) 2005-2012 by Pere Constans
# Copyright (C) 2005-2015 by Pere Constans
# constans@molspaces.com
#
# Improvements and modifications:
......@@ -20,7 +20,7 @@
# Usage: isi2bib input_isi output_bib
#-------------------------------------------------------------------------------
# Using isi2xml and xml2bib utilities from:
# http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html
# http://bibutils.refbase.org/
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
......@@ -64,7 +64,7 @@ set -e
echo "cb2Bib Tools: Script to convert ISI format to BibTeX"
echo ""
echo "It uses external package bibutils from"
echo "http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html"
echo "http://bibutils.refbase.org/"
echo ""
if test "$#" != 2; then
cat <<EOF
......
......@@ -15,7 +15,7 @@
# Usage: med2bib input_med output_bib
#-------------------------------------------------------------------------------
# Using med2xml and xml2bib utilities from:
# http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html
# http://bibutils.refbase.org/
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
......@@ -59,7 +59,7 @@ set -e
echo "cb2Bib Tools: Script to convert PUBMED-XML format to BibTeX"
echo ""
echo "It uses external package bibutils from"
echo "http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html"
echo "http://bibutils.refbase.org/"
echo ""
if test "$#" != 2; then
cat <<EOF
......
......@@ -3,7 +3,7 @@
# ris2bib -- Script to convert RIS format to BibTeX
# cb2Bib Tools
#
# Copyright (C) 2005-2012 by Pere Constans
# Copyright (C) 2005-2015 by Pere Constans
# constans@molspaces.com
#
# Improvements and modifications:
......@@ -20,7 +20,7 @@
# Usage: ris2bib input_ris output_bib
#-------------------------------------------------------------------------------
# Using ris2xml and xml2bib utilities from:
# http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html
# http://bibutils.refbase.org/
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
......@@ -64,7 +64,7 @@ set -e
echo "cb2Bib Tools: Script to convert RIS format to BibTeX"
echo ""
echo "It uses external package bibutils from"
echo "http://www.scripps.edu/~cdputnam/software/bibutils/bibutils.html"
echo "http://bibutils.refbase.org/"
echo ""
if test "$#" != 2; then
cat <<EOF
......
......@@ -164,14 +164,14 @@ echo
echo "-----------------------------------------------------------------------"
echo "cb2Bib Info:"
echo "-----------------------------------------------------------------------"
echo "- This version requires Qt 4.4.0 or later."
echo "- This version requires Qt 5.0.0 or later."
echo " "
echo "- Set the environment variable QTDIR if this script cannot determine"
echo " the right Qt qmake."
echo "- QTDIR will only be used during configuration; it can later be reset"
echo " to its original value."
echo " "
echo "- Alternatively, set Qt 4.4 qmake's fullpath name with"
echo "- Alternatively, set Qt 5.0 qmake's fullpath name with"
echo " --qmakepath flag."
echo "-----------------------------------------------------------------------"
......@@ -191,8 +191,8 @@ echo "Checking for Qt/qmake:"
echo "Environment variable QTDIR not set, checking elsewhere for qmake..."
echo -n "Checking for qmake tool... "
if test "$f_qmake" = NO; then
qmake_name="qmake"
qmake_dirs="/usr/lib64/qt4/bin:/usr/lib/qt4/bin:/usr/bin:/usr/lib/qt/bin:/usr/share/qt/bin:/Developer/Tools/Qt:$PATH"
qmake_name="qmake-qt5"
qmake_dirs="/usr/bin:/usr/lib64/qt5/bin:/usr/lib/qt5/bin:/usr/bin:/usr/lib/qt/bin:/usr/share/qt/bin:/Developer/Tools/Qt:$PATH"
qmake_prog=NO
IFS=:
for j in $qmake_dirs; do
......
......@@ -15,23 +15,22 @@
# Bookmark Examples:
bookmark=PubMed Citation Finder|http://www.ncbi.nlm.nih.gov/pubmed/citmatch
bookmark=HighWire Press -- Search|http://highwire.stanford.edu/cgi/search/
bookmark=DBLP Bibliography|http://www.informatik.uni-trier.de/~ley/db/indices/query.html
bookmark=DBLP Bibliography|http://dblp.org/search/
bookmark=arXiv.org e-Print archive|http://arxiv.org/
bookmark=CiteSeerX|http://citeseerx.ist.psu.edu/
bookmark=Directory of Open Access Journals|http://www.doaj.org/home
bookmark=Directory of Open Access Journals|http://doaj.org/search
bookmark=PLoS - The Public Library of Science|http://www.plos.org/
bookmark=OAIster|http://www.oaister.org/
bookmark=Scirus|http://www.scirus.com/srsapp/advanced/index.jsp
bookmark=OAIster|http://www.oclc.org/oaister.en.html
bookmark=Search ACS Publications|http://pubs.acs.org/search/advanced
bookmark=Google Scholar|http://scholar.google.com/
bookmark=Google Scholar|https://scholar.google.com/
bookmark= |
bookmark=Search arXiv for selected text|http://search.arxiv.org:8081/?query=<<selection>>
bookmark=Search Citebase for Authors|http://www.citebase.org/search?type=metadata&maxrows=10&author=<<author>>&submitted=Search
bookmark=Search CiteSeerX for Title|http://citeseerx.ist.psu.edu/search?q=title%3A<<title>>&sort=cite
bookmark=Search PubMed for Title|http://www.ncbi.nlm.nih.gov/sites/entrez?orig_db=PubMed&db=pubmed&cmd=Search&TransSchema=title&term=<<title>>
bookmark=Search PubMed for DOI|http://www.ncbi.nlm.nih.gov/sites/entrez?orig_db=PubMed&db=PubMed&cmd=Search&term=<<doi>>
bookmark=Search Google for literal Title|http://www.google.com/search?ie=UTF-8&q=%22<<title>>%22
bookmark=Search Scholar for literal Title|http://scholar.google.com/scholar?ie=UTF-8&q=%22<<title>>%22
bookmark=Search PubMed for Title|http://www.ncbi.nlm.nih.gov/pubmed?term=<<title>>
bookmark=Search PubMed for DOI|http://www.ncbi.nlm.nih.gov/pubmed?term=<<doi>>
bookmark=Search Google for literal Title|https://www.google.com/search?ie=UTF-8&q=%22<<title>>%22
bookmark=Search Scholar for literal Title|https://scholar.google.com/scholar?ie=UTF-8&q=%22<<title>>%22
bookmark=Search Crossref for Journal + Volume + Page|http://www.crossref.org/guestquery/?search_type=journal&auth=&issn=&title=<<journal>>&art_title=&volume=<<volume>>&page=<<pages>>&isbn=&comp_num=&series_title=&multi_hit=on&view_records=Search
bookmark=Search ISBN Database|http://isbndb.com/search-all.html?kw=<<isbn>>
bookmark=Open DOI Document|http://dx.doi.org/<<doi>>
......@@ -115,7 +114,7 @@ action=browse_referenceurl
# QUERY INFO FOR PNAS (Volume and Page)
# Extracts BibTeX reference and article PDF file
journal=Proceedings of the National Academy of Sciences of the United States of America|
query=http://www.pnas.org/search?submit=yes&submit=Submit&pubdate_year=&volume=<<volume>>&firstpage=<<pages>>&doi=&author1=&author2=&title=&andorexacttitle=and&titleabstract=&andorexacttitleabs=and&fulltext=&andorexactfulltext=and&fmonth=Jan&fyear=1915&tmonth=Jul&tyear=2012&tocsectionid=all&format=standard&hits=10&sortspec=relevance&submit=yes
query=http://www.pnas.org/search?submit=yes&submit=Submit&pubdate_year=&volume=<<volume>>&firstpage=<<pages>>&doi=&author1=&author2=&title=&andorexacttitle=and&titleabstract=&andorexacttitleabs=and&fulltext=&andorexactfulltext=and&fmonth=Jan&fyear=1915&tmonth=Jul&tyear=2015&tocsectionid=all&format=standard&hits=10&sortspec=relevance&submit=yes
capture_from_query=/content/(.+)\.(extract|abstract|full)
referenceurl_prefix=http://www.pnas.org/citmgr?type=bibtex&gca=pnas;
referenceurl_sufix=
......@@ -193,7 +192,7 @@ action=
# Extracts Medline reference
# Blank journal meaning 'any journal name'
journal=
query=http://www.ncbi.nlm.nih.gov/sites/entrez?orig_db=PubMed&db=PubMed&cmd=Search&term=<<doi>>[doi]
query=http://www.ncbi.nlm.nih.gov/pubmed?term=<<doi>>
capture_from_query=\bPMID:\D{1,10}(\d+)\D
referenceurl_prefix=http://www.ncbi.nlm.nih.gov/pubmed/
referenceurl_sufix=?report=xml&format=text
......@@ -227,7 +226,7 @@ action=
# Extracts Medline reference
journal=Proteins: Structure, Function, and Bioinformatics|Proteins
journal=Proteins: Structure, Function, and Genetics|Proteins
query=http://www.ncbi.nlm.nih.gov/sites/entrez?orig_db=PubMed&db=PubMed&cmd=Search&term=<<journal>>[Jour]+AND+<<volume>>[volume]+AND+<<pages>>[page]
query=http://www.ncbi.nlm.nih.gov/pubmed?term=<<journal>>[Jour]+AND+<<volume>>[volume]+AND+<<pages>>[page]
capture_from_query=\bPMID:\D{1,10}(\d+)\D
referenceurl_prefix=http://www.ncbi.nlm.nih.gov/pubmed/
referenceurl_sufix=?report=xml&format=text
......@@ -239,7 +238,7 @@ action=htm2txt_referenceurl
# Extracts Medline reference
# Blank journal meaning 'any journal name'
journal=
query=http://www.ncbi.nlm.nih.gov/sites/entrez?orig_db=PubMed&db=PubMed&cmd=Search&term=<<journal>>[Jour]+AND+<<volume>>[volume]+AND+<<pages>>[page]
query=http://www.ncbi.nlm.nih.gov/pubmed?term=<<journal>>[Jour]+AND+<<volume>>[volume]+AND+<<pages>>[page]
capture_from_query=\bPMID:\D{1,10}(\d+)\D
referenceurl_prefix=http://www.ncbi.nlm.nih.gov/pubmed/
referenceurl_sufix=?report=xml&format=text
......@@ -291,7 +290,7 @@ journal=Nano Letters|nalefd
journal=Organic Letters|orlef7
journal=Organic Process Research and Development|oprdfk
journal=Organometallics|orgnd7
query=http://pubs.acs.org/action/quickLink?quickLinkJournal=<<journal>>&quickLinkVolume=<<volume>>&quickLinkPage=<<pages>>
query=http://pubs.acs.org/action/quickLink?quickLinkJournal=<<journal>>&quickLinkVolume=<<volume>>&quickLinkPage=<<pages>>&cookieSet=1
capture_from_query=
referenceurl_prefix=
referenceurl_sufix=
......@@ -328,7 +327,7 @@ action=browse_query
# Uses <<post>> http method
journal=
query=<<post>>http://www.crossref.org/guestquery?search_type=journal&auth=&issn=&title=<<journal>>&art_title=&volume=<<volume>>&issue=&page=<<pages>>%20&year=&isbn=&comp_num=&series_title=&multi_hit=on&view_records=Search&queryType=bibsearch
capture_from_query=doi:(.+)</a>
capture_from_query=>\s*http://dx\.doi\.org/(.+)</a>
referenceurl_prefix=http://dx.doi.org/
referenceurl_sufix=
pdfurl_prefix=
......@@ -339,7 +338,7 @@ action=browse_referenceurl
# Extracts Medline reference
# Uses <<title>> tag
journal=
query=http://www.ncbi.nlm.nih.gov/sites/entrez?orig_db=PubMed&db=pubmed&cmd=Search&TransSchema=title&term=<<title>>
query=http://www.ncbi.nlm.nih.gov/pubmed?term=<<title>>
capture_from_query=\bPMID:\D{1,10}(\d+)\D
referenceurl_prefix=http://www.ncbi.nlm.nih.gov/pubmed/
referenceurl_sufix=?report=xml&format=text
......@@ -350,7 +349,7 @@ action=htm2txt_referenceurl
# QUERY INFO FOR Google Scholar
# Uses <<excerpt>> tag
journal=
query=http://scholar.google.com/scholar?hl=en&lr=&ie=UTF-8&q=<<excerpt>>&btnG=Search
query=https://scholar.google.com/scholar?hl=en&lr=&ie=UTF-8&q=<<excerpt>>&btnG=Search
capture_from_query=
referenceurl_prefix=
referenceurl_sufix=
......@@ -360,9 +359,9 @@ action=browse_query
# QUERY INFO FOR Google Scholar
journal=
query=http://scholar.google.com/scholar?hl=en&lr=&ie=UTF-8&q=<<doi>>&btnG=Search
query=https://scholar.google.com/scholar?hl=en&lr=&ie=UTF-8&q=<<doi>>&btnG=Search
capture_from_query=info:(\w+):scholar
referenceurl_prefix=http://scholar.google.com/scholar.bib?hl=en&lr=&ie=UTF-8&q=info:
referenceurl_prefix=https://scholar.google.com/scholar.bib?hl=en&lr=&ie=UTF-8&q=info:
referenceurl_sufix=:scholar.google.com/&output=citation&oe=ASCII&oi=citation
pdfurl_prefix=
pdfurl_sufix=
......@@ -371,9 +370,9 @@ action=
# QUERY INFO FOR Google Scholar
# Uses <<excerpt>> tag
journal=
query=http://scholar.google.com/scholar?hl=en&lr=&ie=UTF-8&q=<<excerpt>>&btnG=Search
query=https://scholar.google.com/scholar?hl=en&lr=&ie=UTF-8&q=<<excerpt>>&btnG=Search
capture_from_query=info:(\w+):scholar
referenceurl_prefix=http://scholar.google.com/scholar.bib?hl=en&lr=&ie=UTF-8&q=info:
referenceurl_prefix=https://scholar.google.com/scholar.bib?hl=en&lr=&ie=UTF-8&q=info:
referenceurl_sufix=:scholar.google.com/&output=citation&oe=ASCII&oi=citation
pdfurl_prefix=
pdfurl_sufix=
......
/* cb2Bib References CSS */
/* general */
body {
font-size: 100%;
font-family: sans-serif;
background-color: #B7B096;
color: #000000;
padding: 0;
margin: 0;
}
a {
color: #670000;
text-decoration: none;
}
a:link {
color: #670000;
text-decoration: underline;
}
h1
{
color: #000000;
font-size: 20px;
font-variant: small-caps;
font-family: sans-serif;
}
/* references */
#references{
background-color: #AAA58C;
}
#references blockquote{
font-size: small;
}
#references span{
color: #800000;
/* font-weight: bold; */
}
#excerpt{
font-style: italic;
}
/* header */
#header {
vertical-align: middle;
}
/* footer */
#footer {
color: #000000;
font-family: arial, sans-serif;
font-size: small;
}
#footer td{
padding: 10px;
padding-left: 5px;
padding-right: 5px;
}
......@@ -80,7 +80,7 @@ title author journal volume number month year pages
PDF Import Example
article
journal volume pages year title author abstract
^(Ars Magna), (\d+), ([\d|\-|\s]+), (\d\d\d\d)<NewLine1><NewLine2>(.+)<NewLine3>(.+)<NewLine4><NewLine5>I\.<NewLine6><NewLine7>SUMMARY<NewLine8><NewLine9>(.+)<NewLine10>.+$
^(Ars Magna), (\d+), ([\d\-–\s]+), (\d\d\d\d)<NewLine1>(.+)<NewLine3>(.+)<NewLine5>.+SUMMARY(.+)<NewLine13>.+$
# cb2Bib 0.8.1 Pattern:
Example with Multiple Author Sets
......
######################################################################
# qmake file for macos
# Contributed by J. Ralls, June 2011
#
# 1) run 'qmake -project -r' to create .pro skeleton
# 2) edit to match other settings from old .pro file
# 3) run 'qmake -spec macx-xcode' to create a xcodeproj file
#
######################################################################
TEMPLATE = app
TARGET = cb2bib
DEPENDPATH += . src src/c2b src/c2b/qtregexp src/qtsingleapplication/src
INCLUDEPATH += . src src/c2b src/qtsingleapplication/src src/c2b/qtregexp
# Input
HEADERS += src/bookmarkPlugin.h \
src/c2b.h \
src/c2bAnnote.h \
src/c2bBibHighlighter.h \
src/c2bBibMenu.h \
src/c2bBibParser.h \
src/c2bBibPreparserLog.h \
src/c2bCiter.h \
src/c2bCiterModel.h \
src/c2bCiterView.h \
src/c2bClipboard.h \
src/c2bClipEdit.h \
src/c2bColors.h \
src/c2bComboBox.h \
src/c2bConfigure.h \
src/c2bConfigureFR.h \
src/c2bConsole.h \
src/c2bCoreCiter.h \
src/c2bEditor.h \
src/c2bExport.h \
src/c2bExportDialog.h \
src/c2bFileDialog.h \
src/c2bHighlighter.h \
src/c2bIdLineEdit.h \
src/c2bLineEdit.h \
src/c2bNetworkQuery.h \
src/c2bNetworkQueryInfo.h \
src/c2bPdfImport.h \
src/c2bPostprocess.h \
src/c2bReferenceList.h \
src/c2bREHighlighter.h \
src/c2bRLWebSearchSettings.h \
src/c2bSaveRegExp.h \
src/c2bSaveREHighlighter.h \
src/c2bSearchInFiles.h \
src/c2bSearchInFilesPattern.h \
src/c2bSettings.h \
src/c2bShortcutPushButton.h \
src/c2bShortcutWidget.h \
src/c2bTests.h \
src/c2bTextBrowser.h \
src/c2bTextEdit.h \
src/c2bUpdateMetadata.h \
src/c2bUtils.h \
src/c2bWebBrowser.h \
src/cb2Bib.h \
src/findDialog.h \
src/c2b/approximatePattern.h \
src/c2b/authorString.h \
src/c2b/bibExtractor.h \
src/c2b/bibParser.h \
src/c2b/bibPreparser.h \
src/c2b/bibReference.h \
src/c2b/bibSearcher.h \
src/c2b/cb2bib_parameters.h \
src/c2b/cb2bib_utilities.h \
src/c2b/compositePattern.h \
src/c2b/coreBibParser.h \
src/c2b/document.h \
src/c2b/documentCache.h \
src/c2b/documentContents.h \
src/c2b/heuristicBibParser.h \
src/c2b/idMaker.h \
src/c2b/journalDB.h \
src/c2b/metadataParser.h \
src/c2b/monthDB.h \
src/c2b/network.h \
src/c2b/networkQuery.h \
src/c2b/preprocess.h \
src/c2b/pubmedXml.h \
src/c2b/searchPattern.h \
src/c2b/settings.h \
src/c2b/substringMatcher.h \
src/c2b/texParser.h \
src/c2b/texToHtml.h \
src/c2b/triads.h \
src/c2b/wordMatcher.h \
src/c2b/wordPattern.h \
src/c2b/qtregexp/eqregexp.h \
src/qtsingleapplication/src/qtlocalpeer.h \
src/qtsingleapplication/src/qtlockedfile.h \
src/qtsingleapplication/src/qtsingleapplication.h \
src/qtsingleapplication/src/qtsinglecoreapplication.h \
src/qtsingleapplication/src/qtlockedfile.cpp \
src/qtsingleapplication/src/qtlockedfile_win.cpp \
src/qtsingleapplication/src/qtlockedfile_unix.cpp
FORMS += src/c2bCiter.ui \
src/c2bConfigure.ui \
src/c2bConfigureFR.ui \
src/c2bEditor.ui \
src/c2bExportDialog.ui \
src/c2bLogWidget.ui \
src/c2bPdfImport.ui \
src/c2bReferenceList.ui \
src/c2bRLWebSearchSettings.ui \
src/c2bSaveRegExp.ui \
src/c2bSearchInFiles.ui \
src/c2bSearchInFilesPattern.ui \
src/c2bSearchInFilesPatternEdit.ui \
src/c2bShortcutWidget.ui \
src/cb2Bib.ui \
src/findDialog.ui \
src/proxyDialog.ui
SOURCES += src/bookmarkPlugin.cpp \
src/c2b.cpp \
src/c2bAnnote.cpp \
src/c2bBibHighlighter.cpp \
src/c2bBibMenu.cpp \
src/c2bBibParser.cpp \
src/c2bBibPreparserLog.cpp \
src/c2bCiter.cpp \
src/c2bCiterModel.cpp \
src/c2bCiterView.cpp \
src/c2bClipboard.cpp \
src/c2bClipEdit.cpp \
src/c2bColors.cpp \
src/c2bComboBox.cpp \
src/c2bConfigure.cpp \
src/c2bConfigureFR.cpp \
src/c2bConsole.cpp \
src/c2bCoreCiter.cpp \
src/c2bEditor.cpp \
src/c2bExport.cpp \
src/c2bExportDialog.cpp \
src/c2bFileDialog.cpp \
src/c2bHighlighter.cpp \
src/c2bIdLineEdit.cpp \
src/c2bLineEdit.cpp \
src/c2bNetworkQuery.cpp \
src/c2bNetworkQueryInfo.cpp \
src/c2bPdfImport.cpp \
src/c2bPostprocess.cpp \
src/c2bReferenceList.cpp \
src/c2bREHighlighter.cpp \
src/c2bRLWebSearchSettings.cpp \
src/c2bSaveRegExp.cpp \
src/c2bSaveREHighlighter.cpp \
src/c2bSearchInFiles.cpp \
src/c2bSearchInFilesPattern.cpp \
src/c2bSettings.cpp \
src/c2bShortcutPushButton.cpp \
src/c2bShortcutWidget.cpp \
src/c2bTests.cpp \
src/c2bTextBrowser.cpp \
src/c2bTextEdit.cpp \
src/c2bUpdateMetadata.cpp \
src/c2bUtils.cpp \
src/c2bWebBrowser.cpp \
src/cb2Bib.cpp \
src/findDialog.cpp \
src/main.cpp \
src/c2b/approximatePattern.cpp \
src/c2b/authorString.cpp \
src/c2b/bibExtractor.cpp \
src/c2b/bibParser.cpp \
src/c2b/bibPreparser.cpp \
src/c2b/bibSearcher.cpp \
src/c2b/cb2bib_utilities.cpp \
src/c2b/compositePattern.cpp \
src/c2b/coreBibParser.cpp \
src/c2b/document.cpp \
src/c2b/documentCache.cpp \
src/c2b/heuristicBibParser.cpp \
src/c2b/idMaker.cpp \
src/c2b/journalDB.cpp \
src/c2b/metadataParser.cpp \
src/c2b/monthDB.cpp \
src/c2b/network.cpp \
src/c2b/networkQuery.cpp \
src/c2b/preprocess.cpp \
src/c2b/pubmedXml.cpp \
src/c2b/searchPattern.cpp \
src/c2b/settings.cpp \
src/c2b/substringMatcher.cpp \
src/c2b/texParser.cpp \
src/c2b/texToHtml.cpp \
src/c2b/triads.cpp \
src/c2b/wordMatcher.cpp \
src/c2b/wordPattern.cpp \
src/c2b/qtregexp/eqregexp.cpp \
src/qtsingleapplication/src/qtlocalpeer.cpp \
src/qtsingleapplication/src/qtlockedfile.cpp \
src/qtsingleapplication/src/qtlockedfile_unix.cpp \
src/qtsingleapplication/src/qtlockedfile_win.cpp \
src/qtsingleapplication/src/qtsingleapplication.cpp \
src/qtsingleapplication/src/qtsinglecoreapplication.cpp
win32 {
SOURCES += src/win/main.cpp
RC_FILE = cb2bib.rc
DEPEND += src/win
}
unix:!macx {
!disable_cbpoll {
HEADERS += src/clipboardPoll.h
SOURCES += src/clipboardPoll.cpp
DEFINES += C2B_USE_CBPOLL
}
INSTALLS += target script cb2bibdata icons desktop
target.path = /usr/bin
script.files += c2bscripts/c2bimport c2bscripts/c2bciter
script.path = /usr/bin
script.extra = chmod +x c2bscripts/c2bimport; chmod +x c2bscripts/c2bciter
desktop.files += c2bscripts/cb2bib.desktop c2bscripts/c2bciter.desktop c2bscripts/c2bimport.desktop
desktop.path = /usr/share/applications
icons.files += src/icons/cb2bib.png
icons.path = /usr/share/pixmaps
cb2bibdata.files += AUTHORS COPYRIGHT LICENSE CHANGELOG data c2btools te