From: Bastien <bzg@altern.org>
To: Andras Major <andras.g.major@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence
Date: Fri, 19 Aug 2011 23:16:10 +0200 [thread overview]
Message-ID: <87d3g16r1h.fsf@gnu.org> (raw)
In-Reply-To: <CALPHr6xSRrVyNEXMhV=Q1X4mswLDxMqUGw40D11QtGoPLhwfoA@mail.gmail.com> (Andras Major's message of "Fri, 19 Aug 2011 08:50:52 +0200")
Hi Andras,
Andras Major <andras.g.major@gmail.com> writes:
> - If, in the source, the "." precedes a double space " " or a newline,
> use ". ".
>
> - In any other case, use ".\ ".
I wonder how such a function would look like.
Does anyone wants to try to write it? Even pseudo-code would be fine at
this stage.
> The reason this would work is the Emacs convention of writing ASCII
> such that there is at least one more space (at least two) between
> sentences. I believe that the Emacs fill-* functions also make use of
> this convention.
C-h v sentence-end TAB gives several variable that let the user change
the number of spaces after a sentence. So I guess this is not really
"Emacs convention of writing ASCII", but a more general American
convention.
Would the values of sentence-end* be taken into account by the feature
you describe above?
--
Bastien
prev parent reply other threads:[~2011-08-19 21:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 6:50 Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence Andras Major
2011-08-19 9:35 ` Daniel Bausch
2011-08-19 10:00 ` Stefan Nobis
2011-08-19 11:03 ` András Major
2011-08-19 13:51 ` William Henney
2011-08-19 18:39 ` András Major
2011-08-19 19:50 ` Sebastien Vauban
2011-08-19 11:22 ` Carsten Dominik
2011-08-19 14:55 ` Rasmus
2011-08-19 15:02 ` suvayu ali
2011-08-19 19:07 ` Thomas S. Dye
2011-08-19 21:16 ` Bastien [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d3g16r1h.fsf@gnu.org \
--to=bzg@altern.org \
--cc=andras.g.major@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).