Hi org folks; is there any way in org-mode's markup language to get an
HTML blockquote or LaTeX {quote} (or presumably similar for odt) when
exported? Looking through the manual I don't see one, though it's
quite possible I missed something.
--
-- Gary
duh. OK, just after posting, I found #+BEGIN_QUOTE. Sorry for the noise.
On Tue, Aug 9, 2011 at 8:55 AM, Gary Oberbrunner wrote:
> Hi org folks; is there any way in org-mode's markup language to get an
> HTML blockquote or LaTeX {quote} (or presumably similar for odt) when
> expo
I need to make a big rst or Moin wiki table (actually it's for a trac
wiki, see http://trac.edgewall.org) and those tables are annoying to
construct when they're large. But org mode has this wonderful table
editor and I'm wondering if there's any way to export from it a rst or
moin wiki table?
--
I use custom links like [[bgcolor:red][Warning!]] to add some color to my
documents. I can export those colors to HTML and LaTeX like this:
(org-add-link-type
"bgcolor" nil
(lambda (path desc format)
(cond
((eq format 'html)
(format"%s" path desc))
((eq format 'latex)
Just wanted to say the latest version is working perfectly for me -- well
done! ODT export is fine and LaTeX is still working too (some things have
changed recently that made me have to change some of my code *around*
org-mode, but that's as expected.)
--
-- Gary
Thanks guys -- I have it working. I do wish there was a way to define odt
styles inline so I didn't have to edit my styles.xml but I guess that's
unavoidable (?). I have the styles showing up in the odt style dialog, and
my inline odt code invokes it from my custom link type. Thanks!
--
-- Gar
First time poster on this list, but old-school Emacs user since 1982. And I
have to say, org-mode is amazing. I'm running current git master on emacs
24.0.50.1 on Windows.
I've put all my org-mode export template stuff into a setup file in my home
dir, and I make all my org-mode files use it by
On Thu, Feb 10, 2011 at 4:54 PM, Nick Dokos wrote:
> Just add an org.template, seasoned to taste, to the templates directory.
Thanks Nick; actually I'm looking instead for something that doesn't change
the file contents, but just changes the export settings (or whatever's in
that block; title,
I just joined the list recently and am very excited to try direct odt
export! I checked out Jambunathan's git repo. I'm already running org-mode
from its git master; is your repo a fork of the master, or is it its own
thing? It seems like it contains everything, so I should use it instead of
the
On Sun, Feb 13, 2011 at 10:53 AM, Darlan Cavalcante Moreira
wrote:
> You can use auto-insert for this.
I guess I'm really not using org-mode in the way it was intended --
everyone thinks I should put these values into each one of my org-mode
files. Maybe it's because I want to use it more like a
On Sun, Feb 13, 2011 at 4:16 PM, Dan Davison wrote:
> Gary Oberbrunner writes:
>
>> On Sun, Feb 13, 2011 at 10:53 AM, Darlan Cavalcante Moreira
>> wrote:
>>> You can use auto-insert for this.
>>
>> I guess I'm really not using org-mode in the way it was in
On Mon, Feb 14, 2011 at 10:14 AM, Matthew Sauer wrote:
> Would this be the full list of variables?
> Possible completions are:
> org-export-allow-BIND org-export-author-info
> org-export-babel-evaluate org-export-blocks
>
Awesome! That is perfect.
--
-- Gary
On Sun, Feb 13, 2011 at 11:47 PM, Nick Dokos wrote:
>
> I think you are making an unwarranted generalization: afaik, Darlan and I
> were the only ones who suggested this (hardly "everyone").
Sorry, didn't mean to be snippy. You're right, for sure.
I think that
> was a reasonable answer to your
Indeed, congrats to Bastien and all!
One question: I'm using the new export stuff from org-jambu (git
master branch); any idea when Jambunathan will rebase or merge with
this?
Thanks -- you guys rock!
-- Gary
Is there any way to turn a headline (and its subtree) into a plain
list (and nested list items)? Or better yet, turn all level N and
below headlines into plain lists at the corresponding level?
--
-- Gary
+1! me too.
Using a recent git checkout of org-mode (f51c405), the following small
org-mode file produces invalid LaTeX. I'm pretty sure it used to
work. The \alpha and \beta seem to be what confuses it.
---snip
* Scorecards
** Product Releases
| *Product* | *\alpha* | *\beta* | *Release* |
The following org file, when exported as LaTeX -> PDF, contains only a
link to the schema.png file, not the graphics. The .tex has \href where
I think it should have \includegraphics.
I'm using the latest org-mode git source from today. Emacs 24 nightly on
Windows 7.
It happens with emacs -q (ju
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
http://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org-mode mailing list.
-
I'm using org-mode more and more for generic text document writing and
of course loving it. I usually export to LaTeX->PDF, but sometimes
HTML or ODT and even ASCII sometimes -- this is an incredible
capability. One thing I'm missing, and maybe it's there but I don't
know how to use it, is format
I have the following org-mode test file:
===
#+TITLE:tester.org
#+PROPERTY: session *R*
#+PROPERTY: results output
#+LaTeX_HEADER: \usepackage{hyperref}
* Headline here
Here is some text.
#+begin_src R :exports both :results graphics :file img.jpg
hist(rnorm(100))
#+end_src
I have an org-mode babel program/document that takes about half an hour to
run (end result is a LaTeX or HTML doc with figures). It's a mix of SQL
and python. (The SQL is the slow part.) I'd really like it if org-mode
could tell me, while it's running, which named block it's processing. Is
ther
On Tue, Sep 2, 2014 at 11:01 AM, David Wagle wrote:
> It sounds like perhaps the issue is code blocks with a long run-time that
> may or may not fail or hang in some way?
>
> If that's the case, the solution is probably simply breaking up your code
> blocks into smaller bits of code so that you m
Is there any way to have TODO items in bullet lists rather than headings:
* Meeting report
** Meeting 1
- a thing that happened
- another thing that happened
- TODO: email everyone about all the things
- some more things that happened
org-mode seems to only allow TODO in headings as far a
[Sorry, I'm going to mess up the quoting here because I replied to Tory,
not the list. - gco]
On Tue, Sep 16, 2014 at 4:32 PM, Tory S. Anderson
wrote:
> Does the "- [ ]" form not work for you? They are generally considered the
> equivalent in my experience. C-c checks them.
On Tue, Sep 16, 2014 at 11:48 PM, Thomas S. Dye wrote:
> Aloha Gary,
>
> Gary Oberbrunner writes:
>
> > Gary:
> > My reason for not using TODO is just that it'd be ugly and confusing to
> > put a heading in the middle of a list.
> >
> > Comp
On Thu, Sep 18, 2014 at 12:23 PM, Subhan Michael Tindall <
subh...@familycareinc.org> wrote:
> Lists are very explicitly not intended to contain TODO items.
>
> Checkboxes provide a bit of this functionality, sort of a ‘TODO lite’
>
> ...
>
> The problem is that list items/checkbox items are NOT
On Thu, Sep 18, 2014 at 2:49 PM, Gary Oberbrunner
wrote:
>
>
> On Thu, Sep 18, 2014 at 12:23 PM, Subhan Michael Tindall <
> subh...@familycareinc.org> wrote:
>
>> Lists are very explicitly not intended to contain TODO items.
>>
>> Checkboxes provide a bit
Has anyone created an HTML exporter that just exports "simple" HTML
with no fancy CSS stuff, just "normal" tags like and and
and and ? Basically something that could be pasted into
an email or a larger document. The current HTML export is beautiful,
but it adds all kinds of divs, spans, CSS t
If you try to export this document:
#+BEGIN_SRC sql :exports both
select 1 limit 0;
#+END_SRC
It fails to export with an error in *Messages*:
user-error: Empty table - created default table
It also stops processing the document at that point.
(That SQL code produces no output but is not a SQL e
On Tue, Dec 23, 2014 at 5:34 PM, Gary Oberbrunner
wrote:
> If you try to export this document:
>
> #+BEGIN_SRC sql :exports both
> select 1 limit 0;
> #+END_SRC
>
> It fails to export with an error in *Messages*:
> user-error: Empty table - created default table
> I
To run mysql code in org-mode (which by the way is pretty incredible that
this works at all, and so beautifully, especially since I'm on Windows), I
have to have a long header:
#+BEGIN_SRC sql :exports both :results value :engine mysql :cmdline -h
XXX.YYY.XXX.YYY -u user -ppassword -D database
I'
Let me know if this would be better as a pull request. This patch does
three things:
* add a header-row delimiter to the tables returned from mysql
* adds new sql-specific header args for the database connection, and
implements them for mysql
* (minor) adds an edebug spec to org-babel-result-c
ments them for mysql
* adds support for :colnames (mysql only)
* (minor) adds an edebug spec to org-babel-result-cond to allow edebugging
through it
On Fri, Feb 1, 2013 at 10:18 AM, Gary Oberbrunner wrote:
> Let me know if this would be better as a pull request. This patch does
> t
I'm primarily publishing to LaTeX/PDF from org. I have a title:
#+TITLE: Weekly Status
How can I get it to automatically export with today's date? Hopefully
without a full babel elisp code block? Any ideas?
BTW, converted to new exporter today. Pretty painless.
--
Gary
I must be failing to understand something. I'm running Emacs 24.3 on
Windows, with latest trunk org-mode. I can't get python functions to
persist across blocks in session mode. Here's my foo.org:
===
* My Document
#+BEGIN_SRC python :exports results :results output :session
def foo
I am using a snapshot build of Emacs:
emacs-trunk-r112044-20130314-w32-i386.zip, which says it is GNU Emacs
24.3.50.1 (i386-mingw-nt6.1.7601) of 2013-03-14 on VBOX
on Windows 7/64.
My python-mode comes from the python.el shipped with the above emacs, which
says it is Version: 0.24.2.
Org-mode is
[sorry, forgot to reply all]
-- Forwarded message --
From: Gary Oberbrunner
Date: Wed, Mar 20, 2013 at 12:11 PM
Subject: Re: [O] python sessions
To: nicholas.do...@hp.com
After starting emacs -Q and loading my minimal setup (including require
'org):
((:default))
After lo
Ista, what OS are you on? Maybe this (or part of it anyway) is only a
Windows problem?
On Wed, Mar 20, 2013 at 4:12 PM, Ista Zahn wrote:
> On Wed, Mar 20, 2013 at 3:53 PM, Andreas Röhler
> wrote:
> > Am 20.03.2013 20:42, schrieb Ista Zahn:
> >
> >> On Wed, Mar 20, 2013 at 2:43 PM, Andreas Röh
OSes.
On Wed, Mar 20, 2013 at 8:20 PM, Gary Oberbrunner wrote:
>
> On Wed, Mar 20, 2013 at 1:00 PM, John Hendy wrote:
>
>> Some other things I noticed when modifying your custom config (just to
>> clarify):
>> - Org-mode git repo is located at "/emacs/site-li
2013 at 9:54 PM, John Hendy wrote:
> On Wed, Mar 20, 2013 at 8:22 PM, Gary Oberbrunner
> wrote:
> > I've attached a patch which works for me, at least in simple tests. It
> > should set the buffer name more correctly in session mode. I also added
> a
> > new defc
I did some further testing. With my patch, my real org-mode python file is
now actually working. There were a few gotchas I didn't understand about
session mode and python and matplotlib:
1. In session mode, you are essentially running an interactive python.
(This is made explicit by my patch,
I'd like to be able to put a result from SQL inline into my exported
document. Something like this:
Latest database record is from src_sql[:colnames no :results scalar]{select
DATE(CreatedAt) from Event order by CreatedAt desc limit 1;}.
In that case, the SQL result almost works (it surrounds th
[sorry, forgot to "reply all" -- Gary]
-- Forwarded message ------
From: Gary Oberbrunner
Date: Thu, Mar 28, 2013 at 10:43 PM
Subject: Re: [O] run python from org, draft
To: Andreas Röhler
Does this assume org-babel-python-mode is set to 'python-mode? The defaul
On Fri, Mar 29, 2013 at 11:09 AM, Eric Schulte wrote:
>
> Because of quirks of the python language, when executing outside of a
> session, it is necessary to explicitly specify a return.
> ...
>
> This is clearly stated in the Python documentation on Worg.
> http://orgmode.org/worg/org-contrib/bab
On Fri, Mar 29, 2013 at 11:29 AM, Andreas Röhler <
andreas.roeh...@easy-emacs.de> wrote:
> IMO org-babel should be able to run source code as is.
> If an org-mode specific modification is required at such a trivial form,
> what to expect wrt complex environments?
>
> BTW this fails also:
>
> #+beg
On Fri, Mar 29, 2013 at 11:35 AM, John Hendy wrote:
>
> This isn't working for me on Org-8.0 (from that Worg page):
>
> #+begin_src python :session
> def foo(x):
> if x>0:
> return x+1
> else:
> return x-1
>
> foo(1)
> #+end_src
>
> #+RESULTS:
> : None
>
> Try applying my patch from t
Now that python mode is working nicely, I'm generating lots of graphics.
#+BEGIN_SRC python :session MYpython :exports results :results file
#... bunch of matplotlib stuff that produces /tmp/myfig.pdf
'/tmp/myfig.pdf'
#+END_SRC
This works, and the LaTeX exporter includes /tmp/mfig.pdf:
\incl
Thanks, Eric.
The -i is definitely needed on Windows, I just retested without it and it
hangs. With your latest fix, it works again.
I think there's a bug in your patch though; line 211 refers to a
nonexistent function org-babel-python-earmufs. I think you mean
-with-earmufs?
--
Gary
On Fri, Mar 29, 2013 at 4:58 PM, Andreas Röhler <
andreas.roeh...@easy-emacs.de> wrote:
> Am 29.03.2013 21:10, schrieb Gary Oberbrunner:
>
> On Fri, Mar 29, 2013 at 11:29 AM, Andreas Röhler <
>> andreas.roeh...@easy-emacs.de> wrote:
>>
>> IMO org-babel
[I can never get the reply-all thing down on this list! See below.]
On Sun, Mar 31, 2013 at 7:02 PM, John Hendy wrote:
> On Sun, Mar 31, 2013 at 11:03 AM, Gary Oberbrunner
> wrote:
> >
> > On Fri, Mar 29, 2013 at 4:53 PM, John Hendy wrote:
> >>
> >> O
It seems like you can define "procedures" in org-mode and call them from
elsewhere, with args.
But I'm not sure how well-defined that process is; the documentation is not
completely perfect yet I think. Here's one thing I'm trying that seems not
to work.
I define a "procedure" as a named ref call
"")
#+begin_src sh
echo "input is $input"
#+end_src
The doc seems to say it should work the same, in
http://orgmode.org/manual/var.html (see "Alternate Argument Syntax").
On Mon, Apr 1, 2013 at 9:45 PM, Eric Schulte wrote:
> Eric Abrahamsen writes:
>
> &
On Wed, Mar 27, 2013 at 5:50 PM, John Hendy wrote:
> On Wed, Mar 27, 2013 at 1:24 PM, Samuel Wales
> wrote:
> >
> > Maybe this would be good as default nil?
>
> I'd like to poll the list for frequent LaTeX exporters vs. everyone
> else before making a change like that. My intuition would suggest
What I'd really like in the org-mode doc somewhere (or on worg?) is the
babel syntax broken out like a traditional programming language, by which I
mean describe the syntax[es] for *defining* a function in one place
(including all the ways to define args and their default values), and
describe the
[I still can't learn to reply-all to these. :-( ]
-- Forwarded message --
From: Gary Oberbrunner
Date: Fri, Apr 19, 2013 at 9:02 PM
Subject: Re: [O] New maintainer
To: Christopher Allan Webber
Thanks for the great work, Bastien! Carsten, you have big shoes to fill
but w
I've been having the same issue (exporting to HTML and PDF, and need all my
graphics filenames to adjust automatically).
I mostly don't use #+CALL though; I just have src blocks.
#+BEGIN_SRC python :session UDpython :exports results :results file
do_hbar('/tmp/machines-by-os.pdf', (8,1.5), data
I'd like to change the title of my report, and the exported pdf filename,
based on a value I can change in the org-mode source.
I have a source block like this:
#+NAME: reporttype
#+BEGIN_SRC elisp :results value silent :exports results
"Foo"
#+END_SRC
I figured out how to do the title:
#+TITLE
Just want to say I just set this up, and it's great! Easy to work with,
and my first org-mode presentation was live in under 10 min. One minor
nit: on my Windows machine, I had to set org-reveal-root to a file:/// URL,
not a filesystem path. Otherwise the presentation wouldn't load.
On Thu, Ma
I don't know if this is beyond the capabilities of org-mode or not. I'd
like to have a block of text repeated multiple times with slight
variations. For the sake of the example, a numbered list:
1. this is the first line
1. this is the second line with %VARIANT% as the value
1. this is the third
t;
> #+call: repeated-text(x="baz") :results raw
>
> #+results:
> 1. this is the first line
> 2. this is the second line with baz as the value
> 3. this is the third line
>
> All the best,
> Tom
>
> Gary Oberbrunner writes:
>
> > I don't k
This simple org file:
* This is a list
* Here's another item
produces the simple-list.odt file attached with the latest org-mode (from
git master). MS Word 2007 (10.0.6683.5002) SP3 can't open it; it says the
file cannot be opened because there are problems with it, then says it's
corrupt. It
I can't clone the repo, I get this error:
% git clone git://orgmode.org/org-mode.git
fatal: read error: Connection reset by peer
Is it just me?
--
Gary
Restarting didn't make git: work, but now http: does. Thanks!
On Fri, Jan 22, 2016 at 5:29 PM, Nick Dokos wrote:
> "Robert H. Klein" writes:
>
> > Hi,
> >
> > On Fri, 22 Jan 2016 14:09:44 -0500
> > Nick Dokos wrote:
> >
> >> Gary Ob
I'm running emacs 25.0.50.1 (2014-12-10 nightly) with latest org-mode (now
that git's working again) on Windows 7.
I have org-startup-folded set to nil (show everything). When I visit an
org-mode file, I get an error in org-set-startup-visibility saying
"void-function outline-show-all" and sure en
I'd like to just have a few inline formulas evaluated in my org-mode
document (I'm exporting to LaTeX if that matters). Something like this:
=
# a constant:
# pi = 3.14159
The value of interest is {{{2*$pi}}}.
=
I want that to export as:
The val
sday, 3 Feb 2016 at 08:45, Gary Oberbrunner wrote:
>
> [...]
>
> > Of course I made up that {{{}}} syntax, that's not a real thing. I've
> seen
> > org-mode tables with calc, but I'm hoping for something simpler, just
> > inline math expression eval. (I
org-babel-execute-src-block has a big unwind-protect that basically eats
all errors inside it. I don't think it used to do that. It makes it hard to
debug my sql code since I can't figure out where the actual problem is.
In my case, I'm probably returning no result from some query, and ob-sql is
m
* ob-sql.el (org-babel-execute:sql): fix typo (introduced in 8c2e232)
which prevented correct parsing of mysql table headers.
---
lisp/ob-sql.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el
index 724f7c6..6488afe 100644
--- a/lisp/ob-sql.el
++
I'd like to have either a macro or a property that controls some behavior
of an org-mode babel file:
#+PROPERTY: report_type All
and use that property inline: {{{property(report_type)}}} and in a source
block:
#+NAME: rtype
#+BEGIN_SRC emacs-lisp :results value
{{{property(report_type)}}}
#+END_
If I have a table.el table, is there any way to set the LaTeX table
environment for it (longtable, tabularx etc.)?
Here's a simple sample:
* Table Test
This is a table.el table:
+-+---+---+
| Test| Test2 | Test3 |
+-+---+--
I guess I've been out of the loop for a while. I used to have this at the
end of my org-mode SQL files:
#+PROPERTY: engine mysql
#+PROPERTY: dbhost xx.xx.xx.xx
#+PROPERTY: dbuser xx
#+PROPERTY: dbpassword x
#+PROPERTY: database x
But since I recently updated org-mode, thes
I'm using org and org-roam. I tried to use the mouse-3 menu to toggle the
state of a TODO item, but I get this error:
Debugger entered--Lisp error: (void-variable org-todo)
(funcall org-todo "DONE")
menu-function-79()
funcall-interactively(menu-function-79)
popup-menu(
74 matches
Mail list logo