Hi Anton, I know from the ticket that you entered that you found the IncludeSourcePartial plugin, but others may not know about it, so here is the link.
http://trac-hacks.org/wiki/IncludeSourcePartialPlugin Here is the ticket that Anton entered to provide an alternate mechanism beside line numbers to select the start and end to include. http://trac-hacks.org/ticket/5233 For others that are interested, you can use that ticket for discussion. Thanks On May 11, 8:59 am, Anton Deguet <[email protected]> wrote: > Hello, > > I am trying to write a simple tutorial under Trac Wiki and I am > looking for a feature similar to "listings" under LaTeX. My goal is > to quote parts of an actual source file. > > This would look like: > > {{{ > #!cpp > #listing(source:/trunk/myFile, 10, 20) > > }}} > > would quote from line 10 to 20 directly from the source file. This > way, if the source is updated, the Wiki automatically uses the latest > version. > > Is there any easy solution for this? > > Anton > > --- > Anton Deguet, Research Engineer, ERC-CISST/LCSR, Johns Hopkins > University > e-mail: [email protected], iChat: [email protected] > office phone: 410-516-5261, cell phone: 410-790-0456 > JHU, LCSR, CSEB 137b, 3400 North Charles Street, Baltimore, MD 21218, > USA --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
