diff --git a/docs/mcp.md b/docs/mcp.md index 3246a43feb..9195b3fc44 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -5831,9 +5831,15 @@ same extension and bytes as one there, loads as that User Defined library (categ is refused before it is read. From a document, such as a `.ai` or `.eps` swatch library, it reads the colors, tints, gradients and pattern swatches in the document's order and color groups; `swatch.library.add` brings a pattern swatch's pattern, with its tile and -art, into the document as a pattern swatch under the library swatch's name and in its color group. A library swatch -named after its pattern instead takes the name the pattern comes in under, when the pattern comes in under another name -that no library swatch has and the swatch does not keep a free numbered name as described below. A global or spot +art, into the document as a pattern swatch under the library swatch's name. The swatch goes into its color group when +`names` is left out or when the first entry of `names` that covers the swatch is its group; when that first entry is +the swatch's own name, the swatch comes in ungrouped. A library swatch named after its +pattern instead takes the name the pattern comes in under, when the pattern comes in under another name that no +library swatch has and the swatch does not keep a free numbered name as described below. For such a swatch, when the +document already has a swatch under any name that paints that pattern placed the same way, that swatch is used and +nothing is added. Otherwise, when a +swatch or color group of the document already uses that name, the swatch comes in under a numbered copy of it +("Tiles 2 2"). A global or spot color the pattern's art links to keeps the library's color: when the document gives its name another color, it comes in under a numbered name ("Ink 2") and the pattern links to that. That numbered name, and the numbered names of a pattern swatch and of a pattern the art is painted with, skip the names the library gives its other swatches. A swatch