4

I copied Tomasz M. Trzeciak's code from Elliptic Moebius map on sphere using Tikz to draw a shaded sphere with parallels and meridians. Only the sphere was drawn - no parallels or meridians. When I changed the \tikzset(#1/.estyle to \tikzset(#1/.style in the LongitudePlane and LatitudePlane macros the lines were correctly drawn. I am running the latest version of OS X 10.9.3 and have the full Mac Latex install with the latest updates (as far as I can tell).

adlibber
  • 161
  • 2
    what is your question? – David Carlisle May 30 '14 at 12:22
  • 1
    Welcome to TeX.SX! Besides elaborate more the question, could you also put a reference to Tomasz M. Trzeciak's code? – Claudio Fiandrino May 30 '14 at 12:33
  • This is introduced in TikZ v3.00 I think. I remember vaguely about a bug report. – percusse May 30 '14 at 12:40
  • @PaulGaborit Looks like it indeed – percusse Jun 01 '14 at 07:31
  • Apologies for the vagueness! I think there is a bug with /.estyle under the current release of LaTeX and Mavericks. I am exploring the steriographic drawing ability of Tex with TiKz and discovered that when running the code from [link] (http://http:www.texample.net/tikz/examples/map-projections/) on my Mac I didn't get any of the lines of latitude and longitude drawn. Changing the /.estyle to /.style produced the lines but then some of the other graphics were not drawn. – adlibber Jun 03 '14 at 12:52
  • 1
    This problem was all about the way the /.prefix Key Handler works. On my latest Mac installation if you attempt to /.prefix a style to an existing /.estyle the expanded macro includes a /noexpand after the prefix so that the original key code is NEVER expanded! Chaos ensues as you would imagine! Simply creating another key for the prefix and then 'manually' inserting it with the prefixed style works perfectly! – adlibber Jun 11 '14 at 17:55

1 Answers1

3

I had the same problem with the Stereographic and cylindrical map projections example of Tomas M. Trzeciak only when I used pgf/tikz-Vers.3.0 and not the version 2.0.

In this case i replaced \tikzset(#1/.estyle with \tikzset(#1/.style and the 3d sphere was printed as expected.

Koulou
  • 31
  • 2