I was just thinking about how I would like that myself.  I think there 
is a plugin to include blog parts in wikis.  Perhaps a few line changes 
would be able to make it to source?  It would be nice to have a macro to 
include ANY resource on the site.

Anton Deguet 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
>
>
>
>
>
> >
>   

-- 
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Ariel I Balter, Ph.D.
Postdoc
Biological Monitoring/Modeling
Fundamental and Computational Sciences Directorate

Pacific Northwest National Laboratory 
Mail:
PO Box 999, MS P7-58,Richland, WA 99352
Shipping:
790 6th Street, MS P7-58, Richland, WA 99354

Tel:  509-376-7605 
Cell:  509-713-0087
[email protected]
www.arielbalter.com
www.pnl.gov 


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn:Ariel Balter, PhD
n:Balter;Ariel
email;internet:[email protected]
tel;home:812-332-2721
tel;cell:812-219-4558
x-mozilla-html:TRUE
url:http://arielbalter.com
version:2.1
end:vcard

Reply via email to