emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Org-mode latex pdf export issue: Underlined lines not breaking properly
Date: Wed, 6 Mar 2013 15:02:48 +0100	[thread overview]
Message-ID: <20130306140248.GX7544@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <CAL1SgUqtPszBH04vWcsQYaSew56CdohecDxr52CUBnQc=NRQpQ@mail.gmail.com>

Hello Sanjib,

On Wed, Mar 06, 2013 at 06:55:36PM +0530, Sanjib Sikder wrote:
> 
> If you feel that the problem is not related to org-mode, then ignore this
> email and thanks for your time and patience.

It is indeed a LaTeX issue!  And I have an answer too :).  Org mode
translates _underlined text_ to \underline{underlined text}, however if
you read the TeX.sx question referenced below you will see that it
doesn't support line breaks and the TeX community recommends \uline{..}
from the ulem package.

  <http://TeX.stackexchange.com/a/13382/4416>

For now you can write a filter to alter the LaTeX source[1]; for the
long haul you should start a separate thread asking to change the
defaults in Org mode.  However I'm not sure if that is desirable since
it introduces an extra LaTeX package dependency to handle corner cases.

Hope this helps,


Footnotes:

[1] A nice example can be found here:
    <http://orgmode.org/worg/exporters/beamer/ox-beamer.html#sec-2-3>

-- 
Suvayu

Open source is the future. It sets us free.

  parent reply	other threads:[~2013-03-06 14:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-06 11:37 Org-mode latex pdf export issue: Underlined lines not breaking properly Sanjib Sikder
2013-03-06 11:59 ` Suvayu Ali
2013-03-06 13:25   ` Sanjib Sikder
2013-03-06 13:43     ` Michael Strey
2013-03-06 14:02     ` Suvayu Ali [this message]
2013-03-06 14:17       ` Sanjib Sikder
2013-06-06 19:48       ` Nathaniel Cunningham
2013-06-09  9:18         ` Nicolas Goaziou
2013-06-09 23:34           ` Feng Shu
2013-06-11 12:10             ` Nicolas Goaziou
2013-06-11 12:59               ` Feng Shu
2013-06-11 13:24                 ` Nicolas Goaziou
2013-06-11 13:53                   ` Feng Shu
2013-06-14 19:47                     ` Nicolas Goaziou
2019-07-29 23:37                       ` Gustavo Barros
2019-07-29 23:53                         ` Gustavo Barros

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=20130306140248.GX7544@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@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).