omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    How can i use latex in pyui TextView

    Pythonista
    3
    5
    2358
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • akira
      akira last edited by

      I want to wtrie latex(eg. matrix) in TextView(pyui file). How can i do it.
      Wish your help. Thanks

      1 Reply Last reply Reply Quote 0
      • mikael
        mikael last edited by

        I do not think you can install Latex on Pythonista. Maybe you could send the text to an online service for compilation, either via screen scraping or the Common Latex Service Interface CLSI. Based on a quick Google, screen scraping is probably much easier.

        But you will not be able to do this in the UI editor alone.

        akira 1 Reply Last reply Reply Quote 0
        • akira
          akira @mikael last edited by

          @mikael
          Oh, I see. Thanks a lot.

          1 Reply Last reply Reply Quote 0
          • enceladus
            enceladus last edited by enceladus

            You can use webview and mathjax to display latex. Here is an example to display matrix.
            https://gist.github.com/5eee7b48ea86f6ef8edc24c276df9d1a

            akira 1 Reply Last reply Reply Quote 1
            • akira
              akira @enceladus last edited by

              @enceladus
              Thank you very much. I confirmed what can do.
              It's a wonderful hint for me.
              I am sorry for my poor english and later reply.
              Thanks again.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB Forums | Contributors