Debian Codegraph @

texmf-dist/bibtex/bst/cjs-rcs-article/cjs-rcs-fr.bst

raw
1 %%
2 %% This is file `cjs-rcs-fr.bst',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% cjs-rcs-merlin.mbs (with options: `head,exlang,ay,nat,lang,vonx,nm-rev1,jnrlst,keyxyr,blkyear,dt-beg,yr-per,note-yr,tit-qq,qt-g,qx,trtit-b,vnum-nr,volp-com,pgsep-s,jwdpg,jwdvol,num-xser,numser,ser-vol,ser-ed,pg-bk,pre-pub,pre-edn,isbn,url-doi,edparxc,edby,blk-com,blknt,french,pp,ed,abr,ord,and-xcom,etal-xc,url,url-blk,nfss,,{}')
8 %% cjs-rcs-french.mbs (with options: `exlang,ay,nat,lang,vonx,nm-rev1,jnrlst,keyxyr,blkyear,dt-beg,yr-per,note-yr,tit-qq,qt-g,qx,trtit-b,vnum-nr,volp-com,pgsep-s,jwdpg,jwdvol,num-xser,numser,ser-vol,ser-ed,pg-bk,pre-pub,pre-edn,isbn,url-doi,edparxc,edby,blk-com,blknt,french,pp,ed,abr,ord,and-xcom,etal-xc,url,url-blk,nfss,,{}')
9 %% cjs-rcs-merlin.mbs (with options: `tail,exlang,ay,nat,lang,vonx,nm-rev1,jnrlst,keyxyr,blkyear,dt-beg,yr-per,note-yr,tit-qq,qt-g,qx,trtit-b,vnum-nr,volp-com,pgsep-s,jwdpg,jwdvol,num-xser,numser,ser-vol,ser-ed,pg-bk,pre-pub,pre-edn,isbn,url-doi,edparxc,edby,blk-com,blknt,french,pp,ed,abr,ord,and-xcom,etal-xc,url,url-blk,nfss,,{}')
10 %%
11 %% Copyright (C) 2023-2026 Statistical Society of Canada | Société
12 %% canadienne de statistique
13 %%
14 %% This file may be distributed and/or modified under the conditions
15 %% of the LaTeX Project Public License, either version 1.3c of this
16 %% license or (at your option) any later version. The latest version
17 %% of this license is in:
18 %%
19 %% https://www.latex-project.org/lppl.txt
20 %%
21 %% This work has the LPPL maintenance status `maintained'.
22 %%
23 %% The Current Maintainer of this work is Vincent Goulet
24 %% <[email protected]>.
25 %%
26 %% This work consists of the master bibliographic style file
27 %% cjs-rcs-merlin.mbs, the language definition file cjs-rcs-french.mbs,
28 %% the driver file cjs-rcs-fr.dbj, and the derived file cjs-rcs-fr.bst.
29 %%
30 % -------------------------------------------------------------------
31 % Name and version information of the main mbs file:
32 % \ProvidesFile{cjs-rcs-merlin.mbs}[2026/03/05 v2.0 (VG, PWD, AO, DPC)]
33 % For use with BibTeX version 0.99a or later
34 % -------------------------------------------------------------------
35 % This bibliography style file is intended for texts in
36 % FRENCH
37 % This is an author-year citation style bibliography. As such, it is
38 % non-standard LaTeX, and requires a special package file to function properly.
39 % Such a package is natbib.sty by Patrick W. Daly
40 % The form of the \bibitem entries is
41 % \bibitem[Jones et al.(1990)]{key}...
42 % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
43 % The essential feature is that the label (the part in brackets) consists
44 % of the author names, as they should appear in the citation, with the year
45 % in parentheses following. There must be no space before the opening
46 % parenthesis!
47 % With natbib v5.3, a full list of authors may also follow the year.
48 % In natbib.sty, it is possible to define the type of enclosures that is
49 % really wanted (brackets or parentheses), but in either case, there must
50 % be parentheses in the label.
51 % The \cite command functions as follows:
52 % \citet{key} ==>> Jones et al. (1990)
53 % \citet*{key} ==>> Jones, Baker, and Smith (1990)
54 % \citep{key} ==>> (Jones et al., 1990)
55 % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
56 % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
57 % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
58 % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., 1990, p. 32)
59 % \citeauthor{key} ==>> Jones et al.
60 % \citeauthor*{key} ==>> Jones, Baker, and Smith
61 % \citeyear{key} ==>> 1990
62 % -------------------------------------------------------------------
63
64 ENTRY
65 { address
66 author
67 booktitle
68 chapter
69 doi
70 edition
71 editor
72 eid
73 howpublished
74 institution
75 isbn
76 journal
77 key
78 language
79 month
80 note
81 number
82 organization
83 pages
84 publisher
85 school
86 series
87 title
88 type
89 url
90 volume
91 year
92 }
93 {}
94 { label extra.label sort.label short.list }
95 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
96 FUNCTION {init.state.consts}
97 { #0 'before.all :=
98 #1 'mid.sentence :=
99 #2 'after.sentence :=
100 #3 'after.block :=
101 }
102 STRINGS { s t}
103 FUNCTION {output.nonnull}
104 { 's :=
105 output.state mid.sentence =
106 { ", " * write$ }
107 { output.state after.block =
108 { add.period$ write$
109 newline$
110 "\newblock " write$
111 }
112 { output.state before.all =
113 'write$
114 { add.period$ " " * write$ }
115 if$
116 }
117 if$
118 mid.sentence 'output.state :=
119 }
120 if$
121 s
122 }
123 FUNCTION {output}
124 { duplicate$ empty$
125 'pop$
126 'output.nonnull
127 if$
128 }
129 FUNCTION {output.check}
130 { 't :=
131 duplicate$ empty$
132 { pop$ "empty " t * " in " * cite$ * warning$ }
133 'output.nonnull
134 if$
135 }
136 FUNCTION {fin.entry}
137 { add.period$
138 write$
139 newline$
140 }
141
142 FUNCTION {new.block}
143 { output.state before.all =
144 'skip$
145 { after.block 'output.state := }
146 if$
147 }
148 FUNCTION {new.sentence}
149 { output.state after.block =
150 'skip$
151 { output.state before.all =
152 'skip$
153 { after.sentence 'output.state := }
154 if$
155 }
156 if$
157 }
158 FUNCTION {add.blank}
159 { " " * before.all 'output.state :=
160 }
161
162 FUNCTION {date.block}
163 {
164 skip$
165 }
166
167 FUNCTION {not}
168 { { #0 }
169 { #1 }
170 if$
171 }
172 FUNCTION {and}
173 { 'skip$
174 { pop$ #0 }
175 if$
176 }
177 FUNCTION {or}
178 { { pop$ #1 }
179 'skip$
180 if$
181 }
182 FUNCTION {non.stop}
183 { duplicate$
184 "}" * add.period$
185 #-1 #1 substring$ "." =
186 }
187
188 FUNCTION {new.block.checkb}
189 { empty$
190 swap$ empty$
191 and
192 'skip$
193 'new.block
194 if$
195 }
196 FUNCTION {field.or.null}
197 { duplicate$ empty$
198 { pop$ "" }
199 'skip$
200 if$
201 }
202 FUNCTION {emphasize}
203 { duplicate$ empty$
204 { pop$ "" }
205 { "\emph{" swap$ * "}" * }
206 if$
207 }
208 FUNCTION {tie.or.space.prefix}
209 { duplicate$ text.length$ #3 <
210 { "~" }
211 { " " }
212 if$
213 swap$
214 }
215
216 FUNCTION {capitalize}
217 { "u" change.case$ "t" change.case$ }
218
219 FUNCTION {space.word}
220 { " " swap$ * " " * }
221 % Here are the language-specific definitions for explicit words.
222 % Each function has a name bbl.xxx where xxx is the English word.
223 %-------------------------------------------------------------------
224 % Begin module:
225 % \ProvidesFile{cjs-rcs-french.mbs}[2026/03/05 v2.0 (VG, PWD)]
226
227 % The language selected here is FRENCH
228 FUNCTION {bbl.and}
229 { "et"}
230
231 FUNCTION {bbl.etal}
232 { "et~collab." }
233
234 FUNCTION {bbl.editors}
235 { "dir." }
236
237 FUNCTION {bbl.editor}
238 { "dir." }
239
240 FUNCTION {bbl.edby}
241 { "sous la direction de" }
242
243 FUNCTION {bbl.edition}
244 { "\'ed." }
245
246 FUNCTION {bbl.volume}
247 { "vol." }
248
249 FUNCTION {bbl.of}
250 { "de" }
251
252 FUNCTION {bbl.number}
253 { "{\no}" }
254
255 FUNCTION {bbl.nr}
256 { "{\no}" }
257
258 FUNCTION {bbl.in}
259 { "dans" }
260
261 FUNCTION {bbl.pages}
262 { "p." }
263
264 FUNCTION {bbl.page}
265 { "p." }
266
267 FUNCTION {bbl.chapter}
268 { "chap." }
269
270 FUNCTION {bbl.techrep}
271 { "rapport technique" }
272
273 FUNCTION {bbl.mthesis}
274 { "m\'emoire de ma\^itrise" }
275
276 FUNCTION {bbl.phdthesis}
277 { "th\`ese de doctorat" }
278
279 FUNCTION {bbl.first}
280 { "1{\iere}" }
281
282 FUNCTION {bbl.second}
283 { "2{\ieme}" }
284
285 FUNCTION {bbl.third}
286 { "3{\ieme}" }
287
288 FUNCTION {bbl.fourth}
289 { "4{\ieme}" }
290
291 FUNCTION {bbl.fifth}
292 { "5{\ieme}" }
293
294 FUNCTION {bbl.th}
295 { "{\ieme}" }
296
297 MACRO {jan} {"jan."}
298
299 MACRO {feb} {"f\'ev."}
300
301 MACRO {mar} {"mars"}
302
303 MACRO {apr} {"avr."}
304
305 MACRO {may} {"mai"}
306
307 MACRO {jun} {"juin"}
308
309 MACRO {jul} {"juil."}
310
311 MACRO {aug} {"ao\^ut"}
312
313 MACRO {sep} {"sept."}
314
315 MACRO {oct} {"oct."}
316
317 MACRO {nov} {"nov."}
318
319 MACRO {dec} {"d\'ec."}
320
321 % End module: cjs-rcs-french.mbs
322 MACRO {acmcs} {"ACM Computing Surveys"}
323
324 MACRO {acta} {"Acta Informatica"}
325
326 MACRO {cacm} {"Communications of the ACM"}
327
328 MACRO {ibmjrd} {"IBM Journal of Research and Development"}
329
330 MACRO {ibmsj} {"IBM Systems Journal"}
331
332 MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
333
334 MACRO {ieeetc} {"IEEE Transactions on Computers"}
335
336 MACRO {ieeetcad}
337 {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
338
339 MACRO {ipl} {"Information Processing Letters"}
340
341 MACRO {jacm} {"Journal of the ACM"}
342
343 MACRO {jcss} {"Journal of Computer and System Sciences"}
344
345 MACRO {scp} {"Science of Computer Programming"}
346
347 MACRO {sicomp} {"SIAM Journal on Computing"}
348
349 MACRO {tocs} {"ACM Transactions on Computer Systems"}
350
351 MACRO {tods} {"ACM Transactions on Database Systems"}
352
353 MACRO {tog} {"ACM Transactions on Graphics"}
354
355 MACRO {toms} {"ACM Transactions on Mathematical Software"}
356
357 MACRO {toois} {"ACM Transactions on Office Information Systems"}
358
359 MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
360
361 MACRO {tcs} {"Theoretical Computer Science"}
362 FUNCTION {bibinfo.check}
363 { swap$
364 duplicate$ missing$
365 {
366 pop$ pop$
367 ""
368 }
369 { duplicate$ empty$
370 {
371 swap$ pop$
372 }
373 { swap$
374 pop$
375 }
376 if$
377 }
378 if$
379 }
380 FUNCTION {bibinfo.warn}
381 { swap$
382 duplicate$ missing$
383 {
384 swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
385 ""
386 }
387 { duplicate$ empty$
388 {
389 swap$ "empty " swap$ * " in " * cite$ * warning$
390 }
391 { swap$
392 pop$
393 }
394 if$
395 }
396 if$
397 }
398 FUNCTION {format.url}
399 {
400 doi empty$
401 {
402 url
403 duplicate$ empty$
404 { pop$ "" }
405 { "\urlprefix\url{" swap$ * "}" * }
406 if$
407 }
408 {
409 doi
410 "\doiprefix\urldoi{" swap$ * "}" *
411 }
412 if$
413 }
414
415 INTEGERS { nameptr namesleft numnames }
416
417
418 STRINGS { bibinfo}
419
420 FUNCTION {format.names}
421 { 'bibinfo :=
422 duplicate$ empty$ 'skip$ {
423 's :=
424 "" 't :=
425 #1 'nameptr :=
426 s num.names$ 'numnames :=
427 numnames 'namesleft :=
428 { namesleft #0 > }
429 { s nameptr
430 duplicate$ #1 >
431 { "{f.~}{vv~}{ll}{, jj}" }
432 { "{vv~}{ll}{, f.}{, jj}" }
433 if$
434 format.name$
435 bibinfo bibinfo.check
436 't :=
437 nameptr #1 >
438 {
439 namesleft #1 >
440 { ", " * t * }
441 {
442 s nameptr "{ll}" format.name$ duplicate$ "others" =
443 { 't := }
444 { pop$ }
445 if$
446 t "others" =
447 {
448 " " * bbl.etal *
449 }
450 {
451 bbl.and
452 space.word * t *
453 }
454 if$
455 }
456 if$
457 }
458 't
459 if$
460 nameptr #1 + 'nameptr :=
461 namesleft #1 - 'namesleft :=
462 }
463 while$
464 } if$
465 }
466 FUNCTION {format.names.ed}
467 {
468 'bibinfo :=
469 duplicate$ empty$ 'skip$ {
470 's :=
471 "" 't :=
472 #1 'nameptr :=
473 s num.names$ 'numnames :=
474 numnames 'namesleft :=
475 { namesleft #0 > }
476 { s nameptr
477 "{f.~}{vv~}{ll}{, jj}"
478 format.name$
479 bibinfo bibinfo.check
480 't :=
481 nameptr #1 >
482 {
483 namesleft #1 >
484 { ", " * t * }
485 {
486 s nameptr "{ll}" format.name$ duplicate$ "others" =
487 { 't := }
488 { pop$ }
489 if$
490 t "others" =
491 {
492
493 " " * bbl.etal *
494 }
495 {
496 bbl.and
497 space.word * t *
498 }
499 if$
500 }
501 if$
502 }
503 't
504 if$
505 nameptr #1 + 'nameptr :=
506 namesleft #1 - 'namesleft :=
507 }
508 while$
509 } if$
510 }
511 FUNCTION {format.key}
512 { empty$
513 { key field.or.null }
514 { "" }
515 if$
516 }
517
518 FUNCTION {format.authors}
519 { author "author" format.names
520 }
521 FUNCTION {get.bbl.editor}
522 { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
523
524 FUNCTION {format.editors}
525 { editor "editor" format.names duplicate$ empty$ 'skip$
526 {
527 " " *
528 get.bbl.editor
529 "(" swap$ * ")" *
530 *
531 }
532 if$
533 }
534 FUNCTION {format.book.pages}
535 { pages "pages" bibinfo.check
536 duplicate$ empty$ 'skip$
537 { " " * bbl.pages * }
538 if$
539 }
540 FUNCTION {format.isbn}
541 { isbn "isbn" bibinfo.check
542 duplicate$ empty$ 'skip$
543 {
544 "ISBN " swap$ *
545 }
546 if$
547 }
548
549 FUNCTION {select.language}
550 { duplicate$ empty$
551 'pop$
552 { language empty$
553 'skip$
554 { "{\selectlanguage{" language * "}" * swap$ * "}" * }
555 if$
556 }
557 if$
558 }
559
560 FUNCTION {format.note}
561 {
562 note empty$
563 { "" }
564 { note #1 #1 substring$
565 duplicate$ "{" =
566 'skip$
567 { output.state mid.sentence =
568 { "l" }
569 { "u" }
570 if$
571 change.case$
572 }
573 if$
574 note #2 global.max$ substring$ * "note" bibinfo.check
575 }
576 if$
577 }
578
579 FUNCTION {format.title}
580 { title
581 duplicate$ empty$ 'skip$
582 { "t" change.case$ }
583 if$
584 "title" bibinfo.check
585 duplicate$ empty$ 'skip$
586 {
587 "\enquote{" swap$ *
588 "}, " *
589 select.language
590 }
591 if$
592 }
593 FUNCTION {end.quote.title}
594 { title empty$
595 'skip$
596 { before.all 'output.state := }
597 if$
598 }
599 FUNCTION {format.full.names}
600 {'s :=
601 "" 't :=
602 #1 'nameptr :=
603 s num.names$ 'numnames :=
604 numnames 'namesleft :=
605 { namesleft #0 > }
606 { s nameptr
607 "{vv~}{ll}" format.name$
608 't :=
609 nameptr #1 >
610 {
611 namesleft #1 >
612 { ", " * t * }
613 {
614 s nameptr "{ll}" format.name$ duplicate$ "others" =
615 { 't := }
616 { pop$ }
617 if$
618 t "others" =
619 {
620 " " * bbl.etal *
621 }
622 {
623 bbl.and
624 space.word * t *
625 }
626 if$
627 }
628 if$
629 }
630 't
631 if$
632 nameptr #1 + 'nameptr :=
633 namesleft #1 - 'namesleft :=
634 }
635 while$
636 }
637
638 FUNCTION {author.editor.key.full}
639 { author empty$
640 { editor empty$
641 { key empty$
642 { cite$ #1 #3 substring$ }
643 'key
644 if$
645 }
646 { editor format.full.names }
647 if$
648 }
649 { author format.full.names }
650 if$
651 }
652
653 FUNCTION {author.key.full}
654 { author empty$
655 { key empty$
656 { cite$ #1 #3 substring$ }
657 'key
658 if$
659 }
660 { author format.full.names }
661 if$
662 }
663
664 FUNCTION {editor.key.full}
665 { editor empty$
666 { key empty$
667 { cite$ #1 #3 substring$ }
668 'key
669 if$
670 }
671 { editor format.full.names }
672 if$
673 }
674
675 FUNCTION {make.full.names}
676 { type$ "book" =
677 type$ "inbook" =
678 or
679 'author.editor.key.full
680 { type$ "proceedings" =
681 'editor.key.full
682 'author.key.full
683 if$
684 }
685 if$
686 }
687
688 FUNCTION {output.bibitem}
689 { newline$
690 "\bibitem[{" write$
691 label write$
692 ")" make.full.names duplicate$ short.list =
693 { pop$ }
694 { * }
695 if$
696 "}]{" * write$
697 cite$ write$
698 "}" write$
699 newline$
700 ""
701 before.all 'output.state :=
702 }
703
704 FUNCTION {if.digit}
705 { duplicate$ "0" =
706 swap$ duplicate$ "1" =
707 swap$ duplicate$ "2" =
708 swap$ duplicate$ "3" =
709 swap$ duplicate$ "4" =
710 swap$ duplicate$ "5" =
711 swap$ duplicate$ "6" =
712 swap$ duplicate$ "7" =
713 swap$ duplicate$ "8" =
714 swap$ "9" = or or or or or or or or or
715 }
716 FUNCTION {n.separate}
717 { 't :=
718 ""
719 #0 'numnames :=
720 { t empty$ not }
721 { t #-1 #1 substring$ if.digit
722 { numnames #1 + 'numnames := }
723 { #0 'numnames := }
724 if$
725 t #-1 #1 substring$ swap$ *
726 t #-2 global.max$ substring$ 't :=
727 numnames #5 =
728 { duplicate$ #1 #2 substring$ swap$
729 #3 global.max$ substring$
730 "\," swap$ * *
731 }
732 'skip$
733 if$
734 }
735 while$
736 }
737 FUNCTION {n.dashify}
738 {
739 n.separate
740 't :=
741 ""
742 { t empty$ not }
743 { t #1 #1 substring$ "-" =
744 { t #1 #2 substring$ "--" = not
745 { "--" *
746 t #2 global.max$ substring$ 't :=
747 }
748 { { t #1 #1 substring$ "-" = }
749 { "-" *
750 t #2 global.max$ substring$ 't :=
751 }
752 while$
753 }
754 if$
755 }
756 { t #1 #1 substring$ *
757 t #2 global.max$ substring$ 't :=
758 }
759 if$
760 }
761 while$
762 }
763
764 FUNCTION {word.in}
765 { bbl.in
766 " " * }
767
768 FUNCTION {format.date}
769 { year "year" bibinfo.check duplicate$ empty$
770 {
771 }
772 'skip$
773 if$
774 extra.label *
775 before.all 'output.state :=
776 after.sentence 'output.state :=
777 }
778 FUNCTION {format.btitle}
779 { title "title" bibinfo.check
780 duplicate$ empty$ 'skip$
781 {
782 emphasize
783 select.language
784 }
785 if$
786 }
787 FUNCTION {either.or.check}
788 { empty$
789 'pop$
790 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
791 if$
792 }
793 FUNCTION {format.bvolume}
794 { volume empty$
795 { "" }
796 { bbl.volume volume tie.or.space.prefix
797 "volume" bibinfo.check * *
798 series "series" bibinfo.check
799 duplicate$ empty$ 'pop$
800 { emphasize ", " * swap$ * }
801 if$
802 "volume and number" number either.or.check
803 }
804 if$
805 }
806 FUNCTION {format.number.series}
807 { volume empty$
808 { number empty$
809 { series field.or.null }
810 { series empty$
811 { number "number" bibinfo.check }
812 { output.state mid.sentence =
813 { bbl.number }
814 { bbl.number capitalize }
815 if$
816 number tie.or.space.prefix "number" bibinfo.check * *
817 bbl.in space.word *
818 series "series" bibinfo.check *
819 }
820 if$
821 }
822 if$
823 }
824 { "" }
825 if$
826 }
827 FUNCTION {is.num}
828 { chr.to.int$
829 duplicate$ "0" chr.to.int$ < not
830 swap$ "9" chr.to.int$ > not and
831 }
832
833 FUNCTION {extract.num}
834 { duplicate$ 't :=
835 "" 's :=
836 { t empty$ not }
837 { t #1 #1 substring$
838 t #2 global.max$ substring$ 't :=
839 duplicate$ is.num
840 { s swap$ * 's := }
841 { pop$ "" 't := }
842 if$
843 }
844 while$
845 s empty$
846 'skip$
847 { pop$ s }
848 if$
849 }
850
851 FUNCTION {convert.edition}
852 { extract.num "l" change.case$ 's :=
853 s "first" = s "1" = or
854 { bbl.first 't := }
855 { s "second" = s "2" = or
856 { bbl.second 't := }
857 { s "third" = s "3" = or
858 { bbl.third 't := }
859 { s "fourth" = s "4" = or
860 { bbl.fourth 't := }
861 { s "fifth" = s "5" = or
862 { bbl.fifth 't := }
863 { s #1 #1 substring$ is.num
864 { s bbl.th * 't := }
865 { edition 't := }
866 if$
867 }
868 if$
869 }
870 if$
871 }
872 if$
873 }
874 if$
875 }
876 if$
877 t
878 }
879
880 FUNCTION {format.edition}
881 { edition duplicate$ empty$ 'skip$
882 {
883 convert.edition
884 output.state mid.sentence =
885 { "l" }
886 { "t" }
887 if$ change.case$
888 "edition" bibinfo.check
889 " " * bbl.edition *
890 }
891 if$
892 }
893 INTEGERS { multiresult }
894 FUNCTION {multi.page.check}
895 { 't :=
896 #0 'multiresult :=
897 { multiresult not
898 t empty$ not
899 and
900 }
901 { t #1 #1 substring$
902 duplicate$ "-" =
903 swap$ duplicate$ "," =
904 swap$ "+" =
905 or or
906 { #1 'multiresult := }
907 { t #2 global.max$ substring$ 't := }
908 if$
909 }
910 while$
911 multiresult
912 }
913 FUNCTION {format.pages}
914 { pages duplicate$ empty$ 'skip$
915 { duplicate$ multi.page.check
916 {
917 bbl.pages swap$
918 n.dashify
919 }
920 {
921 bbl.page swap$
922 }
923 if$
924 tie.or.space.prefix
925 "pages" bibinfo.check
926 * *
927 }
928 if$
929 }
930 FUNCTION {format.journal.pages}
931 { pages duplicate$ empty$ 'pop$
932 { swap$ duplicate$ empty$
933 { pop$ pop$ format.pages }
934 {
935 ", " *
936 swap$
937 n.dashify
938 pages multi.page.check
939 'bbl.pages
940 'bbl.page
941 if$
942 swap$ tie.or.space.prefix
943 "pages" bibinfo.check
944 * *
945 *
946 }
947 if$
948 }
949 if$
950 }
951 FUNCTION {format.journal.eid}
952 { eid "eid" bibinfo.check
953 duplicate$ empty$ 'pop$
954 { swap$ duplicate$ empty$ 'skip$
955 {
956 ", " *
957 }
958 if$
959 swap$ *
960 }
961 if$
962 }
963 FUNCTION {format.vol.num.pages}
964 { volume field.or.null
965 duplicate$ empty$ 'skip$
966 {
967 bbl.volume swap$ tie.or.space.prefix
968 "volume" bibinfo.check
969 * *
970 }
971 if$
972 number "number" bibinfo.check duplicate$ empty$ 'skip$
973 {
974 swap$ duplicate$ empty$
975 { "there's a number but no volume in " cite$ * warning$ }
976 'skip$
977 if$
978 swap$
979 ", " bbl.nr * number tie.or.space.prefix pop$ * swap$ *
980 }
981 if$ *
982 eid empty$
983 { format.journal.pages }
984 { format.journal.eid }
985 if$
986 }
987
988 FUNCTION {format.chapter.pages}
989 { chapter empty$
990 'format.pages
991 { type empty$
992 { bbl.chapter }
993 { type "l" change.case$
994 "type" bibinfo.check
995 }
996 if$
997 chapter tie.or.space.prefix
998 "chapter" bibinfo.check
999 * *
1000 pages empty$
1001 'skip$
1002 { ", " * format.pages * }
1003 if$
1004 }
1005 if$
1006 }
1007
1008 FUNCTION {format.booktitle}
1009 {
1010 booktitle "booktitle" bibinfo.check
1011 emphasize
1012 }
1013 FUNCTION {format.in.ed.booktitle}
1014 { format.booktitle duplicate$ empty$ 'skip$
1015 {
1016 format.bvolume duplicate$ empty$ 'pop$
1017 { ", " swap$ * * }
1018 if$
1019 editor "editor" format.names.ed duplicate$ empty$ 'pop$
1020 {
1021 bbl.edby
1022 " " * swap$ *
1023 swap$
1024 "," *
1025 " " * swap$
1026 * }
1027 if$
1028 word.in swap$ *
1029 }
1030 if$
1031 }
1032 FUNCTION {format.thesis.type}
1033 { type duplicate$ empty$
1034 'pop$
1035 { swap$ pop$
1036 "t" change.case$ "type" bibinfo.check
1037 }
1038 if$
1039 }
1040 FUNCTION {format.tr.number}
1041 { number "number" bibinfo.check
1042 type duplicate$ empty$
1043 { pop$ bbl.techrep }
1044 'skip$
1045 if$
1046 "type" bibinfo.check
1047 swap$ duplicate$ empty$
1048 { pop$ "t" change.case$ }
1049 { tie.or.space.prefix * * }
1050 if$
1051 }
1052 FUNCTION {format.article.crossref}
1053 {
1054 word.in
1055 " \cite{" * crossref * "}" *
1056 }
1057 FUNCTION {format.book.crossref}
1058 { volume duplicate$ empty$
1059 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
1060 pop$ word.in
1061 }
1062 { bbl.volume
1063 swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
1064 }
1065 if$
1066 " \cite{" * crossref * "}" *
1067 }
1068 FUNCTION {format.incoll.inproc.crossref}
1069 {
1070 word.in
1071 " \cite{" * crossref * "}" *
1072 }
1073 FUNCTION {format.org.or.pub}
1074 { 't :=
1075 ""
1076 address empty$ t empty$ and
1077 'skip$
1078 {
1079 t empty$
1080 { address "address" bibinfo.check *
1081 }
1082 { t *
1083 address empty$
1084 'skip$
1085 { ", " * address "address" bibinfo.check * }
1086 if$
1087 }
1088 if$
1089 }
1090 if$
1091 }
1092 FUNCTION {format.publisher.address}
1093 { publisher "publisher" bibinfo.warn format.org.or.pub
1094 }
1095
1096 FUNCTION {format.organization.address}
1097 { organization "organization" bibinfo.check format.org.or.pub
1098 }
1099
1100 FUNCTION {article}
1101 { output.bibitem
1102 format.authors "author" output.check
1103 author format.key output
1104 format.date "year" output.check
1105 date.block
1106 format.title "title" output.check
1107 end.quote.title
1108 crossref missing$
1109 {
1110 journal
1111 "journal" bibinfo.check
1112 emphasize
1113 "journal" output.check
1114 format.vol.num.pages output
1115 }
1116 { format.article.crossref output.nonnull
1117 format.pages output
1118 }
1119 if$
1120 format.url output
1121 new.sentence
1122 format.note output
1123 fin.entry
1124 }
1125 FUNCTION {book}
1126 { output.bibitem
1127 author empty$
1128 { format.editors "author and editor" output.check
1129 editor format.key output
1130 add.blank
1131 }
1132 { format.authors output.nonnull
1133 crossref missing$
1134 { "author and editor" editor either.or.check }
1135 'skip$
1136 if$
1137 }
1138 if$
1139 format.date "year" output.check
1140 date.block
1141 format.btitle "title" output.check
1142 crossref missing$
1143 { format.bvolume output
1144 format.edition output
1145 format.number.series output
1146 format.publisher.address output
1147 }
1148 {
1149 format.book.crossref output.nonnull
1150 }
1151 if$
1152 format.isbn output
1153 format.book.pages output
1154 format.url output
1155 new.sentence
1156 format.note output
1157 fin.entry
1158 }
1159 FUNCTION {booklet}
1160 { output.bibitem
1161 format.authors output
1162 author format.key output
1163 format.date "year" output.check
1164 date.block
1165 format.title "title" output.check
1166 end.quote.title
1167 howpublished "howpublished" bibinfo.check output
1168 address "address" bibinfo.check output
1169 format.isbn output
1170 format.book.pages output
1171 format.url output
1172 new.sentence
1173 format.note output
1174 fin.entry
1175 }
1176
1177 FUNCTION {inbook}
1178 { output.bibitem
1179 author empty$
1180 { format.editors "author and editor" output.check
1181 editor format.key output
1182 }
1183 { format.authors output.nonnull
1184 crossref missing$
1185 { "author and editor" editor either.or.check }
1186 'skip$
1187 if$
1188 }
1189 if$
1190 format.date "year" output.check
1191 date.block
1192 format.btitle "title" output.check
1193 crossref missing$
1194 {
1195 format.number.series output
1196 format.publisher.address output
1197 format.bvolume output
1198 format.chapter.pages "chapter and pages" output.check
1199 format.edition output
1200 }
1201 {
1202 format.chapter.pages "chapter and pages" output.check
1203 format.book.crossref output.nonnull
1204 }
1205 if$
1206 crossref missing$
1207 { format.isbn output }
1208 'skip$
1209 if$
1210 format.url output
1211 new.sentence
1212 format.note output
1213 fin.entry
1214 }
1215
1216 FUNCTION {incollection}
1217 { output.bibitem
1218 format.authors "author" output.check
1219 author format.key output
1220 format.date "year" output.check
1221 date.block
1222 format.title "title" output.check
1223 end.quote.title
1224 crossref missing$
1225 { format.in.ed.booktitle "booktitle" output.check
1226 format.number.series output
1227 format.publisher.address output
1228 format.edition output
1229 format.chapter.pages output
1230 format.isbn output
1231 }
1232 { format.incoll.inproc.crossref output.nonnull
1233 format.chapter.pages output
1234 }
1235 if$
1236 format.url output
1237 new.sentence
1238 format.note output
1239 fin.entry
1240 }
1241 FUNCTION {inproceedings}
1242 { output.bibitem
1243 format.authors "author" output.check
1244 author format.key output
1245 format.date "year" output.check
1246 date.block
1247 format.title "title" output.check
1248 end.quote.title
1249 crossref missing$
1250 { format.in.ed.booktitle "booktitle" output.check
1251 format.number.series output
1252 publisher empty$
1253 { format.organization.address output }
1254 { organization "organization" bibinfo.check output
1255 format.publisher.address output
1256 }
1257 if$
1258 format.bvolume output
1259 format.pages output
1260 format.isbn output
1261 }
1262 { format.incoll.inproc.crossref output.nonnull
1263 format.pages output
1264 }
1265 if$
1266 format.url output
1267 new.sentence
1268 format.note output
1269 fin.entry
1270 }
1271 FUNCTION {conference} { inproceedings }
1272 FUNCTION {manual}
1273 { output.bibitem
1274 format.authors output
1275 author format.key output
1276 format.date "year" output.check
1277 date.block
1278 format.btitle "title" output.check
1279 organization "organization" bibinfo.check output
1280 address "address" bibinfo.check output
1281 format.edition output
1282 format.url output
1283 new.sentence
1284 format.note output
1285 fin.entry
1286 }
1287
1288 FUNCTION {mastersthesis}
1289 { output.bibitem
1290 format.authors "author" output.check
1291 author format.key output
1292 format.date "year" output.check
1293 date.block
1294 format.btitle
1295 "title" output.check
1296 bbl.mthesis format.thesis.type output.nonnull
1297 school "school" bibinfo.warn output
1298 address "address" bibinfo.check output
1299 format.url output
1300 new.sentence
1301 format.note output
1302 fin.entry
1303 }
1304
1305 FUNCTION {misc}
1306 { output.bibitem
1307 format.authors output
1308 author format.key output
1309 format.date "year" output.check
1310 date.block
1311 format.title output
1312 end.quote.title
1313 howpublished "howpublished" bibinfo.check output
1314 format.url output
1315 new.sentence
1316 format.note output
1317 fin.entry
1318 }
1319 FUNCTION {phdthesis}
1320 { output.bibitem
1321 format.authors "author" output.check
1322 author format.key output
1323 format.date "year" output.check
1324 date.block
1325 format.btitle
1326 "title" output.check
1327 bbl.phdthesis format.thesis.type output.nonnull
1328 school "school" bibinfo.warn output
1329 address "address" bibinfo.check output
1330 format.url output
1331 new.sentence
1332 format.note output
1333 fin.entry
1334 }
1335
1336 FUNCTION {proceedings}
1337 { output.bibitem
1338 format.editors output
1339 editor format.key output
1340 format.date "year" output.check
1341 date.block
1342 format.btitle "title" output.check
1343 format.bvolume output
1344 format.number.series output
1345 publisher empty$
1346 { format.organization.address output }
1347 { organization "organization" bibinfo.check output
1348 format.publisher.address output
1349 }
1350 if$
1351 format.isbn output
1352 format.url output
1353 new.sentence
1354 format.note output
1355 fin.entry
1356 }
1357
1358 FUNCTION {techreport}
1359 { output.bibitem
1360 format.authors "author" output.check
1361 author format.key output
1362 format.date "year" output.check
1363 date.block
1364 format.btitle
1365 "title" output.check
1366 format.tr.number output.nonnull
1367 institution "institution" bibinfo.warn output
1368 address "address" bibinfo.check output
1369 format.url output
1370 new.sentence
1371 format.note output
1372 fin.entry
1373 }
1374
1375 FUNCTION {unpublished}
1376 { output.bibitem
1377 format.authors "author" output.check
1378 author format.key output
1379 format.date "year" output.check
1380 date.block
1381 format.title "title" output.check
1382 end.quote.title
1383 format.url output
1384 new.sentence
1385 format.note "note" output.check
1386 fin.entry
1387 }
1388
1389 FUNCTION {default.type} { misc }
1390 READ
1391 FUNCTION {sortify}
1392 { purify$
1393 "l" change.case$
1394 }
1395 INTEGERS { len }
1396 FUNCTION {chop.word}
1397 { 's :=
1398 'len :=
1399 s #1 len substring$ =
1400 { s len #1 + global.max$ substring$ }
1401 's
1402 if$
1403 }
1404 FUNCTION {format.lab.names}
1405 { 's :=
1406 "" 't :=
1407 s #1 "{vv~}{ll}" format.name$
1408 s num.names$ duplicate$
1409 #2 >
1410 { pop$
1411 " " * bbl.etal *
1412 }
1413 { #2 <
1414 'skip$
1415 { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
1416 {
1417 " " * bbl.etal *
1418 }
1419 { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
1420 * }
1421 if$
1422 }
1423 if$
1424 }
1425 if$
1426 }
1427
1428 FUNCTION {author.key.label}
1429 { author empty$
1430 { key empty$
1431 { cite$ #1 #3 substring$ }
1432 'key
1433 if$
1434 }
1435 { author format.lab.names }
1436 if$
1437 }
1438
1439 FUNCTION {author.editor.key.label}
1440 { author empty$
1441 { editor empty$
1442 { key empty$
1443 { cite$ #1 #3 substring$ }
1444 'key
1445 if$
1446 }
1447 { editor format.lab.names }
1448 if$
1449 }
1450 { author format.lab.names }
1451 if$
1452 }
1453
1454 FUNCTION {editor.key.label}
1455 { editor empty$
1456 { key empty$
1457 { cite$ #1 #3 substring$ }
1458 'key
1459 if$
1460 }
1461 { editor format.lab.names }
1462 if$
1463 }
1464
1465 FUNCTION {calc.short.authors}
1466 { type$ "book" =
1467 type$ "inbook" =
1468 or
1469 'author.editor.key.label
1470 { type$ "proceedings" =
1471 'editor.key.label
1472 'author.key.label
1473 if$
1474 }
1475 if$
1476 'short.list :=
1477 }
1478
1479 FUNCTION {calc.label}
1480 { calc.short.authors
1481 short.list
1482 "("
1483 *
1484 year duplicate$ empty$
1485 short.list key field.or.null = or
1486 { pop$ "" }
1487 'skip$
1488 if$
1489 *
1490 'label :=
1491 }
1492
1493 FUNCTION {sort.format.names}
1494 { 's :=
1495 #1 'nameptr :=
1496 ""
1497 s num.names$ 'numnames :=
1498 numnames 'namesleft :=
1499 { namesleft #0 > }
1500 { s nameptr
1501 "{ll{ }}{ f{ }}{ jj{ }}"
1502 format.name$ 't :=
1503 nameptr #1 >
1504 {
1505 " " *
1506 namesleft #1 = t "others" = and
1507 { "zzzzz" 't := }
1508 'skip$
1509 if$
1510 t sortify *
1511 }
1512 { t sortify * }
1513 if$
1514 nameptr #1 + 'nameptr :=
1515 namesleft #1 - 'namesleft :=
1516 }
1517 while$
1518 }
1519
1520 FUNCTION {sort.format.title}
1521 { 't :=
1522 "A " #2
1523 "An " #3
1524 "The " #4 t chop.word
1525 chop.word
1526 chop.word
1527 sortify
1528 #1 global.max$ substring$
1529 }
1530 FUNCTION {author.sort}
1531 { author empty$
1532 { key empty$
1533 { "to sort, need author or key in " cite$ * warning$
1534 ""
1535 }
1536 { key sortify }
1537 if$
1538 }
1539 { author sort.format.names }
1540 if$
1541 }
1542 FUNCTION {author.editor.sort}
1543 { author empty$
1544 { editor empty$
1545 { key empty$
1546 { "to sort, need author, editor, or key in " cite$ * warning$
1547 ""
1548 }
1549 { key sortify }
1550 if$
1551 }
1552 { editor sort.format.names }
1553 if$
1554 }
1555 { author sort.format.names }
1556 if$
1557 }
1558 FUNCTION {editor.sort}
1559 { editor empty$
1560 { key empty$
1561 { "to sort, need editor or key in " cite$ * warning$
1562 ""
1563 }
1564 { key sortify }
1565 if$
1566 }
1567 { editor sort.format.names }
1568 if$
1569 }
1570 FUNCTION {presort}
1571 { calc.label
1572 label sortify
1573 " "
1574 *
1575 type$ "book" =
1576 type$ "inbook" =
1577 or
1578 'author.editor.sort
1579 { type$ "proceedings" =
1580 'editor.sort
1581 'author.sort
1582 if$
1583 }
1584 if$
1585 #1 entry.max$ substring$
1586 'sort.label :=
1587 sort.label
1588 *
1589 " "
1590 *
1591 title field.or.null
1592 sort.format.title
1593 *
1594 #1 entry.max$ substring$
1595 'sort.key$ :=
1596 }
1597
1598 ITERATE {presort}
1599 SORT
1600 STRINGS { last.label next.extra }
1601 INTEGERS { last.extra.num last.extra.num.extended last.extra.num.blank number.label }
1602 FUNCTION {initialize.extra.label.stuff}
1603 { #0 int.to.chr$ 'last.label :=
1604 "" 'next.extra :=
1605 #0 'last.extra.num :=
1606 "a" chr.to.int$ #1 - 'last.extra.num.blank :=
1607 last.extra.num.blank 'last.extra.num.extended :=
1608 #0 'number.label :=
1609 }
1610 FUNCTION {forward.pass}
1611 { last.label label =
1612 { last.extra.num #1 + 'last.extra.num :=
1613 last.extra.num "z" chr.to.int$ >
1614 { "a" chr.to.int$ 'last.extra.num :=
1615 last.extra.num.extended #1 + 'last.extra.num.extended :=
1616 }
1617 'skip$
1618 if$
1619 last.extra.num.extended last.extra.num.blank >
1620 { last.extra.num.extended int.to.chr$
1621 last.extra.num int.to.chr$
1622 * 'extra.label := }
1623 { last.extra.num int.to.chr$ 'extra.label := }
1624 if$
1625 }
1626 { "a" chr.to.int$ 'last.extra.num :=
1627 "" 'extra.label :=
1628 label 'last.label :=
1629 }
1630 if$
1631 number.label #1 + 'number.label :=
1632 }
1633 FUNCTION {reverse.pass}
1634 { next.extra "b" =
1635 { "a" 'extra.label := }
1636 'skip$
1637 if$
1638 extra.label 'next.extra :=
1639 extra.label
1640 duplicate$ empty$
1641 'skip$
1642 { "{\natexlab{" swap$ * "}}" * }
1643 if$
1644 'extra.label :=
1645 label extra.label * 'label :=
1646 }
1647 EXECUTE {initialize.extra.label.stuff}
1648 ITERATE {forward.pass}
1649 REVERSE {reverse.pass}
1650 FUNCTION {bib.sort.order}
1651 { sort.label
1652 " "
1653 *
1654 year field.or.null sortify
1655 *
1656 " "
1657 *
1658 title field.or.null
1659 sort.format.title
1660 *
1661 #1 entry.max$ substring$
1662 'sort.key$ :=
1663 }
1664 ITERATE {bib.sort.order}
1665 SORT
1666 FUNCTION {begin.bib}
1667 { preamble$ empty$
1668 'skip$
1669 { preamble$ write$ newline$ }
1670 if$
1671 "\begin{thebibliography}{" number.label int.to.str$ * "}" *
1672 write$ newline$
1673 "\let\enquote\frquote"
1674 write$ newline$
1675 "\providecommand{\natexlab}[1]{#1}"
1676 write$ newline$
1677 "\providecommand{\url}[1]{\texttt{#1}}"
1678 write$ newline$
1679 "\providecommand{\urlprefix}{}"
1680 write$ newline$
1681 "\providecommand{\doiprefix}{doi: }"
1682 write$ newline$
1683 "\expandafter\ifx\csname href\endcsname\relax"
1684 write$ newline$
1685 " \providecommand{\urldoi}[1]{#1}\else"
1686 write$ newline$
1687 " \providecommand{\urldoi}[1]{\href{https://doi.org/#1}{#1}}\fi"
1688 write$ newline$
1689 "\providecommand{\selectlanguage}[1]{\relax}"
1690 write$ newline$
1691 }
1692 EXECUTE {begin.bib}
1693 EXECUTE {init.state.consts}
1694 ITERATE {call.type$}
1695 FUNCTION {end.bib}
1696 { newline$
1697 "\end{thebibliography}" write$ newline$
1698 }
1699 EXECUTE {end.bib}
1700 %% End of customized bst file
1701 %%
1702 %% End of file `cjs-rcs-fr.bst'.