sorry, I still feel like I'm missing the question - what produces the
outcome? Is that your implementation, citeproc.js or citeproc-node? (well -
I just see I'm not the only one, that makes me feel better).

There are obviously two periods and two spaces in the logic - one each in
the delimiter and in the initialization - but I'm pretty sure citeproc
deals with that elegantly.

On Thu, Sep 20, 2012 at 2:58 PM, Rönkkö Mikko <[email protected]> wrote:

>  The data are from zotero server using the read API and I am running it
> on my Mac. (XCode console to be exact.)
>
> Sent from my iPad
>
> On 20.9.2012, at 23.52, "Sebastian Karcher" <[email protected]>
> wrote:
>
>  where are you trying this out? In Zotero?
>
>
> On Thu, Sep 20, 2012 at 1:47 PM, Rönkkö Mikko <[email protected]>wrote:
>
>> Hi
>>
>>  I decided to develop a simple CSL processor to convert Zotero json
>> strings to APA citations. The code will be used in ZotPad and after the
>> processor works, I will publish the code as a separate project in gihub.
>>
>>  I am using json strings from Zotero server  as data and validating the
>> output against formatted citations from Zotero server. The citations are
>> formatted using the APA style from
>> https://github.com/citation-style-language/styles/blob/master/apa.cslusing 
>> the CSL 1.0.1 specification.
>>
>>  I am using the following bibliography item as my test data
>>
>>  Cadogan, J. W., & Lee, N. (Forthcoming). Improper Use of Endogenous
>> Formative Variables. <i>Journal of Business Research</i>.
>>
>>  There is one thing that I do not understand. In the APA style (lines
>> 429-434) there is a group
>>
>>          <group delimiter=". ">
>>           <text macro="author"/>
>>           <text macro="issued"/>
>>           <text macro="title" prefix=" "/>
>>           <text macro="container"/>
>>         </group>
>>
>>
>>  The macro "author" has a names element with initialize-with=". " and
>> the macro "issued" contains a group with prefix " (". Now to my
>> understanding, this means that
>>
>>  - The "author" macro will end with ". "    [Cadogan, J. W., & Lee, N.]
>> - The "issued" macro will start with " ("   [ (Forthcoming)]
>> - The macros are delimited with ". "
>>
>>  This results in a bibliographic item that starts by
>>
>>  Cadogan, J. W., & Lee, N..  (Forthcoming).
>>
>>  This is obviously not correct. There should not be a double period
>> followed by a double space, but I do not understand which part of the
>> formatting logic is incorrect.
>>
>>  Mikko
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://ad.doubleclick.net/clk;258768047;13503038;j?
>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>> _______________________________________________
>> xbiblio-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>>
>>
>
>
> --
> ------
> Sebastian Karcher
> Ph.D. Candidate
> Department of Political Science
> Northwestern University
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>
>  _______________________________________________
> xbiblio-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> xbiblio-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>
>


-- 
------
Sebastian Karcher
Ph.D. Candidate
Department of Political Science
Northwestern University
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
xbiblio-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

Reply via email to