Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5860: Coloring text in Quickbook
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-05 11:16:31
#5860: Coloring text in Quickbook
--------------------------------------+-------------------------------------
Reporter: pbristow | Owner: eric_niebler
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: quickbook
Version: Boost Development Trunk | Severity: Cosmetic
Resolution: | Keywords: Quickbook color
--------------------------------------+-------------------------------------
Comment (by pbristow):
Replying to [comment:1 danieljames]:
> Docbook has no support for colours, see:
>
> http://cygwin.com/ml/docbook/2005-05/msg00040.html
>
> A possiblity is to have a tag to allow text to be marked up with a role
(as we do for syntax highlighting). That can be coloured for web pages in
css, but you'd have to work out how to colour that for pdfs, which appears
to be done in `tools/boostbook/xsl/fo.xsl`. I'd prefer to have semantic
roles rather than presentational. Any additions to the roles supported in
that file should probably be mentioned on the list first.
I'd image many users would be quite happy with a small set (9?)of 'color
highlighting' sematic roles? Even just one (red?) could be useful.
Perhaps something like the six (five) [h1 headings]? Or color admonitions?
Or is injection of XML to set color for a text item possible?
But I have too little understanding of how things are processed to make
sensible suggestions.
> `?` isn't available as it's already used for conditional phrases. I
wouldn't want to use up an punctuation for this. There are only so many
characters available, I don't want to waste them.
Of course, sadly, squiggles are in critically short supply, so I only put
? as a marker for any one chosen.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5860#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC