Omid omidl...@gmail.com writes:
Hello Nick,
Thanks for your reply. But no, src html results in the included HTML
being processed by Org and wrapped in pre class=src src-html, just
like if the contents of myfile.html were put in
#+BEGIN_SRC html
#+END_SRC
Yes, I misunderstood the doc.
--
Hello,
Bastien b...@altern.org writes:
Nicolas Goaziou n.goaz...@gmail.com writes:
Here it is. It could be prettier but I think it should get the job
done.
Wow, thanks! I didn't expect this to be that long...
I tested it with various input files and it works fine.
It could probably be
I've been learning to export from org to latex (to pdf), and have had
great success. There's a simplification to the process I'd like to make,
though, if it's possible.
Right now I use files: file.org and filestyle.sty. The .sty gives
the latex-specific instruction, and I point to it from
Hello Steven,
LaTeX .sty files are special. They are not meant to be included in a
.tex file. See
https://tex.stackexchange.com/questions/91167/why-use-sty-files for
more information.
Omid
Sent from my Emacs
On 06/01/2014 02:57 AM, Steven Arntson wrote:
I've been learning to export from org
Omid writes:
I am trying to include an HTML file (say myfile.html, which has only
the body) in an Org file so that upon export the contents of
myfile.html are /literally/ inserted in the appropriate section of the
exported HTML file.
That's not yet possible. The following patch would
Hello,
Achim Gratz strom...@nexgo.de writes:
That's not yet possible. The following patch would implement it, but I
guess there are a few things that need to be discussed before this gets
official, if at all. I haven't given it much testing either.
From
As the subject says, aside from this that particular change should have
been in a separate commit since it's completely unrelated to what the
commit summary says it is doing. This needs a compatibility alias,
function or macro since the behaviour of font-lock-fontify-buffer has
been changed to
Hello,
Bastien b...@gnu.org writes:
For now description lists accept both - and +. I'm all for
allowing only - so that we could use
+ \(+\) :: Int → Int → Int
+ \(-\) :: Int → Int →Int
+ \(\leq\) :: Int → Int → Bool
+ \(=\) :: Int → Int → Bool
in your example.
What do you and others
Achim Gratz strom...@nexgo.de writes:
This needs a compatibility alias,
function or macro since the behaviour of font-lock-fontify-buffer has
been changed to interactive-only.
I expected the compatibility alias to be available from Emacs trunk,
but I should have checked. I don't have time to
Hi Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
Done. Though, I changed `org-footnote-action' instead of
`org-footnote-new', since the latter should, IMO, return an error when
called from a point where no footnote is allowed.
Right, thanks,
--
Bastien
Hi York,
York Zhao gtdplatf...@gmail.com writes:
Thank you very much for implementing this. Really appreciated. So do you think
it is a good idea to add my test (the patch) now for testing this?
Yes.
For your convenience, I've attached again in this message the same patch I had
sent on
Steven Arntson ste...@stevenarntson.com writes:
I've been learning to export from org to latex (to pdf), and have had
great success. There's a simplification to the process I'd like to make,
though, if it's possible.
Right now I use files: file.org and filestyle.sty. The .sty gives
the
Nicolas Goaziou writes:
Thanks for the patch. However, I'd rather not allow arbitrary blocks
around included files, as it can be the source of some headache (e.g.,
a quote block around an Org file containing a headline). Also we don't
really need it since most use-cases are already supported.
I am trying the following:
#+TBLFM: @-I$4..@+I$4 = if($3 == nan, string(), $3 - $2) ; %.1f
and:
#+TBLFM: @-I$4..@+I$4 = if($3 == , string(), $3 - $2) ; %.1f
But in both case the fourth field is filled when the third field is empty.
What am I doing wrong?
I am using version 8.2.1.
--
2014-06-01 11:50 GMT+02:00 Cecil Westerhof cldwester...@gmail.com:
I am trying the following:
#+TBLFM: @-I$4..@+I$4 = if($3 == nan, string(), $3 - $2) ; %.1f
and:
#+TBLFM: @-I$4..@+I$4 = if($3 == , string(), $3 - $2) ; %.1f
But in both case the fourth field is filled when the third
Achim Gratz strom...@nexgo.de writes:
Nicolas Goaziou writes:
Actually, I think there are two possible ways to handle this:
1. Add a new export (or something else) parameter which will wrap
file contents within an export block relative to the current
back-end. Unfortunately,
Thank you for the patch, Achim.
On 06/01/2014 05:26 AM, Achim Gratz wrote:
Nicolas Goaziou writes:
Thanks for the patch. However, I'd rather not allow arbitrary blocks
around included files, as it can be the source of some headache (e.g.,
a quote block around an Org file containing a
Nicolas Goaziou writes:
I didn't like the wrap parameter because it mixes parsed blocks (e.g.,
wrap quote) and raw blocks (e.g., wrap html). It is important to know if
the parser should parse the contents of the file or not. Therefore, the
new syntax, if any, should make it clear. In the
Al == Alexis wrote:
Al Sergio Pokrovskij writes:
The next problem is that MobileOrg should respect the preliminary
hiding done before the visit to the shop. I do not request that it
hide the checked (= bought) items as well (actually I'd prefer it to
leave them checked and
Hi Cecil
On Sun, Jun 1, 2014 at 12:00 PM, Cecil Westerhof cldwester...@gmail.com wrote:
2014-06-01 11:50 GMT+02:00 Cecil Westerhof cldwester...@gmail.com:
I am trying the following:
#+TBLFM: @-I$4..@+I$4 = if($3 == nan, string(), $3 - $2) ; %.1f
and:
#+TBLFM: @-I$4..@+I$4 = if($3 ==
Sergio Pokrovskij writes:
Yes (actually I have about 80 items in my Springpad list; if the full
list consists of mere 10 items, it fits the screen of my smartphone,
and there is no real need to hide the checked items).
*nod* Fair enough; i was just making up some numbers in order to be
Hello,
Omid omidl...@gmail.com writes:
I think #+INCLUDE: should be just that: Include whatever the user is
asking to. No header arguments dumps the file in Org (as it does now),
subject to the usual processing, and a header argument like html wraps
it in the appropriate delimiter, subject
Achim Gratz strom...@nexgo.de writes:
Nicolas Goaziou writes:
I didn't like the wrap parameter because it mixes parsed blocks (e.g.,
wrap quote) and raw blocks (e.g., wrap html). It is important to know if
the parser should parse the contents of the file or not. Therefore, the
new syntax, if
2014-06-01 12:58 GMT+02:00 Michael Brand michael.ch.br...@gmail.com:
On Sun, Jun 1, 2014 at 12:00 PM, Cecil Westerhof cldwester...@gmail.com
wrote:
2014-06-01 11:50 GMT+02:00 Cecil Westerhof cldwester...@gmail.com:
I am trying the following:
#+TBLFM: @-I$4..@+I$4 = if($3 == nan,
I like to calculate in a table the difference between the value in a field
in the current row and the previous field. How would I do that?
Something like:
|---+|
| value | difference |
|---+|
|12 ||
|15 | 3 |
|83 | 68 |
|
Hi Cecil
On Sun, Jun 1, 2014 at 1:38 PM, Cecil Westerhof cldwester...@gmail.com wrote:
I like to calculate in a table the difference between the value in a field
in the current row and the previous field. How would I do that?
Something like:
|---+|
| value | difference |
2014-06-01 13:57 GMT+02:00 Michael Brand michael.ch.br...@gmail.com:
On Sun, Jun 1, 2014 at 1:38 PM, Cecil Westerhof cldwester...@gmail.com
wrote:
I like to calculate in a table the difference between the value in a
field
in the current row and the previous field. How would I do that?
Hi Bastien,
* Bastien b...@gnu.org [30. May. 2014]:
[...]
For now description lists accept both - and +. I'm all for
allowing only - so that we could use
[...]
in your example.
What do you and others think?
I'd like to be able to use a mix of - or + in list items as to
indicate positive
Nicolas Goaziou writes:
As explained in this thread, it is not necessary to support:
#+INCLUDE: file.ext wrap center
I'm still not getting your argument or I misunderstand what you're
trying to say. Using wrap should produce an export block and nothing
else. So as long as there can be no
Hi Cecil
On Sun, Jun 1, 2014 at 2:24 PM, Cecil Westerhof cldwester...@gmail.com wrote:
But what if I would want to know the
difference between the previous filled one, divided by the distance?
For example:
|---+|
| value | difference |
|---+|
|12 |
Hello,
Gregor Zattler telegr...@gmx.net writes:
I'd like to be able to use a mix of - or + in list items as to
indicate positive respective negative aspects of something:
* should org-mode support a mix of + and - as the first char in plain
lists?
+ would be a great to indicate
Achim Gratz strom...@nexgo.de writes:
I'm still not getting your argument or I misunderstand what you're
trying to say. Using wrap should produce an export block and nothing
else. So as long as there can be no export block named center, the
INCLUDE above would simply raise a user-error
I saw my version was outdated (8.2.1), so I upgraded to 8.2.6. Seems to
have gone OK, but when running:
make test
I get:
install -m 755 -d /tmp/tmp-orgtest
TMPDIR=/tmp/tmp-orgtest emacs -batch -Q --eval '(setq vc-handled-backends
nil)' --eval '(add-to-list '''load-path ./lisp)' --eval
2014-06-01 15:18 GMT+02:00 Michael Brand michael.ch.br...@gmail.com:
Hi Cecil
On Sun, Jun 1, 2014 at 2:24 PM, Cecil Westerhof cldwester...@gmail.com
wrote:
But what if I would want to know the
difference between the previous filled one, divided by the distance?
For example:
Nicolas Goaziou writes:
However, note that wrap is confusing because it sounds like Babel's
keyword and yet does something different.
I'm not wedded to the name, maybe export has a nicer ring to it (but
that#s also been used differently in Babel, just like almost anything
else you#d be able to
On Wed, May 14, 2014 at 11:31 PM, Arun Persaud apers...@lbl.gov wrote:
had another look and org-export-filter-final-output-functions is the
wrong function to use. ...
So, I ended up solving my problem, via an alternative route. The code is
here:
Bastien writes:
I expected the compatibility alias to be available from Emacs trunk,
but I should have checked. I don't have time to fix time right now,
so if you can add it to org-compat.el, please go ahead. Otherwise I
will look at this later on.
Done in e6883dd03d.
Regards
Achim.
--
Le 01/06/2014 13:38, Cecil Westerhof a écrit :
I like to calculate in a table the difference between the value in a
field in the current row and the previous field. How would I do that?
Something like:
|---+|
| value | difference |
|---+|
|12 |
Achim Gratz strom...@nexgo.de writes:
Done in e6883dd03d.
Thanks!
--
Bastien
Hi Cecil,
Cecil Westerhof cldwester...@gmail.com writes:
I saw my version was outdated (8.2.1), so I upgraded to 8.2.6. Seems
to have gone OK, but when running:
make test
I get:
install -m 755 -d /tmp/tmp-orgtest
TMPDIR=/tmp/tmp-orgtest emacs -batch -Q --eval '(setq
Dear Jorge,
jorge.a.alf...@gmail.com (Jorge A. Alfaro-Murillo) writes:
This is my first time submitting a patch, so I do not know if
this is the way I am supposed to do it.
Yes, the commit message looks good.
Can you resent the patch as an attachment?
Simply create a dedicated branch from
Maybe you can include the sty file as a code block that will be tangled
before export. You should put that block in a section tagged no-export.
Depending on your setup, you may need to make a code block to build your
latex file and/or pdf to make sure the tangling happens.
at the top keep this
York Zhao writes:
Thank you very much for implementing this. Really appreciated. So do you think
it is a good idea to add my test (the patch) now for testing this?
Shouldn't the test check that the desired target is actually reached?
Regards,
Achim.
--
+[Q+ Matrix-12 WAVE#46+305 Neuron
Aloha Christophe,
Chapter 8, Reproducible Research for Large-Scale Data Analysis, by
Holger Hoefling and Anthony Rossini uses Org mode for literate
programming and for reproducible research. The article focuses on the
challenges faced by a large-scale data analysis, where the full R code
base
Cecil Westerhof writes:
find: `testing': No such file or directory
That tells you that the testing directory doesn't exist. Since you seem
to be trying the install from a distribution tarball, this is correct:
there simply is no testing directory
Achim Gratz strom...@nexgo.de writes:
York Zhao writes:
Thank you very much for implementing this. Really appreciated. So do you
think
it is a good idea to add my test (the patch) now for testing this?
Shouldn't the test check that the desired target is actually
reached?
That would be
Achim Gratz strom...@nexgo.de writes:
Cecil Westerhof writes:
find: `testing': No such file or directory
That tells you that the testing directory doesn't exist. Since you seem
to be trying the install from a distribution tarball, this is
Hi Bastien, hi all
Here is a Babel enhancement for C, C++ and D languages
- support for non-homogeneous tables (mixing numerics and strings)
- support for table headers
- easier iterating over a table
- added some error handling
- new D support for simple lists and vectors
- new unit tests
Hi,
I am using Emacs 24.3 with the built-in org mode(7.9.3). The src code
block is not fontified (Emacs is started with -Q option)
#+BEGIN_SRC emacs-lisp
(defun org-xor (a b)
Exclusive or.
(if a (not b) b))
#+END_SRC
This is my first time to use org-mode, so I could miss some
Hi Shiyuan,
Add
(setq org-src-fontify-natively t)
to your .emacs.
Omid
Sent from my Emacs
On 06/01/2014 06:13 PM, Shiyuan wrote:
Hi,
I am using Emacs 24.3 with the built-in org mode(7.9.3). The src
code block is not fontified (Emacs is started with -Q option)
#+BEGIN_SRC
Hi,
I updated Org-mode from ELPA. If I start emacs normally, M-x
org-version does show the new version(8.2.6). But if I start emacs with
-Q, emacs will still run the built-in version(7.9.3). This is not
convenient for debugging purpose. Is there anyway to remove the built-in
version 7.9.3
That solves the problem. Thanks Omid.
Should this be the default setup? It seems more nature to fontify the src
block than not.
Also, when I export the org file to html, the src block is not fontified in
the resulting html webpage. Is there another option to turn this function
on? Thanks.
On
John Kitchin jkitc...@andrew.cmu.edu writes:
Maybe you can include the sty file as a code block that will be
tangled before export. You should put that block in a section tagged
no-export. Depending on your setup, you may need to make a code block
to build your latex file and/or pdf to make
Hello, Org mode hackers,
Here is a recipe for a bug on the maint branch that causes a preset tag
filter to be carried over to another agenda view in some cases.
1. Change the load path setting in `setup.el'.
2. Start Emacs with `emacs -Q -l setup.el'.
3. Open a TODO list with `M-x org-agenda
Attached are the files referred to in the bug report.
Thomas Morgan t...@ziiuu.com writes:
Hello, Org mode hackers,
Here is a recipe for a bug on the maint branch that causes standard
skipping conditions to have no effect.
1. Change the load path setting in `setup.el'.
2. Start Emacs
Hello, Org mode hackers,
Here is a recipe for a bug on the maint branch that causes standard
skipping conditions to have no effect.
1. Change the load path setting in `setup.el'.
2. Start Emacs with `emacs -Q -l setup.el'.
3. Customize the agenda commands with `M-x org-agenda C'.
4. Add a new
I'm just starting out with babel and can't get the example code to run (
http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html#sec-4)
:
#+begin_src gnuplot :exports code :file file.png
reset
set title Putting it All Together
set xlabel X
set xrange [-8:8]
set xtics -8,2,8
set
Hello,
For your second question, please see Easy Templates as one solution:
http://orgmode.org/manual/Easy-Templates.html
Omid
Sent from my Emacs
On 06/01/2014 10:48 PM, Lawrence Bottorff wrote:
I'm just starting out with babel and can't get the example code to run
And searching with the keywords from the error you're getting, your
first problem is solved by installing gnuplot.el (to drive gnuplot
inside Emacs):
https://lists.gnu.org/archive/html/emacs-orgmode/2013-07/msg00563.html
Omid
Sent from my Emacs
On 06/01/2014 10:48 PM, Lawrence Bottorff wrote:
2014-06-01 23:14 GMT+02:00 Bastien b...@gnu.org:
Achim Gratz strom...@nexgo.de writes:
Cecil Westerhof writes:
find: `testing': No such file or directory
That tells you that the testing directory doesn't exist. Since you seem
to be
60 matches
Mail list logo