Re: [Rest2web-develop] Extracting "proper" rst out of a rest2web page
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2006-11-01 15:26:00
|
Gael Varoquaux wrote: > Hi, > > Maybe this function is already in r2w, but I was wondering, can I ask > r2w to give me the plain rst without macros, and co, what the rst > processor gets ? This would be usefull for compiling a pdf version of > the site. > Macros generate HTML, but they pass unscathed through the rst processor. So all you need to do is strip off the restindex/uservalues and you get what is passed to the rst processor. You can also now include the restindex in a ReST comment, so your source files remain valid ReST. Other than that the best option (IIUC) would be a preprocessor that runs over your so source files and spits out files minus restindex. You could also strip out macros. Fuzzyman http://www.voidspace.org.uk > Cheers, > > Gaël > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > > |