|
|
4c79b5 |
|
|
|
4c79b5 |
<html>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
can you do inside it.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Copyright C 2009, 2010 CentOS Artwork SIG. All rights
|
|
|
4c79b5 |
reserved.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Permission is granted to copy, distribute and/or modify this document
|
|
|
4c79b5 |
under the terms of the GNU Free Documentation License, Version 1.2 or
|
|
|
4c79b5 |
any later version published by the Free Software Foundation; with no
|
|
|
4c79b5 |
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
|
|
|
4c79b5 |
copy of the license is included in the section entitled GNU Free
|
|
|
4c79b5 |
Documentation License.
|
|
|
4c79b5 |
-->
|
|
|
1c7bf6 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
|
|
|
4c79b5 |
Karl Berry <karl@freefriends.org>
|
|
|
4c79b5 |
Olaf Bachmann <obachman@mathematik.uni-kl.de>
|
|
|
4c79b5 |
and many others.
|
|
|
4c79b5 |
Maintained by: Many creative people <dev@texi2html.cvshome.org>
|
|
|
4c79b5 |
Send bugs and suggestions to <users@texi2html.cvshome.org>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
-->
|
|
|
4c79b5 |
<head>
|
|
|
2c8180 |
<title>CentOS Artwork Repository: 3.43 trunk/Scripts/Bash/Functions/Svg</title>
|
|
|
4c79b5 |
|
|
|
2c8180 |
<meta name="description" content="CentOS Artwork Repository: 3.43 trunk/Scripts/Bash/Functions/Svg">
|
|
|
2c8180 |
<meta name="keywords" content="CentOS Artwork Repository: 3.43 trunk/Scripts/Bash/Functions/Svg">
|
|
|
4c79b5 |
<meta name="resource-type" content="document">
|
|
|
4c79b5 |
<meta name="distribution" content="global">
|
|
|
4c79b5 |
<meta name="Generator" content="texi2html 1.76">
|
|
|
4c79b5 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
4c79b5 |
<style type="text/css">
|
|
|
4c79b5 |
|
|
|
1e9202 |
@import "/home/centos/artwork/trunk/Identity/Models/Css/Texi2html/common.css";
|
|
|
4c79b5 |
|
|
|
4c79b5 |
a.summary-letter {text-decoration: none}
|
|
|
4c79b5 |
pre.display {font-family: serif}
|
|
|
4c79b5 |
pre.format {font-family: serif}
|
|
|
4c79b5 |
pre.menu-comment {font-family: serif}
|
|
|
4c79b5 |
pre.menu-preformatted {font-family: serif}
|
|
|
4c79b5 |
pre.smalldisplay {font-family: serif; font-size: smaller}
|
|
|
4c79b5 |
pre.smallexample {font-size: smaller}
|
|
|
4c79b5 |
pre.smallformat {font-family: serif; font-size: smaller}
|
|
|
4c79b5 |
pre.smalllisp {font-size: smaller}
|
|
|
4c79b5 |
span.sansserif {font-family:sans-serif; font-weight:normal;}
|
|
|
4c79b5 |
ul.toc {list-style: none}
|
|
|
4c79b5 |
-->
|
|
|
4c79b5 |
</style>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</head>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
efa7b7 |
[ < ]
|
|
|
efa7b7 |
[ > ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[ << ]
|
|
|
4c79b5 |
[ Up ]
|
|
|
efa7b7 |
[ >> ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[Top]
|
|
|
4c79b5 |
[Contents]
|
|
|
efa7b7 |
[Index]
|
|
|
4c79b5 |
[ ? ]
|
|
|
4c79b5 |
|
|
|
2c8180 |
|
|
|
efa7b7 |
|
|
|
2c8180 |
3.43 trunk/Scripts/Bash/Functions/Svg
|
|
|
cb2a5d |
|
|
|
300762 |
|
|
|
efa7b7 |
|
|
|
fe989b |
3.43.1 Goals
|
|
|
fe989b |
|
|
|
2c8180 |
This section exists to organize the "svg" functionality of
|
|
|
2c8180 |
centos-art.sh script.
|
|
|
2c8180 |
|
|
|
cb2a5d |
|
|
|
efa7b7 |
|
|
|
fe989b |
3.43.2 Description
|
|
|
cb2a5d |
|
|
|
2c8180 |
The "svg" functionality of centos-art.sh script helps you to
|
|
|
2c8180 |
maintain scalable vector graphics (SVG) inside repository. For
|
|
|
2c8180 |
example, suppose you've been working in a set of (let's say 30) SVG
|
|
|
2c8180 |
files, and you want to set common metadata to all of them. Doing so
|
|
|
2c8180 |
file by file is a tedious task, so the centos-art.sh script provides
|
|
|
2c8180 |
the "svg" functionality to aid you maintain such actions.
|
|
|
2c8180 |
|
|
|
2c8180 |
Most "svg" actions take one opening tag (e.g., <samp>`<metadata'</samp>),
|
|
|
2c8180 |
and one closing tag (e.g., <samp>`</metadata'</samp>) and replace everything
|
|
|
2c8180 |
in-between with the information you define. The information you need
|
|
|
2c8180 |
to define is inside template files as sed's replacement commands.
|
|
|
2c8180 |
Template files are stored under
|
|
|
2c8180 |
<samp>`trunk/Scripts/Bash/Functions/Svg/Tpl/'</samp> directory and can contain
|
|
|
2c8180 |
translation markers.
|
|
|
2c8180 |
|
|
|
2c8180 |
Translation markers have the form <samp>`=SOMETEXT='</samp>. Translation
|
|
|
2c8180 |
markers are used by "svg" functionalities to introduce dynamic
|
|
|
2c8180 |
information (e.g., dates, keywords based on path, etc.)
|
|
|
2c8180 |
|
|
|
cb2a5d |
|
|
|
efa7b7 |
|
|
|
081970 |
3.43.3 Usage
|
|
|
081970 |
|
|
|
2c8180 |
|
|
|
2c8180 |
centos-art svg --update-metadata='path/to/dir'
|
|
|
2c8180 |
Use this command to update metadata information to all <samp>`.svg'</samp>
|
|
|
2c8180 |
files under <samp>`path/to/dir'</samp> as defined in the metadata template
|
|
|
2c8180 |
file.
|
|
|
2c8180 |
|
|
|
2c8180 |
|
|
|
2c8180 |
centos-art svg --update-metadata='path/to/dir' --filter='filename'
|
|
|
2c8180 |
Use this command to update metadata information to
|
|
|
2c8180 |
<samp>`path/to/dir/filename'</samp>, as defined in the metadata template file.
|
|
|
2c8180 |
|
|
|
2c8180 |
|
|
|
081970 |
|
|
|
081970 |
|
|
|
efa7b7 |
|
|
|
4c79b5 |
3.43.4 See also
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
efa7b7 |
[ < ]
|
|
|
efa7b7 |
[ > ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[ << ]
|
|
|
efa7b7 |
[ Up ]
|
|
|
efa7b7 |
[ >> ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<font size="-1">
|
|
|
1c7bf6 |
This document was generated on November, 1 2010 using texi2html 1.76.
|
|
|
4c79b5 |
</font>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</body>
|
|
|
4c79b5 |
</html>
|