Joao Abecasis wrote:
Rene Rivera wrote:

Is there a better way than escaping into xml with (''' ''') to insert non-break spaces? Or more preferable is there some way to indicate that a block of text should use   instead of spaces (" ")?

Anyway, is there a use case we can consider?

I'm my case, converting the bjam docs into quickbook, I have a table of options. With the option and a description, some options have a space between it and the value. But when the table is displayed the options wrap because the description is long. For example, with:

[table
  []
  [ [[^-f''' '''/Jambase/]]
[Read /Jambase/ instead of using the built-in Jambase. Only one -f flag is permitted, but the /Jambase/ may explicitly include other files.] ]
]

And without the ''' ''' the row renders as:

-f       Read Jambase instead of using the built-in Jambase.
Jambase  Only one -f flag is permitted...

Having to use ''' ''' is cumbersome, makes the quickbook code hard to read on it's own, and error prone. I made at least three errors while inserting them in my case. Which I only discovered during/after conversion. And don't be misled by the teletype, I can see such things coming up outside of that.



--
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to