emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andras Major <andras.g.major@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence
Date: Fri, 19 Aug 2011 08:50:52 +0200	[thread overview]
Message-ID: <CALPHr6xSRrVyNEXMhV=Q1X4mswLDxMqUGw40D11QtGoPLhwfoA@mail.gmail.com> (raw)

Hi,

in TeX and LaTeX, the width of the glue (blank space) after a "." can
be one of two different values, depending on the context.  There is
always a longer space between sentences than after a "." that doesn't
mark the end of a sentence (abbreviations, dates, etc.).  Since
TeX/LaTeX usually can't recognize the latter case by itself, one can
help out by writing ".\ " or ".~" explicitly to enforce a short space.
Without these hints, printed output will look typographically wrong.

Org-mode export doesn't allow me to easily include these hints without
affecting readability and export to other formats.  Therefore I ask
that LaTeX export places ". " or ".\ " in the output automatically
depending on the context:

- If, in the source, the "." precedes a double space " " or a newline,
  use ". ".

- In any other case, use ".\ ".

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.

Thanks,

  András

             reply	other threads:[~2011-08-19  6:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19  6:50 Andras Major [this message]
2011-08-19  9:35 ` Wishlist: LaTeX export: automatically append backslash to "." unless at end of sentence 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

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='CALPHr6xSRrVyNEXMhV=Q1X4mswLDxMqUGw40D11QtGoPLhwfoA@mail.gmail.com' \
    --to=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).