diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-12 23:03:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-12 23:03:48 +0000 |
commit | 14889c6d7bd31fd163f9cb123c8ba772769d176b (patch) | |
tree | 87daf844b7fc365e2a328b7f6b39632e5aa68f94 /Master/texmf-dist/metapost/metauml/metauml.mp | |
parent | 2468fdd0a97481e170ef878e0839faf948be681a (diff) |
metauml 0.2.5 (31jul10)
git-svn-id: svn://tug.org/texlive/trunk@19692 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/metapost/metauml/metauml.mp')
-rw-r--r-- | Master/texmf-dist/metapost/metauml/metauml.mp | 65 |
1 files changed, 43 insertions, 22 deletions
diff --git a/Master/texmf-dist/metapost/metauml/metauml.mp b/Master/texmf-dist/metapost/metauml/metauml.mp index 6d0b29c86c8..997728450b2 100644 --- a/Master/texmf-dist/metapost/metauml/metauml.mp +++ b/Master/texmf-dist/metapost/metauml/metauml.mp @@ -20,35 +20,52 @@ if known _metauml_mp: fi; _metauml_mp:=1; -input boxes; +% Sadly, this copy of the macro is needed to prevent multiple file loads being shown by MetaPost. +% The guard values (such as _metauml_mp) do ensure that the file isn't loaded multiple times, +% but this macro makes sure that MetaPost won't try to load the file and display a message for that. +def inputonce text libraryFile= + if not known scantokens ("_" & str libraryFile & "_mp"): + %includeonce% show "Loading " & str libraryFile; + scantokens ("input " & str libraryFile); + else: + %includeonce% show str libraryFile & " already loaded."; + fi; +enddef; -input util_infrastructure; -input util_object; -input util_commons; -input util_margins; -input util_picture; -input util_group; -input util_picture_stack; -input util_positioning; -input util_shade; +inputonce util_infrastructure; +inputonce util_object; +inputonce util_commons; +inputonce util_margins; +inputonce util_picture; +inputonce util_group; +inputonce util_picture_stack; +inputonce util_positioning; +inputonce util_shade; -input metauml_base; +inputonce metauml_base; -input metauml_links; -input metauml_paths; +inputonce metauml_links; +inputonce metauml_paths; -input metauml_note; +inputonce metauml_note; -input metauml_stereotype; +inputonce metauml_stereotype; -input metauml_class_clipart; -input metauml_class; -input metauml_instance; -input metauml_class_relations; -input metauml_class_assoc; +inputonce metauml_class_clipart; +inputonce metauml_class; +inputonce metauml_instance; +inputonce metauml_class_relations; +inputonce metauml_class_assoc; -input metauml_package; -input metauml_package_relations; +inputonce metauml_package; +inputonce metauml_package_relations; + +inputonce metauml_behavioral_common; +inputonce metauml_activity; +inputonce metauml_state; + +inputonce metauml_usecase_clipart; +inputonce metauml_usecase; input metauml_behavioral_common; input metauml_activity; @@ -57,4 +74,8 @@ input metauml_state; input metauml_usecase_clipart; input metauml_usecase; +input metauml_component; +input metauml_component_relations; + input metauml_templates; + |