How to use LaTeX with Inkscape (MAC OS X)












9















I've seen somebody asked this question a year ago, but no answers given so I'm hoping this might attract some more/new/different attention.



Simple question. I want to use LaTeX with Inkscape on mac. I already use a tex editor so I should have most of the LaTeX stuff I need. However when I go to "Extensions>Render>", there's not a LaTeX option there as other online sources suggest.



As a fudge I tried using the application Latexit to generate SVG/EPS images to import but I can't seem to get import of those to work either.










share|improve this question


















  • 1





    Welcome to TeX.SX! You should know that this site is considered a Q&A, not a discussion forum, which (somehow) implies that duplicates aren't allowed. I will start a poll to close this question, though I hope that the original question will get enough attention now. You should also know that you can share questions on other places to draw more attention to it.

    – Ruben
    Jul 26 '15 at 21:36











  • Fair enough, I looked to meta first. The jury seems to be out but some people seem to suggest just re-asking an old unanswered question.

    – Tom
    Jul 26 '15 at 21:41













  • Ok, I looked meta afterwards... Let's leave your question open then and link the other question as a dupe to yours if you get an answer.

    – Ruben
    Jul 26 '15 at 21:45











  • Sure, whatever is best. It just seems like the question could do with more attention. It has 1000 views but no real answers.

    – Tom
    Jul 26 '15 at 21:47






  • 3





    Inkscape works fine on mac: all you do is write latex inside $ $ in text boxes in your image, and then export to pdf with the latex option as explained in this answer. When you export you get a pdf (with no latex in it) and .pdf_tex file which you can open and copy the contents of inside your main latex file. Making sure directories match, you will get your image with the overlaid math text. There is no need for a "Extensions>Render>" option, as explained here at the very bottom

    – Emilio Ferrucci
    Sep 29 '15 at 21:43
















9















I've seen somebody asked this question a year ago, but no answers given so I'm hoping this might attract some more/new/different attention.



Simple question. I want to use LaTeX with Inkscape on mac. I already use a tex editor so I should have most of the LaTeX stuff I need. However when I go to "Extensions>Render>", there's not a LaTeX option there as other online sources suggest.



As a fudge I tried using the application Latexit to generate SVG/EPS images to import but I can't seem to get import of those to work either.










share|improve this question


















  • 1





    Welcome to TeX.SX! You should know that this site is considered a Q&A, not a discussion forum, which (somehow) implies that duplicates aren't allowed. I will start a poll to close this question, though I hope that the original question will get enough attention now. You should also know that you can share questions on other places to draw more attention to it.

    – Ruben
    Jul 26 '15 at 21:36











  • Fair enough, I looked to meta first. The jury seems to be out but some people seem to suggest just re-asking an old unanswered question.

    – Tom
    Jul 26 '15 at 21:41













  • Ok, I looked meta afterwards... Let's leave your question open then and link the other question as a dupe to yours if you get an answer.

    – Ruben
    Jul 26 '15 at 21:45











  • Sure, whatever is best. It just seems like the question could do with more attention. It has 1000 views but no real answers.

    – Tom
    Jul 26 '15 at 21:47






  • 3





    Inkscape works fine on mac: all you do is write latex inside $ $ in text boxes in your image, and then export to pdf with the latex option as explained in this answer. When you export you get a pdf (with no latex in it) and .pdf_tex file which you can open and copy the contents of inside your main latex file. Making sure directories match, you will get your image with the overlaid math text. There is no need for a "Extensions>Render>" option, as explained here at the very bottom

    – Emilio Ferrucci
    Sep 29 '15 at 21:43














9












9








9


6






I've seen somebody asked this question a year ago, but no answers given so I'm hoping this might attract some more/new/different attention.



Simple question. I want to use LaTeX with Inkscape on mac. I already use a tex editor so I should have most of the LaTeX stuff I need. However when I go to "Extensions>Render>", there's not a LaTeX option there as other online sources suggest.



As a fudge I tried using the application Latexit to generate SVG/EPS images to import but I can't seem to get import of those to work either.










share|improve this question














I've seen somebody asked this question a year ago, but no answers given so I'm hoping this might attract some more/new/different attention.



Simple question. I want to use LaTeX with Inkscape on mac. I already use a tex editor so I should have most of the LaTeX stuff I need. However when I go to "Extensions>Render>", there's not a LaTeX option there as other online sources suggest.



