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.
A "quick and dirty" solution I've used in this situation is to:
1) open a blank document
2) create a copy of the code sample, using whatever "code" font I've
chosen
3) hit "print preview" (or run a spell check and select "ignore all") to
get rid of the squiggly misspelling lines
4) take a screen capture of my "faked" sample
5) insert the screen capture into the real document as a graphic
This approach allows me to recreate the code sample faithfully, using a
smaller font size and altering my page layout as necessary. By adjusting the
magnification of the code sample document, I can also make the screen
capture appear at the correct size for inserting into my real document
without having to make all sorts of adjustments to the image.
Depending on your skill with graphics tools, you can also recreate the code
sample as a graphic.
good luck,
L
-----Original Message-----
Techwrl-ers,
There some cases for code snippets and configuration
files that I must show example lines and there is no way
that all lines will fit one line within the manual.