John Maddock wrote:
> Hi all,
> 
> I have a tricky quickbook formatting question.
> 
> I have some program output that I want to place in the docs, initially I put 
> it in as a code block, but then words like "for" and "while" come out 
> inappropriately highlighted.
> 
> Then I discovered that there was a [pre ] block, and thought "Aha that's the 
> one for me!", but unfortunately that breaks badly too, because my program 
> output contains some ASCII-Art that gets interpreted as quickbook mark-up, 
> so for example:
> 
> [pre
> __________________________________
> 2-Sided Confidence Limits For Mean
> __________________________________
> Number of Observations = 195
> Mean = 9.26146
> Standard Deviation = 0.02278881
> ]
> 
> Comes out even worst in a [pre ] block than it did as a code block!
> 
> So.... is there any way to suppress interpretation of _x_ as a hint to 
> underline?  Or how about a [none] or even [terminal] syntax highlighting 
> mode for code blocks?
> 
> Any other ideas?

The QuickBook docs do it this way:

[pre'''
2-Sided Confidence Limits For Mean
__________________________________
Number of Observations = 195
Mean = 9.26146
Standard Deviation = 0.02278881
''']

HTH.

Regards,
-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net


-------------------------------------------------------------------------
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
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to