TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Frame to HTML: Way to preserve tabs? From:Carolyn Yount <carolyn -at- tellme -dot- com> Date:Tue, 18 Jan 2000 16:17:01 -0800
Hi,
I've written a reference guide in FrameMaker that I then saved as HTML.
FrameMaker nicely splits the .fm file into .html files and add links to them
from the main page. The only problem is preserving tabs that I've used in code
samples.
For example, my code sample looks like this:
<asdf>
<asdf>
<asdf>
<asdf>
<asdf>
<asdf>
After FrameMaker gets through converting it, it looks like this:
<asdf>
<asdf>
<asdf>
<asdf>
<asdf>
<asdf>
If I use spaces instead of tabs and map my code text to preformatted text, the
indentation is preserved but then an extra line is added:
<asdf>
<asdf>
<asdf>
<asdf>
<asdf>
<asdf>
Any workarounds? ...I tried writing a macro (replacing \t with ), but it
didn't work ....although I may not have done it properly.