emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vincent Beffara <vbeffara+ml@gmail.com>
To: Bastien <bzg@altern.org>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Problem with org-html-format-latex
Date: Mon, 11 Feb 2013 00:43:32 +0100	[thread overview]
Message-ID: <45435078259D41F3B396529AFA666F26@gmail.com> (raw)
In-Reply-To: <0AB7A4D1F37642B088518798F55A519F@gmail.com>

> > thanks for reporting this and for the patch, I've push 
> > a slightly different fix. Please test and let me know.
> 
> Sounds good to me, thanks!

... well it did sound good to me, but it still fails. Put this in *scratch*,

(org-html-format-latex "x" 'mathjax)

and C-x C-e. Within org-format-latex, file-name-nondirectory is still called on the first argument (prefix) which your patch sets to nil. The error occurs one layer deeper in the tree but still does. My patch kind of fixed that by accident, but it should be safe at least in the case of mathjax which AFAICT will never create files anywhere - so simply testing on the value of processing-type would work better, maybe?

/v
> 
> /v 
> > 
> > Best,
> > 
> > -- 
> > Bastien
> 

  reply	other threads:[~2013-02-10 23:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 15:44 Problem with org-html-format-latex Vincent Beffara
2013-02-07 16:26 ` Vincent Beffara
2013-02-08 18:49   ` Bastien
2013-02-10 23:28     ` Vincent Beffara
2013-02-10 23:43       ` Vincent Beffara [this message]
2013-02-11 15:12         ` Bastien
2013-02-11 21:44           ` Vincent Beffara
2013-02-12  7:39             ` Bastien
2013-02-12 20:26               ` Vincent Beffara

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=45435078259D41F3B396529AFA666F26@gmail.com \
    --to=vbeffara+ml@gmail.com \
    --cc=bzg@altern.org \
    --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).