[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to avoid settings at the start of the file.
From: |
Ihor Radchenko |
Subject: |
Re: How to avoid settings at the start of the file. |
Date: |
Sun, 19 Feb 2023 17:57:04 +0000 |
Ypo <ypuntot@gmail.com> writes:
> Is there a way to not having these kind of settings in the head of
> org-buffers?
You can use top-level drawer.
> #+export_file_name: borrar
> #+SETUPFILE: ~\export.setup
> #+HTML_HEAD: <link rel="stylesheet" type="text/css"
> href="./export/latex-css/style.css" />
-- begin document --
:PROPERTIES:
:export_file_name: borrar
:export_html_head: <link rel="stylesheet" type="text/css">
href="./export/latex-css/style.css" />
:END:
#+SETUPFILE: ~\export.setup
Not SETUPFILE though.
> Could it be possible to add them in the .init file? Or to have them
> inside a headline?
.init is also possible, but only for html_head -- see org-html-head.
--
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>