From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Small bug in the LaTeX exporter? [was: Re: I_can_not_understand_ +strike-through+] Date: Sun, 16 Aug 2009 22:31:34 -0400 Message-ID: <13768.1250476294@gamaville.dokosmarshall.org> References: <907065090908161814k63c0d518md09fc071e639b614@mail.gmail.com> <13103.1250473698@gamaville.dokosmarshall.org> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mcs28-0001YN-4j for emacs-orgmode@gnu.org; Sun, 16 Aug 2009 22:33:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mcs22-0001Xo-V9 for emacs-orgmode@gnu.org; Sun, 16 Aug 2009 22:33:15 -0400 Received: from [199.232.76.173] (port=51996 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mcs22-0001Xh-Oy for emacs-orgmode@gnu.org; Sun, 16 Aug 2009 22:33:10 -0400 Received: from vms173011pub.verizon.net ([206.46.173.11]:33674) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mcs22-0004S6-Fz for emacs-orgmode@gnu.org; Sun, 16 Aug 2009 22:33:10 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.159]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KOI00IP31O93UB0@vms173011.mailsrvcs.net> for emacs-orgmode@gnu.org; Sun, 16 Aug 2009 21:31:27 -0500 (CDT) In-reply-to: Message from Nick Dokos of "Sun, 16 Aug 2009 21:48:18 EDT." <13103.1250473698@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, waterloo Trying to answer waterloo's question about strike-through, I tried LaTeX-exporting the following: --8<---------------cut here---------------start------------->8--- * Emphasis and monospace - *bold* - /italic/ - _underlined_ - =code= - ~verbatim~ - +strike-through+ --8<---------------cut here---------------end--------------->8--- but the resulting LaTeX file has the wrong markup for strike-through: ,---- | ... | \begin{itemize} | \item \textbf{bold} | \item \emph{italic} | \item \underline{underlined} | \item \texttt{code} | \item \texttt{verbatim} | \item \texttt{strike-through} | \end{itemize} | ... `---- The correct markup, according to the TeX FAQ: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=overstrike, is obtained using the ulem package: \usepackage{ulem} ... \sout{strike-through} ... The change for \sout is trivial (just change org-export-latex-emphasis-alist), but adding the ulem package conditionally is perhaps more difficult. Maybe it should be added unconditionally? AFAIK, there is no mechanism for including \usepackages conditionally, is there? Thanks, Nick