From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: latex export of source code in lists Date: Thu, 09 Dec 2010 10:38:29 +0100 Message-ID: <4D00A395.5050408@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2102993459==" Return-path: Received: from [140.186.70.92] (port=52180 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQcxj-0002n7-By for emacs-orgmode@gnu.org; Thu, 09 Dec 2010 04:38:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQcxh-000754-SO for emacs-orgmode@gnu.org; Thu, 09 Dec 2010 04:38:55 -0500 Received: from mail2-ext.be-mrz.med.uni-goettingen.de ([134.76.124.179]:27348 helo=mail2-ext.med.uni-goettingen.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQcxh-00074O-BK for emacs-orgmode@gnu.org; Thu, 09 Dec 2010 04:38:53 -0500 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]:43837 helo=[192.168.0.23]) by mail2-ext.med.uni-goettingen.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PQcxb-0007HB-1c for emacs-orgmode@gnu.org; Thu, 09 Dec 2010 10:38:47 +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: emacs-orgmode@gnu.org This is a cryptographically signed message in MIME format. --===============2102993459== Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms080400030901040904040107" This is a cryptographically signed message in MIME format. --------------ms080400030901040904040107 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hi all, (how) can I have source code block in lists not breaking the latex exported list? Example: * Test 1) this is the first item #+srcname: code #+begin_src R :tangle no :export code print("some code") #+end_src which has some code 2) this is the second item This results in \section{Test} \label{sec-1} =20 \begin{enumerate} \item this is the first item \end{enumerate} \lstset{language=3DR} \begin{lstlisting} print("some code") \end{lstlisting} which has some code \begin{enumerate} \item this is the second item \end{enumerate} While I expect this: \section{Test} \label{sec-1} =20 \begin{enumerate} \item this is the first item \lstset{language=3DR} \begin{lstlisting} print("some code") \end{lstlisting} which has some code \item this is the second item \end{enumerate} Thanks, Andreas --------------ms080400030901040904040107 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUqTCC BCEwggMJoAMCAQICAgDHMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQK ExNEZXV0c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVy MSMwIQYDVQQDExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw0wNjEyMTkxMDI5MDBa Fw0xOTA2MzAyMzU5MDBaMFoxCzAJBgNVBAYTAkRFMRMwEQYDVQQKEwpERk4tVmVyZWluMRAw DgYDVQQLEwdERk4tUEtJMSQwIgYDVQQDExtERk4tVmVyZWluIFBDQSBHbG9iYWwgLSBHMDEw ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDpm8NnhfkNrvWNVMOWUDU9YuluTO2U 1wBblSJ01CDrNI/W7MAxBAuZgeKmFNJSoCgjhIt0iQReW+DieMF4yxbLKDU5ey2QRdDtoAB6 fL9KDhsAw4bpXCsxEXsM84IkQ4wcOItqaACa7txPeKvSxhObdq3u3ibo7wGvdA/BCaL2a869 080UME/15eOkyGKbghoDJzANAmVgTe3RCSMqljVYJ9N2xnG2kB3E7f81h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RpbmdlbjEjMCEGA1UEAxMaVW5pdmVyc2l0YWV0LUdv ZXR0aW5nZW4gQ0ExHjAcBgkqhkiG9w0BCQEWD2d3ZGctY2FAZ3dkZy5kZQIEDxt9LDANBgkq hkiG9w0BAQEFAASCAQCqKnVPFdcJA22dWs+93EAwqJYpngpPJfQPrmEUn9lziLVVhs4KfdQL Uub0dNbgtkOLjHanhFtj4mT41gU1e4HxP4nxWZre5UuzBr+TPdQI5vwqBH2N77AFSBQmABzm Zo6GYebdOFujN3l0I48TUoG+3H2xd2B07wpweoTBCR9dKQpSXfFPeUznTgOYYt9mUWLUukJ5 jg0dqiJb7xB9X5T4qwav58h4nE9nDDbwObCBZmee2B589a7XUzIUenVvMT88H+5ivXXn40gH TZcrpiW9KFlINK1g0XLUuENvzWWma5Q4LiKyLQx1J1WiYPHkuvuMoezu3p4+ZxHZcwXt/xDq AAAAAAAA --------------ms080400030901040904040107-- --===============2102993459== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============2102993459==--