From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: exporting # to latex? Date: Tue, 13 Dec 2016 09:33:42 +0000 Message-ID: <87inqofa15.fsf@skimble.plus.com> References: <871sxdsewj.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGjTO-0000po-GI for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 04:34:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGjTJ-0005KL-Jn for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 04:34:10 -0500 Received: from avasout04.plus.net ([212.159.14.19]:56908) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGjTE-0005FD-Cx for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 04:34:05 -0500 In-Reply-To: (Charles C. Berry's message of "Mon, 12 Dec 2016 08:35:55 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Charles C. Berry" Cc: org-mode-email --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable "Charles C. Berry" writes: > On Mon, 12 Dec 2016, Sharon Kimble wrote: > >> >> I'm trying to write an org-mode file that is being exported to latex, >> and then built into a pdf file, of the MPD online manual. >> >> I'm now trying to show the 'mpf.conf' file which is mostly with >> commented out lines starting with a hash (#). But that breaks the >> org-mode export, so how can I have it displayed and exported to latex >> please? >> > [deleted] > >> >> So what I'm trying to get is a latex file which includes the .conf file >> and all of its # in the right place and show as # on their own. But how >> can I do it please? >> > > > One of these? > Thanks for this Charles. > --8<---------------cut here---------------start------------->8--- > > #+BEGIN_EXAMPLE > ## abc > ## def > #+END_EXAMPLE > > #+BEGIN_EXPORT latex > ## abc > ## def > #+END_EXPORT > > --8<---------------cut here---------------end--------------->8--- > And #+BEGIN_EXAMPLE & #+END_EXAMPLE works in this context, thanks for this. Thanks Sharon. > > Upon export to latex they yield: > > --8<---------------cut here---------------start------------->8--- > > \begin{verbatim} > ## abc > ## def > \end{verbatim} > > ## abc > ## def > > --8<---------------cut here---------------end--------------->8--- > > > HTH, > > Chuck > =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.5.1.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJYT8B3AAoJEDaBgBkK+INbDnEP/AgfSbKB7Q2crCqzYG6SdJNt JX2D5KFqdln3m13ndUysk4ewfhA2O2enpVJyGpA/bjrewg+Ix5yT2xLEkYxYtPeq zg1EC3Dz0/CRIgqMbakHwjWAwK9rBw6pMN1W1u3FAj/U1FkJXLkcI+OV9TIY2QuI ANpLI9Gcg4A7NLprPqM/T7an0uhxWW7qO2AK9DGSpGcDGXd05NzIvA+MEWI840Ta xVFXIJ3By7Qqcmgal3+jC1uD0BJQzX7S4z8nXeymozHB/3yYcS2DcBAKwfXLcpTx kfsgDgzq+FUdtDxNbYfU4+vfacUpkpQp7ulBHC6kK0hfWvCVVfsjgAbESxEmGoca fs/Ynyn7FJanBOA+Db5le/puqQQTP2jKQ8FPEnZqoi231vD+jzwCWose4kMquRY2 p5MFYUbT6FfvNYQxN2TySKkvjKCrhbaUo5aVsz0HuUZFNXH+NhBotCmYiGx9Rsgo +HpfTYX/MQI3xeG9Np+xDJ/eUPTZ92O/I2jdffU50xc6/ekLEy9uIcBl3vJ7qA0e SjPBADRaFYhUt2sLjRmneUbeX33QykkAQBsxOnzvojzKmSyL6Bd4gObVyhuCEl4z cFC7Qt03oSAkcy4S9SU2/CuGvmmsUViH+MJvJYWAI7a8WrJmmTUzjuTpX30s/nzj 09F6Q1YvKQPybHVfkYIg =0TmW -----END PGP SIGNATURE----- --=-=-=--