Re: Drawing tool for LyX

2009-11-10 Thread Helge Hafting

Rich Shepard wrote:


  However, some figures need to have lines that meet very precisely (no
overshoots or gaps between them) or be placed with high precision. While
this may well be possible and easy for those more skilled than I am, I 
found

my xfig and similar figures to look sloppy when enlarged. The solution for
this is to code the image as one would code LaTeX,


Xfig has snap to grid modes, for square and triangular grids. This 
yields lines, boxes and circles where lines don't overshoot. Consider 
circles where the radius is a multiple of 5. Such a circle has 12

points around the edge where lines can end exactly on the circle.
Most other circles only have 4 such points.

Helge Hafting


Re: Drawing tool for LyX

2009-11-10 Thread Helge Hafting

Rich Shepard wrote:


  However, some figures need to have lines that meet very precisely (no
overshoots or gaps between them) or be placed with high precision. While
this may well be possible and easy for those more skilled than I am, I 
found

my xfig and similar figures to look sloppy when enlarged. The solution for
this is to code the image as one would code LaTeX,


Xfig has snap to grid modes, for square and triangular grids. This 
yields lines, boxes and circles where lines don't overshoot. Consider 
circles where the radius is a multiple of 5. Such a circle has 12

points around the edge where lines can end exactly on the circle.
Most other circles only have 4 such points.

Helge Hafting


Re: Drawing tool for LyX

2009-11-10 Thread Helge Hafting

Rich Shepard wrote:


  However, some figures need to have lines that meet very precisely (no
overshoots or gaps between them) or be placed with high precision. While
this may well be possible and easy for those more skilled than I am, I 
found

my xfig and similar figures to look sloppy when enlarged. The solution for
this is to code the image as one would code LaTeX,


Xfig has snap to grid modes, for square and triangular grids. This 
yields lines, boxes and circles where lines don't overshoot. Consider 
circles where the radius is a multiple of 5. Such a circle has 12

points around the edge where lines can end exactly on the circle.
Most other circles only have 4 such points.

Helge Hafting


Re: Drawing tool for LyX

2009-11-08 Thread Stefaan Himpe
If you want to have a programming language in which you can accurately 
calculate your drawings, asymptote[1] is a good candidate.


Best regards,
Stefaan.

[1] http://http://asymptote.sourceforge.net/



Re: Drawing tool for LyX

2009-11-08 Thread Jason Waskiewicz
I've found several tools that work for my drawings, depending on the 
application.


Inkscape is my favorite for diagrams or sketches of graphs. I can point 
you to one diagram I just made with it for my Chemistry class:


http://www.flickr.com/photos/waski_the_squirrel/4079787050/

You can also find my original diagram from before LaTeX and Inkscape in 
the same location.


For plots of data, I like Rlplot (which comes with my Ubuntu 
distribution). It exports data and mathematical functions as .svg files 
and they appear to be quite precise.


I've occasionally used the graphics of LaTeX for diagrams: TikZ and 
pstricks. I have only limited skill with these and, while I'm impressed 
with the results, I don't see the investment of time to be worth the 
return I get. Maybe in the future...


Anyway, match the tool with the need, and spend some time considering 
what exactly you want to do.


I jumped into this discussion late, but I hope this helps.

--Jason Waskiewicz
 Bowman County High School


Re: Drawing tool for LyX

2009-11-08 Thread Guenter Milde
On 2009-11-07, Rich Shepard wrote:

...
However, some figures need to have lines that meet very precisely (no
 overshoots or gaps between them) or be placed with high precision. While
 this may well be possible and easy for those more skilled than I am, I found
 my xfig and similar figures to look sloppy when enlarged. 

- The 
+ One

 solution for this is to code the image as one would code LaTeX, and my
 preferred tool is PSTricks. The full power of PostScript is available
 and all sorts of complex graphics (including plots from data files) can
 be generated.

I prefer coded graphics for plots (with Gnuplot) and in cases where I
can re-use the code.

The problem of exactly matching edges or lines is easily solvable with
inkscape or ipe, as these support snapping of almost-matching line
endings as well as placement by specification of the exact coordinates.

Günter



Re: Drawing tool for LyX

2009-11-08 Thread Stefaan Himpe
If you want to have a programming language in which you can accurately 
calculate your drawings, asymptote[1] is a good candidate.


Best regards,
Stefaan.

[1] http://http://asymptote.sourceforge.net/



Re: Drawing tool for LyX

2009-11-08 Thread Jason Waskiewicz
I've found several tools that work for my drawings, depending on the 
application.


Inkscape is my favorite for diagrams or sketches of graphs. I can point 
you to one diagram I just made with it for my Chemistry class:


http://www.flickr.com/photos/waski_the_squirrel/4079787050/

You can also find my original diagram from before LaTeX and Inkscape in 
the same location.


For plots of data, I like Rlplot (which comes with my Ubuntu 
distribution). It exports data and mathematical functions as .svg files 
and they appear to be quite precise.


I've occasionally used the graphics of LaTeX for diagrams: TikZ and 
pstricks. I have only limited skill with these and, while I'm impressed 
with the results, I don't see the investment of time to be worth the 
return I get. Maybe in the future...


Anyway, match the tool with the need, and spend some time considering 
what exactly you want to do.


I jumped into this discussion late, but I hope this helps.

--Jason Waskiewicz
 Bowman County High School


Re: Drawing tool for LyX

2009-11-08 Thread Guenter Milde
On 2009-11-07, Rich Shepard wrote:

...
However, some figures need to have lines that meet very precisely (no
 overshoots or gaps between them) or be placed with high precision. While
 this may well be possible and easy for those more skilled than I am, I found
 my xfig and similar figures to look sloppy when enlarged. 

- The 
+ One

 solution for this is to code the image as one would code LaTeX, and my
 preferred tool is PSTricks. The full power of PostScript is available
 and all sorts of complex graphics (including plots from data files) can
 be generated.

I prefer coded graphics for plots (with Gnuplot) and in cases where I
can re-use the code.

The problem of exactly matching edges or lines is easily solvable with
inkscape or ipe, as these support snapping of almost-matching line
endings as well as placement by specification of the exact coordinates.

Günter



Re: Drawing tool for LyX

2009-11-08 Thread Stefaan Himpe
If you want to have a programming language in which you can accurately 
"calculate" your drawings, "asymptote"[1] is a good candidate.


Best regards,
Stefaan.

