emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Michael Gauland <mikelygee@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: LaTeX Headers not in partial export
Date: Sat, 24 Oct 2020 22:45:08 -0400	[thread overview]
Message-ID: <87sga32fd7.fsf@kyleam.com> (raw)
In-Reply-To: <4129d970-d653-6821-78c4-8a605b3f55da@gmail.com>

Michael Gauland writes:

> ------start of file------
>
> #+LATEX: \setminted{frame=single,framerule=1pt}
>
>
> * Section
>   #+begin_src sh :exports code
>   echo "This is a code block
>   #+end_src
>
> ------end of file------
>
>
> When I export the file to LaTeX, this line is inclued after
> \begin{document}:
>
> \setminted{frame=single,framerule=1pt}
>
> When I export only the section--either by selecting it explicitly, or by
> adding a "export" tag, that line is missing.

Should that be #+LATEX_HEADER: instead of #+LATEX:?


  reply	other threads:[~2020-10-25  2:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-23  2:22 LaTeX Headers not in partial export Mike Gauland
2020-10-23 15:00 ` Eric S Fraga
2020-10-25  2:38   ` Michael Gauland
2020-10-25  2:45     ` Kyle Meyer [this message]
2020-10-25  3:00       ` Michael Gauland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sga32fd7.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mikelygee@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).