Comments (3)
@AliaumeL it seems to work, I've added some instructions in the readme.
What commands should I try in order to be sure that everything works?
from akl.
Everything worked captain! My PDF viewer doesn't show the boxes but they are here, I can click on them and get the notification. Maybe there is a setting to show them, I'll take a look later.
from akl.
Ok, this is the time to write a minimal test suite ^^
The basic commands that should do something without failing are
# try to convert a pdf file explicitly
# this should write a pdf that can be viewed on the operating system
akl convert --uri "input.pdf" --output "output.pdf"
# test if an arxiv import (with automatic download) works
akl import --uri "https://arxiv.org/abs/2306.06420" --title "Test Title" --authors "Test" --authors "Test" --identifiers "arxiv:2306.06420" --identifiers "doi:10.48550/arXiv.2306.06420"
# Test if the pdf can be resolved afterwards using the various identifiers
# all of the commands below should output the same value
akl resolve --uri "doi:10.48550/arXiv.2306.06420"
akl resolve --uri "https://arxiv.org/abs/2306.06420"
akl resolve --uri "arxiv:2306.06420"
# See that you have only one pdf in the library
# this should output 1
akl find | wc -l
# Test if akl is able to successfully access the clipboard of the host system
# this should put the following string in the system clipboard and produce
# a notification
# "arXiv:2207.07614?page=17&dest=thm.1"
akl cite --uri "doi:10.48550/arXiv.2306.06420" --page "17" --dest "thm.1"
# Now test if akl is able to correctly call the pdf viewer
# of the given platform ...
akl open --uri "doi:10.48550/arXiv.2306.06420"
If some of the above fail, there already is a big problem ^^.
If they do not fail, the next step is to check if the pdf viewer correctly calls the akl
program. For that, it suffices to open a pdf using akl open --uri "doi:10.48550/arXiv.2306.06420"
and check that clicking on the blue boxes triggers notifications.
from akl.
Related Issues (15)
- Install process HOT 2
- Filename too large for OS HOT 1
- Interactive mode when opening links
- Portable web extension
- Better latex and bibtex integration
- Better integration to document edition HOT 2
- Create an index of the documents
- Interface with a modern pdf viewer
- Change the URL scheme for page and named destinations
- Remove automatic arxiv download HOT 1
- Zotero Importer
- Handle new kinds of documents
- Interactive import should abort if the file is empty
- Add an online/offline switch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akl.