Python and Julia support unicode which makes it easy to write code which looks like math, i.e. (f = σ-> κ* σ ). Now, I'm trying to copy over some of this code into notes, with the listings package. But pdflatex doesn't want to compile it. I tried lualatex, and then I have no errors, but the symbols don't show up. Just to reiterate, I am not trying to include the unicode in a math environment.
Example:
\begin{lstlisting}[language=python]
F = lambda x: α * x + β
\end{lstlisting}

(f = σ-> κ* σ )does not work in listings. There are some workarounds but they mostly involve specifying mappings for the needed non ascii chars. – daleif Sep 19 '19 at 14:47f = σ-> κ* σ )
\end{document} ` (but note the f) If you want help with an error show a small but complete document and teh exact error that you get.
– David Carlisle Sep 19 '19 at 15:14