emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: lehi@tosk.in
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Org Publish HTML and PDF With GPG Files
Date: Wed, 24 Aug 2022 00:08:12 +0000	[thread overview]
Message-ID: <hriqNi2zD1P96GKl-5_zgdbRxcl_eS4w9zRRWbjEfqNdbNj1P4XVYVuMRj5bTRAO4KIsb-PYifIYTprS_TPVKUJ4rlzVFsD1jObRPh52tJ8=@tosk.in> (raw)

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

Good Afternoon,

I have my org directory filled with encrypted files ending in ".org.gpg". The publish documentation says that org-mode will automatically replace references to ".org" files with ".html", but this is not an automatic action if the files are ".org.gpg". The resulting HTML files must then be edited (in batch with a call to sed) for the page links to work like expected. This happens when exporting to PDF as well. I have been looking over the org-mode documentation and I have found no real answer to this problem other than looking at the publishing source code and modifying it to additionally catch ".org.gpg" files.

Is there some customization setting within Emacs that I could edit that would allow for this to work the way I expect? Or would this require changing the way the publishing works?

v/r,

MR. Lehi Toskin

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

             reply	other threads:[~2022-08-24 12:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-24  0:08 lehi [this message]
2022-08-27  3:15 ` Org Publish HTML and PDF With GPG Files Tim Cross
2022-09-01  7:03   ` Ihor Radchenko
2022-09-04  5:59     ` lehi
2022-09-05  0:15       ` David Masterson
2022-09-05 11:46         ` Ihor Radchenko
2022-09-05 20:29           ` David Masterson
2022-09-06  0:44             ` lehi
2022-09-06  4:08               ` David Masterson
2022-09-06  4:37                 ` tomas
2022-09-10  2:51                   ` David Masterson
2022-09-06 13:47               ` Ihor Radchenko
2022-09-05 11:44       ` [PATCH] " Ihor Radchenko
2022-09-25  8:37         ` Ihor Radchenko

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='hriqNi2zD1P96GKl-5_zgdbRxcl_eS4w9zRRWbjEfqNdbNj1P4XVYVuMRj5bTRAO4KIsb-PYifIYTprS_TPVKUJ4rlzVFsD1jObRPh52tJ8=@tosk.in' \
    --to=lehi@tosk.in \
    --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).