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.
Thanks for the reply, Chris. Yes, you're right to point out LaTeX. Perhaps I
should try that.
Best
Koray
"Chris Gooch" <chris -dot- gooch -at- lightworkdesign -dot- com> wrote in message news:269839 -at- techwr-l -dot- -dot- -dot-
>
>
> Koray asked:
>
> ++
> I'd like to place sample code in a tutorial text for a programming
language,
> and I want the code to look as "literate" (a la Knuth) as possible.
> I wonder whether it is possible to do the following automatically:
>
> - format certain words (i.e. reserved words of the programming language)
as
> bold: this means those reserved words need be fed to FM.
>
> - format all non-reserved words and non-operator symbols as italic: again,
> the operator symbols must be defined beforehand.
> ++
>
>
> Koray -
>
> not really a proper answer to your question I know, but as you
> mention Knuth it's maybe worth mentioning that you can do this
> very easily in (La)TeX, for example by using Carsten Heinz's
> "listings" package for LaTeX which gives language-aware formatting
> (I've tried it and it gives quite good results, although I decided
> against too much fancy formatting in my docs in the end and
> went with good old courier for all listings).
>
> Christopher Gooch, Technical Author
> LightWork Design, Sheffield, UK.
> www.lightworkdesign.com
>
>
>
WEBWORKS FINALDRAFT - EDIT AND REVIEW, REDEFINED
Accelerate the document lifecycle with full online discussions and unique feedback-management capabilities. Unlimited, efficient reviews for Word
and FrameMaker authors. Live, online demo: http://www.webworks.com/techwr-l
---
You are currently subscribed to techwr-l as:
archiver -at- techwr-l -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- techwr-l -dot- com
Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit http://www.techwr-l.com/techwhirl/ for more resources and info.