You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did the job well, except that it didn’t match the placemats.
¿Should there be a new page type (the first new page type since Accounts in Jan 2016), perhaps called BottleWrap?
Methodology
Likely parameters might be as follows.
/BottleWrapNumCopies0def% Might be 1, might be {WithinTitles 1 eq {1} {0} ifelse}/BottleWrapNumRows4def/BottleWrapPaperType
<< /TNSheetNum0 >> beginTastingNotesPaperTypeend/A4eq {/A3} {/Tabloid} ifelsedef% /BottleWrapPaperType/BottleWrapOrientation/Landscapedef
Let’s call ‘TABO’ the contents centre of the circle, with its Title, Abovetitle, Belowtitle, Overtitle. Compute its bounding box.
Assuming BottleWrapNumRows = 4, there will four of these per column, so five copies of the Circlearrays. Allowing for a small gap between, that implies a maximum vertical height of this page’s TABO, and hence a scaling factor. Scale copies of the TABO thus, packing ’em in tightly from the left, so typically there will be a partial copy on the right, clipped to page margins. The external decorations of the TABO (ShapesInTitles, CrossHatching, Outlines, Spirals, and maybe Droplets) are to be shown but not used for bounding-box calculations.
Circlearrays separate the TABO copies, slightly differently to the way they work on the CorkDisplay pages. Horizontal lines of Circlearrays run from the left to the right, also being clipped on the right. Different rows will start at different item numbers, for variety of placement. Vertical lines of Circlearrays run between the horizontal lines, perhaps with some variety of starting item, rotated such that they can be read by somebody at the reader’s right of the page.
Note to self
% First row of Circlearrays item starts at item 0. Subsequent rows with constant step size, rotating% modulo length. Step size is BottleWrapCirclearrayStepSize Circlearrays WithinTitles get length get% with, of course, a pointless overflow check. Pointless because, IIRC, max item length seen = 5./BottleWrapCirclearrayStepSize [
1111121232% 0 to 93355347758% 10 to 1998997711101111% 20 to 291112914131313141116% 30 to 39
] def% /BottleWrapCirclearrayStepSize
The text was updated successfully, but these errors were encountered:
At the tasting on Tuesday 17th May 2022 there was some discussion (Mike M., Neil C., and me) about whether the BottleWrap pages should be in a separate PDF, or with the other page types. We concluded that people at home, trying to print their one page of BottleWrap, wouldn’t be willing to seek it within a large document. So the BottleWrap pages should be a separate PDF.
Hence the default behaviour is that if BottleWrapNumCopies is anything other than 0 then BottleWrapSuppressOtherPageTypes becomes true. As this might be unexpected (“Why have all the other pages disappeared‽”) a comment has been added:
/BottleWrapNumCopies0def% Interacts with BottleWrapSuppressOtherPageTypes
BottleWrap
Purpose and motivation
At a recent tasting, one person brought a bottle wrapped in a printed page.
Did the job well, except that it didn’t match the placemats.
¿Should there be a new page type (the first new page type since Accounts in Jan 2016), perhaps called BottleWrap?
Methodology
Likely parameters might be as follows.
Let’s call ‘TABO’ the contents centre of the circle, with its Title, Abovetitle, Belowtitle, Overtitle. Compute its bounding box.
Assuming
BottleWrapNumRows
= 4, there will four of these per column, so five copies of the Circlearrays. Allowing for a small gap between, that implies a maximum vertical height of this page’s TABO, and hence a scaling factor. Scale copies of the TABO thus, packing ’em in tightly from the left, so typically there will be a partial copy on the right, clipped to page margins. The external decorations of the TABO (ShapesInTitles, CrossHatching, Outlines, Spirals, and maybe Droplets) are to be shown but not used for bounding-box calculations.Circlearrays separate the TABO copies, slightly differently to the way they work on the CorkDisplay pages. Horizontal lines of Circlearrays run from the left to the right, also being clipped on the right. Different rows will start at different item numbers, for variety of placement. Vertical lines of Circlearrays run between the horizontal lines, perhaps with some variety of starting item, rotated such that they can be read by somebody at the reader’s right of the page.
Note to self
The text was updated successfully, but these errors were encountered: