João Abecasis wrote:
Rene Rivera wrote:

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.

Have you tried directly using the Unicode non-break space?

No.

Quickbook is supposed to handle utf-8 correctly (in this case, the character sequence for the non-break space would be 0xc2 0xa0). I think this would be the best way to go about this.

Of course, if you use an editor that isn't Unicode aware, this might not be feasible.

It's has a variety of encodings support. But I have no clue how to use the Windows Unicode, or UTF, input modes. I doubt most people do. And this doesn't seem like the situation where I would consider such support, of having to insert special (i.e. visible) characters, like (c).

In the future, there has been talk about adding the recognition of unicode escape sequences as part of a quickbook preprocessor (something like \u00A0 for nbsp). Then again, it's probably not that much better than ''' '''.

Ah, no, I'd say that's worse. At least ``` ``` is humanly legible (barely).

The last option, I think, would be to add special markup for this, e.g., [nbsp] (?).

As a single character? I.e. in[nbsp]one[nbsp]line. That's not much better than escaping to xml. My suggestion would be: 'in one line', and ['in one line].

I guess another possibility is to make an "nobreak" code syntax. And then one could: [nobreak] `in one line`.



--
-- 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