|
|
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 |
-->
|
|
|
12494b |
|
|
|
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>
|
|
|
38bcd9 |
<title>CentOS Artwork Repository: 3.47 trunk/Scripts/Bash/Functions/Svg</title>
|
|
|
4c79b5 |
|
|
|
38bcd9 |
<meta name="description" content="CentOS Artwork Repository: 3.47 trunk/Scripts/Bash/Functions/Svg">
|
|
|
38bcd9 |
<meta name="keywords" content="CentOS Artwork Repository: 3.47 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 |
|
|
|
12494b |
[ < ]
|
|
|
12494b |
[ > ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[ << ]
|
|
|
4c79b5 |
[ Up ]
|
|
|
12494b |
[ >> ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[Top]
|
|
|
4c79b5 |
[Contents]
|
|
|
12494b |
[Index]
|
|
|
4c79b5 |
[ ? ]
|
|
|
4c79b5 |
|
|
|
38bcd9 |
|
|
|
12494b |
|
|
|
38bcd9 |
3.47 trunk/Scripts/Bash/Functions/Svg
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
12494b |
|
|
|
fe989b |
3.47.1 Goals
|
|
|
4c79b5 |
|
|
|
38bcd9 |
This section exists to organize the "svg" functionality of
|
|
|
38bcd9 |
centos-art.sh script.
|
|
|
38bcd9 |
|
|
|
4c79b5 |
|
|
|
12494b |
|
|
|
fe989b |
3.47.2 Description
|
|
|
cb2a5d |
|
|
|
38bcd9 |
The "svg" functionality of centos-art.sh script helps you to
|
|
|
38bcd9 |
maintain scalable vector graphics (SVG) inside repository. For
|
|
|
38bcd9 |
example, suppose you've been working in a set of (let's say 30) SVG
|
|
|
38bcd9 |
files, and you want to set common metadata to all of them. Doing so
|
|
|
38bcd9 |
file by file is a tedious task, so the centos-art.sh script provides
|
|
|
38bcd9 |
the "svg" functionality to aid you maintain such actions.
|
|
|
38bcd9 |
|
|
|
38bcd9 |
Most "svg" actions take one opening tag (e.g., <samp>`<metadata'</samp>),
|
|
|
38bcd9 |
and one closing tag (e.g., <samp>`</metadata'</samp>) and replace everything
|
|
|
38bcd9 |
in-between with the information you define. The information you need
|
|
|
38bcd9 |
to define is inside template files as sed's replacement commands.
|
|
|
38bcd9 |
Template files are stored under
|
|
|
38bcd9 |
<samp>`trunk/Scripts/Bash/Functions/Svg/Tpl/'</samp> directory and can contain
|
|
|
38bcd9 |
translation markers.
|
|
|
38bcd9 |
|
|
|
38bcd9 |
Translation markers have the form <samp>`=SOMETEXT='</samp>. Translation
|
|
|
38bcd9 |
markers are used by "svg" functionalities to introduce dynamic
|
|
|
38bcd9 |
information (e.g., dates, keywords based on path, etc.)
|
|
|
38bcd9 |
|
|
|
6aec21 |
|
|
|
12494b |
|
|
|
6aec21 |
3.47.3 Usage
|
|
|
6aec21 |
|
|
|
38bcd9 |
|
|
|
38bcd9 |
centos-art svg --update-metadata='path/to/dir'
|
|
|
38bcd9 |
Use this command to update metadata information to all <samp>`.svg'</samp>
|
|
|
38bcd9 |
files under <samp>`path/to/dir'</samp> as defined in the metadata template
|
|
|
38bcd9 |
file.
|
|
|
38bcd9 |
|
|
|
38bcd9 |
|
|
|
38bcd9 |
centos-art svg --update-metadata='path/to/dir' --filter='filename'
|
|
|
38bcd9 |
Use this command to update metadata information to
|
|
|
38bcd9 |
<samp>`path/to/dir/filename'</samp>, as defined in the metadata template file.
|
|
|
38bcd9 |
|
|
|
38bcd9 |
|
|
|
6aec21 |
|
|
|
6aec21 |
|
|
|
12494b |
|
|
|
4c79b5 |
3.47.4 See also
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
12494b |
[ < ]
|
|
|
12494b |
[ > ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[ << ]
|
|
|
12494b |
[ Up ]
|
|
|
12494b |
[ >> ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<font size="-1">
|
|
|
12494b |
This document was generated on October, 29 2010 using texi2html 1.76.
|
|
|
4c79b5 |
</font>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</body>
|
|
|
4c79b5 |
</html>
|