]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/math/doc/graphs/generate.sh
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / math / doc / graphs / generate.sh
CommitLineData
7c673cae
FG
1# Copyright John Maddock 2008.
2# Use, modification and distribution are subject to the
3# Boost Software License, Version 1.0. (See accompanying file
4# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5#
6# Generates PNG files from the SVG masters.
7#
8# Paths to tools come first, change these to match your system:
9#
10math2svg='m:\download\open\SVGMath-0.3.1\math2svg.py'
11python='/cygdrive/c/program files/Python27/python.exe'
12inkscape='/cygdrive/c/Program Files (x86)/Inkscape/inkscape.exe'
13# Image DPI:
14dpi=96
15
16for svgfile in $*; do
17 pngfile=$(basename $svgfile .svg).png
18 echo Generating $pngfile
19 "$inkscape" -d $dpi -e $(cygpath -a -w $pngfile) $(cygpath -a -w $svgfile)
20done
21
22
23
24
25
26
27
28