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
# The lines below go into: /usr/share/X11/xorg.conf.d/40-libinput.conf | |
# Last tested on Ubuntu 18.04 on 13.08.2018 | |
# | |
# Enable scroll wheel emulation for the Logitech Trackman Marble mouse. Holding | |
# the small right button will allow you to scroll both vertically and | |
# horizontally using the ball; for using the left small button use 8 for | |
# ScrollButton. | |
# Source: https://wiki.archlinux.org/index.php/Logitech_Marble_Mouse#Using_libinput | |
# This config also disables the browser back/forward functionality of the small buttons | |
# and is intended for left-hand users. |
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
# https://github.com/brechtm/citeproc-py | |
# https://github.com/citation-style-language/styles | |
from citeproc.py2compat import * | |
from citeproc import formatter, Citation, CitationItem, CitationStylesStyle, CitationStylesBibliography | |
from citeproc.source.json import CiteProcJSON | |
def get_citation(data, style): | |
bib_source = CiteProcJSON(data) |
OlderNewer