From 71a35851a6206956846b52c264ca1e8f97e180a5 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Fri, 28 Jan 2011 10:19:07 +0100 Subject: qdoc: Updated the qdoc manual. Modified the description of the \raw command. IKt is to be avoided, so I showed how to do the example of \raw ... \endraw using the qdoc commands \tt and \span. --- tools/qdoc3/doc/qdoc-manual.qdoc | 42 ++++++++++++++++++++++++++++------------ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/tools/qdoc3/doc/qdoc-manual.qdoc b/tools/qdoc3/doc/qdoc-manual.qdoc index 3036af8..0c303c1 100644 --- a/tools/qdoc3/doc/qdoc-manual.qdoc +++ b/tools/qdoc3/doc/qdoc-manual.qdoc @@ -4584,15 +4584,16 @@ \raw HTML

- Blue(#0000ff), - dark blue(#000080) and - cyan(#00ffff). + Blue(#0000ff), + dark blue(#000080) and + cyan(#00ffff). +

\endraw * / \endcode @@ -4604,18 +4605,35 @@ \raw HTML

- Blue(#0000ff), - dark blue(#000080) and - cyan(#00ffff). + Blue(#0000ff), + dark blue(#000080) and + cyan(#00ffff). +

\endraw \endquotation + \note But you can achieve the exact same thing using qdoc + commands. In this case, all you have to do is include the + color styles in your style.css file. Then you can write: + + \code + \tt {\span {id="color-blue"}{Blue(#0000ff)}}, + \tt {\span {id="color-darkBlue"}{dark blue(#000080)}} and + \tt {\span {id="color-cyan"}{cyan(#00ffff)}}. + \endcode + + ...which is rendered again as: + + \tt {\span {id="color-blue"}{Blue(#0000ff)}}, + \tt {\span {id="color-darkBlue"}{dark blue(#000080)}} and + \tt {\span {id="color-cyan"}{cyan(#00ffff)}}. + \row \o \bold \\unicode \target unicode \o \bold {The \\unicode command allows you to insert an -- cgit v0.12