How to upload "Epidémiologie et Santé Animale" style ?
I would like to upload a new style for “Epidemiologie et Santé Animale”. I have now a Zotero Trac account but I don’t understand how to go further despite reading some discussions in the forum. (I have never participated to an open source project before). Any help would be appreciated.
If you want to do it yourself (and it is kind of fun...) you probably want an SVN frontend. On Windows people use Tortoise SVN, about which Rintze has posted here:
http://forums.zotero.org/discussion/3808/wrong-german-citation-in-chicago-and-harvard-style/?Focus=16585#Comment_16585
On Ubuntu Linux I use Nautilus SVN, which works pretty much the same way and integrates nicely with Nautilus. I'm not sure what the Mac solution is, but I'm sure there is one.
On Mac and Linux SVN also works nicely of the command line if you're so inclined, you'll find plenty of tutorials online.
My daily achievement was to learn using gist.github.com. I will have fun with Tortoise another day…
The file url is git://gist.github.com/178557.git
Thanks for your help
give the link as
http://gist.github.com/178557
thanks for contributing. Two small glitches:
<category term="Veterinary medecine"/>
doesn't work - use
<category term="medicine">
instead.
also:
<key variable="date"/>
doesn't work - date is not a variable.
Use
<key variable="issued"/>
instead.
If you learn how to use
http://validator.nu/ and validate against
http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/tags/0.8/csl.rnc?revision=768&view=markup
that would help you prevent these mini-errors.
I've corrected them and uploaded your style.
http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/tags/0.8/csl.rnc
The link adamsmith provided links to a html page which the validator won't understand.
I tried to validate another style I’m working with on http://validator.nu/. This style is working well with word.
1. I pasted the style in “text field”
2. I pasted http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/tags/0.8/csl.rnc in “schemas”
3. I validated
4. I have the message “ IO Error: Non-XML Content-Type: text/plain.”
Why ?
1. Warning: Being lax about non-RNC Content-Type: text/plain
http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/tags/0.8/csl.rnc
2. Info: The Content-Type was text/html. Using the HTML parser.
3. Error: Saw <?. Probable cause: Attempt to use an XML processing instruction in HTML. (XML processing instructions are not supported in HTML.)
At line 1, column 2
<?xml v
4. Error: Saw <?. Probable cause: Attempt to use an XML processing instruction in HTML. (XML processing instructions are not supported in HTML.)
At line 2, column 2
ing="UTF-8"?>↩<?oxyge
5. Error: Start tag seen without seeing a doctype first. Expected e.g. <!DOCTYPE html>.
From line 2, column 124; to line 3, column 77
compact"?>↩↩ <
6. Error: Unknown element html not allowed.
From line 2, column 124; to line 3, column 77
compact"?>↩↩ <
7. Error: Bad value http://purl.org/net/xbiblio/csl for the attribute xmlns (only http://www.w3.org/1999/xhtml permitted here).
From line 2, column 124; to line 3, column 77
compact"?>↩↩ <
8. Warning: Attribute xmlns is not serializable as XML 1.0.
From line 2, column 124; to line 3, column 77
compact"?>↩↩ <
(sorry, I only use validator.nu rarely, so my instructions may not be super precise - if you're going to make a lot of style, you may want to consider using a live-validator such as emacs in nxml mode or Oxygen - I'm very happy with emacs)
http://www.zotero.org/support/dev/creating_citation_styles#xml_validation
I have fixed two little problems in my style and put it at http://gist.github.com/179214
Could someone upload it for me in the depository ?
uploaded the style.
oink.