Menu
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/graphics/jflap2tikz

Introduction

JFlap is an excellent piece of software for experimenting with finite
state machines, Turing machines and exploring many aspects of the
theory of computation. JFlap2TikZ is a groovy script that converts a
JFlap jff file representing a finite automaton, push down automaton,
or Turing machine to LaTeX file depicting the automaton graphically
using TikZ.

Requirements

To use JFlap2TikZ you will need Java installed. Additionally you may
find it useful to have groovy installed as well. You will need to
download either JFlap2TikZ.jar (if you only have Java installed) or
JFlap2TikZ.groovy (if you also have groovy installed).

Usage

JFlap2TikZ is invoked from the command line, using Java

java -jar JFlap2TikZ.jar example.jff

or using groovy

groovy JFlap2TikZ.groovy example.jff

Note that in either case the output will be written to the
console. Redirect the output or copy and paste as needed. Here is the
full usage information.


usage: JFlap2TikZ [-g] [-h] [-r] [-s scale] [-z size] filename
 -g,--grid             Round positions so that they are on a grid
 -h,--help             Show usage information and quit
 -r,--rotate           rotate labels along edges
 -s,--scale <arg>      1 pixel in JFlap = scale points in LaTeX (default
                       is 1.0)
 -z,--gridsize <arg>   Set the spacing of the grid (default is 20.0)

License

JFlap2TikZ and its documentation are licensed under an MIT style license

Copyright (c) 2009, Andrew Mertz and William Slough
 
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
 
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Files

Name Size Date Notes
JFlap2TikZ.groovy 9513 2009-08-02 06:21:33
JFlap2TikZ.jar 4458692 2009-08-02 06:21:36
JFlap2Tikz.pdf 141416 2009-08-18 07:46:10
JFlap2Tikz.tex 9072 2009-08-18 07:46:09
README 2523 2009-08-18 08:02:56
ex0_1a.png 39782 2009-08-02 03:29:16
ex9-anbncn.png 74974 2009-08-02 03:27:38

Down­load the con­tents of this pack­age in one zip archive (4.0M).

jflap2tikz – Con­vert JFlap file into a LaTeX file de­pict­ing the au­toma­ton us­ing TikZ

JFlap is an ex­cel­lent piece of soft­ware for ex­per­i­ment­ing with fi­nite state ma­chines, Tur­ing ma­chines and ex­plor­ing many as­pects of the the­ory of com­pu­ta­tion. JFlap2TikZ is a groovy script that con­verts a JFlap jff file rep­re­sent­ing a fi­nite au­toma­ton, push down au­toma­ton, or Tur­ing ma­chine to LaTeX file de­pict­ing the au­toma­ton graph­i­cally us­ing TikZ.

Doc­u­men­ta­tion
Ver­sion1.0
Li­censeFree li­cense not oth­er­wise listed, or more than one free li­cense ap­plies
Main­tainerAn­drew Mertz
Topics con­vert a for­eign graph­ics for­mat for use with TeX
pack­age uses PGF-TikZ
Guest Book Sitemap Contact 2014-04-24 18:14 CEST