GeneralUsing latex for drawing flowcharts

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mozkaynak
Posts: 2
Joined: Tue May 29, 2007 4:03 am

Using latex for drawing flowcharts

Post by mozkaynak »

Hello I would like to use latex to draw flowcharts.
is there anyone has experience in drawing flowcharts by using latex?
by doing a small research I found PGF/TikZ to be most appropriate package for this purpose.
Any comments on that?

What is the best editor for the purpose of drawing flowcharts in latex?

I desperately need support on this issue, so any help will be highly appreciated.

thanks....

PS: I use Ubuntu as operating system.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

countbela666
Posts: 64
Joined: Thu Apr 26, 2007 2:44 pm

Using latex for drawing flowcharts

Post by countbela666 »

Hello,

another possibility would be using PSTricks. Here a link to a simple flowchart example using psmatrix: http://tug.org/PSTricks/main.cgi?file=p ... #flowchart.

Regards
Marcel
Listen to me children of the night, beyond the doors of darkness you will find
a thousand worlds for you to see here, take my hand and follow me...
darckhart
Posts: 34
Joined: Mon Jul 09, 2007 4:04 am

Using latex for drawing flowcharts

Post by darckhart »

Sorry to revive this, but I checked out that link and am having difficulty compiling the flowchart tex code provided. As is, the flowchart.tex file will not compile correctly, giving me errors such as

Code: Select all

Undefined control sequence.
(recently read) \c@lor@to@ps
I also tried loading additional packages, such as pstricks-add and xkeyval, but that did not work either.

I have the basic TeXLive 2007, ghostscript 8.57, gsview 4.8, and adobe acrobat 6 installed on winxp. Thanks.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: Using latex for drawing flowcharts

Post by gmedina »

pstricks uses some commands not supported by pdflatex. The error you mention is similar to those obtained using pdflatex directly on a .tex document using pstricks. So you have to process your .tex document with latex and then use dvitops and finally (if your goal is a .pdf document) use pstopdf.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
nunolf
Posts: 14
Joined: Wed Jul 18, 2007 1:41 pm

Re: Using latex for drawing flowcharts

Post by nunolf »

Hi

How about ConTeX? It has a online tool to produce fancy workflows.
I also suggest the DIA program (Lin and Win). It has libraries with pre-built blocks for many kinds of flowcharts. Save as eps, then epstopdf and you are done.
Cheers,
Nuno
nunolf
Posts: 14
Joined: Wed Jul 18, 2007 1:41 pm

Using latex for drawing flowcharts

Post by nunolf »

Forgot ConTeX links. Check it out:

1- Check here to get a general idea:
http://wiki.contextgarden.net/Flow_Charts

2- first produce the code for a certain flowchart here:
http://www.im.ps.pl/context/?en

3- then, use the online compiler (paste the previous code into here).
http://live.contextgarden.net/

A source example goes in attach.
Attachments
flowchart_ConTeXt.tex
Flowchart designed on the online flowcharts creator for ConTeX.
(2.86 KiB) Downloaded 2039 times
Post Reply