As a fudge I tried using the application Latexit to generate SVG/EPS images to import but I can't seem to get import of those to work either.







inkscape






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 26 '15 at 21:20









TomTom

206125




206125








  • 1





    Welcome to TeX.SX! You should know that this site is considered a Q&A, not a discussion forum, which (somehow) implies that duplicates aren't allowed. I will start a poll to close this question, though I hope that the original question will get enough attention now. You should also know that you can share questions on other places to draw more attention to it.

    – Ruben
    Jul 26 '15 at 21:36











  • Fair enough, I looked to meta first. The jury seems to be out but some people seem to suggest just re-asking an old unanswered question.

    – Tom
    Jul 26 '15 at 21:41













  • Ok, I looked meta afterwards... Let's leave your question open then and link the other question as a dupe to yours if you get an answer.

    – Ruben
    Jul 26 '15 at 21:45











  • Sure, whatever is best. It just seems like the question could do with more attention. It has 1000 views but no real answers.

    – Tom
    Jul 26 '15 at 21:47






  • 3





    Inkscape works fine on mac: all you do is write latex inside $ $ in text boxes in your image, and then export to pdf with the latex option as explained in this answer. When you export you get a pdf (with no latex in it) and .pdf_tex file which you can open and copy the contents of inside your main latex file. Making sure directories match, you will get your image with the overlaid math text. There is no need for a "Extensions>Render>" option, as explained here at the very bottom

    – Emilio Ferrucci
    Sep 29 '15 at 21:43














  • 1





    Welcome to TeX.SX! You should know that this site is considered a Q&A, not a discussion forum, which (somehow) implies that duplicates aren't allowed. I will start a poll to close this question, though I hope that the original question will get enough attention now. You should also know that you can share questions on other places to draw more attention to it.

    – Ruben
    Jul 26 '15 at 21:36











  • Fair enough, I looked to meta first. The jury seems to be out but some people seem to suggest just re-asking an old unanswered question.

    – Tom
    Jul 26 '15 at 21:41













  • Ok, I looked meta afterwards... Let's leave your question open then and link the other question as a dupe to yours if you get an answer.

    – Ruben
    Jul 26 '15 at 21:45











  • Sure, whatever is best. It just seems like the question could do with more attention. It has 1000 views but no real answers.

    – Tom
    Jul 26 '15 at 21:47






  • 3





    Inkscape works fine on mac: all you do is write latex inside $ $ in text boxes in your image, and then export to pdf with the latex option as explained in this answer. When you export you get a pdf (with no latex in it) and .pdf_tex file which you can open and copy the contents of inside your main latex file. Making sure directories match, you will get your image with the overlaid math text. There is no need for a "Extensions>Render>" option, as explained here at the very bottom

    – Emilio Ferrucci
    Sep 29 '15 at 21:43








1




1





Welcome to TeX.SX! You should know that this site is considered a Q&A, not a discussion forum, which (somehow) implies that duplicates aren't allowed. I will start a poll to close this question, though I hope that the original question will get enough attention now. You should also know that you can share questions on other places to draw more attention to it.

– Ruben
Jul 26 '15 at 21:36





Welcome to TeX.SX! You should know that this site is considered a Q&A, not a discussion forum, which (somehow) implies that duplicates aren't allowed. I will start a poll to close this question, though I hope that the original question will get enough attention now. You should also know that you can share questions on other places to draw more attention to it.

– Ruben
Jul 26 '15 at 21:36













Fair enough, I looked to meta first. The jury seems to be out but some people seem to suggest just re-asking an old unanswered question.

– Tom
Jul 26 '15 at 21:41







Fair enough, I looked to meta first. The jury seems to be out but some people seem to suggest just re-asking an old unanswered question.

– Tom
Jul 26 '15 at 21:41















Ok, I looked meta afterwards... Let's leave your question open then and link the other question as a dupe to yours if you get an answer.

– Ruben
Jul 26 '15 at 21:45





Ok, I looked meta afterwards... Let's leave your question open then and link the other question as a dupe to yours if you get an answer.

– Ruben
Jul 26 '15 at 21:45













Sure, whatever is best. It just seems like the question could do with more attention. It has 1000 views but no real answers.

– Tom
Jul 26 '15 at 21:47





Sure, whatever is best. It just seems like the question could do with more attention. It has 1000 views but no real answers.

– Tom
Jul 26 '15 at 21:47




3




3





