From: Fabrice Popineau <fabrice.popineau@supelec.fr>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: BUG report [Was: computing the size of a tikz to png image during export]
Date: Sun, 28 Jan 2018 20:00:02 +0100 [thread overview]
Message-ID: <CAFgFV9O40_Vqi_KDueE8Us_w0TvncXRxW4ZLOyHCeEvN9MJqKQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1537 bytes --]
Well, I think there is a problem with the current master
since commit 38be85124551083d269.
The problem is that the by-backend trick which were tolerated before
does not work anymore.
Tested between Org 9.1.6 as in current emacs-26.0.91 release versus current
Org master.
More over, ignoring the no-eval parameter
in org-babel-parse-header-arguments
restores the previous behavior.
Regards,
Fabrice
2018-01-28 16:37 GMT+01:00 Fabrice Popineau <fabrice.popineau@supelec.fr>:
>
>
> 2018-01-24 8:54 GMT+01:00 Alan Schmitt <alan.schmitt@polytechnique.org>:
>
>> Hello,
>>
>> I use this great trick to have both a pdf and html export of tikz
>> images:
>>
>> #+header: :file (by-backend (latex "tp6-tree.tikz") (t "tp6-tree.png"))
>> #+header: :imagemagick yes :iminoptions -density 600 :imoutoptions
>> -geometry 800
>> #+header: :results file raw
>> #+header: :fit yes
>> #+header: :headers '("\\usepackage{tikz}")
>> #+begin_src latex
>> \begin{tikzpicture}
>> …
>> \end{tikzpicture}
>> #+end_src
>>
>>
> I jump on this example to ask: does this by-backend trick still work with
> Org 9.1.6?
> Because I used it too and for some reason it fails to evaluate the
> by-backend form now.
> What am I overlooking ?
>
> Thanks,
>
> Fabrice
>
>
--
Fabrice Popineau
-----------------------------
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
------------------------------
[-- Attachment #2: Type: text/html, Size: 2678 bytes --]
next reply other threads:[~2018-01-28 19:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-28 19:00 Fabrice Popineau [this message]
2018-01-28 23:24 ` BUG report [Was: computing the size of a tikz to png image during export] Nicolas Goaziou
2018-01-28 23:29 ` Fabrice Popineau
2018-01-29 1:34 ` Berry, Charles
2018-01-29 7:49 ` Fabrice Popineau
2018-01-30 2:26 ` Berry, Charles
2018-01-30 20:59 ` Nicolas Goaziou
2018-01-30 21:31 ` Fabrice Popineau
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=CAFgFV9O40_Vqi_KDueE8Us_w0TvncXRxW4ZLOyHCeEvN9MJqKQ@mail.gmail.com \
--to=fabrice.popineau@supelec.fr \
--cc=alan.schmitt@polytechnique.org \
--cc=emacs-orgmode@gnu.org \
--cc=fabrice.popineau@centralesupelec.fr \
/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).