cormacrelf / citeprocrskit Goto Github PK
View Code? Open in Web Editor NEWSwift bindings for zotero/citeproc-rs
Home Page: https://citeprocrskit.cormacrelf.net/documentation/CiteprocRsKit
Swift bindings for zotero/citeproc-rs
Home Page: https://citeprocrskit.cormacrelf.net/documentation/CiteprocRsKit
SwiftPM unzip failing with "error 1". There is a workaround that works for Package.swift projects but not Xcode's swift packages UI, which doesn't have a Packqge.swift.
I think I might have to generate the zip file slightly differently. Probably something to do with symbolic links within the frameworks, maybe a simple -l flag. I cannot find any documentation on this anywhere and other people's solutions (some Google library on GitHub) appear to be flaky.
Two things:
At the moment, the binaries only work with Swift 5.4.2, specifically the one that comes with Xcode 12.5.1 (current stable Xcode):
Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
This is fine, as long as you use Xcode 12.5.1.
But if you attempt to link them with Swift code in the Xcode 13 beta, it errors out with:
... error: failed to build module 'CiteprocRsKit'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)', while this compiler is 'Apple Swift version 5.5 (swiftlang-1300.0.29.102 clang-1300.0.28.1)'). Please select a toolchain which matches the SDK.
The current formatBibliography() lacks control. It writes a string out with newlines separating each entry. I don't think that's enough -- wrapping each in a div or the RTF equivalent would be a start. zotero/citeproc-rs#90
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.