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:Re: Frame to HTML: Way to preserve tabs? From:Carolyn Yount <carolyn -at- tellme -dot- com> To:"Susan W. Gallagher" <susan-gallagher -at- vertel -dot- com> Date:Wed, 19 Jan 2000 12:02:18 -0800
Thank you Susan, and others, who replied. This works perfectly! Carolyn
"Susan W. Gallagher" wrote:
> Carolyn Yount wrote:
>
> >I've written a reference guide in FrameMaker that I then saved as HTML...
> >The only problem is preserving tabs that I've used in code
> >samples.
>
> The problem isn't specific to Frame, it's an HTML thing. I convert
> from Word to HTML and had to resolve the same problem.
>
> To prepare code examples before converting to HTML, replace all tabs
> with spaces *and* replace all hard returns with soft returns or newline
> characters. On Windows platforms, the keystroke is shift+enter -- and
> yes, this works just as well in Frame as it does in Word. (I've made a
> macro for this 'cause I use it all the time!)
>
> Once you've prepared the text as a single paragraph, you can use <pre>
> tags and achieve the desired results without double spacing.
>
> HTH!
>
> -Sue Gallagher http://pw1.netcom.com/~gscale/susanwg/
> susan-gallagher -at- vertel -dot- com http://www.vertel.com
>
> The _Guide_ is definitive.
> Reality is frequently inaccurate. --Douglas Adams