-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Citation features #7
Comments
Awesome project, I'll be watching this with great interest. I built a propotype of an open scholarly workflow, based on BibTeX, Skim, Chrome and DokuWiki. The citekey is the key to the whole system, PDFs are renamed accordingly, wiki pages generated, and I can use them to cite papers like [@this] both in the wiki, in my WP blog (using a plugin), etc. (I also do the full citation on hover, etc stuff). I tried connecting my bibliography through config.py, and inserting a citation, but nothing seemed to happen. I guess it's supposed to appear below the preview pane? The ideal would definitively be to have it rendered immediately in the preview pane, as a full citation, with tooltips (not essential but nice), and possible rendering of source list either automatically at the bottom, or below #Sources. |
Thanks, I'm glad to hear you like it! With time (or if you'd like you could fork and pull-request) we will add a post-conversion hook to the PageDown editor/converter (like the ones that already exist in |
With the latest commit we changed our bibtex js library to javascript bibtex parser which allows to parse bibtex file using javascript in the client side. This will allow the implementation of features discussed above. |
I have been testing citations and they don't appear neither after loading bibliography nor after updating bibliography |
|
I've added new items in the citations menu to allow you to check which references are loaded into markx at any given time. See new commit 04737ad |
|
I don't understand, the new citation menu items work, that is you get a list of citations and a list of references in the uploaded library, but you don't get the alert and you don't get preview of citations? |
Yes that is exactly what happen and is the same in chromium The error in the console is: Fecha y hora: 23/02/13 22:25:44 |
OK I see now, you gave it a citation that doesn't have a URL and this exposed a bug. 👍 Good work! |
branch codemirror a93c32a Ok There is no error in the javaconsole but citations are not rendered like before. here is the bib file: https://gist.github.com/lsaravia/5024182 And now I can't generate the pandoc pdf Uncaught ReferenceError: codeMirrorEditor is not defined markx.js:232 |
TL;DR - I think both issues are fixed, check the latest commit. More details:
Commited to 33fb8a0. Also fixed the word count in a later commit, |
The discussion has evolved from feature ideas and requests to bug reports. Hopefully the bug reports are done and we can go back to feature ideas:
/cc @houshuang |
An example of how to format citations with citeproc-js is available here/ |
Currently the citation feature is the conversion of BibTeX citation keys - [@Drake1998] - in the text to a bibliography below the preview pane. This feature is activated by a Citations button.
Additional citations features:
The text was updated successfully, but these errors were encountered: