all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* noweb strip-export
@ 2019-06-26 19:06 Thomas S. Dye
  0 siblings, 0 replies; only message in thread
From: Thomas S. Dye @ 2019-06-26 19:06 UTC (permalink / raw)
  To: emacs-org list

Aloha all,

The noweb strip-export setting leaves empty lines in the export.

I have this ecm:

  #+name: foo
  #+begin_src elisp
  (+ 1 1)
  #+end_src

  #+name: bar
  #+header: :noweb strip-export
  #+begin_src elisp
  <<foo>>
  (+ 2 2)
  #+end_src

LaTeX export renders this:

  \begin{minted}[fontsize=\footnotesize]{elisp}
  (+ 1 1)
  \end{minted}

  \begin{minted}[fontsize=\footnotesize]{elisp}

  (+ 2 2)
  \end{minted}

Note the blank line before (+ 2 2).

I'd like this LaTeX output:

  \begin{minted}[fontsize=\footnotesize]{elisp}
  (+ 1 1)
  \end{minted}

  \begin{minted}[fontsize=\footnotesize]{elisp}
  (+ 2 2)
  \end{minted}

Is it possible?

All the best,
Tom

--
Thomas S. Dye
http://tsdye.online/tsdye

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-26 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-26 19:06 noweb strip-export Thomas S. Dye

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.