[1] http://http://asymptote.sourceforge.net/



Re: Drawing tool for LyX

2009-11-08 Thread Jason Waskiewicz
I've found several tools that work for my drawings, depending on the 
application.


Inkscape is my favorite for diagrams or sketches of graphs. I can point 
you to one diagram I just made with it for my Chemistry class:


http://www.flickr.com/photos/waski_the_squirrel/4079787050/

You can also find my original diagram from before LaTeX and Inkscape in 
the same location.


For plots of data, I like Rlplot (which comes with my Ubuntu 
distribution). It exports data and mathematical functions as .svg files 
and they appear to be quite precise.


I've occasionally used the graphics of LaTeX for diagrams: TikZ and 
pstricks. I have only limited skill with these and, while I'm impressed 
with the results, I don't see the investment of time to be worth the 
return I get. Maybe in the future...


Anyway, match the tool with the need, and spend some time considering 
what exactly you want to do.


I jumped into this discussion late, but I hope this helps.

--Jason Waskiewicz
 Bowman County High School


Re: Drawing tool for LyX

2009-11-08 Thread Guenter Milde
On 2009-11-07, Rich Shepard wrote:

...
>However, some figures need to have lines that meet very precisely (no
> overshoots or gaps between them) or be placed with high precision. While
> this may well be possible and easy for those more skilled than I am, I found
> my xfig and similar figures to look sloppy when enlarged. 

- The 
+ One

> solution for this is to code the image as one would code LaTeX, and my
> preferred tool is PSTricks. The full power of PostScript is available
> and all sorts of complex graphics (including plots from data files) can
> be generated.

I prefer "coded" graphics for plots (with Gnuplot) and in cases where I
can re-use the code.

The problem of exactly matching edges or lines is easily solvable with
inkscape or ipe, as these support "snapping" of almost-matching line
endings as well as placement by specification of the exact coordinates.

Günter



Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
Dear All

I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.

Could anyone please suggest me the drawing tool that can be used in LyX.
Would I need an additional package to draw objects in LyX.

Regards
Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread Liviu Andronic
Hello

On 11/7/09, Waluyo Adi Siswanto was.u...@gmail.com wrote:
  Could anyone please suggest me the drawing tool that can be used in LyX.
  Would I need an additional package to draw objects in LyX.

There is latexdraw, but personally I never got to compile in LyX the
code it generates (although never seriously tried, either). I mostly
use Dia [1] to generate vector images (.pdf or .eps), and include
these in my LyX document. Another way is the newish TikZ [2], but I'm
not very familiar with this one.

The issue was discussed several times in the past, so that you could
find more information in the ML archives. Best
Liviu

[1] http://live.gnome.org/Dia
[2] http://sourceforge.net/projects/pgf/


Re: Drawing tool for LyX

2009-11-07 Thread Pavel Sanda
Liviu Andronic wrote:
 There is latexdraw, but personally I never got to compile in LyX the
 code it generates (although never seriously tried, either). I mostly
 use Dia [1] to generate vector images (.pdf or .eps), and include
 these in my LyX document. Another way is the newish TikZ [2], but I'm
 not very familiar with this one.

note also that xfig and dia files can be directly embeded via external material.

pavel


Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
2009/11/7 Pavel Sanda sa...@lyx.org:
 Liviu Andronic wrote:
 There is latexdraw, but personally I never got to compile in LyX the
 code it generates (although never seriously tried, either). I mostly
 use Dia [1] to generate vector images (.pdf or .eps), and include
 these in my LyX document. Another way is the newish TikZ [2], but I'm
 not very familiar with this one.

 note also that xfig and dia files can be directly embeded via external 
 material.

 pavel


Thanks Liviu and Pavel

I don't have xfig/dia installed but I can see it can be installed from
my synaptic Ubuntu, I will try.
This is new for me, external material (Insertfileexternal material).

Waluyo


Re: Drawing tool for LyX

2009-11-07 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:

Dear All

I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.

Could anyone please suggest me the drawing tool that can be used in LyX.
Would I need an additional package to draw objects in LyX.

Regards
Waluyo




