This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only"> | |
<info> | |
<title>Harvard Reference Format with Abstract</title> | |
<id>http://www.mendeley.com/profiles/robert-knight/harvard-with-abstract</id> | |
<author> | |
<name>Julian Onions</name> | |
<email>julian.onions@gmail.com</email> | |
</author> | |
<category citation-format="author-date"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os | |
import subprocess | |
import sys | |
import platform | |
# Check if this is a 'generic Linux' build (which could be installed anywhere) | |
# or an Ubuntu/Debian build (installed to /usr/bin/mendeleydesktop | |
# with other files in /opt/mendeleydesktop) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os | |
import subprocess | |
import sys | |
import platform | |
# Check if this is a 'generic Linux' build (which could be installed anywhere) | |
# or an Ubuntu/Debian build (installed to /usr/bin/mendeleydesktop | |
# with other files in /opt/mendeleydesktop) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Search term parser from https://gist.github.com/1477730 | |
# Modified to allow periods (and other non-letter chars) in unquoted field values | |
# and field names. | |
# | |
# Helper class to help parse out more advanced saerch terms | |
# from a form query | |
# | |
# Note: all hash keys are downcased, so ID:10 == {'id' => 10} | |
# you can also access all keys with methods e.g.: terms.id = terms['id'] = 10 | |
# this doesn't work with query as thats reserved for the left-over pieces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only"> | |
<info> | |
<title>Sorted Harvard Reference Format</title> | |
<id>http://citationstyles.org/styles/harvard1-sorted</id> | |
<link href="http://citationstyles.org/styles/harvard1-sorted" rel="self"/> | |
<author> | |
<name>Julian Onions</name> | |
<email>julian.onions@gmail.com</email> | |
</author> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp | |
index 030e31b..0df81a4 100644 | |
--- a/src/gui/kernel/qwidget.cpp | |
+++ b/src/gui/kernel/qwidget.cpp | |
@@ -5490,7 +5490,12 @@ void QWidgetPrivate::drawWidget(QPaintDevice *pdev, const QRegion &rgn, const QP | |
Q_Q(QWidget); | |
#ifndef QT_NO_GRAPHICSEFFECT | |
- if (graphicsEffect && graphicsEffect->isEnabled()) { | |
+ bool useGraphicsEffect = graphicsEffect && graphicsEffect->isEnabled(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MacFSEventsWatcher.h | |
#pragma once | |
#include "libMendeleyExport.h" | |
#include <QtCore/QObject> | |
#include <QtCore/QStringList> | |
typedef struct __FSEventStream* FSEventStreamRef; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set mendeleyAppPath to POSIX path of (path to application "Mendeley Desktop") | |
set wordPluginHelperPath to mendeleyAppPath & "/Contents/MacOS/MendeleyWordPlugin.app/Contents/MacOS/MendeleyWordPlugin" | |
log wordPluginHelperPath | |
run application wordPluginHelperPath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "weblabel.h" | |
#include <QtWebKit/QWebFrame> | |
#include <QtWebKit/QWebSettings> | |
#include <QtGui/QPainter> | |
WebKitLabel::WebKitLabel(const QString& text, QWidget* parent) | |
: QFrame(parent) | |
, m_webPage(new QWebPage(this)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: ./Mendeley Desktop [options] | |
--account [email address] Changes the active Mendeley Web account to [email address] | |
--help Show this list. | |
--http Use http instead of https. | |
--identifiers-only Extract only identifiers (DOI/arXiv/PMID) during metadata extraction from PDFs | |
--ignore-ssl-errors Ignore SSL negotiation errors. | |
--log-to-stderr Output logging information to standard error. | |
--no-style Disable all custom styling. | |
--password [password or SHA-1 hash] Set the password to log in to Mendeley Web with. |
OlderNewer