Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-03-01 10:05:32
- minusf
- Member
- Registered: 2005-02-15
- Posts: 104
[textile] a friendlier alias for non breakable space
hi there,
in some languages (mostly slavic) a preposition and the following
word should be separeted using a non breakable space, becase
orphan prepositions at the end of the line do not look good
(and are also forbidden if i am not mistaken).
now, writing text using
for mortals (and even not mortals)
is far from funny, reducing legibility considerably. that’s why i think
that creating a special sign for it would be a very fitting addition
to textile.
TeX solves this daunting problem using the tilde (~)
and i don’t see a reason for not “borrowing” it :)
at~the~party
would become at the party
a tilde with space(s) on either side would generate a normal tilde:
at ~the~ party
would become at ~the~ party
to keep ascii art junkies (like me) also happy.
so what do you people say?
we is experts™
Offline
Re: [textile] a friendlier alias for non breakable space
Tilde may be used for other things in others languages.
But I agree this is a good idea: having a decent readable shortcut for non-breaking space.
Right now the only solution I have is:
- Hack Textile to insert it automatically when we can (in French we need nbsp before some punctuation),
- Use Mary’s quicktag plugin to insert either a
#160;
code (quite unfriendly to non-geek), or a real non-breaking space (invisible from a regular space).
Myself, I would use the middle dot (·
) for nbsp, but it’s not easy to create on most keyboards, and may be widely use on other language (only the widely is an issue, since we could have a double middle dot ··
to create a single real one—since double nbsp are wrong).
But, if the tilde with space around is not used in other language, then yes, I’ll second the motion :)
Offline
#3 2007-03-01 11:20:18
- minusf
- Member
- Registered: 2005-02-15
- Posts: 104
Re: [textile] a friendlier alias for non breakable space
Tilde may be used for other things in others languages.
i think it’s quite safe to assume that in most languages it is
used as a diacritical mark. http://en.wikipedia.org/wiki/Tilde
i think that ‘~’ is the single last not-yet-used sign best fitted
for this. i know, because i just had a long hard look at my keyboard :D
Myself, I would use the middle dot (
·
)
the only way i can make a middle dot is using html entities :}
but i had the pleasure with a french keyboard some years ago
and i will never forget the trauma it caused me :P
we is experts™
Offline
Re: [textile] a friendlier alias for non breakable space
minusf wrote:
i think it’s quite safe to assume that in most languages it is
used as a diacritical mark. http://en.wikipedia.org/wiki/Tilde
Yup, it seems you’re right. Let’s begin the tidle for nbsp campaign :)
the only way i can make a middle dot is using html entities :}
I should have emphasized myself. It’s a very personal use, most of the other people will disagree with me on this.
but i had the pleasure with a french keyboard some years ago
and i will never forget the trauma it caused me :P
Huhuhu. Well, the middle dot isn’t makable on a standard French keyboard, I use a extended keyboard driver to be able to output some very needed (in French) , but very forgotten, glyph like: æ, œ, –, —, ×, «», etc.
Offline