|
|
0690a8 |
#!/bin/bash
|
|
|
0690a8 |
#
|
|
|
0690a8 |
# identity_renderDocbook.sh -- This function performs base-rendition
|
|
|
0690a8 |
# action for DocBook files.
|
|
|
0690a8 |
#
|
|
|
0690a8 |
# Copyright (C) 2009-2011 Alain Reguera Delgado
|
|
|
0690a8 |
#
|
|
|
0690a8 |
# This program is free software; you can redistribute it and/or
|
|
|
0690a8 |
# modify it under the terms of the GNU General Public License as
|
|
|
0690a8 |
# published by the Free Software Foundation; either version 2 of the
|
|
|
0690a8 |
# License, or (at your option) any later version.
|
|
|
0690a8 |
#
|
|
|
0690a8 |
# This program is distributed in the hope that it will be useful, but
|
|
|
0690a8 |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
0690a8 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
0690a8 |
# General Public License for more details.
|
|
|
0690a8 |
#
|
|
|
0690a8 |
# You should have received a copy of the GNU General Public License
|
|
|
0690a8 |
# along with this program; if not, write to the Free Software
|
|
|
0690a8 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
0690a8 |
# USA.
|
|
|
0690a8 |
#
|
|
|
0690a8 |
# ----------------------------------------------------------------------
|
|
|
0690a8 |
# $Id$
|
|
|
0690a8 |
# ----------------------------------------------------------------------
|
|
|
0690a8 |
|
|
|
0690a8 |
function identity_renderDocbook {
|
|
|
0690a8 |
|
|
|
0690a8 |
# Produce xhtml output from docbook template instance using XSL
|
|
|
0690a8 |
# stylesheets as reference.
|
|
|
0690a8 |
identity_renderDocbookXhtml
|
|
|
0690a8 |
|
|
|
0690a8 |
# Produce plaintext output from html outout.
|
|
|
0690a8 |
identity_renderHtmlPlaintext
|
|
|
0690a8 |
|
|
|
0690a8 |
}
|