Re: [Boost-docs] Quickbook document author Unicode a accent R&#xE5 isnot converted.

Subject: Re: [Boost-docs] Quickbook document author Unicode a accent R&#xE5 isnot converted.
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2010-08-24 11:09:42


-----Original Message-----
From: boost-docs-bounces_at_[hidden]
[mailto:boost-docs-bounces_at_[hidden]] On Behalf Of Daniel James
Sent: Tuesday, August 24, 2010 10:44 AM
To: Discussion of Boost Documentation
Subject: Re: [Boost-docs] Quickbook document author Unicode a accent R&#xE5
isnot converted.

On 24 August 2010 09:45, John Maddock <boost.regex_at_[hidden]> wrote:
>
> None, but can you investigate at what stage the &#xE5; get converted
> into &amp;#xE5; ?  It could be that quickbook has got smarter at
> converting special characters in places it didn't before, and we need
> to escape to docbook there.

> Yes, I 'fixed' that in 1.44.

Well thanks ;-))

> . I think you need to use UTF-8 for now (or stick with quickbook from
boost 1.43)

I've tried changing the file type to UTF-8 in Textpad and inserting the
right å char from MS charmap. This looks OK on the editor screen

[Råde, Johan],

 but doesn't parse right - see below. (nor does \u00E5)

Have I misunderstood your suggestion, done it wrong, or maybe this just
won't work?

xslt-xsltproc.windows
..\..\..\..\bin.v2\libs\math\doc\sf_and_dist\msvc-10.0\debug\threading-multi
\math.docbook
../../../../bin.v2/libs/math/doc/sf_and_dist/msvc-10.0/debug/threading-multi
/math.xml:23: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE5 0x64 0x65 0x3C
      <firstname>Johan</firstname> <surname>Råde</surname>
                                             ^
unable to parse
..\..\..\..\bin.v2\libs\math\doc\sf_and_dist\msvc-10.0\debug\threading-multi
\math.xml

> Sorry, I should have said something about it. I think you need to use
UTF-8 for now (or stick with quickbook from boost 1.43), since > > >
>escapes aren't supported in the author field at the moment. That's
something I'm planning on fixing, hopefully for 1.45.

> I keep track of these changes in the change log, you can see the current
trunk version at:
> http://boost-sandbox.sourceforge.net/doc/html/quickbook/change_log.html

OK I'll keep looking - but you might like to ping me if you fix it. Not
urgent but nice to fix for 1.45.

Paul

Generating Output File:
..\..\..\..\bin.v2\libs\math\doc\sf_and_dist\msvc-10.0\debug\threading-multi
\math.xml
I:\boost-trunk\libs\math\doc\sf_and_dist\math.qbk:1: warning: Invalid
attributes for 'article document info': purpose, category

Aside This isn' t what is expected either:

    [category math]
    [purpose mathematics]

Are these now unused/unsupported?

(were not very useful?)

Paul A. Bristow,
Prizet Farmhouse, Kendal LA8 8AB UK
+44 1539 561830 07714330204
pbristow_at_[hidden]


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC