emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Masterson <dsmasterson@outlook.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Org-Publish of a PDF ??
Date: Wed, 12 Dec 2018 01:22:05 +0000	[thread overview]
Message-ID: <SN1PR0701MB1853889E44D9BED8F0C77FAFA5A70@SN1PR0701MB1853.namprd07.prod.outlook.com> (raw)

Have a question about org-publish-project.  I have a bunch of org files
that work fine and I've been able to publish my project to PDF fine, but
I'd like to refine the setting, but I can't find the documentation for
what I want.  Basically, I have the following:

(setq org-publish-project-alist
  '(("pdfDrop"
     :base-directory "~/directory1/"
     :base-extension "org"
     :publishing-directory "~/directory2/"
     :publishing-function org-latext-publish-to-pdf)))

When I publish my project, I find that my org files are first generated
into tex and pdf files in directory1 and then the tex/pdf files are
copied to directory2.  What I would like is for the tex/pdf files to be
directly generated in directory2 with no "extras" in directory1.

My reason is that I sync my directory1 to other (backup) locations and I
would rather not pick up the extras or have to modify the sync to know
and ignore what is extra which could change from time to time.

Why isn't this documented better in the Org documentation?
--
David

             reply	other threads:[~2018-12-12  1:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-12  1:22 David Masterson [this message]
2018-12-12 18:51 ` Org-Publish of a PDF ?? Richard Lawrence
2018-12-13  0:08   ` David Masterson

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=SN1PR0701MB1853889E44D9BED8F0C77FAFA5A70@SN1PR0701MB1853.namprd07.prod.outlook.com \
    --to=dsmasterson@outlook.com \
    --cc=emacs-orgmode@gnu.org \
    /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).