Debian Codegraph @

texmf-dist/source/latex/boites/boites.dtx

raw
1 %\CheckSum{242}
2 %\iffalse ^^A meta-comment
3 % boites.dtx
4 %
5 %% Copyright (c) José Romildo Malaquias <[email protected]>, 2013
6 %% (maintainer)
7 %% Copyright (c) Markus Kohm <komascript at gmx.info>, 2009
8 %% (boites.dtx only)
9 %% Copyright (c) Susan Dittmar <[email protected]>, 2009
10 %% (english translation)
11 %% Copyright (c) Vincent Zoonekynd <[email protected]>, 1998-1999
12 %% (boites.sty)
13 %%
14 %% This work was derived from Susan Dittmar's translated version of
15 %% Vincent Zoonekynd's boites.sty.
16 %%
17 %% This file is distributed unter the same license like the orignal
18 %% boites.sty from March 1999: The GNU Public Licence.
19 %%
20 %
21 %<*dtx|driver|package>
22 %<*dtx>
23 \ifx\ProvidesFile\undefined
24 \def\batchfile{boites.dtx}
25 \input docstrip.tex
26 \keepsilent
27 \askforoverwritefalse
28 \preamble
29 \endpreamble
30 \generate{%
31 \file{boites-fr.drv}{\from{boites.dtx}{driver,french}}%
32 \file{boites-en.drv}{\from{boites.dtx}{driver,english}}%
33 % \file{boites-p.sty}{\from{boites.dtx}{package}}% just use original boites.sty!
34 }
35 \ifToplevel{\csname fi\endcsname\csname fi\endcsname}
36 \csname endinput\endcsname
37 \fi
38 \ProvidesFile{boites.dtx}[%
39 %</dtx>
40 %<driver&english>\ProvidesFile{boites-en.tex}[%
41 %<driver&french>\ProvidesFile{boites-fr.tex}[%
42 %<package>\ProvidesPackage{boites-p}[%
43 2009/05/06 v1.0a from boites.sty derived
44 %<*dtx>
45 dtx file]
46 %</dtx>
47 %<*driver>
48 %<english>english
49 %<french>french
50 %<driver>documentation]
51 %</driver>
52 %<package>package]
53 %</dtx|driver|package>
54 %<*dtx|driver>
55 \documentclass{ltxdoc}
56 \usepackage[utf8]{inputenc}
57 %<*dtx>
58 \usepackage[french,english]{babel}
59 %</dtx>
60 %<driver&english>\usepackage[english]{babel}
61 %<driver&french>\usepackage[french]{babel}
62 \expandafter\newif\csname ifenglish\endcsname
63 \expandafter\newif\csname iffrench\endcsname
64 \newcommand*{\selectenglish}{%
65 \selectlanguage{english}%
66 \englishtrue
67 \frenchfalse
68 }
69 \newcommand*{\selectfrench}{%
70 \selectlanguage{french}%
71 \englishfalse
72 \frenchtrue
73 }
74 \usepackage{hyperref}\renewcommand*{\theHsection}{\theHpart.\thesection}
75 \begin{document}
76 \RecordChanges
77 %<*dtx|english>
78 \selectenglish
79 \DocInput{boites.dtx}
80 %</dtx|english>
81 %<*dtx|french>
82 \selectfrench
83 \DocInput{boites.dtx}
84 %</dtx|french>
85 \end{document}
86 %</dtx|driver>
87 %\fi ^^A meta-comment
88 %
89 % \GetFileInfo{boites.dtx}
90 %
91 %\iffrench
92 % \title{\textsf{boites}\thanks{\fileversion, \filedate}}
93 % \author{Vincent Zoonekynd\thanks{\texttt{[email protected]}}}
94 % \date{\filedate}
95 %\fi
96 %\ifenglish
97 % \title{Package \textsf{boites}\thanks{\fileversion, \filedate}}
98 % \author{Vincent Zoonekynd\thanks{\texttt{[email protected]}}%
99 % \and
100 % Susan Dittmar (translation of the documentation)%
101 % \thanks{\texttt{[email protected]}}}
102 %\fi
103 % \let\Title\title
104 % \let\Author\author
105 % \let\Maketitle\maketitle
106 % \maketitle
107 % \setcounter{section}{0}
108 % \let\maketitle\Maketitle
109 % \let\author\Author
110 % \let\title\Title
111 %
112 % \iffrench \setcounter{part}{2}\part{Franzaise}\fi
113 % \ifenglish \setcounter{part}{1}\part{English}\fi
114 %
115 %\iffrench\section{Modifiations par VZ, Juillet 1998}\fi
116 %\ifenglish\section{Modifications by VZ, July 1998}\fi
117 %
118 % \begin{description}
119 % \ifenglish\item[May 2009:] Original file \texttt{README} included\fi
120 % \ifenglish\item[January 2009:] Translations of the french comments by
121 % Susan Dittmar.\fi
122 % \iffrench\item[Mars 1999:] Il y a certaines lignes à ne pas numéroter (par
123 % exemple, celles qui ne contiennent que des espaces
124 % verticaux avant ou après une énumération).\fi
125 % \ifenglish\item[March 1999:] Some lines are not taken in correctly (for
126 % example those that contain only vertical space before or after
127 % an enumeration).\fi
128 % \iffrench\item[Mars 1999:] commentaires\fi
129 % \ifenglish\item[March 1999:] comments\fi
130 % \end{description}
131 %
132 %\iffrench
133 % Il y a quelques bugs, en particulier des traits qui sont trop
134 % longs, trop courts, trop épais ou trop fins. Si Quelqu'un sait à
135 % quoi c'est dû, qu'il me le dise.
136 %
137 % Il ne devrait plus y avoir de problème à cause d'un environement de
138 % type liste (itemize, enumerate, etc.) à l'intérieur des boites.
139 %
140 % D'après :
141 %\fi
142 %\ifenglish
143 % There are some bugs, in particular some lengths that are too long,
144 % too short, too low, or too fine. If someone knows what causes this,
145 % please tell me.
146 %
147 % The problem with list environments (itemize, enumerate, etc.) inside
148 % the boite environment should not longer exist.
149 %
150 % Based upon:
151 %\fi
152 % \textsf{eclbkbox.sty} by Hideki Isozaki, 1992;
153 % Date: May 28, 1993.
154 %
155 % \ifenglish
156 % \section{User Documentation}
157 % \begin{flushleft}
158 % \texttt{boites.sty} (boxes that may break across pages)\\
159 % \copyright\ 1998--1999 Vincent Zoonekynd \textless
160 % [email protected]\textgreater\\
161 % Distributed under the GNU Public Licence
162 % \end{flushleft}
163 %
164 % \subsection{Description}
165 % These environments allow page breaks inside framed boxes.
166 % They include a few examples (shaded box, box with a wavy
167 % line on its side, etc.)
168 %
169 % See also
170 % \href{http://www.ctan.org/pkg/framed}
171 % {macros/latex/contrib/other/misc/framed.sty}.
172 %
173 % \subsection{Usage}
174 %
175 % \paragraph{In the preamble:}
176 % \begin{verbatim}
177 % \usepackage{boites,boites_examples,graphicx}
178 % \end{verbatim}
179 %
180 % \paragraph{Before using the various environments:}
181 % \begin{description}
182 % \item[\cs{bkcounttrue}:] the lines will be numbered
183 % \item[\cs{bkcountfalse}:] the lines will not be numbered
184 % \end{description}
185 %
186 % \paragraph{Boxed text with a title:}
187 % \begin{verbatim}
188 % \begin{boiteepaisseavecuntitre}
189 % ...
190 % \end{boiteepaisseavecuntitre}
191 % \end{verbatim}
192 %
193 % \paragraph{Text with a double vertical line on the left and a number}
194 % (17, in this example):
195 % \begin{verbatim}
196 % \begin{boitenumeroteeavecunedoublebarre}{17}
197 % ...
198 % \end{boitenumeroteeavecunedoublebarre}
199 % \end{verbatim}
200 %
201 % \paragraph{Text with a wavy line on the left:}
202 % \begin{verbatim}
203 % \begin{boiteavecunelignequiondulesurlecote}
204 % ...
205 % \end{boiteavecunelignequiondulesurlecote}
206 % \end{verbatim}
207 %
208 % \paragraph{Shaded box:}
209 % \begin{verbatim}
210 % \begin{boitecoloriee}
211 % ...
212 % \end{boitecoloriee}
213 % \end{verbatim}
214 %
215 % If you wish other kinds of boxes, have a look at
216 % \texttt{boites\_examples.sty} and feel free to adapt the macros. Examples
217 % for several kinds of boxes are shown at
218 % \href{boites_exemples.pdf}{\texttt{boites\_exemples.pdf}}.
219 %
220 % \subsection{Features}
221 % \begin{itemize}
222 % \item These environments may be nested.
223 % \item They may appear in a multicols environment.
224 % \item Floating material, footnotes, marginpars appearing inside
225 % them will be lost.
226 % \end{itemize}
227 % \fi
228 %
229 % \iffrench\section{Guide d'utilisateur}
230 % Cette section n'existe malheureusement que dans la version anglaise.\fi
231 %
232 % \StopEventually{\PrintIndex\PrintChanges}
233 %
234 % \section{Implementation}
235 %
236 %\iffalse
237 %<*package>
238 %\fi
239 %
240 % \begin{macrocode}
241 \newbox\bk@bxb
242 \newbox\bk@bxa
243 \newif\if@bkcont
244 \newif\ifbkcount
245 \newcount\bk@lcnt
246
247 \def\breakboxskip{2pt}
248 \def\breakboxparindent{1.8em}
249 % \end{macrocode}
250 %
251 % \iffrench\subsection{Paramètres modifiables}\fi
252 % \ifenglish\subsection{parameters that can be modified}\fi
253 % \begin{macrocode}
254 \def\bkvz@before@breakbox{\ifhmode\par\fi\vskip\breakboxskip\relax}
255 % \end{macrocode}
256 %
257 % \iffrench
258 % Ce que l'on met à gauche du texte, par exemple, une ligne verticale
259 % pour faire un cadre, ou une ligne qui ondule.
260 % \fi
261 % \ifenglish
262 % What should be put on the left of the text, for example a vertical
263 % line for a frame, or a wavy line.
264 % \fi
265 % \begin{macrocode}
266 \def\bkvz@left{\vrule \@width\fboxrule\hskip\fboxsep}
267 % \end{macrocode}
268 %
269 % \iffrench De même, ce que l'on met à droite,\fi
270 % \ifenglish Analog; what should be put on the right,\fi
271 % \begin{macrocode}
272 \def\bkvz@right{\hskip\fboxsep\vrule \@width\fboxrule}
273 % \end{macrocode}
274 %
275 % \iffrench en haut\fi
276 % \ifenglish above\fi
277 % \begin{macrocode}
278 \def\bkvz@top{\hrule\@height\fboxrule}
279 % \end{macrocode}
280 %
281 % \iffrench ou en bas\fi
282 % \ifenglish and below.\fi
283 % \begin{macrocode}
284 \def\bkvz@bottom{\hrule\@height\fboxrule}
285 % \end{macrocode}
286 %
287 % \iffrench
288 % Si vous modifiez l'une de ces macros, il ne faut pas oublier de
289 % modifier aussi la suivante, qui change la valeur de \cs{linewidth} en
290 % lui retirant la largeur de tout ce que l'on vient de mettre sur le
291 % côté.
292 % \fi
293 % \ifenglish
294 % If you modify one of those macros, don't forget to modify also
295 % the following. It reduces the value of \cs{linewidth} by the width
296 % of all that will be put on the edges.
297 % \fi
298 % \begin{macrocode}
299 \def\bkvz@set@linewidth{\advance\linewidth -2\fboxrule
300 \advance\linewidth -2\fboxsep}
301 % \end{macrocode}
302 %
303 % \iffrench FIN DES PARAMÈTRES MODIFIABLES\fi
304 % \ifenglish END OF PARAMETERS THAT CAN BE MODIFIED\fi
305 %
306 % \iffrench \subsection{Le début de l'environement}\fi
307 % \ifenglish \subsection{The start of the environment}\fi
308 % \begin{macrocode}
309 \def\breakbox{%
310 % \end{macrocode}
311 % \iffrench
312 % On n'est pas nécessairement en mode vertical.
313 % C'est \cs{bkvz@before@breakbox} qui s'en occupe (ou non).
314 % \fi
315 % \ifenglish
316 % Start is not necessarily in vertical mode.
317 % \cs{bkvz@before@breakbox} deals with this (if necessary).
318 % \fi
319 % \begin{macrocode}
320 \bkvz@before@breakbox
321 % \end{macrocode}
322 % \iffrench on met tout dans une \cs{vbox} (\cs{bk@bxb})\fi
323 % \ifenglish put all in one \cs{vbox} (\cs{bk@bxb})\fi
324 % \begin{macrocode}
325 \setbox\bk@bxb\vbox\bgroup
326 % \end{macrocode}
327 % \iffrench
328 % À l'intérieur de cette \cs{vbox}, on change la valeur de \cs{hsize} (et
329 % aussi \cs{linewidth}).
330 % \fi
331 % \ifenglish Inside this \cs{vbox}, change \cs{hsize} (and \cs{linewidth}).\fi
332 % \begin{macrocode}
333 \bkvz@set@linewidth
334 \hsize\linewidth
335 % \end{macrocode}
336 % \iffrench je ne sais pas ce que fait la commande \cs{@parboxrestore}.\fi
337 % \ifenglish I do not know what \cs{@parboxrestore} does.\fi
338 % \begin{macrocode}
339 \@parboxrestore
340 % \end{macrocode}
341 % \iffrench On indente éventuellement, si l'utilisateur le désire.\fi
342 % \ifenglish Indent if the user so desires.\fi
343 % \begin{macrocode}
344 \parindent\breakboxparindent\relax}
345 % \end{macrocode}
346 %
347 % \iffrench On coupe la boite\fi
348 % \ifenglish Cut the box\fi
349 %
350 % \cs{@tempdimb}: amount of vertical skip
351 % between the first line (\cs{bk@bxa}) and the rest (\cs{bk@bxb})
352 % \begin{macrocode}
353 \def\bk@split{%
354 % \end{macrocode}
355 % \iffrench On calcule la hauteur totale (hauteur + profondeur) de la boite.\fi
356 % \ifenglish Calculate the total height (height + depth) of the box.\fi
357 % \begin{macrocode}
358 \@tempdimb\ht\bk@bxb % height of original box
359 \advance\@tempdimb\dp\bk@bxb
360 % \end{macrocode}
361 % \iffrench
362 % On coupe, à l'aide de la commande \cs{vsplit}\dots to 0pt
363 % Le morceau du haut se retrouve dans \cs{bk@bxa},
364 % celui du bas dans \cs{bk@bxb}.
365 % \fi
366 % \ifenglish
367 % Cut with the help of \cs{vsplit}\dots to 0pt
368 % The height can then be found in \cs{bk@bxa},
369 % the depth in \cs{bk@bxb}.
370 % \fi
371 % \begin{macrocode}
372 \setbox\bk@bxa\vsplit\bk@bxb to\z@ % split it
373 % \end{macrocode}
374 % \iffrench
375 % L'un des problèmes, c'est que la première boite a une hauteur vide.
376 % On peut lui redonner sa hauteur initiale grace à |\vbox{\unvbox...}|
377 % \fi
378 % \ifenglish
379 % A problem arises if the first box has an empty height.
380 % It can be given back its initial height via |\vbox{\unvbox...}|
381 % \fi
382 % \begin{macrocode}
383 \setbox\bk@bxa\vbox{\unvbox\bk@bxa}% recover height & depth of \bk@bxa
384 % \end{macrocode}
385 % \iffrench
386 % L'autre problème, c'est que l'on a perdu l'espace (interligne) entre
387 % nos deux boites. Pour le récupérer, on ajoute la hauteur de ces deux
388 % boites, et on fait la différence avec la hauteur initiale.
389 % \fi
390 % \ifenglish
391 % The other problem is to forget the (interline) space between our
392 % our two boxes. To regain it, add the height of the two boxes
393 % and subtract that from the initial height.
394 % \fi
395 % \begin{macrocode}
396 \setbox\@tempboxa\vbox{\copy\bk@bxa\copy\bk@bxb}% naive concatenation
397 \advance\@tempdimb-\ht\@tempboxa
398 \advance\@tempdimb-\dp\@tempboxa
399 % \end{macrocode}
400 % \iffrench
401 % Désormais, \cs{@tempdimb} contient l'espace entre les deux boites, que
402 % l'on utilisera avec \cs{bk@addskipdp}.
403 % \fi
404 % \ifenglish
405 % Now, \cs{@tempdimb} contains the space between the two boxes,
406 % which will be used with \cs{bk@addskipdp}.
407 % \fi
408 % \begin{macrocode}
409 }% gap between two boxes
410 % \end{macrocode}
411 %
412 % \iffrench Rajouter \cs{fboxsep} à la première ligne\fi
413 % \ifenglish Add \cs{fboxsep} to the first line\fi
414 %
415 % \cs{@tempdima}: height of the first line (\cs{bk@bxa}) + \cs{fboxsep}
416 % \begin{macrocode}
417 \def\bk@addfsepht{%
418 \setbox\bk@bxa\vbox{\vskip\fboxsep\box\bk@bxa}}
419 % \end{macrocode}
420 %
421 % \iffrench Cette macro n'est pas utilisée\fi
422 % \ifenglish This macro is not used anywhere\fi
423 % \begin{macrocode}
424 \def\bk@addskipht{%
425 \setbox\bk@bxa\vbox{\vskip\@tempdimb\box\bk@bxa}}
426 % \end{macrocode}
427 %
428 % \iffrench Rajouter \cs{fboxsep} à la dernière ligne\fi
429 % \ifenglish Add \cs{fboxsep} to the last line\fi
430 %
431 % \cs{@tempdima}: depth of the first line (\cs{bk@bxa}) + \cs{fboxsep}
432 % \begin{macrocode}
433 \def\bk@addfsepdp{%
434 \@tempdima\dp\bk@bxa
435 \advance\@tempdima\fboxsep
436 \dp\bk@bxa\@tempdima}
437 % \end{macrocode}
438 %
439 % \iffrench Rajouter l'espace qui a été perdu par \cs{vsplit}\dots\ to 0pt\fi
440 % \ifenglish Add the space that had been lost by \cs{vsplit}\dots\ to 0pt\fi
441 %
442 % \cs{@tempdima}: depth of the first line (\cs{bk@bxa}) + vertical skip
443 % \begin{macrocode}
444 \def\bk@addskipdp{%
445 \@tempdima\dp\bk@bxa
446 \advance\@tempdima\@tempdimb
447 \dp\bk@bxa\@tempdima}
448 % \end{macrocode}
449 %
450 % \iffrench
451 % On ne compte pas toutes les lignes, mais uniquement celles qui en
452 % sont vraiment. J'ai pris comme critère une largeur supérieure à
453 % 1mm. La même distance se retrouve un peu plus loin, dans
454 % \cs{bk@line}.
455 % \fi
456 % \ifenglish
457 % Not all lines are computed, only cells that truely are there.
458 % I have taken as criterion a size of minimum 1mm.
459 % The same distance can be found further on, in \cs{bk@line}.
460 % \fi
461 % \begin{macrocode}
462 \def\bkvz@countlines{%
463 \ifdim\wd\bk@bxa>1mm\advance\bk@lcnt\@ne\fi
464 }
465 % \end{macrocode}
466 %
467 % \iffrench Afficher la ligne que l'on vient de couper\fi
468 % \ifenglish show the line we had cut\fi
469 % \begin{macrocode}
470 \def\bk@line{%
471 \hbox to \linewidth{%
472 \ifdim\wd\bk@bxa>1mm
473 \ifbkcount\smash{\llap{\the\bk@lcnt\ }}\fi
474 \fi
475 \bkvz@left
476 \box\bk@bxa
477 % \end{macrocode}
478 % \iffrench
479 % Il arrive que la boite ne soit pas aussi large que la ligne
480 % (par exemple, espace avant une énumération)
481 % \fi
482 % \ifenglish
483 % Sometimes the box is not big enough for a line (for example,
484 % space before an enumeration)
485 % \fi
486 % \begin{macrocode}
487 \hfil
488 \bkvz@right}}
489 % \end{macrocode}
490 %
491 % \iffrench La fin de l'environement\fi
492 % \ifenglish The end of the environment\fi
493 % \begin{macrocode}
494 \def\endbreakbox{%
495 % \end{macrocode}
496 % \iffrench On ferme la \cs{vbox} (\cs{bk@bxb})\fi
497 % \ifenglish Close the \cs{vbox} (\cs{bk@bxb})\fi
498 % \begin{macrocode}
499 \egroup
500 % \ifhmode\par\fi
501 {\noindent
502 % \end{macrocode}
503 % \iffrench On remet le compteur de lignes à un.\fi
504 % \ifenglish Set line count back to one.\fi
505 % \begin{macrocode}
506 \bk@lcnt 0
507 % \end{macrocode}
508 % \iffrench Le booléen que nous allons utiliser dans la boucle plus loin.\fi
509 % \ifenglish The boolean we will use in the following loop.\fi
510 % \begin{macrocode}
511 \@bkconttrue
512 % \end{macrocode}
513 % \iffrench
514 % Comme on va empiler des boites, on met certains ressorts à zéro,
515 % pour éviter les espaces verticaux non désirés.
516 % \fi
517 % \ifenglish
518 % While putting together the boxes, some ajustable lengths are set
519 % to zero to avoid undesired vertical space.
520 % \fi
521 % \begin{macrocode}
522 \baselineskip\z@
523 \lineskiplimit\z@
524 \lineskip\z@
525 \vfuzz\maxdimen
526 % \end{macrocode}
527 % \iffrench On coupe la boite\fi
528 % \ifenglish split the boxes\fi
529 % \begin{macrocode}
530 \bk@split
531 % \end{macrocode}
532 % \iffrench On ajoute un peu d'espace vertical (\cs{fboxsep}) au dessus\fi
533 % \ifenglish Add a bit of vertical space (\cs{fboxsep}) above\fi
534 % \begin{macrocode}
535 \bk@addfsepht
536 % \end{macrocode}
537 % \iffrench
538 % On ajoute en dessous l'espace qui avait été perdu par la commande
539 % \cs{vsplit}.
540 % \fi
541 % \ifenglish
542 % Add below the space that had been forgotten due to the use of
543 % the \cs{vsplit} command.
544 % \fi
545 % \begin{macrocode}
546 \bk@addskipdp
547 % \end{macrocode}
548 % \iffrench De deux choses l'une,\fi
549 % \ifenglish First of two,\fi
550 % \begin{macrocode}
551 \ifvoid\bk@bxb
552 % \end{macrocode}
553 % \iffrench Soit, il n'y a qu'une ligne\fi
554 % \ifenglish In case there's only one line\fi
555 % \begin{macrocode}
556 \def\bk@fstln{%
557 % \end{macrocode}
558 % \iffrench On rajoute un peu d'espace (\cs{fboxsep}) en dessous.\fi
559 % \ifenglish Add a bit of space (\cs{fboxsep}) below.\fi
560 % \begin{macrocode}
561 \bk@addfsepdp
562 % \end{macrocode}
563 % \iffrench
564 % On construit la boite : le haut, le milieu (qui contient la gauche
565 % et la droite) et le bas.
566 % \fi
567 % \ifenglish
568 % Construct the box: the top, the middle (which contains
569 % the left and right parts) and the foot.
570 % \fi
571 % \begin{macrocode}
572 \bkvz@countlines
573 \vbox{\bkvz@top\bk@line\bkvz@bottom}}%
574 % \end{macrocode}
575 % \iffrench Soit, il y en a plusieurs.\fi
576 % \ifenglish In case there's more to do.\fi
577 % \begin{macrocode}
578 \else
579 \def\bk@fstln{%
580 % \end{macrocode}
581 % \iffrench On met le haut\fi
582 % \ifenglish Put in the top\fi
583 % \begin{macrocode}
584 \bkvz@countlines
585 \vbox{\bkvz@top\bk@line}%
586 % \end{macrocode}
587 % \iffrench ??? (Si on l'enlève, ça ne marche plus.)\fi
588 % \ifenglish ??? (If this is removed, it does not work any more.)\fi
589 % \begin{macrocode}
590 \hfil
591 % \end{macrocode}
592 % \iffrench On commence à compter les lignes\fi
593 % \ifenglish Continue counting lines\fi
594 % \begin{macrocode}
595 % \advance\bk@lcnt\@ne %%%%%%%%%%%%%%%%%%%% Voir \bkvz@countlines
596 % \end{macrocode}
597 % \iffrench Début de la boucle\fi
598 % \ifenglish Begin of the loop\fi
599 % \begin{macrocode}
600 \loop
601 % \end{macrocode}
602 % \iffrench On coupe ce qui reste de la boite.\fi
603 % \ifenglish Cut out the next bit of the box.\fi
604 % \begin{macrocode}
605 \bk@split
606 % \end{macrocode}
607 % \iffrench On rajoute l'espace vertical qui a été perdu.\fi
608 % \ifenglish Add the vertical space that has been left out.\fi
609 % \begin{macrocode}
610 \bk@addskipdp
611 % \end{macrocode}
612 % \iffrench Éventuellement, on augmente le numéro de la ligne\fi
613 % \ifenglish advance number of lines if necessary\fi
614 % \begin{macrocode}
615 \bkvz@countlines
616 % \end{macrocode}
617 % ???
618 % \begin{macrocode}
619 leavevmode
620 % \end{macrocode}
621 % \iffrench S'il s'agit de la dernière ligne\fi
622 % \ifenglish If it's the last line\fi
623 % \begin{macrocode}
624 \ifvoid\bk@bxb
625 % \end{macrocode}
626 % \iffrench On met le booléen indiquant que la boucle doit se poursuivre à
627 % FAUX.\fi
628 % \ifenglish Set the boolean that indicates continuing the loop to FALSE.\fi
629 % \begin{macrocode}
630 \@bkcontfalse
631 % \end{macrocode}
632 % \iffrench On met un peu d'espace vertical (\cs{fboxsep})\fi
633 % \ifenglish Add a bit of vertical space (\cs{fboxsep})\fi
634 % \begin{macrocode}
635 \bk@addfsepdp
636 % \end{macrocode}
637 % \iffrench En envoie la dernière ligne.\fi
638 % \ifenglish Add the last line.\fi
639 % \iffrench POURQUOI \cs{vtop} ??? Pour que l'éventuel numéro de ligne soit à
640 % la bonne hauteur.\fi
641 % \ifenglish WHY \cs{vtop}??? Because the line number has correct height.\fi
642 % \begin{macrocode}
643 \vtop{\bk@line\bkvz@bottom}%
644 \else % 2,...,(n-1)
645 \bk@line
646 \fi
647 \hfil
648 % \end{macrocode}
649 % \iffrench Voir \cs{bkvz@countlines}\fi
650 % \ifenglish See \cs{bkvz@countlines}\fi
651 % \begin{macrocode}
652 % \advance\bk@lcnt\@ne
653 \if@bkcont\repeat}%
654 \fi
655 \leavevmode\bk@fstln\par}\vskip\breakboxskip\relax}
656 % \end{macrocode}
657 % \begin{macrocode}
658 \bkcountfalse
659 % \end{macrocode}
660 %
661 %\iffalse
662 %</package>
663 %\fi
664 %
665 % \Finale
666 %
667 \endinput
668 %
669 % end of `boites.dtx'
670 %
671 % \iffalse
672 %%% Local Variables:
673 %%% mode: doc-tex
674 %%% TeX-master: t
675 %%% End:
676 % \fi