Is there any global value which is guaranteed to have different values when running as `pandoc lua` vs. running as `pandoc`? 

My use case is a script which should work both as a filter and as a standalone script and print some info in the latter case.

It seems like `PANDOC_STATE` is nil when running as `pandoc lua`, but is this always so, and/or is there a better option?

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhDOC98BQ4UY%2BoKTMa4mfSgJMX8%2BJ0GfXk%3Dq3ebL-dFYYg%40mail.gmail.com.