* org-mode HTML+mathjax export problem
@ 2010-12-24 1:16 Stefano Sabatini
2010-12-24 1:43 ` suvayu ali
0 siblings, 1 reply; 4+ messages in thread
From: Stefano Sabatini @ 2010-12-24 1:16 UTC (permalink / raw)
To: help-gnu-emacs Mailing List
Hi all,
I recently started to use org-mode and loving it, basically I adopted
it as my internal documentation format.
Now I tried to convert to HTML, and I wanted to use mathjax JS
rendering.
emacs-bzr documentation mention mathjax but as I can see it is only
supported in a recent version of org-mode+git.
So I downloaded latest org-mode+git and installed on
~/share/emacs/site-list/org-mode.
Now I have this line on my init.el:
(load-file "~/share/emacs/site-lisp/org-mode/org-install.el")
and I added this line on the first line of the file to process:
#+MATHJAX: align:"left" mathml:t path:"/MathJax/MathJax.js"
nonetheless the generated HTML contains no JS at all and no link the
the MathJax.js file.
I suppose this is a problem of conflict with the pre-installed
org-mode version, do you have hints for debugging such issues?
Also is there some command (e.g. org-mode-version) which I can use to
check the currently loaded version?
Thanks in advance.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-mode HTML+mathjax export problem
2010-12-24 1:16 org-mode HTML+mathjax export problem Stefano Sabatini
@ 2010-12-24 1:43 ` suvayu ali
2010-12-24 2:04 ` stefasab
0 siblings, 1 reply; 4+ messages in thread
From: suvayu ali @ 2010-12-24 1:43 UTC (permalink / raw)
To: help-gnu-emacs Mailing List
On Thu, Dec 23, 2010 at 5:16 PM, Stefano Sabatini <stefasab@gmail.com> wrote:
>
> So I downloaded latest org-mode+git and installed on
> ~/share/emacs/site-list/org-mode.
>
> Now I have this line on my init.el:
> (load-file "~/share/emacs/site-lisp/org-mode/org-install.el")
Your install procedure seems rather odd to me. Did you follow
these[fn:1] instructions? Also it is usually preferred _not_ to install
in any special path, instead use org from the org-mode git repository
itself.
To stay updated you can follow the instructions here[fn:2]. Everything
else should work just out of the box.
As an alternative you can also try installing from ELPA[fn:3], but I
haven't tried that.
GL
Footnotes:
[fn:1] <http://orgmode.org/manual/Installation.html#Installation>
[fn:2] <http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development>
[fn:3] <http://orgmode.org/worg/org-faq.php#installing-via-elpa>
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-mode HTML+mathjax export problem
2010-12-24 1:43 ` suvayu ali
@ 2010-12-24 2:04 ` stefasab
2010-12-24 7:18 ` suvayu ali
0 siblings, 1 reply; 4+ messages in thread
From: stefasab @ 2010-12-24 2:04 UTC (permalink / raw)
To: help-gnu-emacs Mailing List
In data Thursday 2010-12-23 17:43:19 -0800, suvayu ali ha scritto:
> On Thu, Dec 23, 2010 at 5:16 PM, Stefano Sabatini <stefasab@gmail.com> wrote:
> >
> > So I downloaded latest org-mode+git and installed on
> > ~/share/emacs/site-list/org-mode.
> >
> > Now I have this line on my init.el:
> > (load-file "~/share/emacs/site-lisp/org-mode/org-install.el")
>
> Your install procedure seems rather odd to me. Did you follow
> these[fn:1] instructions? Also it is usually preferred _not_ to install
> in any special path, instead use org from the org-mode git repository
> itself.
>
> To stay updated you can follow the instructions here[fn:2]. Everything
> else should work just out of the box.
I want to avoid to break my working environment whenever I update (I
prefer to keep in separate dir every install, test and switch to a new
setup or roll back).
> As an alternative you can also try installing from ELPA[fn:3], but I
> haven't tried that.
I also tried that, which maybe added to the mess (and org-mode from
elpa is outdated anyway).
Anyway I checked again the instructions and still can't get it to
work, also I noticed that when I check for the org functions with
describe-function I get for example:
|org-version is an interactive compiled Lisp function.
|
|(org-version &optional HERE)
|
|Show the org-mode version in the echo area.
|With prefix arg HERE, insert it at point.
that is I don't have a link to the source code, why?
BTW: (org-mode) -> Org-mode version TAG=7.01g
org-mode is latest git of today.
--
Flying is the second greatest feeling you can have. The greatest feeling?
Landing... Landing is the greatest feeling you can have.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-mode HTML+mathjax export problem
2010-12-24 2:04 ` stefasab
@ 2010-12-24 7:18 ` suvayu ali
0 siblings, 0 replies; 4+ messages in thread
From: suvayu ali @ 2010-12-24 7:18 UTC (permalink / raw)
To: help-gnu-emacs Mailing List
On Thu, Dec 23, 2010 at 6:04 PM, stefasab <stefasab@gmail.com> wrote:
> In data Thursday 2010-12-23 17:43:19 -0800, suvayu ali ha scritto:
>> On Thu, Dec 23, 2010 at 5:16 PM, Stefano Sabatini <stefasab@gmail.com> wrote:
>> >
>> > So I downloaded latest org-mode+git and installed on
>> > ~/share/emacs/site-list/org-mode.
>> >
>> > Now I have this line on my init.el:
>> > (load-file "~/share/emacs/site-lisp/org-mode/org-install.el")
>>
>> Your install procedure seems rather odd to me. Did you follow
>> these[fn:1] instructions? Also it is usually preferred _not_ to install
>> in any special path, instead use org from the org-mode git repository
>> itself.
>>
>> To stay updated you can follow the instructions here[fn:2]. Everything
>> else should work just out of the box.
>
> I want to avoid to break my working environment whenever I update (I
> prefer to keep in separate dir every install, test and switch to a new
> setup or roll back).
>
Isn't that what git is for? Whenever you run into a problem with the
HEAD, you can do `git reset --hard <commit_that_works>' and you should
be back to a working org-mode install.
>> As an alternative you can also try installing from ELPA[fn:3], but I
>> haven't tried that.
>
> I also tried that, which maybe added to the mess (and org-mode from
> elpa is outdated anyway).
>
> Anyway I checked again the instructions and still can't get it to
> work, also I noticed that when I check for the org functions with
> describe-function I get for example:
>
> |org-version is an interactive compiled Lisp function.
> |
> |(org-version &optional HERE)
> |
> |Show the org-mode version in the echo area.
> |With prefix arg HERE, insert it at point.
>
> that is I don't have a link to the source code, why?
>
Maybe you didn't install the elisp files?
> BTW: (org-mode) -> Org-mode version TAG=7.01g
> org-mode is latest git of today.
Something is definitely wrong, "Org-mode version 7.4
(release_7.4.84.gf7bca.dirty)" this is my output of `org-version'.
This is how I do it,
git pull && make cleanall && make all && make install-info
(add-to-list 'load-path (expand-file-name "~/build/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name "~/build/org-mode/contrib"))
(require 'org-install)
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-24 7:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-24 1:16 org-mode HTML+mathjax export problem Stefano Sabatini
2010-12-24 1:43 ` suvayu ali
2010-12-24 2:04 ` stefasab
2010-12-24 7:18 ` suvayu ali
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).