public
anonymous / gist:2360506
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587
<?xml version="1.0" encoding="utf-8"?>
<!-- This style is based on the "Chicago Manual of Style (Author-Date format)" developed by Julian Onions and Sebastian Karcher -->
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" default-locale="fr" version="1.0" demote-non-dropping-particle="sort-only">
<info>
<title>AB_MA</title>
<id>***</id>
<link href="***" rel="self"/>
<author>
<name>***, based on Chicago style by Julian Onions</name>
<email>***</email>
<uri>***</uri>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<updated>2011-08-10T08:04:18+03:00</updated>
<summary>In progress</summary>
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/ </rights>
</info>
<locale xml:lang="fr">
<style-options punctuation-in-quote="false"/>
 
<!-- </locale> -->
<!-- <locale xml:lang="de"> -->
<!-- <terms> -->
<!-- <term name="anonymous" form="short">o.&#160;A.</term> -->
<!-- <term name="no date" form="short">o.&#160;J.</term> -->
<!-- <term name="collection-editor" form="short">Hrsg.</term> -->
<!-- </terms> -->
<!-- </locale> -->
 
 
<!-- useful things:
non breaking space: &#160;
narrow no break space: uni202F / &#8239; - but this is not supported widely!
em dash: &#8212;
-->
<!-- definition de la macro "date" qui sera reprise dans le "layout" - intext_date est la variable courte citee dans le texte -->
<macro name="intext_date">
<date variable="issued">
<date-part name="year"/>
</date>
</macro>
 
 
<macro name="date">
<date variable="issued">
 
<date-part name="year"/>
<date-part name="month" form="numeric" prefix="-" range-delimiter="/"/>
<date-part name="day" prefix="-" range-delimiter="/"/>
 
