From: Carsten Dominik <carsten.dominik@gmail.com>
To: Richard KLINDA <rklinda@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: publish regression: body-only (with patch)
Date: Sun, 24 May 2009 23:59:56 +0200 [thread overview]
Message-ID: <E9AC8A1A-2E23-4695-BD57-ADD9477E2795@gmail.com> (raw)
In-Reply-To: <8763fq1m45.fsf@gmail.com>
Hi Richard,
this feature has never existed as something usable from publishing.
Can you provide a realistic case when something like this
would be useful?
- Carsten
On May 24, 2009, at 6:50 PM, Richard KLINDA wrote:
> Hello, somehow the publish with body-only feature disappeared, or I
> just
> can't find a way to use it.
>
> Here is my usecase:
>
> ,----
> | (setq org-publish-project-alist
> | (list
> | '("foo" . (:base-directory "..."
> | :base-extension any
> | :publishing-directory "/tmp/"
> | :with-section-numbers nil
> | :body-only t <<<<<
> | :table-of-contents nil
> | ))))
> `----
>
> Only the bodies of the HTML files should be written to disk. Carsten,
> please consider adding this, thank you, Richard.
>
> diff --git a/lisp/org-html.el b/lisp/org-html.el
> index 16cf937..9224d6f 100644
> --- a/lisp/org-html.el
> +++ b/lisp/org-html.el
> @@ -498,7 +498,8 @@ PUB-DIR is set, use this as the publishing
> directory."
> (org-combine-plists (org-default-export-plist)
> ext-plist
> (org-infile-export-plist))))
> + (body-only (or body-only (plist-get opt-plist :body-only)))
> (style (concat (if (plist-get opt-plist :style-include-default)
> org-export-html-style-default)
> (plist-get opt-plist :style)
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2009-05-24 22:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-24 16:50 publish regression: body-only (with patch) Richard KLINDA
2009-05-24 21:59 ` Carsten Dominik [this message]
2009-05-24 22:12 ` Richard KLINDA
2009-05-24 23:05 ` Eric Schulte
2009-05-25 14:02 ` Carsten Dominik
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=E9AC8A1A-2E23-4695-BD57-ADD9477E2795@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=rklinda@gmail.com \
/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).