[OS X TeX] Flowcharts
Jan Anderssen
jan at linguist.umass.edu
Sat Jul 30 13:50:53 EDT 2005
On Jul 30, 2005, at 11:35 AM, Matthew Inglis wrote:
> Hello all,
>
> I am trying to get "Flow" to work on OS 10.4, but am having some
> difficulties.
> <http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/flow.html>
>
> I've built the flow.c file, to produce a flow.out file, but when I
> try to use it with, for example, this:
> ------------------------
> Right
> Box
> This is
> the first
> box.
> Box 8 1
> And this is the second
> ------------------------
>
> it says:
>
> flow error : can't interpret line 1
> \begin{picture}(0.000000,0.000000)(0.000000,0.000000)
> % picture environment flowchart generated by flow 0.99e
> \end{picture}
> logout
> [Process completed]
this is a nice little processor, i didn't know about it.
it might be obvious, but does your file include the dashed lines? if
so, try leaving them out.
for me the following worked (pretty straightforward):
1> curl -s ftp://cam.ctan.org/tex-archive/support/flow.tar.gz | tar
xvzf -
flow/
flow/README
flow/flow.c
flow/flowdoc.tex
flow/flowdoc.pdf
flow/COPYING
2> cd flow/
3> gcc -o flow flow.c
4> cat > box.flo
Right
Box
This is
the first
box.
Box 8 1
And this is the second
^C
5> ./flow box.flo
\begin{picture}(13.000000,2.000000)(0.000000,-2.000000)
% picture environment flowchart generated by flow 0.99e
\put(0.0000,-2.0000){\framebox(4.0000,2.0000)[c]{\shortstack[c]{
This is\\
the first\\
box.
}}}
\put(4.0000,-1.0000){\vector(1,0){1.0000}}
\put(5.0000,-1.5000){\framebox(8.0000,1.0000)[c]{\shortstack[c]{
And this is the second
}}}
\end{picture}
cheers,
jan
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list