Re: FrameMaker question - literate formatting

Subject: Re: FrameMaker question - literate formatting
From: "Koray Erkan" <koraye_freelance -at- yahoo -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Thu, 24 Mar 2005 19:26:23 +0200


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.



Previous by Author: Re: FrameMaker question - literate formatting
Next by Author: Re: Latest in voice recording devices?
Previous by Thread: Re: FrameMaker question - literate formatting
Next by Thread: Re: FrameMaker question - literate formatting


What this post helpful? Share it with friends and colleagues:


Sponsored Ads