This file contains hidden or 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/env python | |
# Find the print space of a page, without margin notes | |
import sys,os,string,re | |
from lxml import html | |
import argparse | |
from PIL import Image, ImageDraw | |
def get_prop(node,name): |
This file contains hidden or 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 class="in-text" version="1.0" demote-non-dropping-particle="never" default-locale="de-CH" xmlns="http://purl.org/net/xbiblio/csl"> | |
<info> | |
<title>027.7 Zeitschrift für Bibliothekskultur</title> | |
<id>http://www.zotero.org/styles/0277-zeitschrift-fur-bibliothekskultur</id> | |
<link rel="self" href="http://www.zotero.org/styles/0277-zeitschrift-fur-bibliothekskultur"/> | |
<link href="http://www.zotero.org/styles/deutsche-sprache" rel="template"/> | |
<link xml:lang="de" href="http://0277.ch/ojs/index.php/cdrs_0277/about/submissions#authorGuidelines" rel="documentation"/> | |
<author> | |
<name>Philipp Zumstein</name> |
This file contains hidden or 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
{ | |
"translatorID": "951c027d-74ac-47d4-a107-9c3069ab7b48", | |
"label": "Embedded Metadata", | |
"creator": "Simon Kornblith and Avram Lyon", | |
"target": "", | |
"minVersion": "3.0.4", | |
"maxVersion": "", | |
"priority": 400, | |
"inRepository": true, | |
"translatorType": 4, |
This file contains hidden or 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
[ | |
{ | |
"system" : "DDC", | |
"notation" : "511.6", | |
"suggestions" : "SK 170", | |
"confidence" : 1 | |
}, | |
{ | |
"system" : "SW", | |
"notation" : "Kombinatorik", |
This file contains hidden or 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"?> | |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> | |
<ShortName>oaDOI</ShortName> | |
<Description>Alternative Open Access DOI Resolver</Description> | |
<Image width="64" height="64" type="image/png">http://oadoi.org/static/img/favicon.png</Image> | |
<Url type="text/html" method="GET" | |
xmlns:z="http://www.zotero.org/namespaces/openSearch#" | |
template="http://oadoi.org/{z:DOI}"/> | |
</OpenSearchDescription> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="search" type="application/x-openurl-opensearchdescription+xml" title="oaDOI Lookup" href="https://gist.githubusercontent.com/zuphilip/ad1264ba10aa79aee5a21daf9b72b574/raw/6e79b7f264e600bc5e2e37b799745379d371cbc4/oadoi.xml"> | |
</head> | |
<body> | |
Select "Add oaDOI" from the Locate menu to add the oaDOI lookup engine. | |
</body> | |
</html> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="search" type="application/x-openurl-opensearchdescription+xml" title="oaDOI Lookup" href="/zuphilip/ad1264ba10aa79aee5a21daf9b72b574/raw/6e79b7f264e600bc5e2e37b799745379d371cbc4/oadoi.xml"> | |
</head> | |
<body> | |
Select "Add oaDOI" from the Locate menu to add the oaDOI lookup engine. | |
</body> | |
</html> |
This file contains hidden or 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
for $style in db:open("csl-styles") | |
for $link in $style//*:link[@rel='template'] | |
return <statement>{data($style//*:info/*:id)} uses {data($link/@href)}</statement> |
This file contains hidden or 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
for $style in db:open("csl-styles") | |
group by $href := ($style//*:link[@rel="template"]/@href)[1] | |
order by -count($style) | |
return <link count="{ count($style) }" href="{ $href }"/> |
This file has been truncated, but you can view the full file.
This file contains hidden or 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"?> | |
<CitaviExchangeData Version="5.4.0.2" FilePath="C:\Users\zumstein\Desktop\citavi-projekt\citavi-projekt.ctv5" Changeset="170"> | |
<ProjectSettings> | |
<AutoSave>true</AutoSave> | |
<AttachmentsFolderPath></AttachmentsFolderPath> | |
<CacheId>7e60b160-8057-41b1-a8b2-5de485d35353</CacheId> | |
<ColorScheme>Yellow</ColorScheme> | |
<CustomFields> | |
<CustomFieldSettings> | |
<CompareType>Text</CompareType> |