</date>
</macro>
<!-- definition de la macro "secondary-contributors" qui pourra etre reprise dans le "layout" -->
<macro name="secondary-contributors">
<!-- choisir entre differentes possibilites (sinon les options sont prises sequentiellement, ou comme un "assignment" -->
<choose>
<if type="chapter paper-conference" match="none">
<group delimiter=", ">
<choose>
<if variable="author">
<names variable="editor">
<label suffix=" " strip-periods="true"/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
<choose>
<if variable="author editor" match="any">
<names variable="translator">
<label suffix=" " strip-periods="true"/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
</group>
</if>
</choose>
</macro>
<!-- definition de la macro "container-contributors" qui pourra etre reprise dans le "layout" -->
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
<group prefix="," delimiter=", ">
<choose>
<if variable="author">
<names variable="editor">
<label form="verb-short" prefix=" " text-case="lowercase" suffix=". " strip-periods="true"/>
<name and="text" delimiter=", "/>
</names>
<choose>
<if variable="container-author">
<group>
<names variable="container-author">
<label form="verb-short" prefix=" " text-case="lowercase" suffix=" " strip-periods="true"/>
<name and="text" delimiter=", "/>
</names>
</group>
</if>
</choose>
</if>
</choose>
<choose>
<if variable="author editor" match="any">
<names variable="translator">
<label form="verb-short" prefix=" " text-case="lowercase" suffix=". " strip-periods="true"/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
</group>
</if>
</choose>
</macro>
<!-- definition de la macro "anon" qui permet de formater les publications anonymes avec nom d'auteur sous la forme "Anon." -->
<macro name="anon">
<choose>
<if variable="author editor translator contributor" match="none">
<text term="anonymous" form="short" suffix="." text-case="capitalize-first" strip-periods="true"/>
</if>
</choose>
</macro>
<!-- definition de la macro "editor" qui permet de formater les noms des editeurs (d'actes de colloque, par exemple) -->
<macro name="editor">
<names variable="editor">
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
<label form="short" prefix=", " suffix="." strip-periods="true"/>
</names>
</macro>
<!-- definition de la macro "translator" qui permet de formater les nom des traducteurs -->
<macro name="translator">
<names variable="translator">
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
<label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
</names>
</macro>
<macro name="contributor">
<names variable="contributor">
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
<label form="verb-short" prefix=", " suffix="." strip-periods="true"/>
</names>
</macro>
<!-- definition de la macro "recipient" qui permet de formater les nom des personnes a qui est adressee une lettre ou une communication personnelle-->
<macro name="recipient">
<choose>
<if type="personal_communication">
<choose>
<if variable="genre">
<text variable="genre" text-case="capitalize-first"/>
</if>
<else>
<text term="letter" text-case="capitalize-first"/>
</else>
</choose>
</if>
</choose>
<names variable="recipient" delimiter=", ">
<label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
<name and="text" delimiter=", "/>
</names>
</macro>
<macro name="editor-collection">
<names variable="collection-editor" delimiter=" ; ">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter=" ; "
delimiter-precedes-last="always" font-variant="small-caps"/>
<label form="short" prefix=" (" suffix=")"/>
<!-- needed: Label should appear as suffix to EVERY name...!-->
</names>
</macro>
<!-- definition de la macro "contributors" qui permet de formater les nom des contributeurs (par exemple pour une preface) a un livre ou autre document -->
 
<macro name="contributors">
<names variable="author">
<names variable="author">
<name and="text" name-as-sort-order="first" sort-separator=", " delimiter=", " delimiter-precedes-last="never">
<name-part name="family" font-variant="small-caps"/>
<name-part name="given" />
</name>
</names>
<name and="text" name-as-sort-order="first" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
 
<label form="verb-short" prefix=", " suffix="." text-case="lowercase" strip-periods="true"/>
<substitute>
<text macro="editor"/>
<text macro="translator"/>
 
</substitute>
</names>
<text macro="anon"/>
<text macro="recipient"/>
<text macro="contributor"/>
</macro>
<!-- definition de la macro "contributors-short" qui permet de formater les nom des contributeurs (variante "courte" - sans le "recipient" - de la precedente) -->
<macro name="contributors-short">
<names variable="author">
<name form="short" and="text" delimiter=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<names variable="contributor"/>
</substitute>
</names>
<text macro="anon"/>
</macro>
<!-- definition de la macro "interviewers" qui permet de formater les nom des intervieweurs -->
<macro name="interviewer">
<names variable="interviewer" delimiter=", ">
<label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
<name and="text" delimiter=", "/>
</names>
</macro>
<!-- definition de la macro "archive" qui permet de formater le nom et le lieu de l'archive qui contient le document, quand elle existe -->
<macro name="archive">
<group delimiter=". ">
<text variable="archive_location" text-case="capitalize-first"/>
<text variable="archive"/>
<text variable="archive-place"/>
</group>
</macro>
<!-- d finition de la macro "publication_date" qui permet de formater la date quand le lieu n'existe pas (par defaut) -->
<macro name="publication_date">
<group delimiter=". ">
<text variable="publisher-place" prefix=" ("/>
<text variable="year" suffix=")"/>
</group>
</macro>
<!-- definition de la macro "access" qui permet de formater le lieu et l'URL du document quand il sort des normes, ainsi que le DOI "The Digital Object Identifier (DOI ) System is for identifying content objects in the digital environment. DOI names are assigned to any entity for use on digital networks. They are used to provide current information, including where they (or information about them) can be found on the Internet. Information about a digital object may change over time, including where to find it, but its DOI name will not change", cf. http://www.doi.org/ -->
<macro name="access">
<group delimiter=". ">
<choose>
<if type="graphic report" match="any">
<text macro="archive"/>
</if>
<else-if type="bill book graphic legal_case motion_picture report song article-magazine article-newspaper thesis chapter paper-conference" match="none">
<text macro="archive"/>
</else-if>
</choose>
<!-- <text variable="DOI" prefix="doi&#160;:"/> -->
<text variable="DOI" prefix="doi:&#8239;"/>
<choose>
<if type="manuscript presentation webpage entry-encyclopedia" match="any">
<text variable="URL" prefix="url:&#8239;"/>
</if>
<else-if type="publisher-name" match="none">
<text variable="URL" prefix="url:&#8239;"/>
</else-if>
</choose>
</group>
</macro>
<macro name="title">
<choose>
<if variable="title" match="none">
<choose>
<if type="personal_communication" match="none">
<text variable="genre" text-case="capitalize-first"/>
</if>
</choose>
</if>
<!-- Titles in italics for books -->
<else-if type="bill book graphic legal_case motion_picture report song thesis audio-recording" match="any">
<text variable="title" font-style="italic"/>
</else-if>
<!-- titles between quotes for articles -->
<else-if type="article-journal article-magazine article-newspaper conference-paper" match="any">
<text variable="title" quotes="true"/>
</else-if>
<!-- titles between quotes for other publications-->
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<!-- grouping the number of the edition with the shortened name "ed." -->
<macro name="edition">
<choose>
<if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
<choose>
<!-- if the edition is a number, write "number_ed." -->
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="." strip-periods="true"/>
</group>
</if>
<!--else, write the string in "edition" with a "." as a suffix -->
<else>
<text term="edition" form="short" suffix=". " strip-periods="true"/>
<text variable="edition" suffix=""/>
 
</else>
</choose>
</if>
</choose>
</macro>
<macro name="locators">
<text variable="issue" prefix=" (" suffix=")"/>
<text variable="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true" prefix=" "/>
<text variable="number" form="short" text-case="capitalize-first" suffix=". " strip-periods="true" prefix=" "/>
<choose>
 
<if type="article-journal">
<text variable="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true" prefix=" "/>
<number variable="number" form="short" text-case="capitalize-first" suffix=". " strip-periods="true" prefix=" "/>
</if>
<else-if type="legal_case">
<text variable="volume" prefix=", "/>
<text variable="container-title" prefix=" "/>
<text variable="page" prefix=" "/>
</else-if>
<!-- integrating volume numbers in the form "volume(numeric)/volumes(numeric)" -->
<else-if type="bill book graphic legal_case motion_picture report song" match="any">
<group prefix=", ">
<group>
<text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
<number variable="volume" form="numeric" suffix="/"/>
</group>
<group>
<number variable="number-of-volumes" form="numeric"/>
<text term="volume" form="short" suffix=", " prefix=" " plural="true"/>
</group>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<choose>
<if variable="page" match="none">
<group prefix=", ">
<text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
<number variable="volume" form="numeric"/>
</group>
</if>
</choose>
</else-if>
</choose>
</macro>
<macro name="volume_locators">
 
<choose>
<if type="article-journal">
<number variable="number" form="short" text-case="capitalize-first" suffix=". " strip-periods="true" />
<text variable="volume" form="short" text-case="capitalize-first" font-style="italic" strip-periods="true" prefix="&#160;" />
 
</if>
<else-if type="legal_case">
<text variable="volume" prefix=", "/>
<text variable="container-title" prefix=" "/>
<text variable="page" prefix=" "/>
</else-if>
<!-- integrating volume numbers in the form "volume(numeric)/volumes(numeric)" -->
<else-if type="bill book graphic legal_case motion_picture report song entry-encyclopedia" match="any">
<group prefix=" ">
<group>
<!-- <text term="volume" form="short" suffix=". " strip-periods="true"/> -->
<number variable="volume" form="numeric" suffix="/" font-style="italic"/>
</group>
<group>
<number variable="number-of-volumes" form="numeric" font-style="italic"/>
<text term="volume" form="short" suffix=")" prefix=" (" plural="true"/> -->
</group>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<choose>
<if variable="page" match="none">
<group prefix=", ">
<text term="volume" form="short" text-case="capitalize-first" suffix=". " strip-periods="true"/>
<number variable="volume" form="numeric"/>
</group>
</if>
</choose>
</else-if>
</choose>
<text variable="issue" font-style="italic" prefix=" " suffix=""/>
</macro>
 
<macro name="locators-chapter">
<choose>
<if type="chapter paper-conference" match="any">
<choose>
<if variable="page">
<group prefix=", ">
<text variable="volume" suffix=","/>
</group>
</if>
</choose>
</if>
</choose>
</macro>
<macro name="locators-article">
<choose>
<if type="article-newspaper">
<group prefix=", " delimiter=", ">
<group>
<text variable="edition" suffix=" "/>
<text term="edition" prefix=" "/>
</group>
<group>
<text term="section" form="short" suffix=". " strip-periods="true"/>
<text variable="section"/>
</group>
</group>
</if>
<!-- <else-if type="article-journal">
<text variable="page" prefix=", "/>
</else-if> -->
</choose>
</macro>
<macro name="point-locators">
<choose>
<if variable="locator">
<choose>
<if locator="page" match="none">
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<choose>
<if variable="volume">
<group>
<text term="volume" form="short" text-case="lowercase" suffix=". " strip-periods="true"/>
<number variable="volume" prefix="v. " form="numeric"/>
<label variable="locator" form="short" prefix=", p.&#8239;" suffix=" "/>
</group>
</if>
<else>
<label variable="locator" form="short" prefix=", p.&#8239;" suffix=" "/>
</else>
</choose>
</if>
</choose>
</if>
<else-if type="bill book graphic legal_case motion_picture report song" match="any">
<number variable="volume" form="numeric" prefix="v. " suffix=", "/>
</else-if>
</choose>
<text variable="locator" prefix="p.&#8239;" />
</if>
</choose>
</macro>
<macro name="container-prefix">
<!-- neutralisation du "in" (proceedings, book, etc.) -->
<!-- <text term="in" text-case="capitalize-first"/> -->
</macro>
<macro name="container-title">
<choose>
<if type="chapter paper-conference" match="any">
<!-- <text macro="container-prefix" suffix=" "/> -->
</if>
</choose>
<choose>
<if type="legal_case" match="none">
<text variable="container-title" font-style="italic"/>
</if>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<text variable="publisher"/>
</group>
</macro>
<macro name="day-month">
<date variable="issued">
<date-part name="month"/>
<date-part name="day" prefix=" "/>
</date>
</macro>
<macro name="collection-title">
<text variable="collection-title" font-style="italic"/>
<text variable="collection-number" prefix=" "/>
</macro>
<macro name="event">
<group>
<text term="presented at" suffix=" "/>
<text variable="event"/>
</group>
</macro>
<macro name="description">
<choose>
<if type="interview">
<group delimiter=", ">
<text macro="interviewer"/>
<text variable="medium" text-case="capitalize-first"/>
</group>
</if>
<else>
<text variable="medium" text-case="capitalize-first" prefix=", "/>
</else>
</choose>
<choose>
<if variable="title" match="none"/>
<!-- <else-if type="thesis"/> -->
<else>
<text variable="genre" text-case="capitalize-first" prefix=", "/>
</else>
</choose>
</macro>
<macro name="issue">
<choose>
<if type="article-journal">
<text macro="day-month" prefix=" (" suffix=")"/>
</if>
<else-if type="legal_case">
<text variable="authority" prefix=", "/>
</else-if>
<else-if type="speech">
<group prefix=" " delimiter=", ">
<text macro="event"/>
<text macro="day-month"/>
<text variable="event-place"/>
</group>
</else-if>
<else-if type="article-newspaper article-magazine" match="any">
<text macro="day-month" prefix=", "/>
</else-if>
<else>
<group prefix=", " delimiter=", ">
<choose>
<if type="thesis">
<text variable="genre" text-case="capitalize-first"/>
</if>
</choose>
<text macro="publisher"/>
<text macro="day-month"/>
</group>
</else>
</choose>
</macro>
 
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
<sort>
<key macro="contributors"/>
<key variable="issued" sort="ascending"/>
</sort>
<layout prefix="[" suffix="]" delimiter="&#8239;; ">
<group delimiter=", ">
<group delimiter=", ">
<text macro="contributors-short"/>
<text macro="intext_date"/>
</group>
<text macro="point-locators"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="true" second-field-align="" et-al-min="5" et-al-use-first="3" entry-spacing="0">
<sort>
<key macro="contributors"/>
<key variable="issued" sort="ascending"/>
</sort>
<layout suffix=".">
<text macro="contributors" suffix=": "/>
<text macro="title"/>
<text variable="thesis"/>
<text macro="description"/>
<text macro="secondary-contributors" prefix=", "/>
<text macro="container-title" prefix=", "/>
<text macro="container-contributors"/>
<!-- <text macro="locators-chapter"/> -->
<text macro="edition" prefix=", "/>
<!-- <text macro="locators"/> -->
<text macro="collection-title" prefix=", "/>
<text macro="volume_locators"/>
<choose>
<if variable="volume_locators" match="none">
<text macro="publisher" prefix=", "/>
</if>
<else>
<text macro="publisher"/>
</else>
</choose>
<text macro="locators-article"/>
<choose>
<if variable="publisher-place" match="any">
<if variable="issued" match="any">
<text variable="publisher-place" prefix=" |" suffix=", "/>
<text macro="date" suffix="|"/>
</if>
<else>
<text variable="publisher-place" prefix=" |" suffix="|"/>
</else>
</if>
<else-if variable="publisher-place" match="none">
<text macro="date" prefix=" |" suffix="|"/>
</else-if>
</choose>
<text macro="access" prefix=" [" suffix="]"/>
<text variable="page" prefix=" p.&#8239;"/>
</layout>
</bibliography>
</style>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.