LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-08-2014, 03:18 PM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Rep: Reputation: 213Reputation: 213Reputation: 213
Lighweight X11 Frontend for Latex Graphics?


Hello,

With Latex,TeX,Pdflatex,... one can create fantastic graphics.
Latex is a really complete solution for word processing and more.
Graphics can be relatively easy made.

Would you know a cool X11 based (similar to xfig, xpaint,...) that would front-end making Latex graphics?

Latex Pictures/Graphics:
http://en.wikibooks.org/wiki/LaTeX/Picture

Looking forward to hearing you.

Sincerely.
 
Old 05-08-2014, 03:42 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Do you mean something like GeoGebra? http://www.geogebra.org/cms/en/
jdk
 
Old 05-08-2014, 07:18 PM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,194

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
Do you mean a gui drawing program which produces Latex code? Apparently not, because you mention XFig and you want not that one.

A very extended drawing package is TikZ. According the some it is even the best. It comes with an 800+ pages manual and the learning curve is somewhat like the Mont Ventoux.

There is a graphical helper tool to write TikZ code: KTikz/QTikz.

SVG to TikZ converters also seem to exist, so you can draw in Inkscape and use inkscape2tikz conversion.

There is also this: http://www.tikzedt.org/doc.html

jlinkels

Last edited by jlinkels; 05-08-2014 at 09:17 PM.
 
Old 05-09-2014, 12:51 AM   #4
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by jlinkels View Post
Do you mean a gui drawing program which produces Latex code? Apparently not, because you mention XFig and you want not that one.

A very extended drawing package is TikZ. According the some it is even the best. It comes with an 800+ pages manual and the learning curve is somewhat like the Mont Ventoux.

There is a graphical helper tool to write TikZ code: KTikz/QTikz.

SVG to TikZ converters also seem to exist, so you can draw in Inkscape and use inkscape2tikz conversion.

There is also this: http://www.tikzedt.org/doc.html

jlinkels

I would like to create latex pictures (graphics) with a very tiny frontend on X11 (no gtk, no kde,... to install) just x11-common... but xfig is not exporting to latex. It is likely broken
 
Old 05-09-2014, 08:30 AM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,194

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
I see.

Browsing around a bit shows that Latex export was only added it the latest version of XFig and the latest version is back from 2007. In addition to that the Latex export was very primitive because Xfig didn't use any macro packages to enhance the rather primitive drawing features of Latex.

One recommendation I found is to export as EPS and import EPS into Latex. EPS is more or less the de facto graphic import standard for Latex. So, does EPS export work from XFig?

Just out of interest: why do you want to produce Latex figures from a GUI drawing program and have the requirement that it is lightweight? My first reaction would be to use vi/tikz for creating graphics if you don't have the processing power. Or if you insist on a GUI, have the environment available to use of of the few GUI editors which produce the desired output.

jlinkels
 
Old 05-09-2014, 10:54 AM   #6
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by jlinkels View Post
I see.

Browsing around a bit shows that Latex export was only added it the latest version of XFig and the latest version is back from 2007. In addition to that the Latex export was very primitive because Xfig didn't use any macro packages to enhance the rather primitive drawing features of Latex.

One recommendation I found is to export as EPS and import EPS into Latex. EPS is more or less the de facto graphic import standard for Latex. So, does EPS export work from XFig?

Just out of interest: why do you want to produce Latex figures from a GUI drawing program and have the requirement that it is lightweight? My first reaction would be to use vi/tikz for creating graphics if you don't have the processing power. Or if you insist on a GUI, have the environment available to use of of the few GUI editors which produce the desired output.

jlinkels
just few adds:
. I have noticed that xfig is more elaborated and lighter than tikz.
. EPS is slightly more complicated than latex graphic picture "language". Full Latex picture code is nice to use, since it is rather more or less simple to understand.
 
Old 05-09-2014, 11:11 AM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,194

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
Quote:
Originally Posted by Xeratul View Post
. I have noticed that xfig is more elaborated and lighter than tikz.
Do not mix up those two things. TikZ is the graphic macro language. It is text and has to be processed by Latex or PDFLatex. It is very powerful but by no means heavy. KTikZ is a GUI program aiding to write TikZ macros. I fear it is not very light as it is part of KDE.

Quote:
Originally Posted by Xeratul View Post
. EPS is slightly more complicated than latex graphic picture "language". Full Latex picture code is nice to use, since it is rather more or less simple to understand.
Once again, if XFig would export Latex, it would only be able to export a very limited set of drawing primitives. That is at least what I understand from the documentation. "Full Latex picture code" is very limited natively in Latex. You need graphical macro packages like TikZ, PSTricks, MetaFun, Asymptote etc to create decent graphics. If you stick with XFig you would have to export EPS of you want full graphics capability.

And also again, is there any reason you don't want to write your graphics in text? And if you insist on a GUI, why has the GUI to be light weight?

jlinkels

Last edited by jlinkels; 05-09-2014 at 11:13 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LaTeX, placing graphics in header edgjerp Programming 3 05-20-2009 02:42 PM
LaTeX: Graphics in margin edgjerp Programming 1 05-01-2009 10:28 AM
graphics with LaTeX edgjerp Linux - Software 1 11-18-2005 04:51 AM
pdf--->> latex, graphics possible? realos Linux - General 2 05-31-2004 05:50 AM
graphics problem in latex realos Linux - General 1 06-14-2003 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration