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.
> We are creating a PDF that contains code snippets that we are encouraging
> users to copy and paste into their own applications.
>
> We have noticed that the code loses spaces in the PDF output. So the
> following bit of code:
> myResult = dataqueue.add(12, 3)
> if myResult == false then
> print("Failed to add 12 to the
> dataqueue")
> end
>
> Would come out as:
> myResult = dataqueue.add(12, 3)
> if myResult == false then
> print("Failed to add 12 to the
> dataqueue")
> end
>
> Not the end of the world (the code still works), but it would be nice if
> they could maintain the formatting. Has anyone found a way around this?
>
> Text is created from Word 2003 and converted to PDF using Acrobat Distiller
> 8.
I've used every version of Word since the DOS days. Granted, it's been a while (more than 10 yrs.) since I was a power user of Word, but I still use it (Word 2007 now) for certain tasks -- release notes, etc.
I've never, _ever_ seen a PDF of a Word doc that didn't faithfully reproduce the appearance in Word, including indenting, etc.
This leads me to wonder exactly what you mean by "created from Word 2003," how the indented lines are indented, whether you're using a monospace font, and how you're creating the PDF.
I'm prone to wondering. ;-)
Richard G. Combs
Senior Technical Writer
Polycom, Inc.
richardDOTcombs AT polycomDOTcom
303-223-5111
------
rgcombs AT gmailDOTcom
303-903-6372
------
Gain access to everything you need to create and publish information
through multiple channels. Your choice of authoring (and import)
formats with virtually any output. Try Doc-To-Help free for 30-days. http://www.doctohelp.com/
---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-