I'm currently looking at Jpgfdraw 
(http://theoval.cmp.uea.ac.uk/~nlct/jpgfdraw/) but have not had time to 
play with it yet.  Since I use pgf/tikz drawings in beamer 
presentations, this one appeals to me a bit.


/Paul



Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
On Sat, 2009-11-07 at 14:34 +0100, Pavel Sanda wrote:
 Liviu Andronic wrote:
  There is latexdraw, but personally I never got to compile in LyX the
  code it generates (although never seriously tried, either). I mostly
  use Dia [1] to generate vector images (.pdf or .eps), and include
  these in my LyX document. Another way is the newish TikZ [2], but I'm
  not very familiar with this one.
 
 note also that xfig and dia files can be directly embeded via external 
 material.
 
 pavel

Ok, installed already (Dia)... but what is the comment for the converter
(Tool preferences)? I viewed pdf.. only showing the name of the file.
Regards, Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread Rich Shepard

On Sat, 7 Nov 2009, Paul A. Rubin wrote:


I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.



I'm currently looking at Jpgfdraw
(http://theoval.cmp.uea.ac.uk/~nlct/jpgfdraw/) but have not had time to
play with it yet.  Since I use pgf/tikz drawings in beamer presentations,
this one appeals to me a bit.


  There is an issue here worth pointing out (at least, I think it's worth
pointing out). Specifically, what sort of vector graphics do you need or
want to produce?

  Tools such as xfig, dia, and the rest are GUI and interactive so the
drawins are creates as we would do them with pencil on paper. For many
purposes this is a fine solution.

  However, some figures need to have lines that meet very precisely (no
overshoots or gaps between them) or be placed with high precision. While
this may well be possible and easy for those more skilled than I am, I found
my xfig and similar figures to look sloppy when enlarged. The solution for
this is to code the image as one would code LaTeX, and my preferred tool is
PSTricks. The full power of PostScript is available and all sorts of complex
graphics (including plots from data files) can be generated.

  While I've drawn figures with PSTricks within LyX, I prefer to use a text
editor (emacs in my case) and manually compile them. I then incorporate the
resulting .pdf file within the LyX document.

  The precision, accuracy, and control is much higher with this approach
than it is with an interactive tool. It's not for everyone, but for folks
like me that prefer a CLI to a GUI and do much of our work in virtual
consoles, the results cannot be better.

  With apologies to the Hersey fonts, dif'rent strokes for dif'rent folks.
:-)

Rich


Re: Drawing tool for LyX

2009-11-07 Thread Pavel Sanda
Waluyo Adi Siswanto wrote:
 Ok, installed already (Dia)... but what is the comment for the converter
 (Tool preferences)? I viewed pdf.. only showing the name of the file.

reconfigured?
pavel


Re: Drawing tool for LyX

2009-11-07 Thread Pavel Sanda
Waluyo Adi Siswanto wrote:
 On Sat, 2009-11-07 at 16:47 +0100, Pavel Sanda wrote:

please let the discussion on lyx-users...

  reconfigured?
  pavel
 
 Yes.. I did.. only showing in pdf filename.dia

instant preview on?
pavel


Re: Drawing tool for LyX

2009-11-07 Thread Murat Yildizoglu
You can find on my blog the presentation of two drawing softs that I
use in combination with Latex: Ipe and JPicEdt.

http://yildizoglu.blogspot.com/

Ipe is one that I mainly use now. A brand new version is in
preparation. JPicEdt is also nice because it can generate PSTRIcks
code.

Murat

2009/11/7 Waluyo Adi Siswanto was.u...@gmail.com:
 Dear All

 I have been searching a drawing tool that generate LaTeX code then
 implemented (pasted) somewhere in LyX so I can get simple
 pictures/diagrams.

 Could anyone please suggest me the drawing tool that can be used in LyX.
 Would I need an additional package to draw objects in LyX.

 Regards
 Waluyo





-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
On Sat, 2009-11-07 at 17:01 +0100, Pavel Sanda wrote:
 Waluyo Adi Siswanto wrote:
  On Sat, 2009-11-07 at 16:47 +0100, Pavel Sanda wrote:
 
 please let the discussion on lyx-users...
 
   reconfigured?
   pavel
  
  Yes.. I did.. only showing in pdf filename.dia
 
 instant preview on?
 pavel

OK LyX is great .. It's not the instant preview.
I need to restart LyX after reconfigure.. now my LyX is working with
Dia. I can continue editing, right click-edit externally. 
Exactly what I want.
Thanks you very much for this interactive discussion

Best regards for all LyX team
Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread Uwe Stöhr

Waluyo Adi Siswanto schrieb:


I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.


You now found Dia, but why do you need LaTeX code. Personally I create my diagrams using the program 
that fit my needs for the desired kind of diagrams. So for free-hand drawings and illustrations I 
use Inkscape or OpenOffice Draw, for diagrams I use SciDAVis, Origin or OpenOffice Calc, for mind 
maps FreeMind, etc. All provide a PDF output that I insert as image to my documents.


regards Uwe


Re: Drawing tool for LyX

2009-11-07 Thread Steve Litt
On Saturday 07 November 2009 10:36:15 Rich Shepard wrote:
 On Sat, 7 Nov 2009, Paul A. Rubin wrote:
  I have been searching a drawing tool that generate LaTeX code then
  implemented (pasted) somewhere in LyX so I can get simple
  pictures/diagrams.
 
  I'm currently looking at Jpgfdraw
  (http://theoval.cmp.uea.ac.uk/~nlct/jpgfdraw/) but have not had time to
  play with it yet.  Since I use pgf/tikz drawings in beamer presentations,
  this one appeals to me a bit.

There is an issue here worth pointing out (at least, I think it's worth
 pointing out). Specifically, what sort of vector graphics do you need or
 want to produce?

Tools such as xfig, dia, and the rest are GUI and interactive so the
 drawins are creates as we would do them with pencil on paper. For many
 purposes this is a fine solution.

However, some figures need to have lines that meet very precisely (no
 overshoots or gaps between them) or be placed with high precision. While
 this may well be possible and easy for those more skilled than I am, I
 found my xfig and similar figures to look sloppy when enlarged. The
 solution for this is to code the image as one would code LaTeX, and my
 preferred tool is PSTricks. The full power of PostScript is available and
 all sorts of complex graphics (including plots from data files) can be
 generated.

While I've drawn figures with PSTricks within LyX, I prefer to use a
 text editor (emacs in my case) and manually compile them. I then
 incorporate the resulting .pdf file within the LyX document.

The precision, accuracy, and control is much higher with this approach
 than it is with an interactive tool. It's not for everyone, but for folks
 like me that prefer a CLI to a GUI and do much of our work in virtual
 consoles, the results cannot be better.

Why no mention of Inkscape? SVG vector drawings with element dimensions 
accessible either by mouse or numerically.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: Drawing tool for LyX

2009-11-07 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
  I have been searching a drawing tool that generate LaTeX code then
  implemented (pasted) somewhere in LyX so I can get simple
  pictures/diagrams.
 
 You now found Dia, but why do you need LaTeX code.

To get the same text quality in graphics than in the text?

Even if you do not use math, it's much nicer if the diagram text use the same 
fonts (and font sizes) as the document. LaTeX code in diagrams even allows you 
to re-use the graphics in different documents (e.g. a beamer presentation with 
sans serif fonts and a handout with serif fonts).

Jürgen


Re: Drawing tool for LyX

2009-11-07 Thread Murray Eisenberg
There's little that in power can touch a full-fledged 
symbolics-numerics-graphics system such as Mathematica. You create 
graphics there and just export them as .ps, .eps, .pdf, etc.


Liviu Andronic wrote:

Hello

On 11/7/09, Waluyo Adi Siswanto was.u...@gmail.com wrote:

 Could anyone please suggest me the drawing tool that can be used in LyX.
 Would I need an additional package to draw objects in LyX.


There is latexdraw, but personally I never got to compile in LyX the
code it generates (although never seriously tried, either). I mostly
use Dia [1] to generate vector images (.pdf or .eps), and include
these in my LyX document. Another way is the newish TikZ [2], but I'm
not very familiar with this one.

The issue was discussed several times in the past, so that you could
find more information in the ML archives. Best
Liviu

[1] http://live.gnome.org/Dia
[2] http://sourceforge.net/projects/pgf/



--
Murray Eisenberg mur...@math.umass.edu
Mathematics  Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
 You now found Dia, but why do you need LaTeX code. Personally I create my 
 diagrams using the program 
 that fit my needs for the desired kind of diagrams. So for free-hand drawings 
 and illustrations I 
 use Inkscape or OpenOffice Draw, for diagrams I use SciDAVis, Origin or 
 OpenOffice Calc, for mind 
 maps FreeMind, etc. All provide a PDF output that I insert as image to my 
 documents.
 
I was thinking if the LaTeX code is in LyX, I can do re-editing directly
the object, in case modification required. Now using external material
(Dia), re-editing of the original object is possible, even easier, no
code involving.

What I used to do. Using OpenOffice draw, then I copied, then I pasted
to LyX (in Ubuntu), a dialog pop up and asked me to save in png (or
jpeg). So the image is in this format. It means I lost control of of the
original drawing objects! If I right click the image in the screen, Gimp
will appear. I cannot for example resize one of the object only.

Now, using external material as suggested by Pavel, I can have a full
control of the objects that I draw and possible to modify when it is
needed. So this is what I want.. I was thinking LaTeX code, now even
easier for me..

Regards, Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread obregonmateo


On Saturday 07 November 2009, Uwe Stöhr wrote:
 Waluyo Adi Siswanto schrieb:
 
  I have been searching a drawing tool that generate LaTeX code then
  implemented (pasted) somewhere in LyX so I can get simple
  pictures/diagrams.
 
 You now found Dia, but why do you need LaTeX code. Personally I create my 
 diagrams using the program 
 that fit my needs for the desired kind of diagrams. So for free-hand drawings 
 and illustrations I 
 use Inkscape or OpenOffice Draw, for diagrams I use SciDAVis, Origin or 
 OpenOffice Calc, for mind 
 maps FreeMind, etc. All provide a PDF output that I insert as image to my 
 documents.

And there's inkscape too, which allows you to produce vector graphics that 
scale wonderfully. And, yes, lyx can preview the .svg drawing in the document 
and use it directly in the generation of the pdf.

Mateo.




Re: Drawing tool for LyX

2009-11-07 Thread Paul Johnson
On Sat, Nov 7, 2009 at 6:17 AM, Waluyo Adi Siswanto was.u...@gmail.com wrote:
 Dear All

 I have been searching a drawing tool that generate LaTeX code then
 implemented (pasted) somewhere in LyX so I can get simple
 pictures/diagrams.

I just learned about a drawing program called ipe and I'm pretty
enthusiastic. I've also used xfig with Lyx, but ipe has a nicer
interface and you can type latex into the drawing.  it can save in pdf
or eps, and here is the magical thing.  ipe is smart enough to hide
its configuration settings inside the eps or pdf file and so ipe can
open the eps / pdf file and revise it.

I don't know if it is a plus for you, but ipe is available on all
major operating systems.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Drawing tool for LyX

2009-11-07 Thread Steve Litt
On Sunday 08 November 2009 00:57:11 Paul Johnson wrote:
 On Sat, Nov 7, 2009 at 6:17 AM, Waluyo Adi Siswanto was.u...@gmail.com 
wrote:
  Dear All
 
  I have been searching a drawing tool that generate LaTeX code then
  implemented (pasted) somewhere in LyX so I can get simple
  pictures/diagrams.

 I just learned about a drawing program called ipe and I'm pretty
 enthusiastic. I've also used xfig with Lyx, but ipe has a nicer
 interface 

:-)   CPM had a nicer interface than xfig.  :-)

