From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: latex-export + columnview: misinterpretation of section prefixes as emphasis Date: Tue, 1 Jun 2010 09:32:14 +0200 Message-ID: <973F8F1E-E4BF-4209-94B6-BC45353C38BF@gmail.com> References: <20100531033853.GD27574@soloJazz.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=42315 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJMml-0004hg-B4 for emacs-orgmode@gnu.org; Tue, 01 Jun 2010 04:25:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJMmg-0003AK-CE for emacs-orgmode@gnu.org; Tue, 01 Jun 2010 04:25:19 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:41269) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJMmg-00039H-7D for emacs-orgmode@gnu.org; Tue, 01 Jun 2010 04:25:14 -0400 Received: by mail-ew0-f216.google.com with SMTP id 8so1143354ewy.8 for ; Tue, 01 Jun 2010 01:25:13 -0700 (PDT) In-Reply-To: <20100531033853.GD27574@soloJazz.com> 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: Juan Pechiar Cc: Emacs-orgmode Hi Juan, On May 31, 2010, at 5:38 AM, Juan Pechiar wrote: > Hi! > > The test file below contains a columnview table showing section > headers. > > Export to HTML works OK: the asterisks inside the table are > transformed into indentation. > > Export to LaTeX: asterisk pairs are interpreted as emphasis, resulting > in an incorrect renering of asterisks and bold asterisks. > > Following the code, I got lost at org-export-latex-fontify. > > I will keep searching for what is happening, but any guidance will be > appreciated. I have fixed at least part of the problem, so the stars will no longer be interpreted as emphasis. However, I am still getting strange results. FOrmatting a latex file with this: \begin{center} \begin{tabular}{l} ITEM \\ \hline * There comes the table \\ * first \\ ** second \\ *** third \\ *** other third \\ **** fourth \\ ** other second \\ \end{tabular} \end{center} somehow swallows some of the stars, but seemingly random. For example, the star before "There" remains, but the star before "first" disappears. This must be some strange LaTeX thing - does anyone understand what is going on here? - Carsten > > Thanks! > > .j. > > > Test file: > ======================================== > #+COLUMNS: %25ITEM > > * There comes the table > > #+BEGIN: columnview :vlines 1 :id global > | | ITEM | > |---+-------------------------| > | | * There comes the table | > | | * first | > | | ** second | > | | *** third | > | | *** other third | > | | **** fourth | > | | ** other second | > | / | <> | > #+END: > > * first > ** second > *** third > *** other third > **** fourth > ** other second > ======================================== > > LaTeX output: > ======================================== > \begin{tabular}{l} > ITEM \\ > \hline > * There comes the table \\ > * first \\ > ** second \\ > *** third \\ > \textbf{*} other third \\ > \textbf{**} fourth \\ > ** other second \\ > \end{tabular} > ======================================== > > And the PDF display reads: > ======================================== > ITEM > * There comes the table > first > * second > ** third > * other third > ** fourth > * other second > ======================================== > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten