[librecat-dev] fixes in layer

Jonathan NORRIS jnorris at ist.ac.at
Fri Jul 27 10:42:26 CEST 2018


Hello,

I am trying to add some new fields to the csl styles of citeproc. But 
first I believe I have to add the new fields to the to_csl.fix file in 
'fixes/to_csl.fix'.

So far I haven't been able to get any changes in my to_csl fix to 
reflect in the output. To test I am just returning the csl_json 
(https://github.com/LibreCat/LibreCat/blob/master/lib/LibreCat/Citation.pm#L119) 
in the live citation route to see what it looks like.

No changes that I make to my fix file are reflected in the output, and I 
can even completely remove the code from the fix file and it makes no 
difference. Is it possible to have fix files in a layer? And am I 
correct in thinking that the to_csl.fix file is used to convert a 
publication to the JSON that is sent to the citeproc server?


Thanks

Jonathan

IST Austria



More information about the librecat-dev mailing list