SteveT


Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
Dear All

I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.

Could anyone please suggest me the drawing tool that can be used in LyX.
Would I need an additional package to draw objects in LyX.

Regards
Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread Liviu Andronic
Hello

On 11/7/09, Waluyo Adi Siswanto was.u...@gmail.com wrote:
  Could anyone please suggest me the drawing tool that can be used in LyX.
  Would I need an additional package to draw objects in LyX.

There is latexdraw, but personally I never got to compile in LyX the
code it generates (although never seriously tried, either). I mostly
use Dia [1] to generate vector images (.pdf or .eps), and include
these in my LyX document. Another way is the newish TikZ [2], but I'm
not very familiar with this one.

The issue was discussed several times in the past, so that you could
find more information in the ML archives. Best
Liviu

[1] http://live.gnome.org/Dia
[2] http://sourceforge.net/projects/pgf/


Re: Drawing tool for LyX

2009-11-07 Thread Pavel Sanda
Liviu Andronic wrote:
 There is latexdraw, but personally I never got to compile in LyX the
 code it generates (although never seriously tried, either). I mostly
 use Dia [1] to generate vector images (.pdf or .eps), and include
 these in my LyX document. Another way is the newish TikZ [2], but I'm
 not very familiar with this one.

note also that xfig and dia files can be directly embeded via external material.

pavel


Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
2009/11/7 Pavel Sanda sa...@lyx.org:
 Liviu Andronic wrote:
 There is latexdraw, but personally I never got to compile in LyX the
 code it generates (although never seriously tried, either). I mostly
 use Dia [1] to generate vector images (.pdf or .eps), and include
 these in my LyX document. Another way is the newish TikZ [2], but I'm
 not very familiar with this one.

 note also that xfig and dia files can be directly embeded via external 
 material.

 pavel


Thanks Liviu and Pavel

I don't have xfig/dia installed but I can see it can be installed from
my synaptic Ubuntu, I will try.
This is new for me, external material (Insertfileexternal material).

Waluyo


Re: Drawing tool for LyX

2009-11-07 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:

Dear All

I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.

Could anyone please suggest me the drawing tool that can be used in LyX.
Would I need an additional package to draw objects in LyX.

Regards
Waluyo




