Generate HTML from FrameMaker Book


How to generate an HTML file from a FrameMaker book? I want to view the book in a Web browser.



You can follow this tutorial to generate an HTML file from a FrameMaker book.

1. Open the FrameMaker book like, and click "Edit > Update Book" menu to ensure the entire book is updated.

2. Select the FrameMaker book in the book panel on the left. Then click "File > Save Book As" menu You see the "Save Book" screen.

3. Enter the PDF file name like "FM-Book-Example". And make sure that "Save as type" is set to "HTML (*.htm)".

4. Click "Save".

5. Wait for FrameMaker to finish generating the HTML file.

6. Go to the folder where the HTML file was saved. You actually see two files generated:

FM-Book-Example.htm - Contains HTML code for the book
FM-Book-Example.css - Contains display CSS styles 

7. Open FM-Book-Example.htm in a Web Browser. You see that the page layout is removed. But text formatting attributes are maintained.

8. Open the HTML file in a text editor. You see how the book content is organized.

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
   CONTENT="Adobe FrameMaker 2016/HTML Export Filter">
<LINK REL="STYLESHEET" HREF="FM-Book-Example.css" 
   CHARSET="UTF-8" TYPE="text/css">
<TITLE> Chapter 1. Introduction</TITLE></HEAD>
<P CLASS="Heading1TOC">
<A NAME="50556940_pgfId-309336"></A>
<A HREF="FM-Book-Example.htm#50556929_pgfId-998390" CLASS="Index">
Chapter 1. Introduction 1</A></P>
<P CLASS="Heading1TOC">
<A NAME="50556940_pgfId-309338"></A>
<A HREF="FM-Book-Example.htm#50556933_pgfId-998394" CLASS="Index">
Chapter 2. Basics 1</A></P>
<P CLASS="Heading1TOC">
<A NAME="50556940_pgfId-309340"></A>
<A HREF="FM-Book-Example.htm#50556936_pgfId-998394" CLASS="Index">
Chapter 3. Summary 1</A></P>
<H2 CLASS="Heading1">
<A NAME="50556929_pgfId-998390"></A>Chapter 1. Introduction</H2>
<P CLASS="Body">
<A NAME="50556929_pgfId-998451"></A>&nbsp;</P>
<P CLASS="Body">
<A NAME="50556929_pgfId-998455"></A>This is our first FrameMaker book. 
A FrameMaker book is a special document created in FrameMaker and saved in 
FrameMaker book format (.book).</P>
<P CLASS="Body">
<A NAME="50556929_pgfId-998510"></A>&nbsp;</P>

The picture below shows you how to generate HTML from a FrameMaker book:
Generate HTML from FrameMaker Book


Create and Update FrameMaker Books

⇒⇒FrameMaker Tutorials

2018-01-06, 175👍, 0💬