diff options
author | Karl Berry <karl@freefriends.org> | 2014-02-24 23:00:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-02-24 23:00:15 +0000 |
commit | 1183f8e866b15342db38d90474db426a5d2197e1 (patch) | |
tree | d7dc427c89ed183873fb5bec244b8d1ffe5e1bb1 /Master/texmf-dist/doc/latex/pgf-umlsd/demo | |
parent | 896ff7b1cf64274d27af3e7645ede25c72bd5029 (diff) |
pgf-umlsd (24feb14)
git-svn-id: svn://tug.org/texlive/trunk@33045 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgf-umlsd/demo')
22 files changed, 946 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/block.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/block.tex new file mode 100644 index 00000000000..deec2c8fa75 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/block.tex @@ -0,0 +1,9 @@ +\begin{sequencediagram} + \newthread{t}{:Thread} + \newinst[1]{i}{:Instance} + + \begin{sdblock}{Block}{description} + \begin{call}{t}{function()}{i}{} + \end{call} + \end{sdblock} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/call.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/call.tex new file mode 100644 index 00000000000..b67d61e8411 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/call.tex @@ -0,0 +1,7 @@ +\begin{sequencediagram} + \newthread{t}{:Thread} + \newinst[1]{i}{:Instance} + + \begin{call}{t}{function()}{i}{return value} + \end{call} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/callself.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/callself.tex new file mode 100644 index 00000000000..47297582374 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/callself.tex @@ -0,0 +1,6 @@ +\begin{sequencediagram} + \newthread{t}{:Thread} + + \begin{call}{t}{function()}{t}{return value} + \end{call} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/customize.log b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/customize.log new file mode 100644 index 00000000000..978a646b07e --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/customize.log @@ -0,0 +1,237 @@ +This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=latex 2011.5.2) 27 JUL 2011 02:55 +entering extended mode + %&-line parsing enabled. +**\input customize.tex +(./customize.tex + +! LaTeX Error: Environment sequencediagram undefined. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.1 \begin{sequencediagram} + +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + +! Undefined control sequence. +l.2 \newthread + [red]{r}{:Red} +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + + +! LaTeX Error: Missing \begin{document}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.2 \newthread[ + red]{r}{:Red} +You're in trouble here. Try typing <return> to proceed. +If that doesn't work, type X <return> to quit. + +Missing character: There is no [ in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no ] in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no : in font nullfont! +Missing character: There is no R in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no d in font nullfont! +! Undefined control sequence. +l.3 \newthread + [green]{g}{:Green} +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + +Missing character: There is no [ in font nullfont! +Missing character: There is no g in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no ] in font nullfont! +Missing character: There is no g in font nullfont! +Missing character: There is no : in font nullfont! +Missing character: There is no G in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no n in font nullfont! +! Undefined control sequence. +l.4 \newthread + [blue]{b}{:Blue} +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + +Missing character: There is no [ in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no ] in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no : in font nullfont! +Missing character: There is no B in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no e in font nullfont! +! Undefined control sequence. +l.5 \tikzstyle + {inststyle}+=[bottom color=yellow] +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + +Missing character: There is no i in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no + in font nullfont! +Missing character: There is no = in font nullfont! +Missing character: There is no [ in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no m in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no = in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no w in font nullfont! +Missing character: There is no ] in font nullfont! +! Undefined control sequence. +l.6 \newinst + {y}{:Yellow} +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + +Missing character: There is no y in font nullfont! +Missing character: There is no : in font nullfont! +Missing character: There is no Y in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no w in font nullfont! +! Undefined control sequence. +l.7 \tikzstyle + {inststyle}+=[rounded corners=3mm] +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + +Missing character: There is no i in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no y in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no + in font nullfont! +Missing character: There is no = in font nullfont! +Missing character: There is no [ in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no = in font nullfont! +Missing character: There is no 3 in font nullfont! +Missing character: There is no m in font nullfont! +Missing character: There is no m in font nullfont! +Missing character: There is no ] in font nullfont! +! Undefined control sequence. +l.8 \newinst + {o}{:Rounded} +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + +Missing character: There is no o in font nullfont! +Missing character: There is no : in font nullfont! +Missing character: There is no R in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no d in font nullfont! + +! LaTeX Error: \begin{document} ended by \end{sequencediagram}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.9 \end{sequencediagram} + +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + +) +! Emergency stop. +<*> \input customize.tex + +*** (job aborted, no legal \end found) + + +Here is how much of TeX's memory you used: + 7 strings out of 495062 + 174 string characters out of 1182645 + 45108 words of memory out of 3000000 + 3284 multiletter control sequences out of 15000+50000 + 3640 words of font info for 14 fonts, out of 3000000 for 9000 + 28 hyphenation exceptions out of 8191 + 6i,0n,6p,69b,19s stack positions out of 5000i,500n,10000p,200000b,50000s +No pages of output. diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/customize.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/customize.tex new file mode 100644 index 00000000000..db4cc01c19b --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/customize.tex @@ -0,0 +1,9 @@ +\begin{sequencediagram} + \newthread[red]{r}{:Red} + \newthread[green]{g}{:Green} + \newthread[blue]{b}{:Blue} + \tikzstyle{inststyle}+=[top color=yellow, bottom color=gray] + \newinst{y}{:Yellow} + \tikzstyle{inststyle}+=[bottom color=white, top color=white, rounded corners=3mm] + \newinst{o}{:Rounded} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/distance.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/distance.tex new file mode 100644 index 00000000000..f8008770b77 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/distance.tex @@ -0,0 +1,6 @@ +\begin{sequencediagram} + \newthread{a}{:A} + \newinst{b}{:B} + \newinst[1]{c}{:C} + \newinst[2]{d}{:D} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/empty.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/empty.tex new file mode 100644 index 00000000000..2b610eade7e --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/empty.tex @@ -0,0 +1,2 @@ +\begin{sequencediagram} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/instance.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/instance.tex new file mode 100644 index 00000000000..8c5b8339bbe --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/instance.tex @@ -0,0 +1,3 @@ +\begin{sequencediagram} + \newinst{name}{:Instance} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/message.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/message.tex new file mode 100644 index 00000000000..d5db59320e4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/message.tex @@ -0,0 +1,6 @@ +\begin{sequencediagram} + \newthread{a}{:Thread A} + \newthread[gray]{b}{:Thread B} + + \mess{a}{message}{b} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/messcall.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/messcall.tex new file mode 100644 index 00000000000..5b73efa5a3a --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/messcall.tex @@ -0,0 +1,7 @@ +\begin{sequencediagram} + \newthread{t}{:Thread} + \newinst[1]{i}{:Instance} + + \begin{messcall}{t}{function()}{i} + \end{messcall} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/multi-threads-example.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/multi-threads-example.tex new file mode 100644 index 00000000000..5493006112a --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/multi-threads-example.tex @@ -0,0 +1,37 @@ +\begin{sequencediagram} + \tikzstyle{inststyle}+=[bottom color=yellow] % custom the style + \newthread[blue]{ss}{:SimulationServer} + \newinst{ps}{:PhysicsServer} + \newinst[2]{sense}{:SenseServer} + \newthread[red]{ctr}{:SimControlNode} + + \begin{sdblock}[green!20]{Run Loop}{The main loop} + \mess{ctr}{StartCycle}{ss} + \begin{call}{ss}{Update()}{ps}{} + \prelevel + \begin{call}{ctr}{SenseAgent()}{ctr}{} + \begin{call}[3]{ctr}{Read}{sense}{} + \end{call} + \end{call} + \prelevel\prelevel\prelevel\prelevel + \setthreadbias{west} + \begin{call}{ps}{PrePhysicsUpdate()}{sense}{} + \end{call} + \setthreadbias{center} + \begin{call}{ps}{Update()}{ps}{} + \begin{call}{ps}{\small CollisionDetection()}{ps}{} + \end{call} + \begin{call}{ps}{Dynamics()}{ps}{} + \end{call} + \end{call} + \begin{call}{ps}{PostPhysicsUpdate()}{sense}{} + \end{call} + \end{call} + \mess{ss}{EndCycle}{ctr} + \begin{call}{ctr}{ActAgent()}{ctr}{} + \begin{call}{ctr}{Write}{sense}{} + \end{call} + \end{call} + \end{sdblock} + +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/nested-call.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/nested-call.tex new file mode 100644 index 00000000000..4ca253ed338 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/nested-call.tex @@ -0,0 +1,10 @@ +\begin{sequencediagram} + \newthread{t}{:Thread} + \newinst{a}{:A} + \newinst{b}{:B} + + \begin{call}{t}{funcA()}{a}{return} + \begin{call}{a}{funcA()}{b}{return} + \end{call} + \end{call} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/no-thread-example.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/no-thread-example.tex new file mode 100644 index 00000000000..cd5bf028033 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/no-thread-example.tex @@ -0,0 +1,33 @@ +\begin{sequencediagram} + \tikzstyle{inststyle}+=[{font=\large}] + \def\unitfactor{.9} + + \newinst{instance 1} + {instance 1} + + \newinst{instance 2} + {instance 2} + + \newinst[4cm]{instance 3} + {instance 3} + + \tikzstyle{instcolordienst}=[fill=black!25] + \tikzstyle{instcolorbuerger}=[fill=black!25] + + \messcall{instance 3}{data 1}{instance 2} + + \begin{call} + {instance 3}{data 2} + {instance 2}{data 2*} + + \begin{callself} + {instance 2}{Nutzerinteraktion}{data 3, data 2} + \end{callself} + + \begin{call} + {instance 2}{data 4, data 2} + {instance 1}{} + \end{call} + \end{call} + +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/non-instantaneous-message.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/non-instantaneous-message.tex new file mode 100644 index 00000000000..1efcde133b5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/non-instantaneous-message.tex @@ -0,0 +1,7 @@ +\begin{sequencediagram} + \newthread{a}{:Thread A} + \newthread[gray]{b}{:Thread B} + + \mess[1]{a}{ping}{b} + \mess[1]{b}{pong}{a} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/postlevel.log b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/postlevel.log new file mode 100644 index 00000000000..8fb6b0813df --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/postlevel.log @@ -0,0 +1,216 @@ +This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=latex 2011.5.2) 15 SEP 2011 06:48 +entering extended mode + %&-line parsing enabled. +**\input postlevel.tex +(./postlevel.tex + +! LaTeX Error: Environment sequencediagram undefined. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.1 \begin{sequencediagram} + +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + +! Undefined control sequence. +l.2 \newthread + {t}{:Thread} +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + + +! LaTeX Error: Missing \begin{document}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.2 \newthread{t + }{:Thread} +You're in trouble here. Try typing <return> to proceed. +If that doesn't work, type X <return> to quit. + +Missing character: There is no t in font nullfont! +Missing character: There is no : in font nullfont! +Missing character: There is no T in font nullfont! +Missing character: There is no h in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no d in font nullfont! +! Undefined control sequence. +l.3 \newinst + [1]{i}{:Instance} +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + +Missing character: There is no [ in font nullfont! +Missing character: There is no 1 in font nullfont! +Missing character: There is no ] in font nullfont! +Missing character: There is no i in font nullfont! +Missing character: There is no : in font nullfont! +Missing character: There is no I in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no e in font nullfont! + +Overfull \hbox (20.0pt too wide) in paragraph at lines 2--4 +[] + [] + + +! LaTeX Error: Environment sdblock undefined. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.5 \begin{sdblock} + {Block}{description} +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + + +! LaTeX Error: Missing \begin{document}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.5 \begin{sdblock}{B + lock}{description} +You're in trouble here. Try typing <return> to proceed. +If that doesn't work, type X <return> to quit. + +Missing character: There is no B in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no k in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no i in font nullfont! +Missing character: There is no p in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no i in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no n in font nullfont! + +! LaTeX Error: Environment call undefined. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.6 \begin{call} + {t}{function()}{i}{I have a lot of\newline things to do} +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + +Missing character: There is no t in font nullfont! +Missing character: There is no f in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no c in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no i in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no ( in font nullfont! +Missing character: There is no ) in font nullfont! +Missing character: There is no i in font nullfont! +Missing character: There is no I in font nullfont! +Missing character: There is no h in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no v in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no f in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no h in font nullfont! +Missing character: There is no i in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no g in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no o in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no o in font nullfont! + +! LaTeX Error: \begin{document} ended by \end{call}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.7 \end{call} + +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + + +! LaTeX Error: \begin{document} ended by \end{sdblock}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.8 \end{sdblock} + +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + + +! LaTeX Error: \begin{document} ended by \end{sequencediagram}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.9 \end{sequencediagram} + +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + +) +! Emergency stop. +<*> \input postlevel.tex + +*** (job aborted, no legal \end found) + + +Here is how much of TeX's memory you used: + 11 strings out of 495062 + 202 string characters out of 1182645 + 45108 words of memory out of 3000000 + 3288 multiletter control sequences out of 15000+50000 + 3640 words of font info for 14 fonts, out of 3000000 for 9000 + 28 hyphenation exceptions out of 8191 + 6i,0n,6p,100b,32s stack positions out of 5000i,500n,10000p,200000b,50000s +No pages of output. diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/postlevel.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/postlevel.tex new file mode 100644 index 00000000000..184d927906a --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/postlevel.tex @@ -0,0 +1,8 @@ +\begin{sequencediagram} + \newthread{t}{:Thread} + \newinst[1]{i}{:Instance} + \begin{call}{t}{function()}{i}{\shortstack{return A\\ return B\\ + return C}} + \postlevel + \end{call} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/prelevel.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/prelevel.tex new file mode 100644 index 00000000000..84448e47cab --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/prelevel.tex @@ -0,0 +1,12 @@ +\begin{sequencediagram} + \newthread{t1}{:Thread1} + \newthread[gray]{t2}{:Thread2} + + \begin{callself}{t1}{loop}{} + \end{callself} + + \prelevel\prelevel + + \begin{callself}{t2}{loop}{} + \end{callself} +\end{sequencediagram} diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/single-thread-example.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/single-thread-example.tex new file mode 100644 index 00000000000..5f3628e479d --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/single-thread-example.tex @@ -0,0 +1,29 @@ +\begin{sequencediagram} + \newthread{ss}{:SimulationServer} + \newinst{ctr}{:SimControlNode} + \newinst{ps}{:PhysicsServer} + \newinst[1]{sense}{:SenseServer} + + \begin{call}{ss}{Initialize()}{sense}{} + \end{call} + \begin{sdblock}{Run Loop}{The main loop} + \begin{call}{ss}{StartCycle()}{ctr}{} + \begin{call}{ctr}{ActAgent()}{sense}{} + \end{call} + \end{call} + \begin{call}{ss}{Update()}{ps}{} + \begin{messcall}{ps}{PrePhysicsUpdate()}{sense}{state} + \end{messcall} + \begin{sdblock}{Physics Loop}{} + \begin{call}{ps}{PhysicsUpdate()}{ps}{} + \end{call} + \end{sdblock} + \begin{call}{ps}{PostPhysicsUpdate()}{sense}{} + \end{call} + \end{call} + \begin{call}{ss}{EndCycle()}{ctr}{} + \begin{call}{ctr}{SenseAgent()}{sense}{} + \end{call} + \end{call} + \end{sdblock} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/sync-clock.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/sync-clock.tex new file mode 100644 index 00000000000..9c4a70f28ce --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/sync-clock.tex @@ -0,0 +1,16 @@ +\begin{sequencediagram} + \newthread{a}{:Machine A} + \newthread[gray]{b}{:Machine B} + + \mess[1]{a}{}{b} + \node[anchor=east] (t0) at (mess from) {$t_0$}; + \node[anchor=west] (t1) at (mess to) {$t_1$}; + \prelevel + \mess[1]{b}{}{a} + \node[anchor=east] (t2) at (mess to) {$t_2$}; + + \path (t0.east) |- coordinate(t12) (t1); + \draw[dashed] (t1) -- (t12); + \node[anchor=south west] at (t12) {$\Delta{}t_1$}; + \node[anchor=north west] at (t12) {$\Delta{}t_2$}; +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/thread.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/thread.tex new file mode 100644 index 00000000000..9f1007a9482 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/thread.tex @@ -0,0 +1,3 @@ +\begin{sequencediagram} + \newthread{name}{:Thread} +\end{sequencediagram}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/threadbias.log b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/threadbias.log new file mode 100644 index 00000000000..1532fefa607 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/threadbias.log @@ -0,0 +1,266 @@ +This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=latex 2011.5.2) 15 SEP 2011 07:22 +entering extended mode + %&-line parsing enabled. +**\input threadbias.tex +(./threadbias.tex + +! LaTeX Error: Environment sequencediagram undefined. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.1 \begin{sequencediagram} + +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + +! Undefined control sequence. +l.2 \newthread + [blue]{s1}{:Server1} +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + + +! LaTeX Error: Missing \begin{document}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.2 \newthread[ + blue]{s1}{:Server1} +You're in trouble here. Try typing <return> to proceed. +If that doesn't work, type X <return> to quit. + +Missing character: There is no [ in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no l in font nullfont! +Missing character: There is no u in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no ] in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no 1 in font nullfont! +Missing character: There is no : in font nullfont! +Missing character: There is no S in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no v in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no 1 in font nullfont! +! Undefined control sequence. +l.3 \newinst + {db}{:Database} +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + +Missing character: There is no d in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no : in font nullfont! +Missing character: There is no D in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no e in font nullfont! +! Undefined control sequence. +l.4 \newthread + [red]{s2}{:Server2} +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + +Missing character: There is no [ in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no ] in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no 2 in font nullfont! +Missing character: There is no : in font nullfont! +Missing character: There is no S in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no v in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no 2 in font nullfont! + +Overfull \hbox (20.0pt too wide) in paragraph at lines 2--5 +[] + [] + +! Undefined control sequence. +l.6 \setthreadbias + {west} +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + + +! LaTeX Error: Missing \begin{document}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.6 \setthreadbias{w + est} +You're in trouble here. Try typing <return> to proceed. +If that doesn't work, type X <return> to quit. + +Missing character: There is no w in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no s in font nullfont! +Missing character: There is no t in font nullfont! + +! LaTeX Error: Environment call undefined. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.7 \begin{call} + {s1}{reading}{db}{data} +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + +Missing character: There is no s in font nullfont! +Missing character: There is no 1 in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no i in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no g in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no a in font nullfont! + +! LaTeX Error: \begin{document} ended by \end{call}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.8 \end{call} + +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + + +Overfull \hbox (20.0pt too wide) in paragraph at lines 6--9 +[] + [] + +! Undefined control sequence. +l.10 \prelevel + +The control sequence at the end of the top line +of your error message was never \def'ed. If you have +misspelled it (e.g., `\hobx'), type `I' and the correct +spelling (e.g., `I\hbox'). Otherwise just continue, +and I'll forget about whatever was undefined. + + +! LaTeX Error: Environment call undefined. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.12 \begin{call} + {s2}{reading}{db}{data} +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + + +! LaTeX Error: Missing \begin{document}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.12 \begin{call}{s + 2}{reading}{db}{data} +You're in trouble here. Try typing <return> to proceed. +If that doesn't work, type X <return> to quit. + +Missing character: There is no s in font nullfont! +Missing character: There is no 2 in font nullfont! +Missing character: There is no r in font nullfont! +Missing character: There is no e in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no i in font nullfont! +Missing character: There is no n in font nullfont! +Missing character: There is no g in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no b in font nullfont! +Missing character: There is no d in font nullfont! +Missing character: There is no a in font nullfont! +Missing character: There is no t in font nullfont! +Missing character: There is no a in font nullfont! + +! LaTeX Error: \begin{document} ended by \end{call}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.13 \end{call} + +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + + +! LaTeX Error: \begin{document} ended by \end{sequencediagram}. + +See the LaTeX manual or LaTeX Companion for explanation. +Type H <return> for immediate help. + ... + +l.14 \end{sequencediagram} + +Your command was ignored. +Type I <command> <return> to replace it with another command, +or <return> to continue without it. + +) +! Emergency stop. +<*> \input threadbias.tex + +*** (job aborted, no legal \end found) + + +Here is how much of TeX's memory you used: + 9 strings out of 495062 + 189 string characters out of 1182645 + 45108 words of memory out of 3000000 + 3286 multiletter control sequences out of 15000+50000 + 3640 words of font info for 14 fonts, out of 3000000 for 9000 + 28 hyphenation exceptions out of 8191 + 6i,0n,6p,66b,24s stack positions out of 5000i,500n,10000p,200000b,50000s +No pages of output. diff --git a/Master/texmf-dist/doc/latex/pgf-umlsd/demo/threadbias.tex b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/threadbias.tex new file mode 100644 index 00000000000..f4f8ac7f7f5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-umlsd/demo/threadbias.tex @@ -0,0 +1,17 @@ +\begin{sequencediagram} + \newthread[blue]{s1}{:Server1} + \newinst{db}{:Database} + \newthread[red]{s2}{:Server2} + + \begin{call}{s1}{reading}{db}{data} + \postlevel + \end{call} + + \prelevel\prelevel + + \setthreadbias{east} + + \begin{call}{s2}{reading}{db}{data} + \postlevel + \end{call} +\end{sequencediagram} |