[boost-users] [quickbook] '-' char instead of space in PDF document

Hi all, I write my documentation using Boost.QuickBook. But there are '-' character instead of spaces In a generated PDF document in C++ code blocks . You can see it in the attached screenshot. How can i eliminate '-' chars. Thanks -- Regards, Andrey

On 16 March 2010 12:27, Andrey Torba
Hi all, I write my documentation using Boost.QuickBook. But there are '-' character instead of spaces In a generated PDF document in C++ code blocks . You can see it in the attached screenshot. How can i eliminate '-' chars.
It's impossible to say without looking at the source file, but I suspect you've got an encoding problem, either with tabs or non breaking spaces or something like that. You should always use US-ASCII or UTF-8 for quickbook. I think I might add a check for invalid UTF-8, which should detect such problems. Is this your doxygen documentation? If you're using xslt, you'll need to make sure it's generating the correct encoding. The other possibility is that there's something wrong with the way you're creating pdfs from docbook, If I could see your jamfiles I might be able to check that. Daniel

You can see my Jamfile in the attachment. No matter what i build boost documentation or my own, '-' characters present. -- Regards, Andrey

Andrey Torba wrote:
Hi all, I write my documentation using Boost.QuickBook. But there are '-' character instead of spaces In a generated PDF document in C++ code blocks . You can see it in the attached screenshot. How can i eliminate '-' chars.
I had similar problem with Boost.Build documentation. I've ended up switching to XEP. - Volodya
participants (3)
-
Andrey Torba
-
Daniel James
-
Vladimir Prus