Not signed in (Sign In)
Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
-
- CommentAuthorlemaxx
- CommentTimeApr 18th 2008 edited
Hello
i've starded a style generator yesterday. It's not yet finish but it works. I think i could make a first version for next week.
In the end it won't made a perfect style because it will be only possible cite one element:
article or book or chapter etc...
EDIT: change url to new version
if you want test and comment you can found it there
excuse my english -
- CommentAuthorbdarcus
- CommentTimeApr 19th 2008
Cool.
You might look on the dev list for some upcoming discussions on this issue. -
- CommentAuthorlemaxx
- CommentTimeApr 23rd 2008 edited
Hi
Ok i'll look.
EDIT: link to the new version
I've update the page
-numbered citation works
-authors like citation works but all options are not yet avaible
I hope there is not a lot of error -
- CommentAuthoradam.smith
- CommentTimeApr 26th 2008
thanks a lot - progress on this is really much appreciated.
I may work this wrong, but at first try one pretty essential thing is not working yet: I can only have one font style for "title" for example - but, of course, I usually want titles for journal articles (and similar things) in quotation marks, while I'd want titles of monographies in Italics. Generally, a lot of the stuff done by macros in the styles isn't working, so that the different nature of each format can't be taken into account.
There may be more things, but that's the first I noted.
If you want to work on usability, maybe you could try to combine this with the
chrome://zotero/content/tools/csledit.xul
test pane, so that whenever you click generate it automatically shows you citations of a selected Zotero reference?
Once again, thanks for trying to tackle this! -
- CommentAuthorlemaxx
- CommentTimeApr 26th 2008
Hi
Thanks for your comment.
You are right this version don't use macro and it's the first problem. I've made it to better understand the work to do and have a quickly working script.
To use macro and have multiple style i must change all the presentation: there so mutch options!
I'm currently working in a new version witch 'll able to use macro.
Using zotero test panel is a good idea but i can't work on it now .
I hope having a style auto installation too. -
- CommentAuthorbdarcus
- CommentTimeApr 26th 2008 edited
If you want to work on usability, maybe you could try to combine this with the chrome://zotero/content/tools/csledit.xul
test pane, so that whenever you click generate it automatically shows you citations of a selected Zotero reference?
I think this is the wrong direction. This needs to be a web application, so previewing needs to happen independent of Zotero.
Also, Jon (who posted a note on the dev list) is working on designing a web interface and will post examples soon.
My design ideas are quite different than lemaxx's. In my approach, you'd drive the design using (required) metadata and a rich collection of macros. It's too complicated to force users to do all this low-level stuff. -
- CommentAuthorfgibbs
- CommentTimeMay 30th 2008
I think this is the wrong direction. This needs to be a web application, so previewing needs to happen independent of Zotero.
I presume (please correct if wrong!) this is because you're thinking here of creating generic CSL files, which are of course independent of Zotero. I do think there is real value in that as far as promoting citation standards. But I'm wondering if it wouldn't be easier and in some ways nicer to have a Citation Style Editor as part of Zotero (or at least that closely integrates with it) that can create and modify CSLs with attention to how Zotero manages bibliographic data, as what we (or any reference manager) can spit out is only as good as how it's schematized in the first place. I'm particularly interested in the case of how users handle exceptions to the generic formatting rules that CSL provides. Is it a good idea to allow them to edit their local CSL files (and perhaps share them if generally useful) to handle cases that a base CSL file had wrong or did not accommodate--while using their own bibliographic data as test cases?
Apologies if my post exudes undue ignorance--i'm still trying to get my head around some of these fascinating issues. -
- CommentAuthorDan Stillman
- CommentTimeMay 30th 2008
I presume (please correct if wrong!) this is because you're thinking here of creating generic CSL files, which are of course independent of Zotero
The whole point of CSL is that the styles are "generic" and will render the same in any client that supports the standard. If there are things that CSL can't currently support, they should be discussed on the XBib list.Is it a good idea to allow them to edit their local CSL files (and perhaps share them if generally useful) to handle cases that a base CSL file had wrong or did not accommodate--while using their own bibliographic data as test cases?
If the base CSLs are deficient, they should be improved, not forked. SVN commit access to the CSL directory is open to anyone with a Trac account.
I think the key here is to develop a comprehensive test library that covers a wide range of edge cases so that it's possible to see at a glance what's supported and what needs to be fixed.
Unit testing would also be helpful here. If the correct output of a particular reference for a particular style is known, the repository should verify the output when changes to the CSL are committed and flag errors on the preview page. -
- CommentAuthorlemaxx
- CommentTimeJun 2nd 2008
A new version available here you can now manage exceptions for you bibliography -
- CommentAuthorDumbPoet
- CommentTimeJun 2nd 2008
Is there any chance that you could add ISBN # as one of the fields to be generated? -
- CommentAuthorlemaxx
- CommentTimeJun 3rd 2008
Yes i'll try test that asap -
- CommentAuthorbdarcus
- CommentTimeJun 3rd 2008
It *might* be worth considering folding ISBN into a more generic "identifier" macro call (that would also configure DOIs amd such)? -
- CommentAuthorJon Rubin
- CommentTimeJun 3rd 2008
I'm most likely missing something obvious here as I've only played around with the new version a bit but how do you get it to put an "and" or "&" between two authors in a simple author-date citation e.g. (Adorno and Horkheimer 1997) all I can get it to do at the mo. is (Adorno Horkheimer 1997).
Thanks for all your work. -
- CommentAuthorbdarcus
- CommentTimeJun 3rd 2008
@jon: look for the "author settings" pane and select from the "And" pop-up.
Max: the UI needs to provide a little help on some of the more obscure options here.
Also, somehow it needs to make clear that these rules are not just for authors, but also for other contributors. In some of the styles we've done more recently, we have a separate "name" (or "names"; I forget) macro to do this. -
- CommentAuthorJon Rubin
- CommentTimeJun 3rd 2008
bdarcus, sorry , should have been clearer that I was after altering the way the intext citation works, rather than the bibliography. Your suggestion gives me an "and" or "&" in the bibliography, but not the intext citation, which is what I was after. -
- CommentAuthorbdarcus
- CommentTimeJun 3rd 2008
oops; yeah, doesn't seem possible. Really need a consistent interface logic between the citation and the bibliography section. This will become particularly apparent when dealing with note styles that don't have bibliographies. -
- CommentAuthorasplundj
- CommentTimeJun 6th 2008
It would nice to be able to change an already made style. Say I want to add an exception later on cause I figured out that I had "Book chapter" in my reference list and I didn't include an exception for that when I made the style.
This is just hypothetically -
- CommentAuthorbdarcus
- CommentTimeJun 6th 2008
Changing an already-made style would be much more difficult to program. However, one variant that is easier is to be able to create styles based on a pre-set group of existing styles. E.g., have a few core styles with pre-determined defaults, and to select those. -
- CommentAuthorasplundj
- CommentTimeJun 7th 2008
Is it possible to sorting order of in-text citations.
I want to decide if it should sort by author or by year (ascending/descending)
Johan -
- CommentAuthorasplundj
- CommentTimeJun 7th 2008 edited
I really like this style generator but I do have some troubles
I'm having trouble setting & as "Delimiter between authors". When I do that I get
XML Parsing Error: not well-formed
Location: file:///D:/test-7-06-06-07-08.csl
Line Number 81, Column 21:
--------------------^
when trying to add the file
Furthermore, I wonder how to get the Initial after the Last name instead in front of in the bibliography
I can only get J Asplund and not Asplund, J
I am also having trouble with the et al in citation. I've set it to minimum 3 author but it doesn't work no matter how many authors I have per reference. If this would work where do I change et al to italics?
I can't seem to get Collapse: Year-suffix to work -
- CommentAuthorbdarcus
- CommentTimeJun 7th 2008 edited
I'm having trouble setting & as "Delimiter between authors". When I do that I get
XML Parsing Error: not well-formed
Location: file:///D:/test-7-06-06-07-08.csl
Line Number 81, Column 21:
--------------------^
Two problems here. First, you're not using the right field for this; you should use the "and" pop-up select.
Second, Max needs to deal with creating and validating the CSL files using proper XML libraries. The character "&" is invalid XML, and needs to be escaped. XML libraries will do this automatically.Furthermore, I wonder how to get the Initial after the Last name instead in front of in the bibliography
I can only get J Asplund and not Asplund, J
In CSL, initialization is independent of name order. This appear configurable in the bib section under "authors settings"). As I say above, this all needs to be generalized so that it can be configured also in the citation.I am also having trouble with the et al in citation. I've set it to minimum 3 author but it doesn't work no matter how many authors I have per reference. If this would work where do I change et al to italics?
You need both the first two options in that section (including the "use ..." and "minimum ..."). -
- CommentAuthorasplundj
- CommentTimeJun 7th 2008
There's no "and" pop-up selection for in-text citation only for bibliography
Where in the "authors settings" can I find settings for putting initial after last name?
et al...
Do you mean that I need to set both
"Minimum authors to activate et-al in citation" and "How many authors include before et-al in citation" That's what I did and it didn't work I set the latter to 1 -
- CommentAuthorlemaxx
- CommentTimeJun 7th 2008
Hello thanks for all your feedback. I apologize i am very busy this week so i have hold development.
I test to add "and" in citation, i make a "how to" but it take a while.
"Second, Max needs to deal with creating and validating the CSL files using proper XML"
Yes i work on it , for next version.
Asplundj : To activate "et al" you need set the two fields. If it don't work there is a problem i will search -
- CommentAuthorasplundj
- CommentTimeJun 8th 2008
As I said I set the two fields and it didn't work
Thanks
Johan -
- CommentAuthorasplundj
- CommentTimeJun 10th 2008 edited
I find what's wrong with the et al thing now
it only adds
option name="et-al-subsequent-min" value="3"/>
option name="et-al-subsequent-use-first" value="1"/>
not
option name="et-al-min" value="3"/>
option name="et-al-use-first" value="1"/>
meaning that it will not work on the first citation but only subsequent of the same author. -
- CommentAuthorlemaxx
- CommentTimeJun 14th 2008
Yes you are right
zotero use "et-al" in citation if they are configure in citation and in bibliography options
Sorry i am not yet ready to add help in the generator -
- CommentAuthorasplundj
- CommentTimeJun 15th 2008
But if you want different et-al options in citation and bibliography?
as it is now citation-options are added if I add options for bibliography these are hardly ever the same
Johan -
- CommentAuthorlemaxx
- CommentTimeJun 16th 2008
yes there is a problem, et-al in citation work like in bibliography but i don't know why.
I'll work on it -
- CommentAuthoringino
- CommentTimeJun 18th 2008
big step forward with this approach. However it would be nice to somehow integrate a wysiwg-line. Maybe via a basic dummy reference where after selecting the style parameters you get the style entry before confirming for creation? -
- CommentAuthorlemaxx
- CommentTimeJun 20th 2008
Ingino it could be an option.
Johan i think i understand the problem:
to manage et al in citation you must have this in citation part:
<option name="et-al-min" value="6"/>
<option name="et-al-use-first" value="4"/>
<option name="et-al-subsequent-min" value="3"/>
<option name="et-al-subsequent-use-first" value="4"/>
and this in bibliography part:
<option name="et-al-min" value="6"/>
<option name="et-al-use-first" value="4"/>
but now if you want only 1 author in citation and 4 in bibliography you don't change the bibliograpy part but the citation you must have:
<option name="et-al-min" value="6"/>
<option name="et-al-use-first" value="1"/>
<option name="et-al-subsequent-min" value="3"/>
<option name="et-al-subsequent-use-first" value="1"/>
I think the problem is my script don't change the et-al-use-first value in citation but keep the bibliography value.
If someone could confirm i 'll change that -
- CommentAuthorbdarcus
- CommentTimeJun 20th 2008
Yes, that's correct. There are essentially two independent contexts (citation and bibliography) and two different conditions (first and subsequent) in which et-al can be configured. -
- CommentAuthorasplundj
- CommentTimeJun 21st 2008
Thanks lemaxx I know what it should look like in the CSL I just want to be able to manage it in the style generator.
Johan -
- CommentAuthorlemaxx
- CommentTimeJun 21st 2008
it's ok the script update
so if you want manage number of authors in citation you must:
-in citation part
* set the "Minimum authors to activate et-al in citation"
witch active et al
* set the "How many authors include before et-al in citation" witch determine how many authors must appear in citation
-in bibliography you set
* Minimum authors to activate et-al
* How many authors include before et-a to set how many authors in bibliography
but the bibliography part must be set to activate the citation part -
- CommentAuthord.pa
- CommentTimeJun 21st 2008
thank you very much for writing this great generator. i was looking for this a long time!
getting the csl into zotero worked fine for me, but unfortunately, my bibliography at the end of a document does not show up in alphabetical order, but rather in random one (or some way of sorting I don't know).
I'm not sure whether this is a problem with the generator, but other citation styles do work.
can anyone help? -
- CommentAuthorakinto
- CommentTimeJun 22nd 2008
I just spent an hour working on a style I needed. Thanks so much for doing this.
1. I use articles, web sites, books, book chapters, blog posts, etc. Can you make it so that I can write a really long one?
2. I need a field for book title in addition to chapter title. Zotero has gazillions of fields. Can you write code that will allow me to pick up any that I need?
3.The citation style I was using is different for periodicals in which every issue starts with page 1 and those for which every volume starts with page 1. So I think there are more levels of exceptions to deal with. Is that too big a challenge?
Thanks so much! -
- CommentAuthorbdarcus
- CommentTimeJun 22nd 2008 edited
1. I use articles, web sites, books, book chapters, blog posts, etc. Can you make it so that I can write a really long one?
This isn't at all clear.2. I need a field for book title in addition to chapter title. Zotero has gazillions of fields. Can you write code that will allow me to pick up any that I need?
CSL has a different -- more generic -- model than Zotero. There's no such field as "chapter title" or "book title." I think you need to learn more about CSL before you ask for detailed features like these. Perhaps there's a way for the editing UI to help there; not sure.3.The citation style I was using is different for periodicals in which every issue starts with page 1 and those for which every volume starts with page 1. So I think there are more levels of exceptions to deal with. Is that too big a challenge?
Yes. How is software to know how a journal is paginated? -
- CommentAuthorasplundj
- CommentTimeJun 22nd 2008
lemaxx yes but what I want in the generator is a way to set different values for the citation part and the bibliography part
Johan -
- CommentAuthorGreg
- CommentTimeJun 22nd 2008
The new version is really great work!!
Their are, however, a couple of things which would make the tool much easier:
1) A preview of the item in the bibliography would be amazing!
2) An way to avoid that one has to enter everything again for an exception. Usually it is the case that the author and year are displayed in the same way regardless whether it is an article or a book. So the general style could be used to a reference for exceptions.
(An easier way to navigate between the exceptions would also be very useful, e.g. tabs).
3) The possibility to display existing styles in the style generate.
Best -
- CommentAuthorlemaxx
- CommentTimeJun 25th 2008
Asplundj you can: (i hope i understand that you need)
for example in citation you want 1 author and in bibliography you want 3
in the citation part of the generator you configure et-al citation with:
Minimum authors to activate et-al in citation :2 (for example in this case you want only 1 author)
How many authors include before et-al in citation: 1
in the bibliography part of the generator you configure et-al with:
Minimum authors to activate et-al :4 (for example)
How many authors include before et-al : 3
I hope i'm clear.
Greg
The preview is now too complex and need a lot of time.
For the exception i'm agree and i work on it.
For the existing styles in first step the user will have in next version to choose between 6 generic models -
- CommentAuthorasplundj
- CommentTimeJun 25th 2008 edited
Well that doesn't work for me
When I put 3 / 1 in the citation part 15 / 15 in the bibliography part I get the following
citation>
option name="et-al-min" value="15"/>
option name="et-al-use-first" value="1"/>
option name="et-al-subsequent-min" value="3"/>
option name="et-al-subsequent-use-first" value="1"/>
bibliography>
option name="et-al-min" value="15"/>
option name="et-al-use-first" value="15"/>
But I want:
option name="et-al-min" value="3"/>
option name="et-al-use-first" value="1"/>
option name="et-al-subsequent-min" value="3"/>
option name="et-al-subsequent-use-first" value="1"/> -
- CommentAuthorlemaxx
- CommentTimeJun 25th 2008
Yes it's normal and the style will work fine
if you look for example the "American Political Science Association" style the option name="et-al-min" value is like the style generator.
When you use the generator does the style made is working? -
- CommentAuthorDumbPoet
- CommentTimeJun 25th 2008
Hello, I was wondering if you ever tried to insert the ISBN as a value?
Thanks for all your work on this. -
- CommentAuthorJ2008
- CommentTimeJun 25th 2008 edited
@lemaxx
thanks for this great tool.
It took me a while finding it (the link on the zotero page still takes you to the previous version). I have spend some hours now trying to get the style I need (Journal of Consumer Research).
I have encountered the following problems:
1. the delimeter between author and date: apparently, you cannot insert a space in here. The result is that author and date look like this: author2008.
2. In the bibliography, I have a similar problem to the above: the first author needs to be put in the form (last name, first name), the space after the "," however does not appear. The same happens for a list of authors. I am not sure if I have overseen something here since nobody else seems to have encountered the same problem.
3. In the page numbering, I need to skip the first numbers if they are the same: not 124-127, but 124-7. How can I do this if possible?
4. The Journal of Consumer Research requires authors to use the et-al function not with the first time a group of authors is mentioned but starting with the second time. Is there any way to configure this in the code?
5. The generator seems to support only up to two exceptions: e.g. books and websites. Is it possible to enter more than two?
Thanks a lot in advance for any help or solution that anyone might be able to provide for these problems. -
- CommentAuthorasplundj
- CommentTimeJun 25th 2008 edited
Sorry for bothering you so much. "American Political Science Association" is not what I'm looking for in this one the citation-options is the same as the bibliography-options and that is not what I'm looking for. I want different values for citation and bibliography
see the csl for journal of evolutionary biology or American Sociological Association
Johan -
- CommentAuthorlemaxx
- CommentTimeJun 27th 2008
For ISBN value i've test it and it work but i must take time to modify the script so ASAP
J2008
for the delimiter could you give me the name of your style on the generator and if possible the date ?. I want analyses it before
For the page numbering i don't now if it's possible with csl but the generator don(t do that
Yes in this version only 2 exceptions . I'll change a lot of things in the future (only few in UI) but for this version it's too much work adding more exception sorry. You can add them manually look in zotero documentation.
asplundj
I'm sorry i don't understand with the last update you can manage different value for citation and bibliography.
In my tests when "option name="et-al-min" " is the same for both there is no problems to have for example 1 author in citation and 6 in bibliography. -
- CommentAuthorbdarcus
- CommentTimeJun 27th 2008
On ISBNs, as I've mentioned before, think in terms of generic macros like "identifier" and have those specific there (along with DOIs, etc.). -
- CommentAuthorasplundj
- CommentTimeJun 27th 2008
Is v1.0 the latest update? cause I can still not manage to get "et-al-min" right.
I would be happy if you could make a csl where you in "citation options" set
Minimum authors to activate et-al in citation: 3
How many authors include before et-al in citation: 1
and in the bibliography part set
Minimum authors to activate et-al: 15
How many authors include before et-al:15
What do you get then?
for me subsequent citations gets the right configuration but first citation get "et-al-min" from the bibliography setting and "et-al-use-first" from the citation setting -
- CommentAuthorJ2008
- CommentTimeJul 3rd 2008
@lemaxx
Thanks for the quick reply. The name of my style is: JCR-7-53-06-25-08.csl
the date should be 26 June.
I will have a look into the Zotero documentation for information about adding more than 2 exceptions as you suggested.
Many thanks! -
- CommentAuthoremmzot
- CommentTimeAug 14th 2008
****************************************************************************************************
* Jon Rubin
* CommentTimeJun 3rd 2008
I'm most likely missing something obvious here as I've only played around with the new version a bit but how do you get it to put an "and" or "&" between two authors in a simple author-date citation e.g. (Adorno and Horkheimer 1997) all I can get it to do at the mo. is (Adorno Horkheimer 1997).
*****************************************************************************************************
I was wondering whether there was a solution to the problem asked by Jon Rubin on the post Jun 3rd 2008? I have the same issue and I cannot seem to have found an answer. How do you place the "&" between two authors in the in-text citation? At the moment my style show (Author1 Author2, 2008) instead of (Author1 & Author2, 2008)
Thanks for your help.
1 to 49 of 49
