emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to avoid settings at the start of the file.
@ 2023-02-19 14:37 Ypo
  2023-02-19 16:34 ` Thomas S. Dye
  2023-02-19 17:57 ` Ihor Radchenko
  0 siblings, 2 replies; 3+ messages in thread
From: Ypo @ 2023-02-19 14:37 UTC (permalink / raw)
  To: Org-mode

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

Hi

Is there a way to not having these kind of settings in the head of 
org-buffers?

#+export_file_name: borrar
#+SETUPFILE: ~\export.setup
#+HTML_HEAD: <link rel="stylesheet" type="text/css" 
href="./export/latex-css/style.css" />


Could it be possible to add them in the .init file? Or to have them 
inside a headline?

The upper part of a buffer is very important to me, and I don't like to 
see those lines there...

Best regards!

[-- Attachment #2: Type: text/html, Size: 1058 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to avoid settings at the start of the file.
  2023-02-19 14:37 How to avoid settings at the start of the file Ypo
@ 2023-02-19 16:34 ` Thomas S. Dye
  2023-02-19 17:57 ` Ihor Radchenko
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas S. Dye @ 2023-02-19 16:34 UTC (permalink / raw)
  To: Ypo; +Cc: emacs-orgmode


Ypo <ypuntot@gmail.com> writes:

> Hi
>
> Is there a way to not having these kind of settings in the head 
> of org-buffers?
>
> #+export_file_name: borrar
> #+SETUPFILE: ~\export.setup
> #+HTML_HEAD: <link rel="stylesheet" type="text/css" 
> href="./export/latex-css/style.css" />
>
> Could it be possible to add them in the .init file? Or to have 
> them inside a headline?
>
> The upper part of a buffer is very important to me, and I don't 
> like to see those lines there...

I put my configuration under a heading at the bottom of the file.

hth,
Tom

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to avoid settings at the start of the file.
  2023-02-19 14:37 How to avoid settings at the start of the file Ypo
  2023-02-19 16:34 ` Thomas S. Dye
@ 2023-02-19 17:57 ` Ihor Radchenko
  1 sibling, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2023-02-19 17:57 UTC (permalink / raw)
  To: Ypo; +Cc: Org-mode

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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-19 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-19 14:37 How to avoid settings at the start of the file Ypo
2023-02-19 16:34 ` Thomas S. Dye
2023-02-19 17:57 ` Ihor Radchenko

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).