emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Questions after Attempt at using org-publish per https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html
@ 2018-10-14  1:55 Jud Taylor
  2018-11-05  0:43 ` Jud Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Jud Taylor @ 2018-10-14  1:55 UTC (permalink / raw)
  To: Emacs-orgmode@gnu.org

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

I have some questions about how to use ox-publish to create static sites.

I have followed steps documented at https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html.

I have documented my steps and copied source and output at https://github.com/gptix/org-site-test

I have tried to search for answers on the emacs-orgmode mailing list, and on the web.

My three current issues:

- I do not understand how css info is being injected into output html files. I did not create any css file to be referenced, but styling is being included as CDATA.

- I do not understand what the
:auto-preamble t
in a component is for.

- I do not understand the relation between
(require 'ox-publish)
at the beginning of the tutorial, and
(require 'org-publish)
in the portion of the tutorial describing how to actually publish.

I'd love any help or a pointer to where I can read about these.

Thanks.

Sent with [ProtonMail](https://protonmail.com) Secure Email.

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

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

* Re: Questions after Attempt at using org-publish per https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html
  2018-10-14  1:55 Questions after Attempt at using org-publish per https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html Jud Taylor
@ 2018-11-05  0:43 ` Jud Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Jud Taylor @ 2018-11-05  0:43 UTC (permalink / raw)
  To: Jud Taylor; +Cc: Emacs-orgmode@gnu.org

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

I researched again and found

- https://orgmode.org/worg/exporters/ox-overview.html
- http://article.gmane.org/gmane.emacs.orgmode/65574
- https://orgmode.org/manual/HTML-export.html#HTML-export
- https://orgmode.org/manual/CSS-support.html#CSS-support

I will try to remove the CDATA in exported HTML files by using

"To just turn off the default style, customize org-html-head-include-default-style variable, or use this option line in the Org file.

#+OPTIONS: html-style:nil"

I added the options to both index.org and remember.org, reloaded the alist, then republished.

It Verked!

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, October 13, 2018 9:55 PM, Jud Taylor <jud.taylor@protonmail.com> wrote:

> I have some questions about how to use ox-publish to create static sites.
>
> I have followed steps documented at https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html.
>
> I have documented my steps and copied source and output at https://github.com/gptix/org-site-test
>
> I have tried to search for answers on the emacs-orgmode mailing list, and on the web.
>
> My three current issues:
>
> - I do not understand how css info is being injected into output html files. I did not create any css file to be referenced, but styling is being included as CDATA.
>
> - I do not understand what the
> :auto-preamble t
> in a component is for.
>
> - I do not understand the relation between
> (require 'ox-publish)
> at the beginning of the tutorial, and
> (require 'org-publish)
> in the portion of the tutorial describing how to actually publish.
>
> I'd love any help or a pointer to where I can read about these.
>
> Thanks.
>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.

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

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

end of thread, other threads:[~2018-11-05  0:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-14  1:55 Questions after Attempt at using org-publish per https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html Jud Taylor
2018-11-05  0:43 ` Jud Taylor

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