I'm currently looking at Jpgfdraw 
(http://theoval.cmp.uea.ac.uk/~nlct/jpgfdraw/) but have not had time to 
play with it yet.  Since I use pgf/tikz drawings in beamer 
presentations, this one appeals to me a bit.


/Paul



Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
On Sat, 2009-11-07 at 14:34 +0100, Pavel Sanda wrote:
 Liviu Andronic wrote:
  There is latexdraw, but personally I never got to compile in LyX the
  code it generates (although never seriously tried, either). I mostly
  use Dia [1] to generate vector images (.pdf or .eps), and include
  these in my LyX document. Another way is the newish TikZ [2], but I'm
  not very familiar with this one.
 
 note also that xfig and dia files can be directly embeded via external 
 material.
 
 pavel

Ok, installed already (Dia)... but what is the comment for the converter
(Tool preferences)? I viewed pdf.. only showing the name of the file.
Regards, Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread Rich Shepard

On Sat, 7 Nov 2009, Paul A. Rubin wrote:


I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.



I'm currently looking at Jpgfdraw
(http://theoval.cmp.uea.ac.uk/~nlct/jpgfdraw/) but have not had time to
play with it yet.  Since I use pgf/tikz drawings in beamer presentations,
this one appeals to me a bit.


  There is an issue here worth pointing out (at least, I think it's worth
pointing out). Specifically, what sort of vector graphics do you need or
want to produce?

  Tools such as xfig, dia, and the rest are GUI and interactive so the
drawins are creates as we would do them with pencil on paper. For many
purposes this is a fine solution.

  However, some figures need to have lines that meet very precisely (no
overshoots or gaps between them) or be placed with high precision. While
this may well be possible and easy for those more skilled than I am, I found
my xfig and similar figures to look sloppy when enlarged. The solution for
this is to code the image as one would code LaTeX, and my preferred tool is
PSTricks. The full power of PostScript is available and all sorts of complex
graphics (including plots from data files) can be generated.

  While I've drawn figures with PSTricks within LyX, I prefer to use a text
editor (emacs in my case) and manually compile them. I then incorporate the
resulting .pdf file within the LyX document.

  The precision, accuracy, and control is much higher with this approach
than it is with an interactive tool. It's not for everyone, but for folks
like me that prefer a CLI to a GUI and do much of our work in virtual
consoles, the results cannot be better.

  With apologies to the Hersey fonts, dif'rent strokes for dif'rent folks.
:-)

Rich


Re: Drawing tool for LyX

2009-11-07 Thread Pavel Sanda
Waluyo Adi Siswanto wrote:
 Ok, installed already (Dia)... but what is the comment for the converter
 (Tool preferences)? I viewed pdf.. only showing the name of the file.

reconfigured?
pavel


Re: Drawing tool for LyX

2009-11-07 Thread Pavel Sanda
Waluyo Adi Siswanto wrote:
 On Sat, 2009-11-07 at 16:47 +0100, Pavel Sanda wrote:

please let the discussion on lyx-users...

  reconfigured?
  pavel
 
 Yes.. I did.. only showing in pdf filename.dia

instant preview on?
pavel


Re: Drawing tool for LyX

2009-11-07 Thread Murat Yildizoglu
You can find on my blog the presentation of two drawing softs that I
use in combination with Latex: Ipe and JPicEdt.

http://yildizoglu.blogspot.com/

Ipe is one that I mainly use now. A brand new version is in
preparation. JPicEdt is also nice because it can generate PSTRIcks
code.

Murat

2009/11/7 Waluyo Adi Siswanto was.u...@gmail.com:
 Dear All

 I have been searching a drawing tool that generate LaTeX code then
 implemented (pasted) somewhere in LyX so I can get simple
 pictures/diagrams.

 Could anyone please suggest me the drawing tool that can be used in LyX.
 Would I need an additional package to draw objects in LyX.

 Regards
 Waluyo





-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
On Sat, 2009-11-07 at 17:01 +0100, Pavel Sanda wrote:
 Waluyo Adi Siswanto wrote:
  On Sat, 2009-11-07 at 16:47 +0100, Pavel Sanda wrote:
 
 please let the discussion on lyx-users...
 
   reconfigured?
   pavel
  
  Yes.. I did.. only showing in pdf filename.dia
 
 instant preview on?
 pavel

OK LyX is great .. It's not the instant preview.
I need to restart LyX after reconfigure.. now my LyX is working with
Dia. I can continue editing, right click-edit externally. 
Exactly what I want.
Thanks you very much for this interactive discussion

Best regards for all LyX team
Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread Uwe Stöhr

Waluyo Adi Siswanto schrieb:


I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.


You now found Dia, but why do you need LaTeX code. Personally I create my diagrams using the program 
that fit my needs for the desired kind of diagrams. So for free-hand drawings and illustrations I 
use Inkscape or OpenOffice Draw, for diagrams I use SciDAVis, Origin or OpenOffice Calc, for mind 
maps FreeMind, etc. All provide a PDF output that I insert as image to my documents.


regards Uwe


Re: Drawing tool for LyX

2009-11-07 Thread Steve Litt
On Saturday 07 November 2009 10:36:15 Rich Shepard wrote:
 On Sat, 7 Nov 2009, Paul A. Rubin wrote:
  I have been searching a drawing tool that generate LaTeX code then
  implemented (pasted) somewhere in LyX so I can get simple
  pictures/diagrams.
 
  I'm currently looking at Jpgfdraw
  (http://theoval.cmp.uea.ac.uk/~nlct/jpgfdraw/) but have not had time to
  play with it yet.  Since I use pgf/tikz drawings in beamer presentations,
  this one appeals to me a bit.

There is an issue here worth pointing out (at least, I think it's worth
 pointing out). Specifically, what sort of vector graphics do you need or
 want to produce?

Tools such as xfig, dia, and the rest are GUI and interactive so the
 drawins are creates as we would do them with pencil on paper. For many
 purposes this is a fine solution.

However, some figures need to have lines that meet very precisely (no
 overshoots or gaps between them) or be placed with high precision. While
 this may well be possible and easy for those more skilled than I am, I
 found my xfig and similar figures to look sloppy when enlarged. The
 solution for this is to code the image as one would code LaTeX, and my
 preferred tool is PSTricks. The full power of PostScript is available and
 all sorts of complex graphics (including plots from data files) can be
 generated.

While I've drawn figures with PSTricks within LyX, I prefer to use a
 text editor (emacs in my case) and manually compile them. I then
 incorporate the resulting .pdf file within the LyX document.

The precision, accuracy, and control is much higher with this approach
 than it is with an interactive tool. It's not for everyone, but for folks
 like me that prefer a CLI to a GUI and do much of our work in virtual
 consoles, the results cannot be better.

Why no mention of Inkscape? SVG vector drawings with element dimensions 
accessible either by mouse or numerically.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: Drawing tool for LyX

2009-11-07 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
  I have been searching a drawing tool that generate LaTeX code then
  implemented (pasted) somewhere in LyX so I can get simple
  pictures/diagrams.
 
 You now found Dia, but why do you need LaTeX code.

To get the same text quality in graphics than in the text?

Even if you do not use math, it's much nicer if the diagram text use the same 
fonts (and font sizes) as the document. LaTeX code in diagrams even allows you 
to re-use the graphics in different documents (e.g. a beamer presentation with 
sans serif fonts and a handout with serif fonts).

Jürgen


Re: Drawing tool for LyX

2009-11-07 Thread Murray Eisenberg
There's little that in power can touch a full-fledged 
symbolics-numerics-graphics system such as Mathematica. You create 
graphics there and just export them as .ps, .eps, .pdf, etc.


Liviu Andronic wrote:

Hello

On 11/7/09, Waluyo Adi Siswanto was.u...@gmail.com wrote:

 Could anyone please suggest me the drawing tool that can be used in LyX.
 Would I need an additional package to draw objects in LyX.


There is latexdraw, but personally I never got to compile in LyX the
code it generates (although never seriously tried, either). I mostly
use Dia [1] to generate vector images (.pdf or .eps), and include
these in my LyX document. Another way is the newish TikZ [2], but I'm
not very familiar with this one.

The issue was discussed several times in the past, so that you could
find more information in the ML archives. Best
Liviu

[1] http://live.gnome.org/Dia
[2] http://sourceforge.net/projects/pgf/



--
Murray Eisenberg mur...@math.umass.edu
Mathematics  Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
 You now found Dia, but why do you need LaTeX code. Personally I create my 
 diagrams using the program 
 that fit my needs for the desired kind of diagrams. So for free-hand drawings 
 and illustrations I 
 use Inkscape or OpenOffice Draw, for diagrams I use SciDAVis, Origin or 
 OpenOffice Calc, for mind 
 maps FreeMind, etc. All provide a PDF output that I insert as image to my 
 documents.
 
I was thinking if the LaTeX code is in LyX, I can do re-editing directly
the object, in case modification required. Now using external material
(Dia), re-editing of the original object is possible, even easier, no
code involving.

What I used to do. Using OpenOffice draw, then I copied, then I pasted
to LyX (in Ubuntu), a dialog pop up and asked me to save in png (or
jpeg). So the image is in this format. It means I lost control of of the
original drawing objects! If I right click the image in the screen, Gimp
will appear. I cannot for example resize one of the object only.

Now, using external material as suggested by Pavel, I can have a full
control of the objects that I draw and possible to modify when it is
needed. So this is what I want.. I was thinking LaTeX code, now even
easier for me..

Regards, Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread obregonmateo


On Saturday 07 November 2009, Uwe Stöhr wrote:
 Waluyo Adi Siswanto schrieb:
 
  I have been searching a drawing tool that generate LaTeX code then
  implemented (pasted) somewhere in LyX so I can get simple
  pictures/diagrams.
 
 You now found Dia, but why do you need LaTeX code. Personally I create my 
 diagrams using the program 
 that fit my needs for the desired kind of diagrams. So for free-hand drawings 
 and illustrations I 
 use Inkscape or OpenOffice Draw, for diagrams I use SciDAVis, Origin or 
 OpenOffice Calc, for mind 
 maps FreeMind, etc. All provide a PDF output that I insert as image to my 
 documents.

And there's inkscape too, which allows you to produce vector graphics that 
scale wonderfully. And, yes, lyx can preview the .svg drawing in the document 
and use it directly in the generation of the pdf.

Mateo.




Re: Drawing tool for LyX

2009-11-07 Thread Paul Johnson
On Sat, Nov 7, 2009 at 6:17 AM, Waluyo Adi Siswanto was.u...@gmail.com wrote:
 Dear All

 I have been searching a drawing tool that generate LaTeX code then
 implemented (pasted) somewhere in LyX so I can get simple
 pictures/diagrams.

I just learned about a drawing program called ipe and I'm pretty
enthusiastic. I've also used xfig with Lyx, but ipe has a nicer
interface and you can type latex into the drawing.  it can save in pdf
or eps, and here is the magical thing.  ipe is smart enough to hide
its configuration settings inside the eps or pdf file and so ipe can
open the eps / pdf file and revise it.

I don't know if it is a plus for you, but ipe is available on all
major operating systems.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Drawing tool for LyX

2009-11-07 Thread Steve Litt
On Sunday 08 November 2009 00:57:11 Paul Johnson wrote:
 On Sat, Nov 7, 2009 at 6:17 AM, Waluyo Adi Siswanto was.u...@gmail.com 
wrote:
  Dear All
 
  I have been searching a drawing tool that generate LaTeX code then
  implemented (pasted) somewhere in LyX so I can get simple
  pictures/diagrams.

 I just learned about a drawing program called ipe and I'm pretty
 enthusiastic. I've also used xfig with Lyx, but ipe has a nicer
 interface 

:-)   CPM had a nicer interface than xfig.  :-)

