From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [babel] Bug when exporting to LaTeX Date: Mon, 30 Nov 2009 08:50:31 -0700 Message-ID: References: <87iqcs3xsu.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NF8WA-0000oD-PJ for emacs-orgmode@gnu.org; Mon, 30 Nov 2009 10:50:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NF8W5-0000lL-Ky for emacs-orgmode@gnu.org; Mon, 30 Nov 2009 10:50:25 -0500 Received: from [199.232.76.173] (port=52607 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NF8W5-0000l3-Fy for emacs-orgmode@gnu.org; Mon, 30 Nov 2009 10:50:21 -0500 Received: from mail-pz0-f181.google.com ([209.85.222.181]:41123) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NF8W5-0008QO-9U for emacs-orgmode@gnu.org; Mon, 30 Nov 2009 10:50:21 -0500 Received: by pzk11 with SMTP id 11so2352819pzk.14 for ; Mon, 30 Nov 2009 07:50:20 -0800 (PST) In-Reply-To: <87iqcs3xsu.fsf@mundaneum.com> (=?utf-8?Q?=22S=C3=A9bastien?= Vauban"'s message of "Mon, 30 Nov 2009 15:13:53 +0100") 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: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org Hi S=C3=A9bastien, S=C3=A9bastien Vauban writes: [...] > when exporting to LaTeX. > > Note the \items in the code... > I think you may need to update your version of Org-mode (and make sure that you are loading Org from your git directory and not from the base of your instillation see [1]). The above snippet exports correctly to the following for me. --8<---------------cut here---------------start------------->8--- \subsection*{ECM} \label{sec-1.1} \begin{itemize} \item faire un script Bash (et \texttt{isql}) envoyant un \emph{listing} de= stagiaires; \end{itemize} \lstset{language=3DSQL} \begin{lstlisting} DECLARE @dateFmtStyleIn int; SET @dateFmtStyleIn =3D 120 -- ODBC canonical DECLARE @dateFmtStyleOut int; SET @dateFmtStyleOut =3D 103 -- French dd/mm/= yyyy DECLARE @firstDayOfThisMonth smalldatetime SET @firstDayOfThisMonth =3D CONVERT(smalldatetime, CAST(YEAR(GETDATE()) AS char(4)) + '-' + CAST(MONTH(GETDATE()) AS char(2)) + '-' + '01' + ' 00:00:00', @dateFmtStyleIn) DECLARE @now smalldatetime SET @now =3D CONVERT(smalldatetime, CAST(YEAR(GETDATE()) AS char(4)) + '-' + CAST(MONTH(GETDATE()) AS char(2)) + '-' + CAST(DAY(GETDATE()) AS char(2)) + ' ' + CAST(DATEPART(hh, GETDATE()) AS char(2)) + ':' + CAST(DATEPART(mi, GETDATE()) AS char(2)) + ':' + '00', @dateFmtStyleIn) SELECT pfiID FROM dossier \end{lstlisting} --8<---------------cut here---------------end--------------->8--- Best -- Eric > > Best regards, > Seb Footnotes:=20 [1] http://article.gmane.org/gmane.emacs.orgmode/19662/