[xep-support] involved xfers and codeblock line numbering

John Accardi accardi at accardi.com
Tue Jan 2 20:10:26 PST 2007


Thanks, Eliot.

These are very good ideas that I will try.

John

W. Eliot Kimber wrote:
> John Accardi wrote:
>> I am trying to produce PDF with involved xrefs and line numbering for
>> codeblock lines as shown here in this Framemaker produced PDF snippet:
>
> FO 1.1 doesn't have any defined facility for doing line numbering, but 
> in the case of a code sample, where each line is well defined, you can 
> easily transform the code lines into a table or list block where each 
> line is one row or list item, generating the line numbers and 
> providing FO-level IDs for doing the line number referencing.
>
> I don't know of DITA provides any source markup for this--worst case 
> you'd have to specialize the "data" element provide a link anchor for 
> the lines you want to refer to and some way to set the initial line 
> number of a given code block.
>
> Cheers,
>
> Eliot
>

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list