Lyx - PythonTex and Mac

Keith Sloan keith at sloan-home.co.uk
Thu Aug 5 06:17:55 UTC 2021


<https://tex.stackexchange.com/posts/609560/timeline>I would like to use 
PythonTex in Lyx on a Mac.


I don't understand the intricacy of Lyx/Tex etc.
I think I managed to install PythonLex by installing MacTex 2021 which 
also installed Tex Live Utility and if I use it to look at packages it 
also installed pythonlex.

I found this 
questionhttps://tex.stackexchange.com/questions/502792/problem-with-pythontex

Not sure how I enter the \xxxx statements into a document so tried

Document | Setting | Latex Preamble

And pasted info from article.

When I tried to display the PDF I found it did not like the first two 
lines with inputenc and fontenc

What it displayed wasenter image description here 
<https://i.stack.imgur.com/PzSFo.jpg>

I would like to be able to enter matplotlib python into my document that 
display plots & charts, Please advise

-- 
========== Art & Ceramics ===========
https://www.instagram.com/ksloan1952/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210805/0e107160/attachment.html>


More information about the lyx-users mailing list