From mboxrd@z Thu Jan 1 00:00:00 1970 From: Feng Shu Subject: Re: Org-mode latex pdf export issue: Underlined lines not breaking properly Date: Mon, 10 Jun 2013 07:34:15 +0800 Message-ID: <87fvwqeu4o.fsf@news.tumashu-localhost.org> References: <20130306115906.GT7544@kuru.dyndns-at-home.com> <20130306140248.GX7544@kuru.dyndns-at-home.com> <87vc5nve0n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ulp9E-0007gM-6I for emacs-orgmode@gnu.org; Sun, 09 Jun 2013 19:35:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ulp9C-0004pR-Rt for emacs-orgmode@gnu.org; Sun, 09 Jun 2013 19:35:44 -0400 Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]:65184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ulp9C-0004pK-JK for emacs-orgmode@gnu.org; Sun, 09 Jun 2013 19:35:42 -0400 Received: by mail-pa0-f41.google.com with SMTP id bj3so2752651pad.0 for ; Sun, 09 Jun 2013 16:35:41 -0700 (PDT) Received: from tumashu ([110.97.91.142]) by mx.google.com with ESMTPSA id fp2sm7999289pbb.36.2013.06.09.16.35.37 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 09 Jun 2013 16:35:40 -0700 (PDT) Received: from feng by tumashu with local (Exim 4.80) (envelope-from ) id 1Ulp7o-00020Q-5H for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 07:34:16 +0800 In-Reply-To: <87vc5nve0n.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 09 Jun 2013 11:18:00 +0200") 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 Nicolas Goaziou writes: > Hello, > > Nathaniel Cunningham writes: > >> Suvayu Ali gmail.com> writes: >> >>>=20 >>> 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. >>>=20 >>> > >> The \ul{..} command from the soul package also supports underlining acro= ss >> line breaks. >> *And soul is included by default in org's list of loaded latex packages*= -- see >> org-latex-default-packages-alist. >> >> Therefore it would be painless for org users if \underline in >> org-latex-text-markup-alist were replaced with \ul -- and it would provi= de >> more complete support of underlining!=20=20 > > Indeed. According to > > http://orgmode.org/worg/org-dependencies.html > > introducing "soul" package in default packages list was meant to provide > underline and strike-through features. I fixed it in maint. > > Thanks for the heads up. When the article is writen with Chinese, soul will output: #+begin_src soul Error: Reconstruction failed. #+end_src and underline word will dispear from the output pdf file! A tmp solution is : \ul{\mbox{=E4=B8=AD=E6=96=87=E6=B5=8B=E8=AF=95}} but=EF=BC=8Cwhen it can't break lines properly too. > > > Regards, --=20