emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Vladimir Lomov <lomov.vl@gmail.com>
Cc: General discussions about Org-mode <emacs-orgmode@gnu.org>
Subject: Re: [BUG] [HTML] Export to html calls publish function
Date: Sat, 23 Feb 2013 16:29:16 +0100	[thread overview]
Message-ID: <87bobbhwvn.fsf@gmail.com> (raw)
In-Reply-To: <20130223144500.GC754@smoon> (Vladimir Lomov's message of "Sat, 23 Feb 2013 23:45:01 +0900")

Hello,

Vladimir Lomov <lomov.vl@gmail.com> writes:

> Hello, I faced a problem and I think this is a bug in new exporter, html,
> introduced in commit
> 93a70ac59805bb270d15e951a14be63b9eb1d553
>   ox-publish: Implement tools to resolve external fuzzy links                      
>
> Small test files
>
> #+BEGIN_SRC org :tangle test1.org
> ,#+TITLE: This is test1 file
> ,#+AUTHOR: Vladimir Lomov
>
> ,* Purpose of this document
>
> The purpose of this document is to show or not to show a problem with
> exporting Org document into html.
> #+END_SRC
> #+BEGIN_SRC org :tangle test2.org
> ,#+TITLE: Test document number 2
> ,#+AUTHOR: Vladimir Lomov
>
> ,* What I expect from this document
>
> I expect that when exported to html this file will have correct URL,
> http://www.orgmode.org, as well as link to external document, like
> [[file:test1.org::*Purpose%20of%20this%20document][Purpose of this document]].
> #+END_SRC
> #+BEGIN_SRC emacs-lisp :tangle debug.el
> (setq load-path (cons "/usr/share/emacs/site-lisp/org" load-path))
> (setq debug-on-error t)
> (require 'org)
> (require 'ox-html)
> #+END_SRC

It should be fixed. Note that export will not be able to resolve the
search options part when you're not publishing or files do not belong to
the same project. Prefer id property in this case.

Thank you for reporting the problem.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2013-02-23 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-23 14:45 [BUG] [HTML] Export to html calls publish function Vladimir Lomov
2013-02-23 15:29 ` Nicolas Goaziou [this message]

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=87bobbhwvn.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lomov.vl@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).