← Prev in month ← Prev in thread

DOCBOOK: Re: DOCBOOK-APPS: Including C source code in a document

From
Damille =?iso-8859-1?P?C=F9gnis?=
Date
2000-07-21T14:38:54+00:00
ID
Thread
DOCBOOK: Re: DOCBOOK-APPS: Including C source code in a document
Jorge Godoy a 嶰rit :
> 
> >>>>> "Michael" == Michael Wiedmann <> writes:
> 
>  > <programlisting> <![CDATA[ This is a programlisting so
>  > white space and line breaks are significant.  But it is
>  > also a CDATA section so <emphasis>tags</emphasis> and
>  > &entities; are not recognized.  The only markup that is
>  > recognized is the end-of-section marker, which is two
>  > "]"'s in a row followed by a >.  ]]> </programlisting>
> 
> Thanks!
> 
> This solution would require me to actually put the source in the
> document. Isn't there any solution that allow me to get the C file as
> an entity? This would be much more interesting since I'd always have
> the last version of the file without having to worry with modifying my
> document.

A long time ago Norman wrote:

-----------------------------------------
Personally, I use the following "hack"

  <inlinegraphic fileref="fr/snippet.txt" format="linespecific">

My DSSSL stylesheets support this and the XSL stylesheets support it
with a little post-processing.

The long-term general solution to this problem is XLink.
-----------------------------------------

Jorge, does that solves your problem?
Norman, What about XLink now?

Camille.

-- 
Get your head off the keyboard and look behind the screen.
← Prev in month ← Prev in thread