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? --8<---------------cut here---------------start------------->8--- #+BEGIN_EXAMPLE ## abc ## def #+END_EXAMPLE #+BEGIN_EXPORT latex ## abc ## def #+END_EXPORT --8<---------------cut here---------------end--------------->8--- 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