emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] [HTML] Export to html calls publish function


From: Nicolas Goaziou
Subject: Re: [O] [BUG] [HTML] Export to html calls publish function
Date: Sat, 23 Feb 2013 16:29:16 +0100

Hello,

Vladimir Lomov <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]