Better yet:
#+begin_src calc :wrap "src calc :var var-s2=1"
fsolve([8.66e10 = r * v, -7.51e6 = 0.5*v^2 - 6.67e-11*6e24/r],[r,v])
#+end_src
El 2016-06-26 15:53, Miguel Ruiz escribió:
Hi,
I have this block which is intended to get the two numerical solutions
of the equati
=1
and
#+RESULTS:
: [r = 12131615.2598, v = 7138.37342721] ; var-s2=-1
Any improvement will be appreciated.
Miguel.
El 2016-06-26 15:53, Miguel Ruiz escribió:
Hi,
I have this block which is intended to get the two numerical solutions
of the equations system:
#+begin_src calc
fsolve
Hi,
I have this block which is intended to get the two numerical solutions
of the equations system:
#+begin_src calc
fsolve([8.66e10 = r * v, -7.51e6 = 0.5*v^2 - 6.67e-11*6e24/r],[r,v])
#+end_src
This way I get the generic form of a multiple solution, and citing the
manual "It will invent va
This works for me, but if you change tsmuser value in session, you have
to C-c C-c in PROPERTY line, getting "Local setup have been refreshed".
#+PROPERTY: var tsmuser="query"
* foo
:PROPERTIES:
:header-args: :var tsmpass="query"
:END:
#+name: toy
#+begin_src sh :var bloop="foo"
echo sss ${
ÜFigid
Enviado desde Type
En 27/08/2015, 18:14, en 18:14, Eric S Fraga escrito:
>On Thursday, 27 Aug 2015 at 23:33, Eric Abrahamsen wrote:
>> Oh man, I should have known not to second-guess Org.
>
>Gets me all the time! :-)
>--
>: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org
>release_8.3.
;)::"
table
#+end_src
At this point, it's ok for me but I need to put :: at the end to make it
calculates sums because the | remaining.
I'm aware I'm appending TBLFM to the table in a not orthodox way.
Is there a canonical way I could proceed in?
TIA
Miguel Ruiz.
_
If you don't mind to live with part-chapter-section instead
chapter-section-subsection:
---8<-orgmode src>8---
#+LaTeX_CLASS: book
#+LaTeX_HEADER: \let\part\chapter
#+LaTeX_HEADER: \let\chapter\section
#+LaTeX_HEADER: \let\section\subsection
---8<---
The following minimal example (emacs -Q) yields (key, t1c2, t2c2) as column
names after #+call: table-operations-combine-merge[1] with org-master
(release_8.3beta-686-g9528be); org-maint (release_8.2.10-29-g89a0ac) works as
expected yielding (Col1, Col2, Col3).
[1]
http://orgmode.org/w/?p=worg
Sorry: last block, I meant
- Org-master (org-export-preserve-breaks nil) output:
hello
bye
> -Original Message-
> From: rbeni...@inbox.com
> Sent: Thu, 24 Jul 2014 23:53:57 -0800
> To: emacs-orgmode@gnu.org
> Subject: Re: [O] Bug: org-master (release_8.3beta-56-gdb0130) ascii
> exporter
After more detailed review I have figure out that the problem more generic and
the opposite of the exposed in my previous message:
- org-maint ascii exporter takes org-export-preserve-breaks into account
(default is nil; it works as expected, both nil and t)
- org-master ascii exporter doesn't
master branch
=
make cleanall
#git pull #optional
git reset --hard origin/master # warning: removes local changes
#make test#optional
make #not necessary if make test
maint branch
=
make cleanall
#git pull #optional
git reset --hard origin/maint
#+BEGIN_SRC python :exports results :results raw
return "Hello\nBye"
#+END_SRC
exports as:
Hello Bye
with org-ascii-export-as/to-ascii (Org-mode version 8.2.7b
(release_8.2.7b-5-gc9613c))
But it exports correctly with Org-mode version 8.3beta
(release_8.3beta-56-gdb0130)
Miguel.
_
This is my setup in .emacs; it runs without problems version after version. You are encouraged to simplify the path schema of org-mode branches I use. Minimal sequence for me is: make clean & git pull & make autoloads & make info;; .emacs begins activate debugging (setq debug-on-error
Hi
The Suvayu edited answer of Jul 26 '13 at 11:42
http://stackoverflow.com/questions/10295177/is-there-an-equivalent-of-org-modes-b-ignoreheading-for-non-beamer-documents
#+begin_src elisp
(require 'ox)
(defun sa-ignore-headline (contents backend info)
"Ignore headlines with tag `ignorehead
Thank you Bastien, Fabrice, Jambunathan.
In the meantime I have discovered org-font-lock-keywords and related.
Miguel.
> -Original Message-
> From: rbeni...@inbox.com
> Sent: Mon, 10 Mar 2014 02:49:08 -0800
> To: emacs-orgmode@gnu.org
> Subject: [O] Howto: different faces for "begin_src"
Hi
I was wondering if it's possible to have different faces for
"#+begin_src/#+end_src" and "results" so distinguishing the blocks is easier.
TIA.
Protect your computer files with professional cloud backup.
Get PCRx Backup and upload
Shouldn't commit b6448c4225bc83299da1bd08c2d2e8b77e0bcd13 (Fix "Marker points
into wrong buffer" error) be in maint?
It works for me in emacs 24.3 and in 24.3.50 (as of today, 20130124). It's
going to prevent errors in emacs 24.4 candidates.
Miguel.
t; "%S") (if (stringp var) (substring-no-properties
var) var)
And, related to the problem of the OP, this last code works for me.
Miguel
El Miércoles 22 de enero de 2014 15:23, Bastien escribió:
Hi Miguel,
Miguel Ruiz writes:
> Could it be a poorly rewritten patch? Original Daniel Gerber's
> proposal works for me.
Can you tell what's wrong in the current version of ob-python.el
from git repo? Otherwise I'm not sure to understand.
Thanks,
--
Bastien
Could it be a poorly rewritten patch? Original Daniel Gerber's proposal works
for me.
diff --git a/lisp/ob-python.el b/lisp/ob-python.el
index 1457682..523fd70 100644 (file)
--- a/lisp/ob-python.el
+++ b/lisp/ob-python.el
@@ -137,7 +137,7 @@ specifying a variable of the same value."
or
This is my setup in .emacs; it runs without problems version after version.
;;
;; Remove Org remnants built into Emacs
;;
;; from Achim Gratz
;; https://github.com/emacsmirror/org/blob/master/testing/org-batch-test-init.el
;; clean load-path
(setq load-path
(delq nil (mapcar
(fun
What's the problem with:
#+name: fibonacci-inputs
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 |
#+name: fibonacci-seq
#+begin_src emacs-lisp :var fib-inputs=fibonacci-inputs
(defun fibonacci (n)
(if (or (= n 0) (= n 1))
n
(+
|257.72 | 21.39 |
| Leeds |165.77 | 19.68 |
| Sao Paolo | 71.00 | 11.50 | ; without quotes (in temp data file),
gnuplot sees 4 columns
| Stockholm |134.19 | 14.33 |
| Morelia |257.56 | 17.67 |
I would appreciate any hint.
TIA,
Miguel Ruiz.
CYGWIN_NT-6.1-WOW64
Thank you, Bastien. I'd prefer some of you writes the changelog entry; the
patch is attached.
El Domingo 5 de enero de 2014 12:51, Bastien escribió:
Hi Miguel,
Miguel Ruiz writes:
> Is it *this* enough:
>
> diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el
> index
t;\"")
"\"")
s)
It works for me.
El Domingo 5 de enero de 2014 9:50, Miguel Ruiz escribió:
Hi,
I cannot get temp data file from org-babel-gnuplot with quoted row labels. I
have tried org-plot/gnuplot and it provides a correc
| 257.72 | 21.39 |
| Leeds | 165.77 | 19.68 |
| Sao Paolo | 71.00 | 11.50 | ; without quotes (in temp data file),
gnuplot sees 4 columns
| Stockholm | 134.19 | 14.33 |
| Morelia | 257.56 | 17.67 |
I would appreciate any hint.
TIA,
Miguel Ruiz.
CYGWIN_NT-6.1-WOW64
(org-babel-do-load-languages
'org-babel-load-languages
'((calc . t)))
;;; end of minimal-org.el
GNU Emacs 24.3.1 (i686-pc-cygwin) of 2013-08-14 on moufang
Org-mode version 8.2.4 (release_8.2.4-3-g7fe99a @
/home/usuario/org-mode/maint/lisp/)
TIA.
Miguel Ruiz.
Thank you, Jambunathan.
I was exploring
(defconst org-file-apps-defaults-cygwin
'((remote . emacs)
(t . "cygstart %s")
(system . "cygstart %s")
("ps.gz" . "gv %s")
("eps.gz" . "gv %s")
("dvi" . "xdvi %s")
("fig" . "xfig %s")))
(defun org-default-apps () "Return
s just copy, no doubt, a very big folder.
Miguel.
El Sábado 30 de noviembre de 2013 11:18, Jambunathan K
escribió:
Miguel Ruiz writes:
Remove all your configurations and try this. This will use windows
"open".
(require 'org) ;; Make sure org is loaded
(defun org-defa
as a
zip file.
So:
- How can redefine or supress 'system in (org-open-file (org-odt-export-to-odt
nil s v) 'system) line in ox-odt.el?
- May I propose to developers to include (defconst
org-file-apps-defaults-cygwin ... or similar?
- Could you help me in any other way?
Thank you so much.
Miguel Ruiz,
Sevilla (Spain).
org-export-async-debug t)
(setq org-export-async-init-file "path/to/minimal-org.el")
#+END_SRC
Miguel.
____
De: Nicolas Goaziou
Para: Miguel Ruiz
CC: "emacs-orgmode@gnu.org"
Enviado: Martes 29 de octubre de 2013 9:09
Asunto: Re: [O] V
I'm trying to get a very minimal example of async export working.
Can you help me? I'm running out of ideas.
TIA
WindowsXP-SP3, Emacs 24.3, Org [8.2.1 (release_8.2.1-134-g8b264d @
c:/org-mode/lisp/)]
#+BEGIN_SRC command-line
emacs -Q -l minimal-org.el
#+END_SRC
#+BEGIN_SRC minimal-org.el
> What happens if you set `org-export-coding-system' to `utf-8-dos'?
It works like a charm.
Sorry for the noise but there are too many not-in-the-manual options for me.
Regards,
Miguel.
to get the desired output, i.e., CRLF EOL. In my
box, emacs.exe -Q saves new files with CRLF EOL.
Sincerely
Miguel Ruiz.
Sevilla (Spain)
--- El mar, 14/5/13, Ivan Kanis escribió:
> De: Ivan Kanis
> Asunto: Re: [O] [PATCH] fix appointment warn time
> Para: "Bastien"
> CC: "org mode"
> Fecha: martes, 14 de mayo, 2013 14:10
> Le 14 Mai à 13h49, Bastien a
> écrit :
>
> >>> Can anyone else reproduce Ivan's problem?
Yes, I can.
>
> > How can I get recalculated tables through org-export:
>
> > a) Switch-off org-babel-execute-buffer in org-export?
> > b) Switch-on org-tables recalculate-buffer-tables AFTER
> org-babel-execute-buffer?
> >
> > I cannot figure out the sequence in org-export or the
> multiple hooks
> > availa
s for this wonderful piece of software.
Miguel Ruiz.
Sevilla, Spain.
Last org-lparse.el changes make swriter not to open after
org-export-as-odt-and-open
This refers to commit Tue, 2 Oct 2012 08:03:15 + (10:03 +0200) and, I
think, the problems is only in org-lparse.el changes.
Version 7.9.2-50-g1fb3cc works as expected if org-lparse.el is reverted to its
pr
Hi,
> Miguel Ruiz
> writes:
>
> > Any hint to get rid of the title in a org-export-as-odt
> session?
>
> I don't think you can
org-odt-format-preamble function says:
...
(when title
(concat
(org-odt-format-stylized-paragraph
Hi,
Any hint to get rid of the title in a org-export-as-odt session?
I've tried
#+OPTIONS: title:nil author:nil timestamp:nil toc:nil
#+LANGUAGE: es
* HELLO
and I get the filename as odt file title.
If I try
#+TITLE:
#+OPTIONS: title:nil author:nil timestamp:nil toc:nil
#+LANGUAGE: es
*
GNU Emacs 24.2.1 (i386-mingw-nt6.1.7600) of 2012-09-02 on GNUPACKOrg-mode
release_7.9.1-4-gdd2822
Hi,
In this minimal example
--org-mode file start#+OPTIONS:
toc:nil#+AUTHOR:#+DATE:* Level 1 :PROPERTIES: :ID:
527b694d-8288-4d37-a06a-a288bd9592b5 :END:This is level 1 with ID
{{{property(ID)}}}** Level 2 :PROPERTIES: :ID:
1cf7847a-0977-4f18-8
I am using PyOrgMode to process the nodes of an orgmode file.
I have had no problem with the OrgDataStructure class, but, as you can see
https://github.com/bjonnh/PyOrgMode/blob/master/PyOrgMode.py
the drawer and properties are parsed by another class, OrgDrawer, and I cannot,
i.e., I am not so
Hi,
I am working on a document split in several chunks. I need to generate the full
document in order to do different sorting processes before exporting.
It would be nice if that generation could be recursive ... you know, one master
file, one included file with another included file.
I suppo
--- El mié, 22/9/10, Bastien escribió:
> De: Bastien
> Asunto: Re: [Orgmode] Org capture with predefined entries from a list?
> Para: "Miguel Ruiz"
> CC: emacs-orgmode@gnu.org
> Fecha: miércoles, 22 de septiembre, 2010 01:00
> Hi Miguel,
>
> Miguel Ruiz
&g
Thank you for your interest.
First: org.el 7/9/2010, org-capture.el 2/9/2010
Contents of .emacs:
(...)
(setq org-capture-templates
'(("t" "Todo" entry (file+headline "~/org/gtd.org" "Tasks")
"* TODO %?\n %i\n %a")
("j" "Journal" entry (file+datetree "~/org/journal.or
Hi
Might I implement an org capture template with predefined entries from a list
instead of typing the final entry?
If not, please, whats the minimal code to get a shortkey to launch a selection
of an item of a list and insert in the buffer?
Thank you. My questions has always been well treated
ed of being written.
I have tried
(add-hook 'org-babel-post-tangle-hook
(lambda () (save-window-excursion
(find-file "anyfile"
and no problem, but the first code does nothing, apparently.
I am a beginner with elisp, so I beg your
> I am interesting to hear why you'd want to have that.
Well, basically I have a main .org file as a logbook, and a inactive date/time
stamp would serve as a unique identification field; I need different time
stamps in the same minute.
Best wishes.
Is it possible to insert date/time stamps (active or inactive) including
seconds?
I have tested that entries like [2010-07-13 tue 14:53:37] works perfectly.
Sorry, if this question have been answered; every "second" search I have done
get me to "first ..., second ..."
;2010-04-16 fri>
Subject 40
* <2010-04-17 sat>
Subject 40
--
I have tried M-x org-occur, but only marks the searched string; I also have
tried M-x occur, but generates a list without the dates, and cannot be printed.
I would appreciate a
;2010-04-16 fri>
Subject 40
* <2010-04-17 sat>
Subject 40
--
I have tried org-occur, but only marks the searched string; I also have tried
occur but generate a list without the dates, and cannot be printed.
I would appreciate a
51 matches
Mail list logo