From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org-publish-validate-link
Date: Sun, 21 Feb 2010 08:34:16 +0100 [thread overview]
Message-ID: <A7BCDF6D-AE22-4738-8DDC-46971B144901@gmail.com> (raw)
In-Reply-To: <FED9F632-2C8A-42DB-ACBB-8793935548E2@tsdye.com>
Hi THomas,
org-publish-validate-link validate links to files that show up in the
list
`org-publish-files-alist'. THis list contains all file names that are
considered part of a project and should be published. It is updated
each time you issue
a command to publish a project.
Are you sure that you are republishing the document that should
contain the link? If that document has not changed, it will not
republish it, so the ink will also not be fixed.
You can force republishing by calling your publish command with a C-u
prefix. Have you tried that?
- Carsten
On Feb 17, 2010, at 9:50 PM, Thomas S. Dye wrote:
> Aloha all,
>
> org-publish-validate-link rejects a valid link to a file when the
> file is created during an editing session.
>
> With ./test.org and ./support/test.pdf present at the start of a
> session, the first link in test.org (below) is validated. When ./
> support/test-copy.pdf is added during the session, the second link
> is not validated and only the description of the link is output to
> test.html.
>
> ----- test.org
> * A test
> - link to [[file:support/test.pdf][test.pdf]]
> - link to [[file:support/test-copy.pdf][test-copy.pdf]]
> -----
>
> If org-publish-validate-link is not used, then the link is placed
> correctly in the html output.
>
> I have read the org-mode manual, briefly searched the list archive,
> and read the function's documentation string, but didn't find
> anything that might alert me to this behavior.
>
> My expectation was that org-publish-validate-link would understand
> the org-mode publishing process and would validate links in the
> production environment that were correctly established in the
> publication location.
>
> I'm using Org-mode version 6.34trans (release_6.34c.89.g0c39) on
> emacs 23.
>
> All the best,
> Tom
>
>
> Thomas S. Dye, Ph.D.
> T. S. Dye & Colleagues, Archaeologists, Inc.
> Phone: (808) 529-0866 Fax: (808) 529-0884
> http://www.tsdye.com
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
next prev parent reply other threads:[~2010-02-21 7:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-17 20:50 org-publish-validate-link Thomas S. Dye
2010-02-21 7:34 ` Carsten Dominik [this message]
[not found] ` <82370D6D-247B-40F1-979E-21833B38A649@tsdye.com>
2010-02-23 6:38 ` org-publish-validate-link Carsten Dominik
2010-02-23 16:46 ` org-publish-validate-link Thomas S. Dye
2010-02-23 17:30 ` org-publish-validate-link Carsten Dominik
-- strict thread matches above, loose matches on Subject: below --
2008-10-31 4:40 org-publish-validate-link Matthew Lundin
2008-11-02 7:52 ` org-publish-validate-link Carsten Dominik
2008-11-02 13:55 ` org-publish-validate-link Bernt Hansen
2008-11-02 14:49 ` org-publish-validate-link Bernt Hansen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A7BCDF6D-AE22-4738-8DDC-46971B144901@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tsd@tsdye.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.