File: svg

package info (click to toggle)
xmlto 0.0.23-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 780 kB
  • ctags: 165
  • sloc: sh: 1,497; xml: 494; lex: 271; makefile: 131
file content (18 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
case "$1" in
stylesheet)
  if [ "$VERBOSE" -ge 1 ]
  then
    echo >&2 "Convert to XSL-FO"
  fi
  echo "http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl"
  ;;
post-process)
  EXT=$(basename "$0")
  if [ "$VERBOSE" -ge 1 ]
  then
    echo >&2 "Convert to ${EXT}"
  fi
  # Get the FO format script to do the rest
  sh "$(dirname "$0")/../fo/${EXT}" "$1"
  ;;
esac