SteveT


Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
Dear All

I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.

Could anyone please suggest me the drawing tool that can be used in LyX.
Would I need an additional package to draw objects in LyX.

Regards
Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread Liviu Andronic
Hello

On 11/7/09, Waluyo Adi Siswanto  wrote:
>  Could anyone please suggest me the drawing tool that can be used in LyX.
>  Would I need an additional package to draw objects in LyX.
>
There is latexdraw, but personally I never got to compile in LyX the
code it generates (although never seriously tried, either). I mostly
use Dia [1] to generate vector images (.pdf or .eps), and include
these in my LyX document. Another way is the newish TikZ [2], but I'm
not very familiar with this one.

The issue was discussed several times in the past, so that you could
find more information in the ML archives. Best
Liviu

[1] http://live.gnome.org/Dia
[2] http://sourceforge.net/projects/pgf/


Re: Drawing tool for LyX

2009-11-07 Thread Pavel Sanda
Liviu Andronic wrote:
> There is latexdraw, but personally I never got to compile in LyX the
> code it generates (although never seriously tried, either). I mostly
> use Dia [1] to generate vector images (.pdf or .eps), and include
> these in my LyX document. Another way is the newish TikZ [2], but I'm
> not very familiar with this one.

note also that xfig and dia files can be directly embeded via external material.

pavel


Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
2009/11/7 Pavel Sanda :
> Liviu Andronic wrote:
>> There is latexdraw, but personally I never got to compile in LyX the
>> code it generates (although never seriously tried, either). I mostly
>> use Dia [1] to generate vector images (.pdf or .eps), and include
>> these in my LyX document. Another way is the newish TikZ [2], but I'm
>> not very familiar with this one.
>
> note also that xfig and dia files can be directly embeded via external 
> material.
>
> pavel
>

Thanks Liviu and Pavel

