emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* EXPORT_HTML_HEAD Issue
@ 2017-08-12 22:03 Scott Randby
  2017-08-13 13:19 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Randby @ 2017-08-12 22:03 UTC (permalink / raw)
  To: emacs-orgmode

In the properties of a subtree, I have several :EXPORT_HTML_HEAD: lines. When I export to HTML, only the first of the lines exports to the header. I can get two lines to export to the header by using :EXPORT_HTML_HEAD: followed by a :EXPORT_HTML_HEAD_EXTRA: line, but I need more than two such lines. This behavior does not happen when I have several #+HTML_HEAD: lines the document. What is going on? Using Org 9.0.3.

Scott Randby

-- 
Scott Randby

srandby@gmail.com

http://srandby.org/

PGP key ID: 0xF2D38A63

Key server: http://pool.sks-keyservers.net/

Key fingerprint: 5418 123E DCD3 7DA0 1770  0BDE 301E E657 F2D3 8A63

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

* Re: EXPORT_HTML_HEAD Issue
  2017-08-12 22:03 EXPORT_HTML_HEAD Issue Scott Randby
@ 2017-08-13 13:19 ` Nicolas Goaziou
  2017-08-13 14:04   ` Scott Randby
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2017-08-13 13:19 UTC (permalink / raw)
  To: Scott Randby; +Cc: emacs-orgmode

Hello,

Scott Randby <srandby@gmail.com> writes:

> In the properties of a subtree, I have several :EXPORT_HTML_HEAD:
> lines. When I export to HTML, only the first of the lines exports to
> the header. I can get two lines to export to the header by
> using :EXPORT_HTML_HEAD: followed by a :EXPORT_HTML_HEAD_EXTRA: line,
> but I need more than two such lines. This behavior does not happen
> when I have several #+HTML_HEAD: lines the document. What is going on?

You cannot have multiple identical properties in the same property
drawer.

You could try

 :export_html_head: line 1
 :export_html_head+: line 2
 :export_html_head+: line 3

Regards,

-- 
Nicolas Goaziou

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

* Re: EXPORT_HTML_HEAD Issue
  2017-08-13 13:19 ` Nicolas Goaziou
@ 2017-08-13 14:04   ` Scott Randby
  0 siblings, 0 replies; 3+ messages in thread
From: Scott Randby @ 2017-08-13 14:04 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

On 08/13/2017 09:19 AM, Nicolas Goaziou wrote:
> Hello,
> 
> Scott Randby <srandby@gmail.com> writes:
> 
>> In the properties of a subtree, I have several :EXPORT_HTML_HEAD:
>> lines. When I export to HTML, only the first of the lines exports to
>> the header. I can get two lines to export to the header by
>> using :EXPORT_HTML_HEAD: followed by a :EXPORT_HTML_HEAD_EXTRA: line,
>> but I need more than two such lines. This behavior does not happen
>> when I have several #+HTML_HEAD: lines the document. What is going on?
> 
> You cannot have multiple identical properties in the same property
> drawer.
> 
> You could try
> 
>  :export_html_head: line 1
>  :export_html_head+: line 2
>  :export_html_head+: line 3

This makes sense and works. Thanks. It would probably have helped if I had read the Property syntax section of the manual more closely.

Scott

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

end of thread, other threads:[~2017-08-13 14:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-12 22:03 EXPORT_HTML_HEAD Issue Scott Randby
2017-08-13 13:19 ` Nicolas Goaziou
2017-08-13 14:04   ` Scott Randby

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