Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified to meet requirements for Allergy journal #160

Closed

Conversation

brianvegas
Copy link

Set minimum et-al authors to 6. Modified reference style in text to parentheses. Added suffix "." to citation-number.

@brianvegas brianvegas closed this May 24, 2012
jeanguer added a commit to jeanguer/styles that referenced this pull request Nov 12, 2012
update :

change line 210 to 220 (type="webpage" macro="yearpage-ndbp")
change line 274 to 283 (type="webpage" macro="yearpage-bib")
change line 466 (adding of ",&citation-style-language#160;" to prefix)
nilano added a commit to nilano/styles that referenced this pull request Apr 17, 2015
…l.org/net/xbiblio/csl" class="in-text" default-locale="fr-FR" version="1.0" page-range-format="expanded">   <info>     <title>Nicolas Hémard, personal style (author-date, French)</title>     <title-short>NH</title-short>     <id>http://www.zotero.org/styles/nh</id>     <author>       <name>Nicolas Hémard</name>       <email>nicolas@hemard.eu</email>     </author>     <category citation-format="author-date"/>     <category field="social_science"/>     <category field="generic-base"/>     <updated>2015-04-09T00:39:49+00:00</updated>     <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>   </info>   <locale xml:lang="it">     <terms>       <term name="ordinal-01">o</term>       <term name="ordinal-02">o</term>       <term name="ordinal-03">o</term>       <term name="ordinal-04">o</term>       <term name="cited">op.&citation-style-language#160;cit.</term>       <term name="page" form="short">         <single>p.</single>         <multiple>pp.</multiple>       </term>       <term name="editor" form="short">         <single>dir.</single>         <multiple>dir.</multiple>       </term>       <term name="in">         <single>in</single>         <multiple>in</multiple>       </term>     </terms>   </locale>   <locale xml:lang="fr">     <terms>       <term name="ordinal-01">ère</term>       <term name="ordinal-02">e</term>       <term name="ordinal-03">e</term>       <term name="ordinal-04">e</term>       <term name="cited">op.&citation-style-language#160;cit.</term>       <term name="page" form="short">         <single>p.</single>         <multiple>p.</multiple>       </term>       <term name="editor" form="short">         <single>dir.</single>         <multiple>dirs.</multiple>       </term>       <term name="in">         <single>dans</single>         <multiple>dans</multiple>       </term>     </terms>   </locale>   <macro name="contrib-court">     <choose>       <if variable="author">         <names variable="author">           <name form="short" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal">           </name>         </names>       </if>       <else-if variable="editor">         <names variable="editor">           <name form="short" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal">           </name>           <label form="short" prefix="&citation-style-language#160;(" suffix=".)"/>         </names>       </else-if>     </choose>   </macro>   <macro name="author-bib">     <choose>       <if variable="author">         <names variable="author">           <name name-as-sort-order="all" form="long" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal">             <name-part name="family" font-variant="small-caps"/>           </name>         </names>       </if>       <else-if variable="editor">         <names variable="editor">           <name name-as-sort-order="all" form="long" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal">             <name-part name="family" font-variant="small-caps"/>           </name>           <label form="short" prefix="&citation-style-language#160;(" suffix=".)"/>         </names>       </else-if>     </choose>   </macro>   <macro name="editor">     <names variable="editor">       <name form="long" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal">       </name>       <label form="short" prefix="&citation-style-language#160;(" suffix=".)"/>     </names>   </macro>   <macro name="translator">     <names variable="translator">       <name form="long" and="text" delimiter-precedes-last="never" sort-separator=" " font-style="normal" prefix=" traduit par ">       </name>     </names>   </macro>   <macro name="title">     <choose>       <if type="bill book graphic legal_case motion_picture report song" match="any">         <text variable="title" text-case="capitalize-first" font-style="italic"/>       </if>       <else-if type="article-journal article-newspaper article-magazine" match="any">         <group delimiter=", ">           <text variable="title" text-case="capitalize-first" quotes="true"/>           <text variable="container-title" font-style="italic"/>         </group>       </else-if>       <else-if type="speech paper-conference" match="any">         <group delimiter=" ">           <text variable="title" text-case="capitalize-first" quotes="true"/>           <text term="in" form="short" />           <choose>             <if  variable="event">               <text variable="event" font-style="italic"/>             </if>             <else>               <text variable="container-title" font-style="italic"/>             </else>           </choose>         </group>       </else-if>       <else-if type="thesis" match="any">         <group delimiter=" ">           <text variable="title" text-case="capitalize-first" font-style="italic" suffix=","/>           <text variable="genre" suffix=", " prefix=" "/>           <text variable="publisher"/>         </group>       </else-if>       <else-if type="manuscript" match="any">         <group delimiter=",">           <text variable="title" text-case="capitalize-first" font-style="italic"/>           <text variable="genre" prefix=" [" suffix="]"/>         </group>       </else-if>       <else-if type="chapter entry-dictionary entry-encyclopedia" match="any">         <group delimiter=" ">           <text variable="title" text-case="capitalize-first" quotes="true"/>           <text term="in" form="short"/>           <text macro="editor" suffix=", "/>           <text variable="container-title" text-case="capitalize-first" font-style="italic"/>         </group>       </else-if>       <else-if type="webpage post-weblog" match="any">         <group delimiter=" ">           <text variable="title" text-case="capitalize-first" font-style="italic" suffix=", "/>           <text variable="URL"/>           <group prefix=" , ">             <date variable="issued">               <date-part name="day" suffix=" "/>               <date-part name="month" suffix=" "/>               <date-part name="year"/>             </date>           </group>         </group>       </else-if>       <else>         <text variable="title"/>       </else>     </choose>   </macro>   <macro name="short-title">     <choose>       <if type="bill book graphic legal_case motion_picture report song" match="any">         <text variable="short-title" text-case="capitalize-first" font-style="italic"/>       </if>       <else-if variable="container-title" match="any">         <group delimiter=" ">           <text variable="short-title" text-case="capitalize-first" quotes="true"/>           <text term="in" form="short"/>           <text variable="container-title" text-case="capitalize-first" font-style="italic"/>         </group>       </else-if>       <else-if type="speech paper-conference" match="any">         <group delimiter=" ">           <text variable="short-title" text-case="capitalize-first" quotes="true"/>           <text term="in" form="short" />           <text variable="event" font-style="italic" />         </group>       </else-if>       <else-if type="webpage post-weblog" match="any">         <group delimiter=" ">           <text variable="short-title" text-case="capitalize-first" font-style="italic" suffix=", "/>           <text variable="URL"/>           <group prefix=", ">             <date variable="issued">               <date-part name="day" suffix=" "/>               <date-part name="month" suffix=" "/>               <date-part name="year"/>             </date>           </group>         </group>       </else-if>       <else>         <text variable="short-title" font-style="italic" text-case="capitalize-fist"/>       </else>     </choose>   </macro>   <macro name="pub-place">     <choose>       <if type="bill book chapter entry-dictionary entry-encyclopedia thesis graphic legal_case manuscript motion_picture paper-conference report song" match="any">         <choose>           <if variable="publisher-place" match="any">             <text variable="publisher-place"/>           </if>           <else>             <text value="s.l."/>           </else>         </choose>       </if>     </choose>   </macro>   <macro name="publisher">     <choose>       <if type="bill book chapter entry-dictionary entry-encyclopedia graphic legal_case motion_picture paper-conference report song" match="any">         <text variable="publisher"/>       </if>     </choose>   </macro>   <macro name="year-short">     <date variable="issued">       <date-part name="year"/>     </date>   </macro>   <macro name="yearpage-bib">     <choose>       <if type="bill book graphic legal_case motion_picture paper-conference report song thesis" match="any">         <group delimiter=", ">           <group delimiter=", " font-style="normal">             <group>               <text term="volume" form="short" suffix="."/>               <text variable="number-of-volumes" prefix=". " suffix="/"/>               <text variable="volume"/>             </group>             <text variable="number-of-pages" suffix="&citation-style-language#160;p"/>           </group>           <group>             <label variable="locator" form="short"/>             <text variable="locator"/>           </group>         </group>       </if>       <else-if type="chapter entry-dictionary entry-encyclopedia" match="any">         <group delimiter=", " font-style="normal">           <group>             <text term="volume" form="short" suffix="."/>             <text variable="number-of-volumes" prefix=". " suffix="/"/>             <text variable="volume"/>           </group>           <group>             <label variable="page" form="short"/>             <text variable="page" prefix="&citation-style-language#160;"/>           </group>         </group>       </else-if>       <else-if type="article-journal chapter" match="any">         <group delimiter=" " font-style="normal">           <label variable="page" form="short"/>           <text variable="page"/>         </group>       </else-if>       <else-if type="article-newspaper article-magazine" match="any">         <group delimiter=" " font-style="normal">           <date variable="issued">             <date-part name="day" suffix=" "/>             <date-part name="month" form="short" suffix=" "/>             <date-part name="year"/>           </date>           <label variable="page" form="short"/>           <text variable="page"/>         </group>       </else-if>       <else-if type="manuscript">         <group delimiter="" font-style="normal">           <choose>             <if variable="issued">               <date variable="issued">                 <date-part name="day" suffix=" "/>                 <date-part name="month" suffix=" "/>                 <date-part name="year"/>               </date>             </if>             <else>               <text value="s. d."/>             </else>           </choose>         </group>       </else-if>       <else-if type="webpage post-weblog" match="any">         <group delimiter=" " font-style="normal">           <text value="consulté le" suffix=" " prefix=" "/>           <date variable="accessed" form="text">             <date-part name="day"/>             <date-part name="month"/>             <date-part name="year"/>           </date>         </group>       </else-if>       <else-if type="speech">         <date variable="accessed" delimiter=" ">           <date-part name="day" prefix="le "/>           <date-part name="month"/>           <date-part name="year"/>         </date>       </else-if>     </choose>   </macro>   <macro name="edition">     <choose>       <if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">         <choose>           <if is-numeric="edition">             <group delimiter=" ">               <number variable="edition" form="ordinal"/>               <text term="edition" form="short"/>             </group>           </if>           <else>             <text variable="edition" text-case="capitalize-first" suffix="."/>           </else>         </choose>       </if>       <else-if type="article-journal article-magazine" match="any">         <group delimiter="" font-style="normal">           <choose>             <if variable="issued">               <date variable="issued">                 <date-part name="day" suffix=" "/>                 <date-part name="month" suffix=" "/>                 <date-part name="year"/>               </date>               <text macro="volume" prefix=", "/>             </if>             <else>               <text macro="volume" text-case="capitalize-first"/>             </else>           </choose>         </group>       </else-if>     </choose>     <text macro="issue" prefix=", "/>   </macro>   <macro name="volume">     <choose>       <if is-numeric="volume">         <text term="volume" form="short" suffix=".&citation-style-language#160;"/>         <text variable="volume"/>       </if>       <else>         <text variable="volume"/>       </else>     </choose>   </macro>   <macro name="issue">     <choose>       <if is-numeric="issue">         <text term="issue" form="short" suffix="&citation-style-language#160;"/>         <text variable="issue"/>       </if>       <else>         <text variable="issue"/>       </else>     </choose>   </macro>   <macro name="collection">     <text variable="collection-title" quotes="true" prefix=" (coll.&citation-style-language#160;" suffix=")"/>   </macro>   <citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name">     <layout delimiter=", ">       <choose>         <if position="ibid-with-locator">           <group delimiter=", ">             <text term="ibid" text-case="capitalize-first" font-style="italic" suffix="."/>             <text variable="locator" prefix="p. "/>           </group>         </if>         <else-if position="ibid">           <text term="ibid" text-case="capitalize-first" font-style="italic"/>         </else-if>         <else>           <group delimiter=", ">             <text macro="author-bib"/>             <choose>               <if variable="short-title" match="any">                 <text macro="short-title"/>                     </if>               <else-if variable="title" match="any">                 <text macro="title"/>               </else-if>             </choose>             <text macro="year-short" />           </group>         </else>       </choose>     </layout>   </citation>   <bibliography>     <sort>       <key macro="author-bib" names-min="3" names-use-first="3"/>       <key variable="issued" sort="descending"/>     </sort>     <layout suffix=".">       <choose>         <if type="manuscript">           <group delimiter=", ">             <text macro="author-bib" />             <text macro="title"/>             <text macro="container-title"/>             <text macro="publisher-place"/>             <text macro="issued"/>           </group>         </if>         <else-if type="bill chapter article-journal article-newspaper interview book graphic legal_case motion_picture paper-conference report song thesis webpage post-weblog speech" match="any">           <group delimiter=", ">             <text macro="author-bib"/>             <text macro="title"/>             <text macro="translator"/>             <text macro="year-short"/>             <text macro="edition"/>             <text macro="pub-place"/>             <group delimiter=" ">               <text macro="publisher"/>               <text macro="collection"/>             </group>             <choose>               <if type="speech">                 <text variable="publisher-place" prefix="présenté à "/>                 <text macro="yearpage-bib"/>               </if>               <else>                 <text macro="yearpage-bib"/>               </else>             </choose>           </group>         </else-if>       </choose>     </layout>   </bibliography> </style>
@franklin66 franklin66 mentioned this pull request Mar 7, 2016
KwAntynn added a commit to KwAntynn/styles that referenced this pull request Nov 11, 2016
Corrected the unicode &citation-style-language#160; line 151
This was referenced Oct 22, 2019
@csl-bot csl-bot mentioned this pull request May 9, 2020
@github-actions github-actions bot mentioned this pull request Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant