Hi Achim,
Achim Gratz strom...@nexgo.de writes:
(or (cdr (assoc (file-name-extension out-file)
'((pdf . --pdf )
(ps . --ps )
(png . --png
--png )
work just as well?
Yes, I've committed this change, thanks.
--
Bastien
Achim Gratz writes:
Florian Beck writes:
I don't think so. The string evaluates to itself or am I missing
something?
If it would fall under SELFQUOTING then yes (but I really don't
understand what the doc string is trying to tell me there and what would
be used for comparison).
I've looked
Achim Gratz strom...@nexgo.de writes:
Achim Gratz writes:
Florian Beck writes:
I don't think so. The string evaluates to itself or am I missing
something?
If it would fall under SELFQUOTING then yes (but I really don't
understand what the doc string is trying to tell me there and what
Florian Beck writes:
I cannot reproduce this. The code works for me and byte compiling
doesn't generate any warning.
GNU Emacs 24.3.50.7 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.0) of
2013-01-28 on flo-laptop
Fail: 24.2 (unknown upattern),
23.[34] (malformed function),
22.3
Hi Florian,
Florian Beck f...@miszellen.de writes:
I can live with setting `ly-gen-pdf', but maybe something like
(pcase (file-name-extension out-file)
(pdf --pdf )
(ps --ps )
(png --png )
(t --png ))
would be even better?
Indeed. This is now the case,
Bastien writes:
Hi Florian,
Florian Beck f...@miszellen.de writes:
I can live with setting `ly-gen-pdf', but maybe something like
(pcase (file-name-extension out-file)
(pdf --pdf )
(ps --ps )
(png --png )
(t --png ))
would be even better?
Indeed.
Achim Gratz strom...@nexgo.de writes:
This would be a bug, I believe you should use backquotes on the string
constants
I don't think so. The string evaluates to itself or am I missing
something?
The real (but harmless) bug is
(t --png ))
should be (_ --png ))
--
Florian Beck
Florian Beck writes:
I don't think so. The string evaluates to itself or am I missing
something?
If it would fall under SELFQUOTING then yes (but I really don't
understand what the doc string is trying to tell me there and what would
be used for comparison). It seems that a string constant is
Hi Florian,
Florian Beck f...@miszellen.de writes:
If so, I'll fix ly-process-basic so that it depends on
ly-gen-png/pdf/html/svg.
Thanks for confirming,
Thanks for fixing.
Done -- please have a try and let me know.
--
Bastien
Bastien b...@altern.org writes:
Hi Florian,
Florian Beck f...@miszellen.de writes:
If so, I'll fix ly-process-basic so that it depends on
ly-gen-png/pdf/html/svg.
Thanks for confirming,
Thanks for fixing.
Done -- please have a try and let me know.
Minor hitch: the variable is called
Hi Bastien,
Line 155 in ob-lilypond.el use --png.
Is it okay to use --pdf --html and --svg here too?
The only choices are --pdf, --png, and --ps.
See:
http://www.lilypond.org/doc/v2.16/Documentation/usage/command_002dline-usage#invoking-lilypond
If so, I'll fix ly-process-basic so that it
Hi Florian,
Florian Beck f...@miszellen.de writes:
It seems `ly-process-basic' hardcodes a --png option. If I change it
to --pdf everything works fine (though it won't produce pngs any more,
I guess). Of course, it should really be set as appropriate for the
extension.
Line 155 in
Hi,
execute the following code block:
#+begin_src lilypond :exports results :file
93bff287-036e-4129-8f17-fd6374f4ccdc.pdf
\header { tagline = ##f }
\score{
\relative c' {
\key d \minor
d2 a'2 f2 d2 }}
#+END_src
This will create a results block:
#+RESULTS:
13 matches
Mail list logo