From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: LaTeX export bugs? Date: Thu, 2 Jul 2009 09:19:22 +0200 Message-ID: <9BD32D94-8B57-42CB-90EE-D4B31050E3D5@gmail.com> References: <87vdmjglto.fsf@mundaneum.com> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMH8R-0000LZ-VM for emacs-orgmode@gnu.org; Thu, 02 Jul 2009 03:55:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMH8N-0000Ix-5X for emacs-orgmode@gnu.org; Thu, 02 Jul 2009 03:55:11 -0400 Received: from [199.232.76.173] (port=45173 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMH8M-0000Ip-RP for emacs-orgmode@gnu.org; Thu, 02 Jul 2009 03:55:06 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:38440) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMH8L-0006js-T7 for emacs-orgmode@gnu.org; Thu, 02 Jul 2009 03:55:06 -0400 Received: by ewy4 with SMTP id 4so1812400ewy.42 for ; Thu, 02 Jul 2009 00:55:04 -0700 (PDT) In-Reply-To: <87vdmjglto.fsf@mundaneum.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: =?ISO-8859-1?Q?S=E9bastien_Vauban?= Cc: emacs-orgmode@gnu.org On Jun 26, 2009, at 3:34 PM, S=E9bastien Vauban wrote: > Hello, > > To make things clear, I love Org-mode (yes, I voted) and its LaTeX =20 > export. > More than you can imagine: I now look for avoiding writing any LaTeX =20= > document, > and have the export do all the work for me... > > BTW, any solution for exporting to a Beamer presentation? I'd be =20 > very very > very interested by anything in that direction. That's the last piece =20= > of the > whole puzzle, IMHO. > > Though, working more and more in that direction (Org-mode -> LaTeX), =20= > I've seen > a couple of weird things that I've compiled into an ECM, for ease of =20= > use: > > --8<---------------cut here---------------start------------->8--- > * Org > > - If you have a level 3 item under a level 1 item, the level 3 =20 > doesn't get > exported to LaTeX. I know this is not a normal situation, but it =20= > happens > when restructuring some text, and you loose it in the exported =20 > view... Yes, the parser currently requires the structure to be consistent and does not fail gracefully if not..... > > ***** THIS SECTION WILL DISAPPEAR!! > > This text is not exported. Though, I'm not always aware of it, =20= > when > sections are long (spreading over more than one screen page)... > > *** Level 2 -- is there a level 3 above? > > - Table with formulas and environment /framed/ : > > The following table will be framed, but TBL formulas do not work > anymore. > > #+ATTR_LaTeX: align=3Dlrrr > #+LaTeX: \begin{framed} > | Code | \euro{} | \% | \euro{} | > |-----------+---------+-----+---------| > | GSM | | | 0.00 | > | Internet | 168.45 | 100 | 168.45 | > | Mat=E9riel | 295.99 | 100 | 295.99 | > | Publicit=E9 | 214.25 | 33 | 70.70 | > | Autres | | | 0.00 | > |-----------+---------+-----+---------| > | Total | | | 535.14 | > #+LaTeX: \end{framed} > #+TBLFM: $4=3D$2*$3/100;%.2f::@7$4=3Dvsum(@-I..@-II) > > Swapping these two last lines gives LaTeX errors... What's the =20= > solution > for having both: an environment around the table and formulas =20 > that work? This is a hard problem. It is on my list, but will not be fixed soon. > > Why do I have to escape the sign symbol as soon as I put LaTeX =20= > commands > (and not BEGIN..END_LaTeX) near it? I do not understand what you mean here. > > - Hyperlink to other sections: see [[To be referenced]]. Looking =20= > in the > produced LaTeX code, it always link to the current section =20 > instead! Have not yet looked into this. Use IDs or custom IDs to links to sections, that is much better. > > - Quotes are sometimes exported in a weird /fashion/ : see =20 > "Industriels, > et commer=E7ants". And compare with the quotes in the next sample > ("Industriels et commer=E7ants"). Fixed. > > See as well that /fashion/ is not in italic above. It is for me > Apparently because of > the special non-breaking space following the second slash... Looks like the non-breaking space did not make it through the mailing process. What exactly are you using? > BTW, a > possibility would be to translate the "non-breaking space" to =20 > its LaTeX > equivalent syntax (the "tilde" sign). > > * To be referenced > > This should be the landing point for the hyperreference above. > --8<---------------cut here---------------end--------------->8--- > > Once again, thanks to all of you that provide us with those wonderful > features... > > Best regards, > Seb > > --=20 > S=E9bastien Vauban > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode