You asked

Panasonic lumix s 100mm f 2 8 macro vs leica apo macro elmarit sl 100mm f 2 8?

Both lenses are 100mm f/2.8 macro lenses for full-frame L-Mount cameras, with autofocus and no stabilisation. On the site's specs they're identical: same focal length, same maximum aperture, same mount, same framing (100mm on full frame, about 150mm equivalent on APS-C). The guide has no separate notes on sharpness, build or handling, so it can't say one renders better. Choose on brand, body and price.

The Panasonic Lumix S 100mm f/2.8 Macro is the one to look at if you already shoot Panasonic or Sigma L-Mount bodies, or if you want the lens that matches your system's brand. The Panasonic Lumix S 100mm f/2.8 Macro fits the same bodies as the Leica, so the mount isn't a reason to pick one over the other. The Leica APO-Macro-Elmarit-SL 100mm f/2.8 suits a Leica SL body, where it's the natural partner. Both fit the Leica SL-series, Panasonic S-series and Sigma fp bodies.

Either lens works for macro, and at 100mm it also suits headshots that need a little more distance than the portrait lens guide recommends. Pair either one with a full-frame L-Mount body. For the framing on APS-C bodies, see the L-Mount overview.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.