Inkscape works fine on mac: all you do is write latex inside $ $ in text boxes in your image, and then export to pdf with the latex option as explained in this answer. When you export you get a pdf (with no latex in it) and .pdf_tex file which you can open and copy the contents of inside your main latex file. Making sure directories match, you will get your image with the overlaid math text. There is no need for a "Extensions>Render>" option, as explained here at the very bottom

– Emilio Ferrucci
Sep 29 '15 at 21:43





Inkscape works fine on mac: all you do is write latex inside $ $ in text boxes in your image, and then export to pdf with the latex option as explained in this answer. When you export you get a pdf (with no latex in it) and .pdf_tex file which you can open and copy the contents of inside your main latex file. Making sure directories match, you will get your image with the overlaid math text. There is no need for a "Extensions>Render>" option, as explained here at the very bottom

– Emilio Ferrucci
Sep 29 '15 at 21:43










4 Answers
4






active

oldest

votes


















13














I encountered this problem coming from linux, where you could just easily go to Extension->Render->LaTex and type your latex formula. This is what I did (finding every piece from different sources) to fix this problem.



The general solution is that you have to add the PATH for latex, dvips, and pstoedit to the paths in the app. To do this follow the instruction below:




  1. Find the PATH to latex and dvips by typing the following in a terminal: which <app.name>, and the write down the paths. These two apps are usually installed with the MacTex installation, so there shouldn't be any need for installation here.

    For example here I get for both of them: /Library/TeX/texbin.


  2. pstoedit does not exists by default in the MacTex, so you have to install it. However, I tried installing it from a tar ball and it didn't work (probably cause I didn't have all the dependencies).

    I used macports here to to install this, and it worked for me. Now similarly find the PATH for pstoedit. For example I had: /opt/local/bin/.

  3. With your desired editor, open (with sudo) the following file: /Applications/Inkscape.app/Contents/Resources/script. Now at the end of this file, right above the last line exec "$CWD/bin/inkscape" "$@" add the paths that you extracted from step 1 and 2.

    For example I should add the line: PATH=$PATH:/Library/TeX/texbin:/opt/local/bin


After all these steps, you should be able to open1 inkscape and type latex formulas by going to Extension->Render->LaTex. This worked for me on two different 15" MacPro Retina, mid 2015, El Capitan.



1. On one of my machines, this works when opening inkscape from app launcher, but on the other one this only works when you open the app from terminal by typing /Applications/Inkscape.app/Contents/Resources/bin/inkscape and pressing enter.






share|improve this answer





















  • 2





    This worked for me. I had to add the PATH command before the line that starts exec.

    – borticus
    Sep 27 '16 at 17:00



















6














I have a solution that I hope future viewers will find useful. It's not perfect but it's a quick and easy enough workflow for me.



I use the application Latexit to generate the Latex image. It's really easy to install and use.





Then I save as PDF vector format



enter image description here



Then from Inkscape select File>Import, select the PDF file, hit open and you're presented with this option box





For some reason it doesn't seem to work unless you tick "Clip to media box" and "Import via Poppler". Voila it's in Inkscape.





Remark: I think you can also save as SVG format from Latexit which might be better, but you need something extra called PDF2SVG which I'm not sure how to install.






share|improve this answer





















  • 2





    For anyone that missed it: "Clip to media box" and "Import via Poppler" is crucial part of the answer! Thanks so much. :)

    – Pinocchio
    Oct 19 '16 at 23:30





















2














Sad to see Inkscape on mac OS is lagging behind and we yet to see a stable native implementation. Many features present on Windows and Linux, including the LaTeX equation import, is missing. But even if it was there, there is other solution which IMHO is better. textext extension has been around for a while, and now other people have taken over the development. how to install it on mac OS?




  1. go to this repository and download the latest stable version and unzip

  2. go to this address:



~/.config/inkscape/extensions/





  1. copy the contents of extension folder from the download into this folder


  2. as this page has explained:




    • find the address of pdflatex





which pdflatex





  • open the file below in an editor:



~/.config/inkscape/extensions/textext.py





  • change the line



out = exec_command(['pdflatex', self.tmp('tex')] + latex_opts)




to




out = exec_command(['/Library/TeX/texbin/pdflatex', self.tmp('tex')] + latex_opts)




do not forget to install other dependencies mentioned in the readme of the mentioned repository. I know it it is not that straight forwards but it works at the end.






