Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
dev:citation_styles:citeproc-node [2013/05/24 10:33] – mla.csl is now known as modern-language-association.csl pietschdev:citation_styles:citeproc-node [2017/11/12 19:53] – external edit 127.0.0.1
Line 1: Line 1:
 +<html><p id="zotero-5-update-warning" style="color: red; font-weight: bold">We’re
 +in the process of updating the documentation for
 +<a href="https://www.zotero.org/blog/zotero-5-0">Zotero 5.0</a>. Some documentation
 +may be outdated in the meantime. Thanks for your understanding.</p></html>
 +
 +
 ====== Setting up the standalone citeproc-node server ====== ====== Setting up the standalone citeproc-node server ======
  
Line 40: Line 46:
 is in your path, of course): is in your path, of course):
  
-<code bash>node citeServer.js+<code bash>node ./lib/citeServer.js
 ... ...
 Error: Unable to load shared library /blah/blah/contextify.node Error: Unable to load shared library /blah/blah/contextify.node
Line 55: Line 61:
 node-waf distclean &&  node-waf configure build</code> node-waf distclean &&  node-waf configure build</code>
  
-(If the command gives an error the first time, try it again.)+If the command gives an error the first time, try it again. 
 +If that does not help, try this while you are still in the contextify directory: 
 + 
 +<code bash> 
 +cd .. && rm -r contextify 
 +git clone https://github.com/brianmcd/contextify.git 
 +cd contextify && npm rebuild</code> 
  
 ----- -----
Line 63: Line 76:
 Return to the top of the citeproc-node directory and attempt to run the server (again assuming that the node binary is in your path): Return to the top of the citeproc-node directory and attempt to run the server (again assuming that the node binary is in your path):
  
-<code bash>node citeServer.js</code>+<code bash>node ./lib/citeServer.js</code>
  
 If all is well, you will see: If all is well, you will see:
dev/citation_styles/citeproc-node.txt · Last modified: 2017/11/27 04:21 by bwiernik