emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* options for non-breaking space
@ 2010-10-29 22:12 Sébastien Mengin
  2010-10-30 14:18 ` Jeff Horn
  0 siblings, 1 reply; 4+ messages in thread
From: Sébastien Mengin @ 2010-10-29 22:12 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I'm recent user of orgmode and I must say I'm quite impressed.

As a French typesetter, using orgmode as a source format to provide both
pdf and html output to the books I'm asked to typeset might be the
begining of the solution I'm looking for to satisfy people who want to
provide ebooks to their readers.  Hence, the need of having fine-tuning
for the typographic details for both html and latex export is an
important point.

The following question occured to me: how can I have a non-breaking
space before ; : ! ? and betweend « and », but only for the HTML export?
(the LaTeX French package manages spaces for these signs automatically,
inserting not only a non-breaking space but a thinner non-breaking
space, which is better in regard of our typographic choices).

Thanks in advance for your help!

PS: I don't know if a thin-nonbreaking-space is supported in HTML but,
if it was the case, I'd be interested in this solution, too.

-- 
Sébastien Mengin
Édition et logiciels libres
< Mise en page avec LaTeX >
http://edilibre.net
tél. : 06 84 88 49 17
jid. : sebastien-mengin@jabber.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* options for non-breaking space
@ 2010-10-30  8:50 sebastien-listes
  0 siblings, 0 replies; 4+ messages in thread
From: sebastien-listes @ 2010-10-30  8:50 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I'm recent user of orgmode and I must say I'm quite impressed.

As a French typesetter, using orgmode as a source format to provide both
pdf and html output to the books I'm asked to typeset might be the
begining of the solution I'm looking for to satisfy people who want to
provide ebooks to their readers.  Hence, the need of having fine-tuning
for the typographic details for both html and latex export is an
important point.

The following question occured to me: how can I have a non-breaking
space before ; : ! ? and betweend « and », but only for the HTML export?
(the LaTeX French package manages spaces for these signs automatically,
inserting not only a non-breaking space but a thinner non-breaking
space, which is better in regard of our typographic choices).

Thanks in advance for your help!

PS: I don't know if a thin-nonbreaking-space is supported in HTML but,
if it was the case, I'd be interested in this solution, too.

-- 
Sébastien Mengin
Édition et logiciels libres
< Mise en page avec LaTeX >
http://edilibre.net
tél. : 06 84 88 49 17
jid. : sebastien-mengin@jabber.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: options for non-breaking space
  2010-10-29 22:12 Sébastien Mengin
@ 2010-10-30 14:18 ` Jeff Horn
  2010-10-30 19:09   ` Sébastien Mengin
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Horn @ 2010-10-30 14:18 UTC (permalink / raw)
  To: Sébastien Mengin; +Cc: emacs-orgmode

> The following question occured to me: how can I have a non-breaking
> space before ; : ! ? and betweend « and », but only for the HTML export?
> (the LaTeX French package manages spaces for these signs automatically,
> inserting not only a non-breaking space but a thinner non-breaking
> space, which is better in regard of our typographic choices).

I didn't realize HTML had a non-breaking space character. Rather I
supposed all spaces were non-breaking with the overflow property
turned off for a div.

I can't imagine when I'd use it, but a non-breaking space in HTML
would definitely be worth knowing about.

I thought breaking of lines was left mainly to browser, the <br />
tag, and CSS...

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: options for non-breaking space
  2010-10-30 14:18 ` Jeff Horn
@ 2010-10-30 19:09   ` Sébastien Mengin
  0 siblings, 0 replies; 4+ messages in thread
From: Sébastien Mengin @ 2010-10-30 19:09 UTC (permalink / raw)
  To: emacs-orgmode

Le sam. 30/10/10 (10:18:02 -0400), Jeff Horn a écrit :
> > The following question occured to me: how can I have a non-breaking
> > space before ; : ! ? and betweend « and », but only for the HTML export?
> > (the LaTeX French package manages spaces for these signs automatically,
> > inserting not only a non-breaking space but a thinner non-breaking
> > space, which is better in regard of our typographic choices).
> 
> I didn't realize HTML had a non-breaking space character. 

Yes, it has, that is: &nbsp;

> Rather I supposed all spaces were non-breaking with the overflow
> property turned off for a div.

My turn: I was unaware of such a property -- but I'm not sure it fits
my need.

> I can't imagine when I'd use it, but a non-breaking space in HTML
> would definitely be worth knowing about.

Orgmode is aware of it (just in case you don't know, type C-x 8
<space>). 

But, I'd need more granularity at the export time: don't keep
the non-breaking spaces into the latex export for the following symbols,
as mentioned earlier:

    : ; ? ! « »

Thanks in advance,
Sébastien

-- 
Sébastien Mengin
Édition et logiciels libres
< Mise en page avec LaTeX >
http://edilibre.net
tél. : 06 84 88 49 17
jid. : sebastien-mengin@jabber.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-30 19:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-30  8:50 options for non-breaking space sebastien-listes
  -- strict thread matches above, loose matches on Subject: below --
2010-10-29 22:12 Sébastien Mengin
2010-10-30 14:18 ` Jeff Horn
2010-10-30 19:09   ` Sébastien Mengin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).