share|improve this answer

































    0














    If you install inkscape from the dmg file offered by inkscape.org you won't have latex rendering.



    You can have latex rendering similar to the linux version by building it via macports:



    1- install macports



    2- install pstoedit from the terminal



    sudo port install pstoedit



    3- install inkscape from the terminal



    sudo port install inkscape



    note: I am not sure if step 2 is necessary, but that is how I did it and it worked.






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "85"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f257147%2fhow-to-use-latex-with-inkscape-mac-os-x%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      13














      I encountered this problem coming from linux, where you could just easily go to Extension->Render->LaTex and type your latex formula. This is what I did (finding every piece from different sources) to fix this problem.



      The general solution is that you have to add the PATH for latex, dvips, and pstoedit to the paths in the app. To do this follow the instruction below:




      1. Find the PATH to latex and dvips by typing the following in a terminal: which <app.name>, and the write down the paths. These two apps are usually installed with the MacTex installation, so there shouldn't be any need for installation here.

        For example here I get for both of them: /Library/TeX/texbin.


      2. pstoedit does not exists by default in the MacTex, so you have to install it. However, I tried installing it from a tar ball and it didn't work (probably cause I didn't have all the dependencies).

        I used macports here to to install this, and it worked for me. Now similarly find the PATH for pstoedit. For example I had: /opt/local/bin/.

      3. With your desired editor, open (with sudo) the following file: /Applications/Inkscape.app/Contents/Resources/script. Now at the end of this file, right above the last line exec "$CWD/bin/inkscape" "$@" add the paths that you extracted from step 1 and 2.

        For example I should add the line: PATH=$PATH:/Library/TeX/texbin:/opt/local/bin


      After all these steps, you should be able to open1 inkscape and type latex formulas by going to Extension->Render->LaTex. This worked for me on two different 15" MacPro Retina, mid 2015, El Capitan.



      1. On one of my machines, this works when opening inkscape from app launcher, but on the other one this only works when you open the app from terminal by typing /Applications/Inkscape.app/Contents/Resources/bin/inkscape and pressing enter.






      share|improve this answer





















      • 2





        This worked for me. I had to add the PATH command before the line that starts exec.

        – borticus
        Sep 27 '16 at 17:00
















      13














      I encountered this problem coming from linux, where you could just easily go to Extension->Render->LaTex and type your latex formula. This is what I did (finding every piece from different sources) to fix this problem.



      The general solution is that you have to add the PATH for latex, dvips, and pstoedit to the paths in the app. To do this follow the instruction below:




      1. Find the PATH to latex and dvips by typing the following in a terminal: which <app.name>, and the write down the paths. These two apps are usually installed with the MacTex installation, so there shouldn't be any need for installation here.

        For example here I get for both of them: /Library/TeX/texbin.


      2. pstoedit does not exists by default in the MacTex, so you have to install it. However, I tried installing it from a tar ball and it didn't work (probably cause I didn't have all the dependencies).

        I used macports here to to install this, and it worked for me. Now similarly find the PATH for pstoedit. For example I had: /opt/local/bin/.

      3. With your desired editor, open (with sudo) the following file: /Applications/Inkscape.app/Contents/Resources/script. Now at the end of this file, right above the last line exec "$CWD/bin/inkscape" "$@" add the paths that you extracted from step 1 and 2.

        For example I should add the line: PATH=$PATH:/Library/TeX/texbin:/opt/local/bin


      After all these steps, you should be able to open1 inkscape and type latex formulas by going to Extension->Render->LaTex. This worked for me on two different 15" MacPro Retina, mid 2015, El Capitan.



      1. On one of my machines, this works when opening inkscape from app launcher, but on the other one this only works when you open the app from terminal by typing /Applications/Inkscape.app/Contents/Resources/bin/inkscape and pressing enter.






      share|improve this answer





















      • 2





        This worked for me. I had to add the PATH command before the line that starts exec.

        – borticus
        Sep 27 '16 at 17:00














      13












      13








      13







      I encountered this problem coming from linux, where you could just easily go to Extension->Render->LaTex and type your latex formula. This is what I did (finding every piece from different sources) to fix this problem.



      The general solution is that you have to add the PATH for latex, dvips, and pstoedit to the paths in the app. To do this follow the instruction below:




      1. Find the PATH to latex and dvips by typing the following in a terminal: which <app.name>, and the write down the paths. These two apps are usually installed with the MacTex installation, so there shouldn't be any need for installation here.

        For example here I get for both of them: /Library/TeX/texbin.


      2. pstoedit does not exists by default in the MacTex, so you have to install it. However, I tried installing it from a tar ball and it didn't work (probably cause I didn't have all the dependencies).

        I used macports here to to install this, and it worked for me. Now similarly find the PATH for pstoedit. For example I had: /opt/local/bin/.

      3. With your desired editor, open (with sudo) the following file: /Applications/Inkscape.app/Contents/Resources/script. Now at the end of this file, right above the last line exec "$CWD/bin/inkscape" "$@" add the paths that you extracted from step 1 and 2.

        For example I should add the line: PATH=$PATH:/Library/TeX/texbin:/opt/local/bin


      After all these steps, you should be able to open1 inkscape and type latex formulas by going to Extension->Render->LaTex. This worked for me on two different 15" MacPro Retina, mid 2015, El Capitan.



      1. On one of my machines, this works when opening inkscape from app launcher, but on the other one this only works when you open the app from terminal by typing /Applications/Inkscape.app/Contents/Resources/bin/inkscape and pressing enter.






      share|improve this answer















      I encountered this problem coming from linux, where you could just easily go to Extension->Render->LaTex and type your latex formula. This is what I did (finding every piece from different sources) to fix this problem.



      The general solution is that you have to add the PATH for latex, dvips, and pstoedit to the paths in the app. To do this follow the instruction below:




      1. Find the PATH to latex and dvips by typing the following in a terminal: which <app.name>, and the write down the paths. These two apps are usually installed with the MacTex installation, so there shouldn't be any need for installation here.

        For example here I get for both of them: /Library/TeX/texbin.


      2. pstoedit does not exists by default in the MacTex, so you have to install it. However, I tried installing it from a tar ball and it didn't work (probably cause I didn't have all the dependencies).

        I used macports here to to install this, and it worked for me. Now similarly find the PATH for pstoedit. For example I had: /opt/local/bin/.

      3. With your desired editor, open (with sudo) the following file: /Applications/Inkscape.app/Contents/Resources/script. Now at the end of this file, right above the last line exec "$CWD/bin/inkscape" "$@" add the paths that you extracted from step 1 and 2.

        For example I should add the line: PATH=$PATH:/Library/TeX/texbin:/opt/local/bin


      After all these steps, you should be able to open1 inkscape and type latex formulas by going to Extension->Render->LaTex. This worked for me on two different 15" MacPro Retina, mid 2015, El Capitan.



      1. On one of my machines, this works when opening inkscape from app launcher, but on the other one this only works when you open the app from terminal by typing /Applications/Inkscape.app/Contents/Resources/bin/inkscape and pressing enter.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Jul 13 '17 at 22:03









      Foad

      400212




      400212










      answered Jun 30 '16 at 4:26









      MostafaMostafa

      13116




      13116








      • 2





        This worked for me. I had to add the PATH command before the line that starts exec.

        – borticus
        Sep 27 '16 at 17:00














      • 2





        This worked for me. I had to add the PATH command before the line that starts exec.

        – borticus
        Sep 27 '16 at 17:00








      2




      2





      This worked for me. I had to add the PATH command before the line that starts exec.

      – borticus
      Sep 27 '16 at 17:00





      This worked for me. I had to add the PATH command before the line that starts exec.

      – borticus
      Sep 27 '16 at 17:00











      6














      I have a solution that I hope future viewers will find useful. It's not perfect but it's a quick and easy enough workflow for me.



      I use the application Latexit to generate the Latex image. It's really easy to install and use.





      Then I save as PDF vector format



      enter image description here



      Then from Inkscape select File>Import, select the PDF file, hit open and you're presented with this option box





      For some reason it doesn't seem to work unless you tick "Clip to media box" and "Import via Poppler". Voila it's in Inkscape.





      Remark: I think you can also save as SVG format from Latexit which might be better, but you need something extra called PDF2SVG which I'm not sure how to install.






      share|improve this answer





















      • 2





        For anyone that missed it: "Clip to media box" and "Import via Poppler" is crucial part of the answer! Thanks so much. :)

        – Pinocchio
        Oct 19 '16 at 23:30


















      6














      I have a solution that I hope future viewers will find useful. It's not perfect but it's a quick and easy enough workflow for me.



      I use the application Latexit to generate the Latex image. It's really easy to install and use.





      Then I save as PDF vector format



      enter image description here



      Then from Inkscape select File>Import, select the PDF file, hit open and you're presented with this option box





      For some reason it doesn't seem to work unless you tick "Clip to media box" and "Import via Poppler". Voila it's in Inkscape.





      Remark: I think you can also save as SVG format from Latexit which might be better, but you need something extra called PDF2SVG which I'm not sure how to install.






      share|improve this answer





















      • 2





        For anyone that missed it: "Clip to media box" and "Import via Poppler" is crucial part of the answer! Thanks so much. :)

        – Pinocchio
        Oct 19 '16 at 23:30
















      6












      6








      6







      I have a solution that I hope future viewers will find useful. It's not perfect but it's a quick and easy enough workflow for me.



      I use the application Latexit to generate the Latex image. It's really easy to install and use.





      Then I save as PDF vector format



      enter image description here



      Then from Inkscape select File>Import, select the PDF file, hit open and you're presented with this option box





      For some reason it doesn't seem to work unless you tick "Clip to media box" and "Import via Poppler". Voila it's in Inkscape.





      Remark: I think you can also save as SVG format from Latexit which might be better, but you need something extra called PDF2SVG which I'm not sure how to install.






      share|improve this answer















      I have a solution that I hope future viewers will find useful. It's not perfect but it's a quick and easy enough workflow for me.



      I use the application Latexit to generate the Latex image. It's really easy to install and use.





      Then I save as PDF vector format



      enter image description here



      Then from Inkscape select File>Import, select the PDF file, hit open and you're presented with this option box





      For some reason it doesn't seem to work unless you tick "Clip to media box" and "Import via Poppler". Voila it's in Inkscape.





      Remark: I think you can also save as SVG format from Latexit which might be better, but you need something extra called PDF2SVG which I'm not sure how to install.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Jul 27 '15 at 14:54









      Ruben

      11.3k32365




      11.3k32365










      answered Jul 27 '15 at 14:13









      TomTom

      206125




      206125








      • 2





        For anyone that missed it: "Clip to media box" and "Import via Poppler" is crucial part of the answer! Thanks so much. :)

        – Pinocchio
        Oct 19 '16 at 23:30
















      • 2





        For anyone that missed it: "Clip to media box" and "Import via Poppler" is crucial part of the answer! Thanks so much. :)

        – Pinocchio
        Oct 19 '16 at 23:30










      2




      2





      For anyone that missed it: "Clip to media box" and "Import via Poppler" is crucial part of the answer! Thanks so much. :)

      – Pinocchio
      Oct 19 '16 at 23:30







      For anyone that missed it: "Clip to media box" and "Import via Poppler" is crucial part of the answer! Thanks so much. :)

      – Pinocchio
      Oct 19 '16 at 23:30













      2














      Sad to see Inkscape on mac OS is lagging behind and we yet to see a stable native implementation. Many features present on Windows and Linux, including the LaTeX equation import, is missing. But even if it was there, there is other solution which IMHO is better. textext extension has been around for a while, and now other people have taken over the development. how to install it on mac OS?




      1. go to this repository and download the latest stable version and unzip

      2. go to this address:



      ~/.config/inkscape/extensions/





      1. copy the contents of extension folder from the download into this folder


      2. as this page has explained:




        • find the address of pdflatex





      which pdflatex





      • open the file below in an editor:



      ~/.config/inkscape/extensions/textext.py





      • change the line



      out = exec_command(['pdflatex', self.tmp('tex')] + latex_opts)




      to




      out = exec_command(['/Library/TeX/texbin/pdflatex', self.tmp('tex')] + latex_opts)




      do not forget to install other dependencies mentioned in the readme of the mentioned repository. I know it it is not that straight forwards but it works at the end.






      share|improve this answer






























        2














        Sad to see Inkscape on mac OS is lagging behind and we yet to see a stable native implementation. Many features present on Windows and Linux, including the LaTeX equation import, is missing. But even if it was there, there is other solution which IMHO is better. textext extension has been around for a while, and now other people have taken over the development. how to install it on mac OS?




        1. go to this repository and download the latest stable version and unzip

        2. go to this address:



        ~/.config/inkscape/extensions/





        1. copy the contents of extension folder from the download into this folder


        2. as this page has explained:




          • find the address of pdflatex





        which pdflatex





        • open the file below in an editor:



        ~/.config/inkscape/extensions/textext.py





        • change the line



        out = exec_command(['pdflatex', self.tmp('tex')] + latex_opts)




        to




        out = exec_command(['/Library/TeX/texbin/pdflatex', self.tmp('tex')] + latex_opts)




        do not forget to install other dependencies mentioned in the readme of the mentioned repository. I know it it is not that straight forwards but it works at the end.






        share|improve this answer




























          2












          2








          2







          Sad to see Inkscape on mac OS is lagging behind and we yet to see a stable native implementation. Many features present on Windows and Linux, including the LaTeX equation import, is missing. But even if it was there, there is other solution which IMHO is better. textext extension has been around for a while, and now other people have taken over the development. how to install it on mac OS?




          1. go to this repository and download the latest stable version and unzip

          2. go to this address:



          ~/.config/inkscape/extensions/





          1. copy the contents of extension folder from the download into this folder


          2. as this page has explained:




            • find the address of pdflatex





          which pdflatex





          • open the file below in an editor:



          ~/.config/inkscape/extensions/textext.py





          • change the line



          out = exec_command(['pdflatex', self.tmp('tex')] + latex_opts)




          to




          out = exec_command(['/Library/TeX/texbin/pdflatex', self.tmp('tex')] + latex_opts)




          do not forget to install other dependencies mentioned in the readme of the mentioned repository. I know it it is not that straight forwards but it works at the end.






          share|improve this answer















          Sad to see Inkscape on mac OS is lagging behind and we yet to see a stable native implementation. Many features present on Windows and Linux, including the LaTeX equation import, is missing. But even if it was there, there is other solution which IMHO is better. textext extension has been around for a while, and now other people have taken over the development. how to install it on mac OS?




          1. go to this repository and download the latest stable version and unzip

          2. go to this address:



          ~/.config/inkscape/extensions/





          1. copy the contents of extension folder from the download into this folder


          2. as this page has explained:




            • find the address of pdflatex





          which pdflatex





          • open the file below in an editor:



          ~/.config/inkscape/extensions/textext.py





          • change the line



          out = exec_command(['pdflatex', self.tmp('tex')] + latex_opts)




          to




          out = exec_command(['/Library/TeX/texbin/pdflatex', self.tmp('tex')] + latex_opts)




          do not forget to install other dependencies mentioned in the readme of the mentioned repository. I know it it is not that straight forwards but it works at the end.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 13 '17 at 21:30

























          answered Jul 13 '17 at 21:05









          FoadFoad

          400212




          400212























              0














              If you install inkscape from the dmg file offered by inkscape.org you won't have latex rendering.



              You can have latex rendering similar to the linux version by building it via macports:



              1- install macports



              2- install pstoedit from the terminal



              sudo port install pstoedit



              3- install inkscape from the terminal



              sudo port install inkscape



              note: I am not sure if step 2 is necessary, but that is how I did it and it worked.






              share|improve this answer




























                0














                If you install inkscape from the dmg file offered by inkscape.org you won't have latex rendering.



                You can have latex rendering similar to the linux version by building it via macports:



                1- install macports



                2- install pstoedit from the terminal



                sudo port install pstoedit



                3- install inkscape from the terminal



                sudo port install inkscape



                note: I am not sure if step 2 is necessary, but that is how I did it and it worked.






                share|improve this answer


























                  0












                  0








                  0







                  If you install inkscape from the dmg file offered by inkscape.org you won't have latex rendering.



                  You can have latex rendering similar to the linux version by building it via macports:



                  1- install macports



                  2- install pstoedit from the terminal



                  sudo port install pstoedit



                  3- install inkscape from the terminal



                  sudo port install inkscape



                  note: I am not sure if step 2 is necessary, but that is how I did it and it worked.






                  share|improve this answer













                  If you install inkscape from the dmg file offered by inkscape.org you won't have latex rendering.



                  You can have latex rendering similar to the linux version by building it via macports:



                  1- install macports



                  2- install pstoedit from the terminal



                  sudo port install pstoedit



                  3- install inkscape from the terminal



                  sudo port install inkscape



                  note: I am not sure if step 2 is necessary, but that is how I did it and it worked.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 16 at 20:27









                  M.AM.A

                  656




                  656






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f257147%2fhow-to-use-latex-with-inkscape-mac-os-x%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      How to change which sound is reproduced for terminal bell?

                      Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                      Can I use Tabulator js library in my java Spring + Thymeleaf project?