Converting HTML to PDF

This chapter provides tutorial notes and example codes on HTML to PDF conversion. Topics include steps to convert HTML to PDF documents; Apache FOP command to convert embedded SVG documents; JEuclid 'foprep' command to convert MathML to SVG documents.

These sections are omitted from this Web preview version. To view the full content, see information on how to obtain the full version this book.

Steps to Convert HTML to PDF

Demonstration of HTML to PDF Conversion

SVG Embedded in HTML Documents

SVG Embedded under Its Own Namespace

MathML Embedded in HTML Documents

Convert Embedded MathML to SVG Documents


Table of Contents

 About This Book

 Introduction of XSL-FO

 Apache™ FOP (Formatting Objects Processor)

 RenderX XEP as an XSL-FO Tool

 Introduction of Area Model

 XSL-FO Document Basics and Examples

 Page Layout Masters

 Block-Level Formatting Objects

 Inline-Level Formatting Objects

 Including Graphics in XSL-FO document

 Table of Rows and Columns

 List, Item, Label, and Body

 Floating Blocks - "float" and "footnote"

 Hyperlinks, Table of Contents and Indexes

 Headers and Footers using "static-content"

 Font Attributes and Font Families

 Apache FOP Font Configurations

 RenderX XEP Font Configurations

Converting HTML to PDF


 Full Version in PDF/ePUB