From: Ihor Radchenko <yantar92@posteo.net>
To: reza <reza@housseini.me>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Use custom preamble from tex file for latex export
Date: Fri, 17 Feb 2023 13:26:22 +0000 [thread overview]
Message-ID: <875yc0beyp.fsf@localhost> (raw)
In-Reply-To: <010201865f84b268-161de454-b780-4c1b-9ef1-035647e5d269-000000@eu-west-1.amazonses.com>
reza <reza@housseini.me> writes:
>> Two possibilities:
>>
>> 1. Put file-local variable
>> 2. Create an "Empty" class with empty documentclass statement
>> and then #+LATEX_CLASS: Empty #+LATEX_HEADER: \input{...}
>>
>
> Sorry for my noobish questions:
>
> 1. How do I put file-local variables in my org file?
M-x add-file-local-variable
or
M-x add-file-local-varable-prop-line
The latter will put things at the bottom. The format - at the top of the
file.
You can also use #+BIND: keyword if you have
`org-export-allow-bind-keywords' set to t.
> 2. Is it possible to do this inside my org file?
For self-contained file, you must set file-local variable anyway.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2023-02-17 13:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1535a463-91fd-d085-06ee-ebd816c57ec8@housseini.me>
2023-02-17 8:55 ` Use custom preamble from tex file for latex export reza
2023-02-17 10:08 ` Fraga, Eric
2023-02-17 10:28 ` Fraga, Eric
2023-02-17 10:30 ` Fraga, Eric
[not found] ` <ea7618de-c02e-ee1a-8f32-083046ac09bb@housseini.me>
2023-02-17 12:38 ` reza
2023-02-17 12:49 ` Fraga, Eric
[not found] ` <b6dad7bb-9ba2-39e9-5ad5-bbfd5c7a9d74@housseini.me>
2023-02-17 13:08 ` reza
2023-02-17 13:14 ` Ihor Radchenko
[not found] ` <4f7041fc-4d26-0308-041b-e34365613074@housseini.me>
2023-02-17 13:16 ` reza
2023-02-17 13:26 ` Ihor Radchenko [this message]
2023-02-17 13:15 ` Fraga, Eric
[not found] ` <2660604c-3d61-890b-1088-6b56d773f674@housseini.me>
2023-02-21 8:40 ` reza
2023-02-21 10:08 ` Fraga, Eric
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=875yc0beyp.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=reza@housseini.me \
/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).