Blame Scripts/Functions/Render/Backends/Docbook/docbook_convertToPdf.sh

1a4d0e
#!/bin/bash
1a4d0e
#
2fa604
# docbook_convertToPdf.sh -- This function takes DocBook XML as input
2fa604
# and produces two different PDF as outputs; one from DocBook XML and
63e984
# another from DocBook SGML.  We decided to provide support for both
63e984
# ways of output production from DocBook XML and DocBook SGML for you
63e984
# to evaluate and if possible correct.
1a4d0e
#
1a4d0e
# Copyright (C) 2009, 2010, 2011 The CentOS Artwork SIG
1a4d0e
#
1a4d0e
# This program is free software; you can redistribute it and/or modify
1a4d0e
# it under the terms of the GNU General Public License as published by
1a4d0e
# the Free Software Foundation; either version 2 of the License, or
1a4d0e
# (at your option) any later version.
1a4d0e
#
1a4d0e
# This program is distributed in the hope that it will be useful, but
1a4d0e
# WITHOUT ANY WARRANTY; without even the implied warranty of
1a4d0e
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1a4d0e
# General Public License for more details.
1a4d0e
#
1a4d0e
# You should have received a copy of the GNU General Public License
1a4d0e
# along with this program; if not, write to the Free Software
1a4d0e
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
1a4d0e
#
1a4d0e
# ----------------------------------------------------------------------
1a4d0e
# $Id$
1a4d0e
# ----------------------------------------------------------------------
1a4d0e
a7c6e7
function docbook_convertToPdf {
1a4d0e
2fa604
    # Tranform DocBook XML to PDF.
2fa604
    ${RENDER_BACKEND}_convertToPdfFromXml
1a4d0e
2fa604
    # Tranform DocBook SGML to PDF.
2fa604
    ${RENDER_BACKEND}_convertToPdfFromSgml
1a4d0e
1a4d0e
}