Software that makes placemats

Organise events to meet up and drink Port.
User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 22:46 Tue 19 Aug 2014

jdaw1 wrote:At the request of AHB, extra parameter VoteRecorderNamesOrientation, with allowed values /Horizontal, /Vertical, or the default value of /Either. AHB prefers the value /Vertical.
Damn. This has caused me to notice something else that should be fixed. The Total on the bottom-left of the page should be rotated. E.g.:
Image

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 00:04 Wed 20 Aug 2014

(Note to self whilst on Tapatalk. Auto-rotate that “Total” if: width of cell smaller than width of “Total”; and width of cell at least height of “Total”; and cell taller than wide.)

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 07:15 Thu 21 Aug 2014

(Note to self whilst on Tapatalk. Different conditions better. Auto-rotate that “Total” if: width of cell smaller than width of “Total”; width “Total” × height cell > height “Total” × width cell.)

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 20:41 Thu 21 Aug 2014

(Note to self whilst on Tapatalk. Different condition better. Compute Max font size factor if unrotated = Min(1, width of cell ÷ width of “Total”, height of cell ÷ height of “Total”. Also compute Max font size factor if rotated = Min(1, width of cell ÷ height of “Total”, height of cell ÷ width of “Total”). Rotate if latter strictly bigger. If not rotated show at original height but perhaps horizontally squashed; if rotated show shrunk equally in both directions. Maybe, if rotated and shrunk at all, shrink by a factor of at least √½. Comment welcomed.

But in one case the scaling is in one direction, in the other in both. So maybe the former should be compared to the square of the latter. Comment welcomed.)

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 20:19 Fri 22 Aug 2014

(Note to self whilst on Tapatalk. Definitely not squaring: measuring legibility not ink. E.g., would much rather have scaling in both directions by a factor of 0.7 than scaling in one by a factor of 0.5.)

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 10:07 Sun 24 Aug 2014

Done.

Old and new:
Image Image
(Reload images with ⌘R or Control-R. Alas not possible on Tapatalk.)

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 21:43 Wed 10 Sep 2014

A tasting is to be held on 23rd September 2014. Because The Bung Hole will be closed for refurbishment, the tasting is to be held at Davy’s at Woolgate.

In the default value of ExternalLinks there are four lines about The Bung Hole: one for its website, and one each for three map websites. These lines should be replaced with Woolgate equivalents, and for use and future re-use, a correct replacement follows.

Code: Select all

	(http://www.davy.co.uk/woolgate/)  [(Davy) /quoteright (s at Woolgate)]
	(http://www.streetmap.co.uk/map.srf?x=532560&y=181440&z=106&pc=EC2V+5HA)  (EC2V 5HA, streetmap.co.uk)
	(https://maps.google.co.uk/maps?z=20&t=k&layer=c&cbll=51.51652,-0.091&cbp=11,80,,0,0)  (EC2V 5HA, maps.google.co.uk)
	(http://www.bing.com/maps/default.aspx?where1=EC2V+5HA&cp=51.5162~-0.09084)  (EC2V 5HA, bing.com)
For testing purposes, those links in BBCode format:
Edit: also for the Crusting Pipe:

Code: Select all

	(http://www.crustingpipe.co.uk/)  (Crusting Pipe)
	(http://www.streetmap.co.uk/map.srf?x=530351&y=180907&z=106&pc=WC2E+8RD)  (WC2E 8RD, streetmap.co.uk)
	(http://www.bing.com/maps/default.aspx?where1=WC2E+8RD&cp=51.5121~-0.123)  (WC2E 8RD, bing.com)
	(https://plus.google.com/103198375868437142697/)  (Crusting Pipe, plus.google.com)
And, for Davy’s at Woolgate, with an extra line:

Code: Select all

	(http://www.davy.co.uk/woolgate/)  [(Davy) /quoteright (s at Woolgate)]
	(http://www.streetmap.co.uk/map.srf?x=532560&y=181440&z=106&pc=EC2V+5HA)  (EC2V 5HA, streetmap.co.uk)
	(http://www.bing.com/maps/default.aspx?where1=EC2V+5HA&cp=51.5162~-0.09084)  (EC2V 5HA, bing.com)
	(https://maps.google.co.uk/maps?z=20&t=k&layer=c&cbll=51.51652,-0.091&cbp=11,80,,0,0)  (EC2V 5HA, maps.google.co.uk)
	(https://plus.google.com/115233829966484950403/)  [(Davy) /quoteright (s at Woolgate, plus.google.com)]

User avatar
djewesbury
Graham’s 1970
Posts: 8154
Joined: 20:01 Mon 31 Dec 2012
Location: Belfast
Contact:

Re: Software that makes placemats

Post by djewesbury » 18:43 Tue 16 Sep 2014

It would be good if /BackgroundTextsGlassesPaintCode were nearer the other /BackgroundTextsGlasses parameters. Just saying.
Daniel J.
delete.. delete.. *sigh*.. delete...

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 19:09 Tue 16 Sep 2014

djewesbury wrote:It would be good if /BackgroundTextsGlassesPaintCode were nearer the other /BackgroundTextsGlasses parameters. Just saying.
I generally assumed that …Code parameters require more expertise than parameters holding strings. If you disagree with that, or with my attempt to put such parameters in the section for them, I’ll move it.

Edit: FTR, this request is presumably based on the placemats for The Scottish Independence Referendum, 18th Sept 2014.

User avatar
djewesbury
Graham’s 1970
Posts: 8154
Joined: 20:01 Mon 31 Dec 2012
Location: Belfast
Contact:

Re: Software that makes placemats

Post by djewesbury » 19:11 Tue 16 Sep 2014

generally I'd agree. But this is about the basic display of the background element. Having chosen the font I want to be able to fill it without too much searching.
Daniel J.
delete.. delete.. *sigh*.. delete...

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 19:14 Tue 16 Sep 2014

Hmm. Maybe.

I discourage filling: it makes it harder to see colour on glasses page, and harder to write on the TN page.

User avatar
djewesbury
Graham’s 1970
Posts: 8154
Joined: 20:01 Mon 31 Dec 2012
Location: Belfast
Contact:

Re: Software that makes placemats

Post by djewesbury » 19:19 Tue 16 Sep 2014

Your discouragement is noted.
Daniel J.
delete.. delete.. *sigh*.. delete...

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 19:44 Tue 16 Sep 2014

djewesbury wrote:Your discouragement is noted.
As is your request, which is done.

(Requests are rare, and my disagreement slight — the customer is right.)

User avatar
djewesbury
Graham’s 1970
Posts: 8154
Joined: 20:01 Mon 31 Dec 2012
Location: Belfast
Contact:

Re: Software that makes placemats

Post by djewesbury » 17:54 Sat 20 Sep 2014

Can I be added to the list for TN stars please. Sideways would be useful.
Daniel J.
delete.. delete.. *sigh*.. delete...

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 18:58 Sat 20 Sep 2014

djewesbury wrote:Can I be added to the list for TN stars please. Sideways would be useful.
One row, five columns?

User avatar
djewesbury
Graham’s 1970
Posts: 8154
Joined: 20:01 Mon 31 Dec 2012
Location: Belfast
Contact:

Re: Software that makes placemats

Post by djewesbury » 18:59 Sat 20 Sep 2014

Please
Daniel J.
delete.. delete.. *sigh*.. delete...

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 21:31 Sat 20 Sep 2014

jdaw1 wrote:
djewesbury wrote:Can I be added to the list for TN stars please. Sideways would be useful.
One row, five columns?
Done.

If needed, ask other placemat makers to update the placemats for tastings that you are attending.

User avatar
djewesbury
Graham’s 1970
Posts: 8154
Joined: 20:01 Mon 31 Dec 2012
Location: Belfast
Contact:

Re: Software that makes placemats

Post by djewesbury » 21:32 Sat 20 Sep 2014

jdaw1 wrote:
jdaw1 wrote:
djewesbury wrote:Can I be added to the list for TN stars please. Sideways would be useful.
One row, five columns?
Done.

If needed, ask other placemat makers to update the placemats for tastings that you are attending.
Thank you. Very kind.
Daniel J.
delete.. delete.. *sigh*.. delete...

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 22:34 Sun 05 Oct 2014

There is to be a Ramos-Pinto Vertical on Tuesday 21st October 2014. Current placemats, being fourteen glasses on A3 with 18pt margins.
Image

Self-evidently, it is possible to jiggle the circles to make space such that they could be a mite bigger. The following comment has been added to the PostScript file.

Code: Select all

% Notes. A3, with 18pt margins, is 1-by-0.697984132.
% Packomania has results for 1-by-0.7, and on that size its best radius is 0.1081619.
% http://hydra.nat.uni-magdeburg.de/packing/crc_700/d3.html   http://hydra.nat.uni-magdeburg.de/packing/crc_700/pdf/d3.pdf
% Same layout as used on RP, but on 1-by-0.7, has radius of ( 127 - 10 * Sqrt(67) ) / 420 ~= 0.1074916.
% Mathematica: Solve[{6 R + 4 R Cos[Theta] == 1, 2 R + 8 R Sin[Theta] == 7/10}, {R, Theta}]
% So Packomania better by a factor of ~= 1.006235837.
% If same ratio at this nearly-0.7 page with radius currently 124.172pt, worth an extra 0.77pt ~= 0.273mm of radius.
% So about that close to the optimum.
% Judgement call: not worth Packomania's asymmetry to gain that small radius.
That link to Packomania, 1-by-0.7, 14 circles.

Edit on 3rd Nov 2014: since solved in Mathematica, the actual gain in radius being 0.732029pt ≈ 0.258mm. So indeed not worth it.

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 12:49 Thu 06 Nov 2014

For quotation elsewhere: See the post in the thread entitled “Software that makes placemats” containing values to use in ExternalLinks.


The parameter ExternalLinks is to hold external links relevant to the tasting, traditionally including a link to the venue and to maps. Below are some components of ExternalLinks that could be re-used. Since first being posted other venues have been added to this post, and more could be, especially if requested. (In August 2015 the parameters of ExternalLinks were extended and re-arranged: what follows is in the new pattern.)

The Royal Air Force Club

Code: Select all

	false   (The Royal Air Force Club)     (https://www.rafclub.org.uk/)
	true    (W1J 7PY, streetmap.co.uk)     (http://www.streetmap.co.uk/map.srf?x=528568&y=179998&z=106&pc=W1J+7PY)
	true    (W1J 7PY, maps.google.co.uk)   (https://maps.google.co.uk/maps?z=20&t=k&layer=c&cbll=51.5043,-0.1487&cbp=11,330,,0,0)
	true    (W1J 7PY, bing.com)            (http://www.bing.com/maps/default.aspx?where1=W1J+7PY&cp=51.5043~-0.1487)
Clickable: • The Royal Air Force Club; • W1J 7PY, streetmap.co.uk; • W1J 7PY, maps.google.co.uk; • W1J 7PY, bing.com.


Simpson’s-in-the-Strand

Code: Select all

	false   [(Simpson) /quoteright (s-in-the-Strand)]   (http://www.simpsonsinthestrand.co.uk/)
	true    (WC2R 0EW, streetmap.co.uk)                 (http://www.streetmap.co.uk/map.srf?x=530511&y=180743&z=106&pc=WC2R+0EW)
	true    (WC2R 0EW, maps.google.co.uk)               (https://maps.google.co.uk/maps?z=20&t=k&layer=c&cbll=51.5107,-0.1207&cbp=11,150,,0,0)
	true    (WC2R 0EW, bing.com)                        (http://www.bing.com/maps/default.aspx?where1=WC2R+0EW&cp=51.5107~-0.1207)
Clickable: • Simpson’s-in-the-Strand; • WC2R 0EW, streetmap.co.uk; • WC2R 0EW, maps.google.co.uk; • WC2R 0EW, bing.com.


Boot and Flogger

Code: Select all

	false   (Boot & Flogger)               (http://www.davy.co.uk/bootandflogger/)
	true    (SE1 1TA, streetmap.co.uk)     (http://www.streetmap.co.uk/map.srf?x=532409&y=180083&z=106&pc=SE1+1TA)
	true    (SE1 1TA, maps.google.co.uk)   (https://maps.google.co.uk/maps?z=20&t=k&layer=c&cbll=51.50428,-0.0935&cbp=11,260,,0,0)
	true    (SE1 1TA, bing.com)            (http://www.bing.com/maps/default.aspx?where1=SE1+1TA&cp=51.50428~-0.0935)
Clickable: • Boot & Flogger; • SE1 1TA, streetmap.co.uk; • SE1 1TA, maps.google.co.uk; • SE1 1TA, bing.com.


Davy’s at Woolgate

Code: Select all

	false   [(Davy) /quoteright (s at Woolgate)]                    (http://www.davy.co.uk/woolgate/)
	true    (EC2V 5HA, streetmap.co.uk)                             (http://www.streetmap.co.uk/map.srf?x=532560&y=181440&z=106&pc=EC2V+5HA)
	true    (EC2V 5HA, bing.com)                                    (http://www.bing.com/maps/default.aspx?where1=EC2V+5HA&cp=51.5162~-0.09084)
	true    (EC2V 5HA, maps.google.co.uk)                           (https://maps.google.co.uk/maps?z=20&t=k&layer=c&cbll=51.51652,-0.091&cbp=11,80,,0,0)
	true    [(Davy) /quoteright (s at Woolgate, plus.google.com)]   (https://plus.google.com/115233829966484950403/)
Clickable: • Davy’s at Woolgate; • EC2V 5HA, streetmap.co.uk; • EC2V 5HA, bing.com; • EC2V 5HA, maps.google.co.uk; • Davy’s at Woolgate, plus.google.com.


The Bung Hole

Code: Select all

	false   (The Bung Hole)                 (http://www.davy.co.uk/bunghole/)
	true    (WC1V 6DT, streetmap.co.uk)     (http://www.streetmap.co.uk/map.srf?x=530848&y=181628&z=106&pc=WC1V+6DT)
	true    (WC1V 6DT, maps.google.co.uk)   (https://maps.google.co.uk/maps?z=20&t=k&layer=c&cbll=51.5182,-0.1154&cbp=11,15,,0,0)
	true    (WC1V 6DT, bing.com)            (http://www.bing.com/maps/default.aspx?where1=WC1V+6DT&cp=51.5182~-0.1154)
Clickable: • The Bung Hole; • WC1V 6DT, streetmap.co.uk; • WC1V 6DT, maps.google.co.uk; • WC1V 6DT, bing.com.


Crusting Pipe

Code: Select all

	false   (Crusting Pipe)                    (http://www.crustingpipe.co.uk/)
	true    (WC2E 8RD, streetmap.co.uk)        (http://www.streetmap.co.uk/map.srf?x=530351&y=180907&z=106&pc=WC2E+8RD)
	true    (WC2E 8RD, bing.com)               (http://www.bing.com/maps/default.aspx?where1=WC2E+8RD&cp=51.5121~-0.123)
	true    (Crusting Pipe, plus.google.com)   (https://plus.google.com/103198375868437142697/)
Clickable: • Crusting Pipe; • WC2E 8RD, streetmap.co.uk; • WC2E 8RD, bing.com; • Crusting Pipe, plus.google.com.


Crown Passage

Code: Select all

	false   [(Davy) /quoteright (s at St James) /quoteright (s)]                    (http://www.davy.co.uk/stjames/)
	true    (SW1Y 6QY, streetmap.co.uk)                                             (http://www.streetmap.co.uk/map.srf?x=529318&y=180218&z=106&pc=SW1Y+6QY)
	true    (SW1Y 6QY, bing.com)                                                    (http://www.bing.com/maps/default.aspx?where1=SW1Y+6QY&cp=51.5058~-0.1381)
	true    (SW1Y 6QY, maps.google.co.uk)                                           (https://maps.google.co.uk/maps?z=20&t=k&layer=c&cbll=51.5061,-0.1381&cbp=11,150,,0,0)
	true    [(Davy) /quoteright (s at St James) /quoteright (s, plus.google.com)]   (https://plus.google.com/109580562186818760629/)
Clickable: • Davy’s at St James’s; • SW1Y 6QY, streetmap.co.uk; • SW1Y 6QY, bing.com; • EC2V 5HA, maps.google.co.uk; • Davy’s at St James’s, plus.google.com.


Plantation Place

Code: Select all

	false   [(Davy) /quoteright (s at Plantation Place)]   (http://www.davy.co.uk/plantationplace/)
	true    (EC3R 7BD, streetmap.co.uk)                    (http://www.streetmap.co.uk/map.srf?x=533205&y=180840&z=106&pc=EC3R+7BD)
	true    (EC3R 7BD, maps.google.co.uk)                  (https://maps.google.co.uk/maps?z=20&t=k&layer=c&cbll=51.5108,-0.0815&cbp=11,260,,0,0)
	true    (EC3R 7BD, bing.com)                           (http://www.bing.com/maps/default.aspx?where1=EC3R+7BD&cp=51.5108~-0.0815)
Clickable: • Davy’s at Plantation Place; • EC3R 7BD, streetmap.co.uk; • EC3R 7BD, maps.google.co.uk; • EC3R 7BD, bing.com.


Otto’s at 182 Gray’s Inn Road

Code: Select all

	false   [(Otto) /quoteright (s)]        (http://www.ottos-restaurant.com/)
	true    (WC1X 8EW, streetmap.co.uk)     (http://www.streetmap.co.uk/map.srf?x=530931&y=182133&z=106&pc=WC1X+8EW)
	true    (WC1X 8EW, maps.google.co.uk)   (https://maps.google.co.uk/maps?z=20&t=k&layer=c&cbll=51.5229,-0.11417&cbp=11,50,,0,0)
	true    (WC1X 8EW, bing.com)            (http://www.bing.com/maps/default.aspx?where1=WC1X+8EW&cp=51.5229~-0.11417)
Clickable: • Otto’s; • WC1X 8EW, streetmap.co.uk; • WC1X 8EW, maps.google.co.uk; • WC1X 8EW, bing.com.


Kasino Hotel, Leverkusen

Code: Select all

	false   (Kasino Hotel, Leverkusen)        (https://www.bayer-gastronomie.de/)
	true    (Kasino Hotel, maps.google.com)   (https://maps.google.com/maps?z=20&t=k&layer=c&cbll=51.014376,6.985116&cbp=11,190,,0,0)
	true    (WorldOfPort.de)                  (http://www.worldofport.de/)
Clickable: • Kasino Hotel, Leverkusen; • Kasino Hotel, maps.google.com; • WorldOfPort.de.

User avatar
djewesbury
Graham’s 1970
Posts: 8154
Joined: 20:01 Mon 31 Dec 2012
Location: Belfast
Contact:

Re: Software that makes placemats

Post by djewesbury » 19:52 Sat 22 Nov 2014

We are in Ox CAVE in Belfast (Tapatalk so link not easy) and sampling a number of wines by the half glass. (Please, stop muttering.)

I mentioned that we'd need a placemat. RAB casually tossed out an invention on the spot:

"If you had a little Perspex cover you could make a placemat on your iPad."

Anyone want to buy the rights?
Daniel J.
delete.. delete.. *sigh*.. delete...

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 19:55 Sat 22 Nov 2014

djewesbury wrote:"If you had a little Perspex cover you could make a placemat on your iPad."

Anyone want to buy the rights?
Drunks balancing full glasses on electronic devices: what could go wrong?
djewesbury wrote:We are in Ox CAVE in Belfast (Tapatalk so link not easy)
Perhaps oxbelfast.com.

User avatar
djewesbury
Graham’s 1970
Posts: 8154
Joined: 20:01 Mon 31 Dec 2012
Location: Belfast
Contact:

Software that makes placemats

Post by djewesbury » 19:56 Sat 22 Nov 2014

jdaw1 wrote:
djewesbury wrote:"If you had a little Perspex cover you could make a placemat on your iPad."

Anyone want to buy the rights?
Drunks balancing full glasses on electronic devices: what could go wrong?
Correction: half glasses.
I rest my case. (No, not on the iPad.)

Could it not be encased completely?
Daniel J.
delete.. delete.. *sigh*.. delete...

PhilW
Dow 1980
Posts: 2715
Joined: 14:22 Wed 15 Dec 2010
Location: Near Cambridge, UK

Re: Software that makes placemats

Post by PhilW » 13:11 Fri 28 Nov 2014

When creating the placemats for the Martinez, one problem was encountered. The placemat parameters were essentially vanilla, set up for 18 ports and 14 people, and parsing by ps2pdf.com created the placemats as we used on the night without a problem. During preparation however, I did try several options to enhance the placemats, including enabling of /Rays and (separately) enabling of /ShapesInTitles, however in both cases ps2pdf failed to parse the output, with an "internal error" response from the ps2pdf server (perhaps some form of memory error during processing rather than a postscript parsing or syntactic issue).

User avatar
jdaw1
Cockburn 1900
Posts: 20534
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: Software that makes placemats

Post by jdaw1 » 14:36 Fri 28 Nov 2014

Ouch!

Making the following changes to the parameters

Code: Select all

/Circlearrays [ 1 1 18 {[ exch 2 string cvs ]} for ] def
/Titles Circlearrays def
/Belowtitles [ Circlearrays length {()} repeat ] def
/Names [
	(JDAW)
] def

/ShapesInTitles true def
/ShapesToUse [/Flower] def  % At least one of: /Flower /Star

/Rays true def
works in Adobe Distiller XI on my Mac
Image Image Image
but not with ps2pdf.com.

Further investigation reveals that ps2pdf.com is having problems, even with the default PostScript file, though it worked with a tiny PostScript program. A question has been asked of the webmaster.

Post Reply