From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Bug: \uline produced inside \section in latex export [8.2.5h (8.2.5h-30-gdd810b-elpa @ /home/user/.emacs.d/elpa/org-20140303/)] Date: Sat, 22 Mar 2014 12:38:14 +0100 Message-ID: <87k3bma2ft.fsf@gmx.us> References: <87ior7qzua.fsf@slumpy.org> <87fvmbktzz.fsf@bzg.ath.cx> <87k3bmoe3o.fsf@gmail.com> <87ppleiqo6.fsf@bzg.ath.cx> <874n2qo4zh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRKG6-000809-Td for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 07:38:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRKG1-0006jw-KE for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 07:38:38 -0400 Received: from plane.gmane.org ([80.91.229.3]:46263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRKG1-0006jl-D5 for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 07:38:33 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WRKFy-0004Zo-PH for emacs-orgmode@gnu.org; Sat, 22 Mar 2014 12:38:30 +0100 Received: from dynamic-adsl-94-34-250-146.clienti.tiscali.it ([94.34.250.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Mar 2014 12:38:30 +0100 Received: from rasmus by dynamic-adsl-94-34-250-146.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Mar 2014 12:38:30 +0100 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: > Bastien writes: > >> Yes, maybe there is a better fix. >> >> If you can find why you used \uline instead of \ul that will help >> spot possible problems with the current fix, of course. >> >> I'm not for getting rid of the problem before we can tell for sure >> why the current solution is wrong. > > This comes from commit 4fc03ec1fe23c6ddccffaa064a282b258ca8b6b8. > > See thread at: > > http://comments.gmane.org/gmane.emacs.orgmode/67741 Another possible fix is to (i) check if hyperref is being used, and (ii) escape using \texorpdfstring{\uline{SECTION}}{SECTION}. This also works with stuff like $\bm{\beta}$. Sometimes it also helps to pass the arguments 'unicode, psdextra' to hyperref, but it doesn't work in this case. -- ツ