From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Org-mode latex pdf export issue: Underlined lines not breaking properly Date: Wed, 6 Mar 2013 15:02:48 +0100 Message-ID: <20130306140248.GX7544@kuru.dyndns-at-home.com> References: <20130306115906.GT7544@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDEvs-0001XR-6f for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 09:03:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDEvm-0004Eq-Ib for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 09:03:00 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:43675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDEvm-0004EZ-CB for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 09:02:54 -0500 Received: by mail-wg0-f47.google.com with SMTP id dr13so7386351wgb.26 for ; Wed, 06 Mar 2013 06:02:53 -0800 (PST) Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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. 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: -- Suvayu Open source is the future. It sets us free.