gotcha

Author Topic: WriteTex in Inkscape not working  (Read 2760 times)

July 15, 2018, 10:02:47 AM
Read 2760 times

Ron LaHire

  • Sr. Newbie

  • Offline
  • **

  • 4
In Inkscape 0.92 WriteTex is involved, but when I apply my formula, nothing is happening. I'm beginner with using Inkscape. Where is the problem? Thank you.

  • 0.92
  • Windows 10

July 15, 2018, 10:34:30 AM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

Hhm, you must have installed that extension.  I don't seem to have it.  Can you give me the link where you downloaded it, so I can test (or someone else can, in case I can't figure out the problem)?

In the dialog in your screenshot, I'm not sure what "Preamble File" means.  Do you know?

The only thing I can think offhand, is that you might be getting a result, but it's not showing on your screen.  There's a known bug that might be causing the result of the extension to be placed somewhere that you have to scroll to find it.  If it's a new blank file, the result might not be very far away.  But if it's a file where you've done some work already, it could be hard to find.  But you can avoid that bug by creating a new layer, make sure that layer active, and then run the extension.

But if you still don't see any results, please share the link to download it.  Or it's possible that someone else might already know the answer for you.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

July 15, 2018, 11:00:39 AM
Reply #2

Ron LaHire

  • Sr. Newbie

  • Offline
  • **

  • 4
I only downloaded and installed Inkscape from https://inkscape.org/en/release/0.92.3/windows/64-bit/exe/dl/. WriteTex was involved (https://writetex.tk/) so I tried it. I know that there exists other way to export Inkscape diagram with Latex labels to Tex file but with WriteTex it could be easier and I can see results immediately in Inkscape.

  • 0.92
  • Windows 10

July 15, 2018, 02:24:46 PM
Reply #3

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Thanks for the link. 

Unfortunately, I don't understand the instructions for using the extension, which are given on that page.  I thought I would be able to figure it out, but it's "over my head". 

But someone else will know how to use it, and will answer pretty soon.  Sorry I could not help.  :(
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

July 16, 2018, 03:48:48 PM
Reply #4

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Are you sure you didn't install it? I don't have it, and I've also searched through the repository for Inkscape 0.92.x - it's definitely not there. Also not in the Windows version.

Please ask the author of the extension for help with it.

July 16, 2018, 04:57:40 PM
Reply #5

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
I installed it, from the page Ron gave (https://writetex.tk/).  I just don't understand how it works.  It does look like there are several steps in the dialog, where something needs to be filled in.  There is a tutorial.  I just can't sort out what needs to be filled in to them.  It looks like there's some kind of code for defining the math symbols or formulas or expressions, and that's the part that I don't understand.

If it's not in our list, it should be.  I need to log off right now, but I'll add it on tomorrow.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

July 17, 2018, 06:36:42 AM
Reply #6

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
That 'code' is a LaTeX formula. It's meant for typesetting mathematical (and other) formulas. And the author will probably know how to use his or her own extension - while we don't.

July 17, 2018, 08:41:48 AM
Reply #7

Ron LaHire

  • Sr. Newbie

  • Offline
  • **

  • 4
Maybe I installed WriteTex manually with older version of Inkscape, so I'm sorry. But why it isn't still working I don't know. There are several ways how to write Tex labels direct in Inkscape but none of them works for me. Their installations are also usually complicated. Only way which works is create Latex file and then import it into the main ducument (https://tex.stackexchange.com/questions/151232/exporting-from-inkscape-to-latex-via-tikz).
  • 0.92
  • Windows 10

July 18, 2018, 01:59:53 AM
Reply #8

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Yeah, WriteTex must be fairly new, since we didn't have it in our list.  Your best bet is to contact the author.  Being apparently so new, there may be bugs which the author has not found yet.

Or there are other extensions like that.  I dont know how well they work, or whether they work though.  We have this one:  https://github.com/virrapax/XeTexText.  I can't find the link to TexText, but I thought it still was working.

Then there's this extension which includes LaTex:  https://github.com/fsmMLK/inkscapeCartesianPlotFunction2D  LaTex is not it's main function, but it's included.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

July 18, 2018, 08:39:04 AM
Reply #9

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
« Last Edit: July 18, 2018, 09:09:55 AM by brynn »
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

July 21, 2018, 12:31:17 PM
Reply #10

Ron LaHire

  • Sr. Newbie

  • Offline
  • **

  • 4
Finally I have Latex in Inkscape. Thank you for your help and links.
  • 0.92
  • Windows 10

July 21, 2018, 09:38:11 PM
Reply #11

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Glad to hear the good news!
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann