Re: [O] How to escape spaces after full stops?

2012-06-24 Thread Nicolas Goaziou
Marius Hofert writes: > Nicolas Goaziou writes: >> For example, you can have: >> >> (add-to-list 'org-entities-user '(spc "\\ " nil " " " " " " " ")) >> >> And then use >> >> p.\spc{}17 > > I have put the above line in ~/.emacs and restarted emacs. It writes now as > "p.17", > so without s

Re: [O] How to escape spaces after full stops?

2012-06-24 Thread Marius Hofert
Nicolas Goaziou writes: > Hello, > > Marius Hofert writes: > >> Is there also a way to get "\"? [there is a slight but sometimes >> important difference]. > > Do you mean "\ "? yes. > > > Not out of the box, but you can add your own entities in > `org-entities-user'. > > For example, you can

Re: [O] How to escape spaces after full stops?

2012-06-24 Thread Sebastien Vauban
Hello, Viktor Rosenfeld wrote: > I typically use a non-breaking space in this case with C-x 8 . > This also prevents a linebreak at this position. For this to work I have > to add the following line in the LaTeX preamble: > > \DeclareUnicodeCharacter{00A0}{~} or use the `utf8x' (see the `x') inpu

Re: [O] How to escape spaces after full stops?

2012-06-24 Thread Nicolas Goaziou
Hello, Marius Hofert writes: > Is there also a way to get "\"? [there is a slight but sometimes > important difference]. Do you mean "\ "? Not out of the box, but you can add your own entities in `org-entities-user'. For example, you can have: (add-to-list 'org-entities-user '(spc "\\ " ni

Re: [O] How to escape spaces after full stops?

2012-06-24 Thread Marius Hofert
Dear Nicolas, many thanks for pointing this out. \nbsp{} leads to ~, which is correct in this case. Is there also a way to get "\"? [there is a slight but sometimes important difference]. Cheers, Marius Nicolas Goaziou writes: > Hello, > > Marius Hofert writes: > >> If I create a .org file co

Re: [O] How to escape spaces after full stops?

2012-06-24 Thread Nicolas Goaziou
Hello, Marius Hofert writes: > If I create a .org file containing this line... > > ,[ minimal_example.org ] > | This is just some text on p. 17. Some more text. > ` > > ... and then export it to pdf via C-c C-e p, you can see from the output that > the space after "p." is too large. In

Re: [O] How to escape spaces after full stops?

2012-06-24 Thread Viktor Rosenfeld
Hi, I typically use a non-breaking space in this case with C-x 8 . This also prevents a linebreak at this position. For this to work I have to add the following line in the LaTeX preamble: \DeclareUnicodeCharacter{00A0}{~} Cheers, Viktor Marius Hofert wrote: > Dear org-mode experts, > > If I

[O] How to escape spaces after full stops?

2012-06-23 Thread Marius Hofert
Dear org-mode experts, If I create a .org file containing this line... ,[ minimal_example.org ] | This is just some text on p. 17. Some more text. ` ... and then export it to pdf via C-c C-e p, you can see from the output that the space after "p." is too large. In a standard .tex file o