Not signed in (Sign In)
 

Quick Links

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    As noted on the dev list, I've added a very basic tool to the dev branch for editing CSLs with a live preview of selected Zotero items. Eventually this functionality should be added to Scaffold, but this is a quick way to test changes to CSL templates in the meantime for people who don't want to mess with SQLite.

    There's a drop-down menu at the top to load in an existing CSL from the database, an editing window, and a preview area. There's currently no way to save back to the database or add metadata like in Scaffold, but perhaps somebody will find it useful nonetheless.

    To use, load up chrome://zotero/content/tools/csledit.xul in the latest dev build. People not running a dev build can either install one or add the csledit.xul file to an official release by following the steps in Modifying Zotero Files. (Note: chrome://zotero/content/tools/csledit.xul would map to chrome/content/zotero/tools/csledit.xul).

    Feel free to improve upon it (or, better yet, help integrate it into a separate CSL mode in Scaffold).
    • CommentAuthorbdarcus
    • CommentTimeMay 10th 2007
     
    Thanks Dan.

    But as Rich K. mentioned in another thread, why not host this on your web site as a simple HTML + JS web page, instead of using client-side Mozilla stuff?

    It's simpler both from a programming and user standpoint (nothing to install), and also could be the start of what we really need longer term: a web-based style editor and repository.

    I ask because I'm a little worried about the long term vision reflected in your choice. In short, I do not think there should be a "CSL Mode." Zotero started client-side and then will go server/web-based. CSL really needs to do the reverse.
    • CommentAuthorbdarcus
    • CommentTimeMay 18th 2007
     
    Dan, on this:

    To use, load up chrome://zotero/content/tools/csledit.xul in the latest dev build.


    So clicking on the link should load it? I'm not having success.
  2.  
    Apparently Firefox changes chrome:// links to http:// links on unprivileged pages for security reasons. Just copy and paste the link into the URL bar.
    • CommentAuthorbdarcus
    • CommentTimeMay 18th 2007
     
    OK that works; thanks.

    For the record, adding the ability to save to the database and also to validate the CSL against the schema would be really useful next steps.

    Also we need a way to ensure good URIs for new styles. If we figure out a good way to get the distributed repository idea running, I'd be fine with a repository running at zotero.org; where users uploaded them there by default.
    • CommentAuthorserranoabq
    • CommentTimeMay 25th 2007
     
    Hi. I'm new to Zotero and this online preview is a great tool for creating the right bibliography format. However, I'm still struggling with creating the right citation style. Is there a way to add a citation style preview to the same tool?
    • CommentAuthorbdarcus
    • CommentTimeMay 30th 2007
     
    I'm still struggling with creating the right citation style. Is there a way to add a citation style preview to the same tool?


    Definitely really important to add!

    Of course, it becomes a little awkward from a UI perspective to extend the current approach. What would be the citation, after all? Just the first item selected? Or if there are more than one, the first two or three?
    • CommentAuthorserranoabq
    • CommentTimeMay 31st 2007
     
    I was thinking about both: showing a single one and a multiple one would look. The multiple ones could be of just the first two. So the output would have
    - Single citation
    - Multiple citations
    - Bibliography

    Just so you know I'm coming at this from the point of view of numbered citations ("number" class in CSL) where there is the possibility of collapsing the citation numbers (e.g.: [1][2][3] would collapse to [1-3]). Of course, all of this is assuming Zotero properly implements all the features in CSL.

    Justin
  3.  
    In the latest dev build, csledit.xul will display single and multiple citations above the bibliography.
    • CommentAuthoriuri
    • CommentTimeJul 23rd 2007
     
    I have installed the dev build and opened the csledit successfully. However, I am not being able to see the preview of the selected citation on any style. I see three panes: the CSL code (top), an empty pane (middle), and the zotero interface, with the reference selected. I have tried a book and an article without success.

Zotero Forums are powered by Vanilla 1.1.5a