I don't have xfig/dia installed but I can see it can be installed from
my synaptic Ubuntu, I will try.
This is new for me, external material (Insert>file>external material).

Waluyo


Re: Drawing tool for LyX

2009-11-07 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:

Dear All

I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.

Could anyone please suggest me the drawing tool that can be used in LyX.
Would I need an additional package to draw objects in LyX.

Regards
Waluyo




I'm currently looking at Jpgfdraw 
(http://theoval.cmp.uea.ac.uk/~nlct/jpgfdraw/) but have not had time to 
play with it yet.  Since I use pgf/tikz drawings in beamer 
presentations, this one appeals to me a bit.


/Paul



Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
On Sat, 2009-11-07 at 14:34 +0100, Pavel Sanda wrote:
> Liviu Andronic wrote:
> > There is latexdraw, but personally I never got to compile in LyX the
> > code it generates (although never seriously tried, either). I mostly
> > use Dia [1] to generate vector images (.pdf or .eps), and include
> > these in my LyX document. Another way is the newish TikZ [2], but I'm
> > not very familiar with this one.
> 
> note also that xfig and dia files can be directly embeded via external 
> material.
> 
> pavel

Ok, installed already (Dia)... but what is the comment for the converter
(Tool preferences)? I viewed pdf.. only showing the name of the file.
Regards, Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread Rich Shepard

On Sat, 7 Nov 2009, Paul A. Rubin wrote:


I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.



I'm currently looking at Jpgfdraw
(http://theoval.cmp.uea.ac.uk/~nlct/jpgfdraw/) but have not had time to
play with it yet.  Since I use pgf/tikz drawings in beamer presentations,
this one appeals to me a bit.


  There is an issue here worth pointing out (at least, I think it's worth
pointing out). Specifically, what sort of vector graphics do you need or
want to produce?

  Tools such as xfig, dia, and the rest are GUI and interactive so the
drawins are creates as we would do them with pencil on paper. For many
purposes this is a fine solution.

  However, some figures need to have lines that meet very precisely (no
overshoots or gaps between them) or be placed with high precision. While
this may well be possible and easy for those more skilled than I am, I found
my xfig and similar figures to look sloppy when enlarged. The solution for
this is to code the image as one would code LaTeX, and my preferred tool is
PSTricks. The full power of PostScript is available and all sorts of complex
graphics (including plots from data files) can be generated.

  While I've drawn figures with PSTricks within LyX, I prefer to use a text
editor (emacs in my case) and manually compile them. I then incorporate the
resulting .pdf file within the LyX document.

  The precision, accuracy, and control is much higher with this approach
than it is with an interactive tool. It's not for everyone, but for folks
like me that prefer a CLI to a GUI and do much of our work in virtual
consoles, the results cannot be better.

  With apologies to the Hersey fonts, dif'rent strokes for dif'rent folks.
:-)

Rich


Re: Drawing tool for LyX

2009-11-07 Thread Pavel Sanda
Waluyo Adi Siswanto wrote:
> Ok, installed already (Dia)... but what is the comment for the converter
> (Tool preferences)? I viewed pdf.. only showing the name of the file.

reconfigured?
pavel


Re: Drawing tool for LyX

2009-11-07 Thread Pavel Sanda
Waluyo Adi Siswanto wrote:
> On Sat, 2009-11-07 at 16:47 +0100, Pavel Sanda wrote:

please let the discussion on lyx-users...

> > reconfigured?
> > pavel
> 
> Yes.. I did.. only showing in pdf filename.dia

instant preview on?
pavel


Re: Drawing tool for LyX

2009-11-07 Thread Murat Yildizoglu
You can find on my blog the presentation of two drawing softs that I
use in combination with Latex: Ipe and JPicEdt.

http://yildizoglu.blogspot.com/

Ipe is one that I mainly use now. A brand new version is in
preparation. JPicEdt is also nice because it can generate PSTRIcks
code.

Murat

2009/11/7 Waluyo Adi Siswanto :
> Dear All
>
> I have been searching a drawing tool that generate LaTeX code then
> implemented (pasted) somewhere in LyX so I can get simple
> pictures/diagrams.
>
> Could anyone please suggest me the drawing tool that can be used in LyX.
> Would I need an additional package to draw objects in LyX.
>
> Regards
> Waluyo
>
>



-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
On Sat, 2009-11-07 at 17:01 +0100, Pavel Sanda wrote:
> Waluyo Adi Siswanto wrote:
> > On Sat, 2009-11-07 at 16:47 +0100, Pavel Sanda wrote:
> 
> please let the discussion on lyx-users...
> 
> > > reconfigured?
> > > pavel
> > 
> > Yes.. I did.. only showing in pdf filename.dia
> 
> instant preview on?
> pavel

OK LyX is great .. It's not the instant preview.
I need to restart LyX after reconfigure.. now my LyX is working with
Dia. I can continue editing, right click-edit externally. 
Exactly what I want.
Thanks you very much for this "interactive discussion"

Best regards for all LyX team
Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread Uwe Stöhr

Waluyo Adi Siswanto schrieb:


I have been searching a drawing tool that generate LaTeX code then
implemented (pasted) somewhere in LyX so I can get simple
pictures/diagrams.


You now found Dia, but why do you need LaTeX code. Personally I create my diagrams using the program 
that fit my needs for the desired kind of diagrams. So for free-hand drawings and illustrations I 
use Inkscape or OpenOffice Draw, for diagrams I use SciDAVis, Origin or OpenOffice Calc, for mind 
maps FreeMind, etc. All provide a PDF output that I insert as image to my documents.


regards Uwe


Re: Drawing tool for LyX

2009-11-07 Thread Steve Litt
On Saturday 07 November 2009 10:36:15 Rich Shepard wrote:
> On Sat, 7 Nov 2009, Paul A. Rubin wrote:
> >> I have been searching a drawing tool that generate LaTeX code then
> >> implemented (pasted) somewhere in LyX so I can get simple
> >> pictures/diagrams.
> >
> > I'm currently looking at Jpgfdraw
> > (http://theoval.cmp.uea.ac.uk/~nlct/jpgfdraw/) but have not had time to
> > play with it yet.  Since I use pgf/tikz drawings in beamer presentations,
> > this one appeals to me a bit.
>
>There is an issue here worth pointing out (at least, I think it's worth
> pointing out). Specifically, what sort of vector graphics do you need or
> want to produce?
>
>Tools such as xfig, dia, and the rest are GUI and interactive so the
> drawins are creates as we would do them with pencil on paper. For many
> purposes this is a fine solution.
>
>However, some figures need to have lines that meet very precisely (no
> overshoots or gaps between them) or be placed with high precision. While
> this may well be possible and easy for those more skilled than I am, I
> found my xfig and similar figures to look sloppy when enlarged. The
> solution for this is to code the image as one would code LaTeX, and my
> preferred tool is PSTricks. The full power of PostScript is available and
> all sorts of complex graphics (including plots from data files) can be
> generated.
>
>While I've drawn figures with PSTricks within LyX, I prefer to use a
> text editor (emacs in my case) and manually compile them. I then
> incorporate the resulting .pdf file within the LyX document.
>
>The precision, accuracy, and control is much higher with this approach
> than it is with an interactive tool. It's not for everyone, but for folks
> like me that prefer a CLI to a GUI and do much of our work in virtual
> consoles, the results cannot be better.

Why no mention of Inkscape? SVG vector drawings with element dimensions 
accessible either by mouse or numerically.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: Drawing tool for LyX

2009-11-07 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
> > I have been searching a drawing tool that generate LaTeX code then
> > implemented (pasted) somewhere in LyX so I can get simple
> > pictures/diagrams.
> 
> You now found Dia, but why do you need LaTeX code.

To get the same text quality in graphics than in the text?

Even if you do not use math, it's much nicer if the diagram text use the same 
fonts (and font sizes) as the document. LaTeX code in diagrams even allows you 
to re-use the graphics in different documents (e.g. a beamer presentation with 
sans serif fonts and a handout with serif fonts).

Jürgen


Re: Drawing tool for LyX

2009-11-07 Thread Murray Eisenberg
There's little that in power can touch a full-fledged 
symbolics-numerics-graphics system such as Mathematica. You create 
graphics there and just export them as .ps, .eps, .pdf, etc.


Liviu Andronic wrote:

Hello

On 11/7/09, Waluyo Adi Siswanto  wrote:

 Could anyone please suggest me the drawing tool that can be used in LyX.
 Would I need an additional package to draw objects in LyX.


There is latexdraw, but personally I never got to compile in LyX the
code it generates (although never seriously tried, either). I mostly
use Dia [1] to generate vector images (.pdf or .eps), and include
these in my LyX document. Another way is the newish TikZ [2], but I'm
not very familiar with this one.

The issue was discussed several times in the past, so that you could
find more information in the ML archives. Best
Liviu

[1] http://live.gnome.org/Dia
[2] http://sourceforge.net/projects/pgf/



--
Murray Eisenberg mur...@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower  phone 413 549-1020 (H)
University of Massachusetts413 545-2859 (W)
710 North Pleasant Streetfax   413 545-1801
Amherst, MA 01003-9305


Re: Drawing tool for LyX

2009-11-07 Thread Waluyo Adi Siswanto
> You now found Dia, but why do you need LaTeX code. Personally I create my 
> diagrams using the program 
> that fit my needs for the desired kind of diagrams. So for free-hand drawings 
> and illustrations I 
> use Inkscape or OpenOffice Draw, for diagrams I use SciDAVis, Origin or 
> OpenOffice Calc, for mind 
> maps FreeMind, etc. All provide a PDF output that I insert as image to my 
> documents.
> 
I was thinking if the LaTeX code is in LyX, I can do re-editing directly
the object, in case modification required. Now using external material
(Dia), re-editing of the original object is possible, even easier, no
code involving.

What I used to do. Using OpenOffice draw, then I copied, then I pasted
to LyX (in Ubuntu), a dialog pop up and asked me to save in png (or
jpeg). So the image is in this format. It means I lost control of of the
original drawing objects! If I right click the image in the screen, Gimp
will appear. I cannot for example resize one of the object only.

Now, using external material as suggested by Pavel, I can have a full
control of the objects that I draw and possible to modify when it is
needed. So this is what I want.. I was thinking LaTeX code, now even
easier for me..

Regards, Waluyo



Re: Drawing tool for LyX

2009-11-07 Thread obregonmateo


On Saturday 07 November 2009, Uwe Stöhr wrote:
> Waluyo Adi Siswanto schrieb:
> 
> > I have been searching a drawing tool that generate LaTeX code then
> > implemented (pasted) somewhere in LyX so I can get simple
> > pictures/diagrams.
> 
> You now found Dia, but why do you need LaTeX code. Personally I create my 
> diagrams using the program 
> that fit my needs for the desired kind of diagrams. So for free-hand drawings 
> and illustrations I 
> use Inkscape or OpenOffice Draw, for diagrams I use SciDAVis, Origin or 
> OpenOffice Calc, for mind 
> maps FreeMind, etc. All provide a PDF output that I insert as image to my 
> documents.

And there's inkscape too, which allows you to produce vector graphics that 
scale wonderfully. And, yes, lyx can preview the .svg drawing in the document 
and use it directly in the generation of the pdf.

Mateo.




Re: Drawing tool for LyX

2009-11-07 Thread Paul Johnson
On Sat, Nov 7, 2009 at 6:17 AM, Waluyo Adi Siswanto  wrote:
> Dear All
>
> I have been searching a drawing tool that generate LaTeX code then
> implemented (pasted) somewhere in LyX so I can get simple
> pictures/diagrams.
>
I just learned about a drawing program called "ipe" and I'm pretty
enthusiastic. I've also used xfig with Lyx, but ipe has a nicer
interface and you can type latex into the drawing.  it can save in pdf
or eps, and here is the magical thing.  ipe is smart enough to hide
its configuration settings inside the eps or pdf file and so ipe can
open the eps / pdf file and revise it.

I don't know if it is a plus for you, but ipe is available on all
major operating systems.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Drawing tool for LyX

2009-11-07 Thread Steve Litt
On Sunday 08 November 2009 00:57:11 Paul Johnson wrote:
> On Sat, Nov 7, 2009 at 6:17 AM, Waluyo Adi Siswanto  
wrote:
> > Dear All
> >
> > I have been searching a drawing tool that generate LaTeX code then
> > implemented (pasted) somewhere in LyX so I can get simple
> > pictures/diagrams.
>
> I just learned about a drawing program called "ipe" and I'm pretty
> enthusiastic. I've also used xfig with Lyx, but ipe has a nicer
> interface 

:-)   CPM had a nicer interface than xfig.  :-)

SteveT