* Finite state machine
@ 2011-04-26 13:14 Cecil Westerhof
2011-04-26 13:30 ` luigi scarso
0 siblings, 1 reply; 19+ messages in thread
From: Cecil Westerhof @ 2011-04-26 13:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
Is there a way to create finite state machines with ConTeXt?
--
Cecil Westerhof
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Finite state machine
2011-04-26 13:14 Finite state machine Cecil Westerhof
@ 2011-04-26 13:30 ` luigi scarso
2011-04-26 13:38 ` Cecil Westerhof
0 siblings, 1 reply; 19+ messages in thread
From: luigi scarso @ 2011-04-26 13:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Apr 26, 2011 at 3:14 PM, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
> Is there a way to create finite state machines with ConTeXt?
yes
--
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Finite state machine
2011-04-26 13:30 ` luigi scarso
@ 2011-04-26 13:38 ` Cecil Westerhof
2011-04-24 18:10 ` Philipp Gesang
2011-04-26 13:47 ` luigi scarso
0 siblings, 2 replies; 19+ messages in thread
From: Cecil Westerhof @ 2011-04-26 13:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
2011/4/26 luigi scarso <luigi.scarso@gmail.com>:
> On Tue, Apr 26, 2011 at 3:14 PM, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
>> Is there a way to create finite state machines with ConTeXt?
> yes
How?
--
Cecil Westerhof
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Finite state machine
2011-04-26 13:38 ` Cecil Westerhof
@ 2011-04-24 18:10 ` Philipp Gesang
2011-04-26 14:00 ` luigi scarso
2011-04-26 14:06 ` Cecil Westerhof
2011-04-26 13:47 ` luigi scarso
1 sibling, 2 replies; 19+ messages in thread
From: Philipp Gesang @ 2011-04-24 18:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1209 bytes --]
On 2011-04-26 <15:38:43>, Cecil Westerhof wrote:
> 2011/4/26 luigi scarso <luigi.scarso@gmail.com>:
> > On Tue, Apr 26, 2011 at 3:14 PM, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
> >> Is there a way to create finite state machines with ConTeXt?
> > yes
>
> How?
Do you want to *implement* a FSM or *draw* a diagram of it?
* implementing -> Lua -> http://lua-users.org/wiki/FiniteStateMachine
* drawing -> either
-> use MP or
-> filter through GraphViz http://www.graphviz.org/Gallery/directed/fsm.html
(You might want to try http://luagraph.luaforge.net/ but
beware it occasionally segfaults with luatex.)
Hth, Philipp
> --
> Cecil Westerhof
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Finite state machine
2011-04-24 18:10 ` Philipp Gesang
@ 2011-04-26 14:00 ` luigi scarso
2011-04-24 18:19 ` Philipp Gesang
2011-04-26 14:06 ` Cecil Westerhof
1 sibling, 1 reply; 19+ messages in thread
From: luigi scarso @ 2011-04-26 14:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, Apr 24, 2011 at 8:10 PM, Philipp Gesang
<pgesang@ix.urz.uni-heidelberg.de> wrote:
Whoa, you have seen these emails two days ago...
> On 2011-04-26 <15:38:43>, Cecil Westerhof wrote:
>> 2011/4/26 luigi scarso <luigi.scarso@gmail.com>:
>> > On Tue, Apr 26, 2011 at 3:14 PM, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
>> >> Is there a way to create finite state machines with ConTeXt?
>> > yes
>>
>> How?
>
> Do you want to *implement* a FSM or *draw* a diagram of it?
For both the questions the answer is always yes --- but of course it
was a way to ask for more details.
--
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Finite state machine
2011-04-26 14:00 ` luigi scarso
@ 2011-04-24 18:19 ` Philipp Gesang
0 siblings, 0 replies; 19+ messages in thread
From: Philipp Gesang @ 2011-04-24 18:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1290 bytes --]
On 2011-04-26 <16:00:55>, luigi scarso wrote:
> On Sun, Apr 24, 2011 at 8:10 PM, Philipp Gesang
> <pgesang@ix.urz.uni-heidelberg.de> wrote:
> Whoa, you have seen these emails two days ago...
No divination involved, just that the last sys update broke my
ntp client …
>
> > On 2011-04-26 <15:38:43>, Cecil Westerhof wrote:
> >> 2011/4/26 luigi scarso <luigi.scarso@gmail.com>:
> >> > On Tue, Apr 26, 2011 at 3:14 PM, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
> >> >> Is there a way to create finite state machines with ConTeXt?
> >> > yes
> >>
> >> How?
> >
> > Do you want to *implement* a FSM or *draw* a diagram of it?
> For both the questions the answer is always yes --- but of course it
> was a way to ask for more details.
>
> --
> luigi
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Finite state machine
2011-04-24 18:10 ` Philipp Gesang
2011-04-26 14:00 ` luigi scarso
@ 2011-04-26 14:06 ` Cecil Westerhof
2011-04-26 14:12 ` Hans Hagen
2011-04-26 15:00 ` mathew
1 sibling, 2 replies; 19+ messages in thread
From: Cecil Westerhof @ 2011-04-26 14:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
2011/4/24 Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de>:
>> >> Is there a way to create finite state machines with ConTeXt?
>> > yes
>>
>> How?
>
> Do you want to *implement* a FSM or *draw* a diagram of it?
> * implementing -> Lua -> http://lua-users.org/wiki/FiniteStateMachine
> * drawing -> either
> -> use MP or
> -> filter through GraphViz http://www.graphviz.org/Gallery/directed/fsm.html
> (You might want to try http://luagraph.luaforge.net/ but
> beware it occasionally segfaults with luatex.)
I just want to include a finite state machine in a pdf document.
--
Cecil Westerhof
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Finite state machine
2011-04-26 14:06 ` Cecil Westerhof
@ 2011-04-26 14:12 ` Hans Hagen
2011-04-26 15:00 ` mathew
1 sibling, 0 replies; 19+ messages in thread
From: Hans Hagen @ 2011-04-26 14:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 26-4-2011 4:06, Cecil Westerhof wrote:
> I just want to include a finite state machine in a pdf document.
tex's hyphenation routine will do I guess
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Finite state machine
2011-04-26 14:06 ` Cecil Westerhof
2011-04-26 14:12 ` Hans Hagen
@ 2011-04-26 15:00 ` mathew
2011-04-26 15:43 ` Cecil Westerhof
1 sibling, 1 reply; 19+ messages in thread
From: mathew @ 2011-04-26 15:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Apr 26, 2011 at 09:06, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
> I just want to include a finite state machine in a pdf document.
I usually go GraphViz -> SVG, touch up the SVG with Inkscape, then
save from Inkscape to PDF.
If you're happy with GraphViz's standard output, it'll write PDF directly.
mathew
--
<URL:http://www.pobox.com/~meta/>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Finite state machine
2011-04-26 13:38 ` Cecil Westerhof
2011-04-24 18:10 ` Philipp Gesang
@ 2011-04-26 13:47 ` luigi scarso
2011-04-26 13:51 ` Cecil Westerhof
1 sibling, 1 reply; 19+ messages in thread
From: luigi scarso @ 2011-04-26 13:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Apr 26, 2011 at 3:38 PM, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
> 2011/4/26 luigi scarso <luigi.scarso@gmail.com>:
>> On Tue, Apr 26, 2011 at 3:14 PM, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
>>> Is there a way to create finite state machines with ConTeXt?
>> yes
>
> How?
I don't know the details, but it should be simple with Lua using the
tables, cfr.
http://en.wikipedia.org/wiki/Finite-state_machine
State transition table
In TeX should be almost the same, and with MetaPost you can draw
states and transitions.
--
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Finite state machine
2011-04-26 13:47 ` luigi scarso
@ 2011-04-26 13:51 ` Cecil Westerhof
2011-04-26 13:52 ` Vedran Miletić
0 siblings, 1 reply; 19+ messages in thread
From: Cecil Westerhof @ 2011-04-26 13:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
2011/4/26 luigi scarso <luigi.scarso@gmail.com>:
> On Tue, Apr 26, 2011 at 3:38 PM, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
>> 2011/4/26 luigi scarso <luigi.scarso@gmail.com>:
>>> On Tue, Apr 26, 2011 at 3:14 PM, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
>>>> Is there a way to create finite state machines with ConTeXt?
>>> yes
>>
>> How?
> I don't know the details, but it should be simple with Lua using the
> tables, cfr.
> http://en.wikipedia.org/wiki/Finite-state_machine
> State transition table
>
> In TeX should be almost the same, and with MetaPost you can draw
> states and transitions.
There is not a module like for flow charts? (Makes sense, because I
could not find something.)
--
Cecil Westerhof
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Finite state machine
2011-04-26 13:51 ` Cecil Westerhof
@ 2011-04-26 13:52 ` Vedran Miletić
2011-04-26 14:05 ` Cecil Westerhof
0 siblings, 1 reply; 19+ messages in thread
From: Vedran Miletić @ 2011-04-26 13:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1013 bytes --]
2011/4/26 Cecil Westerhof <cldwesterhof@gmail.com>
> 2011/4/26 luigi scarso <luigi.scarso@gmail.com>:
> > On Tue, Apr 26, 2011 at 3:38 PM, Cecil Westerhof <cldwesterhof@gmail.com>
> wrote:
> >> 2011/4/26 luigi scarso <luigi.scarso@gmail.com>:
> >>> On Tue, Apr 26, 2011 at 3:14 PM, Cecil Westerhof <
> cldwesterhof@gmail.com> wrote:
> >>>> Is there a way to create finite state machines with ConTeXt?
> >>> yes
> >>
> >> How?
> > I don't know the details, but it should be simple with Lua using the
> > tables, cfr.
> > http://en.wikipedia.org/wiki/Finite-state_machine
> > State transition table
> >
> > In TeX should be almost the same, and with MetaPost you can draw
> > states and transitions.
>
> There is not a module like for flow charts? (Makes sense, because I
> could not find something.)
>
There is automata.mp at
http://tug.ctan.org/tex-archive/graphics/metapost/contrib/macros/automata
I'm not sure it's the best module for that, though.
Regards,
Vedran Miletić
[-- Attachment #1.2: Type: text/html, Size: 1802 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2011-04-26 20:26 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-26 13:14 Finite state machine Cecil Westerhof
2011-04-26 13:30 ` luigi scarso
2011-04-26 13:38 ` Cecil Westerhof
2011-04-24 18:10 ` Philipp Gesang
2011-04-26 14:00 ` luigi scarso
2011-04-24 18:19 ` Philipp Gesang
2011-04-26 14:06 ` Cecil Westerhof
2011-04-26 14:12 ` Hans Hagen
2011-04-26 15:00 ` mathew
2011-04-26 15:43 ` Cecil Westerhof
2011-04-26 17:17 ` Vedran Miletić
2011-04-26 17:45 ` Aditya Mahajan
2011-04-26 18:28 ` Hans Hagen
2011-04-26 18:33 ` Aditya Mahajan
2011-04-26 20:26 ` Hans Hagen
2011-04-26 13:47 ` luigi scarso
2011-04-26 13:51 ` Cecil Westerhof
2011-04-26 13:52 ` Vedran Miletić
2011-04-26 14:05 ` Cecil Westerhof
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).