Any particular reason you use a macro instead of just binding to a function
like this?
(defun insert-current-datetime ()
"Insert the current date and time in the format '-MM-DD HH:MM:SS' at
point."
(interactive)
(insert (format-time-string "%Y-%m-%d %H:%M:%S")))
On Tue, Aug 27, 2024 at
Hello,
Since the instructions say that bugs should be reported on the mailing
list, I do so here.
When visiting a file by tramp over ssh, doing latex preview fails.
* Version
Tag 9.4.6 (commit:652430128)
* To reproduce:
Create the following org file:
#+begin_example
* Testing formulas
\[\xi^
get rid of it?
I also have no idea why I had to do the expression $level/2-3$ to get
the correct number of asterisks.
Another complication that I am currently ignoring is how to nest
and lists. But that's ok for now.
Thanks again!
On Tue, Jun 1, 2021 at 12:08 PM Nicolas Goaziou wrote:
Hello,
I've been trying to use the ox-mediawiki.el export option to export from
org mode to mediawiki mode.
Unfortunately the exporting does a poor job of exporting lists. E.g. the
following org mode source:
```
* A section
- An item
- Another item
- A subitem
- Another subitem
- B
You can do the following:
#+TBLFM: $3=$1*$2;%.0f
Search for % at https://orgmode.org/manual/Formula-syntax-for-Calc.html .
Regards,
On Mon, Aug 24, 2020 at 12:03 PM Uwe Brauer wrote:
>
> Hi
>
> Please look at
>
>
> | 20 | 0.9 | 18. |
> #+TBLFM: $3=$1*$2;f0
>
>
> I'd prefer to have the result
Hello,
I wonder if there is a "standard" way of quoting a REPL session in an org
document. Right now I'm using #example, but I wonder if there is something
richer. The ideal would be to get something that is syntax aware so that
anything after the "prompt" is syntax highlighted.
Here is an exampl
Zaretskii writes:
>
> >> Date: Wed, 13 Jun 2012 22:26:35 +0300
> >> From: Dov Grobgeld
> >>
> >> Imagine you have a buffer with the following logical contents (using the
> >> convention that capitals are RTL characters).
> >>
> >&g
Shell is using python3 and org-mode python2?
On Aug 3, 2017 8:31 PM, "Dushyant Juneja" wrote:
> Hi,
>
> I have the following code block in my org mode based literate programming
> notes:
>
> #+BEGIN_SRC python
> print('1+2 > 4 is ', 1+2 > 4)
> print("What is 3 + 2?", 3 + 2)
> #+END_SRC
>
> When
Hello,
In tramp the syntax for specifying a domain in a smb link is by using a
percentage sign [1]
//smb:user%DOMAIN@host:D/path/
but when trying to use this together with the org-mode file: link the
result is that it changes %D to ^M (control-M). Similar results are gotten
with other characters
Thanks. Indeed I am using an older version of org. Adding grffile to
org-latex-default-packages-alist solves the problem.
Regards,
Dov
On Tue, Jun 23, 2015 at 5:41 PM, Rasmus wrote:
> Dov Grobgeld writes:
>
> > Running pdflatex on the tex file yields:
> >
> > ! LaTeX
wrote:
> On Tuesday, 23 Jun 2015 at 10:24, Dov Grobgeld wrote:
> > I tried to export a table with four images to LaTeX, but got a big mess
> as
> > a result. In contrast, the result in HTML export is fine. Has anyone had
> > better experience and can recommend some remed
I tried to export a table with four images to LaTeX, but got a big mess as
a result. In contrast, the result in HTML export is fine. Has anyone had
better experience and can recommend some remedy?
Here is an example of an input org file:
| Image type | Low contrast| High contrast |
A number of years back I was very excited about DJVU and used it to
compress my scanned documents. But at a certain point did I realize that
scanned bitmaps (as well as TeX'd documents width pk fonts) in PDF were
just as small, and I stopped using it, as PDF is much more widely
available. I'm not s
What do I need to do to inhibit the inclusion of pdf files as graphics
files, when exporting an org file to pdf?
Ideally I would like to have links to referenced pdf files and not have
them treated as embedded graphics.
Thanks!
Dov
| 0.799666 | 0.527572 | 0.132928 |
Is there any way to do that besides using the :results raw option?
Thanks!
Dov
On Wed, Jul 3, 2013 at 5:09 PM, Eric Schulte wrote:
> Dov Grobgeld writes:
>
> > Thanks for the answers, but there is still something missing in order
> > to
Thanks! Works great!
On Mon, Oct 13, 2014 at 11:05 AM, Eric Abrahamsen
wrote:
> Dov Grobgeld writes:
>
> > Is it currently possible to inline a video file in the html export?
> > Right, now I only get a link, while what I would like to have is:
> >
> > > cont
Is it currently possible to inline a video file in the html export? Right,
now I only get a link, while what I would like to have is:
Sorry, no video in this browser.
Thanks,
Dov
Rick Frankel's ox-slidy.el from:
http://lists.gnu.org/archive/html/emacs-orgmode/2013-10/msg00781.html
also works really well for me. He is just to modest to let you know
himself. :-)
Regards,
Dov
On Tue, Mar 25, 2014 at 2:28 PM, Rustom Mody wrote:
> On Tue, Mar 25, 2014 at 1:55 PM, Bastien
On Thu, Jan 9, 2014 at 12:39 PM, Bastien wrote:
>
> >> (setq org-src-fontify-natively t)
> >
Just to note that I have the flag turned off because of the bad
interaction between my use of variable-pitch mode in org-mode which is
picked up by the source fontifying. Unfortunately the source code
I had the same problem after pulling from git yesterday and worked around
it by doing:
; This is a bug work around
(defun org-element-cache-reset (&optional all) (interactive))
before requiring org.
Regards,
Dov
On Tue, Nov 5, 2013 at 4:51 AM, Vladimir Lomov wrote:
> Hello,
> ** Achim Gratz
Thanks for the answers, but there is still something missing in order
to get it to work. Part of it seems to be connected to the python
parsing. E.g. the following translation of Eric's sh example doesn't
output correctly with python:
#+BEGIN_SRC python :results output
print """,A,B,C
0,0.628365,
he inner workings of bidi and emacs.
>
>
> Kind regards,
>
> Manuel GJT
>
>
> On Tue, Jun 25, 2013 at 2:03 AM, Dov Grobgeld
> wrote:
>>
>> A work around seems to be to provide an empty line between the LTR and
>> the RTL paragraph. I.e. instead of
>
Has anyone used org-mode with the python pandas package? Pandas is in
a certain way an alternative to R, but with the (for me) familiar
syntax of python. See: http://pandas.pydata.org/
Pandas is very much built to be used interactively, and it outputs its
data in space separated tabular format. E.
's behavior in org mode is different than in a
> clean buffer.
>
> Perhaps you could show me how to ignore any previous paragraph settings
> other than with R-T-L MARK?
>
>
> Kind regards,
>
> Manuel GJT
>
>
> On Mon, Jun 24, 2013 at 12:49 PM, Dov Grobgeld
> wrote
I was able to reproduce this behavior only with by forcing the
paragraph direction to LTR or equivilantly by having a first strong
LTR character in the beginning of the paragraph. Please provide more
information about your environment, and someone might be able to help
you.
Regards,
Dov
On Mon,
Ok, I can make do with that. Thanks.
On Fri, Apr 26, 2013 at 11:52 AM, Suvayu Ali wrote:
> On Fri, Apr 26, 2013 at 10:15:42AM +0300, Dov Grobgeld wrote:
> > I often find reference files in org-files and then do the following
> > sequence:
> >
> > * Press Ctrl-x C
I am typically using variable-pitch-mode=t when editing org-files. But
embedded source code I would like to have in a fixed-pitch font. This works
well when org-src-notify-natively is nil, but when turned on, part of the
source code syntax highlightening (in my case python) is also turned into
usi
I don't like the use of kill-visual-line in org-kill-mode as it creates
non-predictable behavior when recording keyboard macros, as the display
width will influence the result of running the macro. Does anyone have a
suggestion of how to get around this? Right now I redefined
kill-visual-line to ki
I often find reference files in org-files and then do the following
sequence:
* Press Ctrl-x Ctrl-f
* Navigate to the requested file by the emacs and completion
* Press Ctrl-a Ctrl-k to copy
* Press Ctrl-g to get out of file-open
* Paste with ctrl-y
I was wondering if anyone has written code so t
Nice! I've needed that often. But please add licensing information to
the code to make clear in what contexts it may be used.
Regards,
Dov
On Mon, Dec 24, 2012 at 3:12 PM, Bastien wrote:
>
> Hi François,
>
> François Pinard writes:
>
> > I do not know, and should check indeed. Yet, even then,
I wonder if anyone has written a solution for changing the face by some
kind of style-sheet that is set according to the "type" (or flavor) of the
org-mode file?
My main org-mode file is a journal where 1-star always is used to the
current date. I therefore like to have it small, e.g. 100% non-bol
I like to use a variable font for my org-notebooks, which works very
nicely. But since tables are aligned by fixed number of characters, I use a
fixed font for tables. The problem is when I add a link within a table. The
link then gets the face 'org-link' and not 'org-table'. Is there any
posibilit
On Thu, Jun 14, 2012 at 10:37 PM, Eli Zaretskii wrote:
>> Date: Thu, 14 Jun 2012 21:10:46 +0300
>> From: Dov Grobgeld
>> Cc: 11...@debbugs.gnu.org
>> [stuff deleted]
>> I tried inserting tabs into the buffer before the vertical bars, but
>> after reord
On Thu, Jun 14, 2012 at 10:42 PM, Eli Zaretskii
> > [stuff deleted]
>
> Did you customize Emacs to dynamically determine the paragraph
> direction in Org buffers? By default they are forced to be
> left-to-right.
Yes, I changed that. Org-mode appears to me to work fine in dynamic
Bidi mode, so I
gards,
Dov
On Thu, Jun 14, 2012 at 6:10 AM, Eli Zaretskii wrote:
>> Date: Wed, 13 Jun 2012 22:26:35 +0300
>> From: Dov Grobgeld
>>
>> Imagine you have a buffer with the following logical contents (using the
>> convention that capitals are RTL characters).
>&
I got it. Org-mode erroneously interpreted the + sign on the second row as
a list token. Rearranging the latex text so that it does not start with -
or + is a workaround.
On Mon, May 14, 2012 at 5:47 PM, Dov Grobgeld wrote:
> Thanks for the help. It makes my coursera ml-class notes easier
gt; ANY buffer with "C-u C-u C-c P". It's great to write equations in comments
> of some programming buffer (no matter which programming language) and being
> able to render the equations right there.
>
> --
> Darlan
>
> At Sun, 13 May 2012 00:46:51 +0200,
> D
Is there any way of getting org-mode to display inline LaTeX fragments in
the emacs buffer? E.g. I would like to be able to type:
The size of the hypotenuse is $\sqrt{a^2+b^2}$
and then the buffer immediately shows:
The size of the hypotenuse is √a²+b²
where √a²+b² is a png image rendered via d
e of a tag.
Both my linking and the org-git-linking are two different equally valid use
cases. My problem is how to merge both these use cases under a single
syntax.
Regards,
Dov
On Thu, Apr 26, 2012 at 17:00, Bastien wrote:
> Hi Dov,
>
> Dov Grobgeld writes:
>
> > Thanks for
more sense:
git:@repo:file-in-repo::pattern-in-file
git://repo/file-in-repo::pattern-in-file
or perhaps some other syntax? Suggestions?
Regards,
Dov
On Fri, Apr 20, 2012 at 15:01, Bastien wrote:
> Hi Dov,
>
> Dov Grobgeld writes:
>
> > I thought I would share the fo
There is also https://github.com/dov/org-slidy , which I wrote since I like
to be able to scroll my slides which S5 does not allow. It would be even
cooler to create a package for creating HTML5 slideshows straight from
org-mode, e.g. like http://slides.html5rocks.com/#table-of-contents or
http://i
I thought I would share the following hack that I did with git.
In my org-mode notebook I often find myself references files that reside in
various private git repos. So far I have referenced these either by just
writing their name or giving a full path. But giving the full path is
disruptive and
Sure. They should be equivalent. (In C++ return is prefered as it calls
destructors. But anyone relying on this when using C++ in org-mode should
imnsho get a permanent ban from ever using C/C++ ;-).
Regards,
Dov
On Thu, Apr 5, 2012 at 17:56, Eric Schulte wrote:
> Dov Grobgeld wri
I assume that your problem is due the long names in the column named
"protein". You can have org-table clip the columns to a more reasonable
length by adding a row that contains e.g. <20> in the column to clip. This
will clip the column to 20 characters. You can still edit the full column
contents
Oops. I sawthat I wrote "do not get any error" though I meant "do not get
any resulting output".
On Wed, Apr 4, 2012 at 11:13, Dov Grobgeld wrote:
> When running a babel C session under Linux/gcc I do not get any error
> unless I add exit(0) as part of the C-code s
When running a babel C session under Linux/gcc I do not get any error
unless I add exit(0) as part of the C-code snippet. For some to me not
understood reason my program exits with error code=4, which is caught by
org-babel-eval and the printed output is not inserted into my buffer . I
solved this
this font to a variable-pitch
without using the ~variable-pitch-mode~ command. Is this feasible?
Regards,
Dov
On Sat, Jan 28, 2012 at 19:30, Dov Grobgeld wrote:
> Great! That must be a new addition that I missed. It is not perfect
> though, as I use a variable font for org-mode, whic
Great! That must be a new addition that I missed. It is not perfect though,
as I use a variable font for org-mode, which is inherited by the embedded
source code block when I turn on org-src-fontify-natively . Is there any
way of preventing that so blocks are always in e.g. Inconsolata?
I found th
I would also like to thank you for this great article and org-mode in
general. I learned a few things about variables and chaining that I did not
know about. Since I discovered org-mode, I have come to rely upon it as my
extended memory for professional as well as domestic ideas and problems
that I
In the example of "Tables in HTML export" the example sais:
#+ATTR_HTML: border="2" rules="all" frame="all"
This is wrong HTML syntax. It should be:
#+ATTR_HTML: border="2" rules="all" frame="border"
Regards,
Dov
fy-field-maybe
- (if fmt (format fmt (string-to-number ev)) ev))
+ (format "~%s~" (if fmt (format fmt (string-to-number ev)) ev)))
(if (and down (> ndown 0) (looking-at ".*\n[ \t]*|[^-]"))
(call-interactively 'org-return)
(setq ndown 0)))
O
Has anyone hacked up the use of using a different face for org-table fields
with formulas. This would be useful for quickly realizing what are inputs
and outputs in a org spreadsheet. Currently I do this by adding the
formatting ";~%.4f~" to my formulas. But it would be nicer if this was a
settable
I got the following idea regarding the use of markup characters in org-mode.
Currently it is possible to use *bold*, /italic/ and ~verbose~ and a few
other markups. I would have liked to have this extended as follows:
- Allow the toggling of the display of the "formatting" characters, *, ~,
I'm not sure that emacs is the best tool to e.g. generate a template png
file of a given size and given background, or a svg file. I still don't feel
that any of the proposed solutions solves the file:foo.svg edit scenario,
where foo.svg does not exist yet. Also I would rather differentiate between
I just thought of an idea that I wonder if someone has implemented.
While writing my journal I find myself wanting to insert a graphics file,
e.g. a svg file and I write *file:foo.svg* . After having written the name
I enter inkscape to create the contents of the file. To do that I have to
run in
You might also want to have a look at the following scripts that I wrote
lots of years ago that allow creating a booklet of an arbitrary postscript
file. They might be broken though after all these years. Please let me know
of any problems. See:
http://imagic.weizmann.ac.il/~dov/freesw/impose+/ind
It was the posting by Nathan Neff which I am sure that I totally
misinterpret, but used as an excuse for my blurb. :-)
Dov
On Mon, Dec 6, 2010 at 16:51, Carsten Dominik wrote:
>
> On Dec 6, 2010, at 10:19 AM, Dov Grobgeld wrote:
>
> Even though this announcement looks very cool,
Moreira writes:
>
> > If changing the actual character in the file is be the best option (maybe
> > it could cause problems for the exporters), then an approach similar to
> > org-pretty-entities could be used for this.
> >
> > --
> > Darlan
> >
> >
Even though this announcement looks very cool, this again reminded me of
something I've been thinking off when using orgmode. And that is the use of
unicode characters. With the latest versions of emacs that support unicode
and with rich fonts such as DejaVu Monospace, it is as easy to use unicode
Thanks! This is exactly what I was looking for. And indeed it is as easy to
output a graph from python (or any other language) as it is from ditaa:
* A ditaa image
#+begin_src ditaa :file example.png
+-+
| cBLU|
| |
|++
||cPNK|
|||
+++
#+end_src
#+r
Thanks! So it possible for LaTeX, but not for other image generators. That's
a bit unfair. How difficult would it be to generalize this so that it would
support any image generator?
Regards,
Dov
On Sun, Nov 28, 2010 at 09:34, Jeff Horn wrote:
> On Sun, Nov 28, 2010 at 2:04 AM, Dov
I'm still feel quite a newbie to org-mode and I've been looking for a way to
include "dependent" images within the emacs buffer, but I still haven't
found it.
As an example, assume that I have manully created a diagram with ditaa code,
and once I am finishede diting I'd like to press a keystroke
When running ditaa on Linux fedora 12 through java, I get the following
errors:
java -jar /usr/share/java/ditaa.jar -r -S /tmp/org-ditaa27392h-V
blue_fd02b5c06d6a5cb80eaf27098c3c490dc81326ce.png
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
Exception in thread "main" java.lang.NoClassD
on of inline code.
>
> You can customized the `org-babel-default-inline-header-args' to inhibit
> the execution of inline code blocks on export.
>
> Best -- Eric
>
> Dov Grobgeld writes:
>
> > From the documentation I see now difference between inline and multi-lin
14, 2010 at 04:49, Noorul Islam wrote:
> On Sun, Nov 14, 2010 at 3:34 AM, Dov Grobgeld
> wrote:
> > From the documentation it seems like a statement such as src_perl{foo()}
> are
> > inline version of the multi line:
> >
> > #+src_perl
> > foo();
> &
>From the documentation it seems like a statement such as src_perl{foo()} are
inline version of the multi line:
#+src_perl
foo();
#+end_src
But when exporting the org file to html I get the question "Evaluate this
perl code on your system" for the inline version, but not for the multiline
version
org-htmlslidy is an org-mode html export option that outputs the result in
HTML Slidy format, see: http://www.w3.org/Talks/Tools/Slidy2/#%281%29 .
The work in progress may be downloaded from:
https://github.com/dov/org-slidy
Note that the resulting output may be heavily modified by supplying
add
I tried warping s5-org this morning into slidy-org and I finally got it to
work with one small remaining problem. In the resulting HTML I have:
which I want to change to:
What is the best way of changing that? I saw that s5-org is using some
jquery rewrites of the xml tree. Is that the best w
rces me to
> focus on key points due to the limited real estate on each slide.
>
> Why not just make an outline in HTML (with all the pretty charts and
> graphs inserted) and project your talking points on a screen?
>
> On Thu, Nov 11, 2010 at 8:25 AM, Dov Grobgeld
> wrote:
&
document into the
non-linear mode of prezi? It certainly supports scrolling, though.
Dov
>
>
> John
>
>
>> Regards,
>> Dov
>>
>>
>> On Thu, Nov 11, 2010 at 15:17, John Hendy wrote:
>>
>>>
>>>
>>> On Thu, Nov 11, 201
ble to scroll a
long slide during a presentation if you can't fit it all on a single screen
full.
Regards,
Dov
On Thu, Nov 11, 2010 at 15:17, John Hendy wrote:
>
>
> On Thu, Nov 11, 2010 at 6:48 AM, Dov Grobgeld wrote:
>
>> In looking for the perfect slide show generation
Point...)
Regards,
Dov
On Thu, Nov 11, 2010 at 15:08, Christian Moe wrote:
> On 11/11/10 1:48 PM, Dov Grobgeld wrote:
>
> * org-s5 - No support for pages overflowing, e.g. when showing a
>>
>> long slides I would like to scroll
>>
>
> You can toggle s5 be
In looking for the perfect slide show generation from org-mode I have so far
checked the following and found that they have serious problems:
- epresenter - Keyboard gets stuck, little control over display.
- org-s5 - No support for pages overflowing, e.g. when showing a long
slides I wou
-keyword, etc). But this is already outside the scope of s5-org and I'll
ask this in a separate question.
Regards,
Dov
On Thu, Nov 11, 2010 at 13:34, Yann Hodique wrote:
> >>>>> "Dov" == Dov Grobgeld writes:
>
> > Great! Thanks! Finally got it working
Great! Thanks! Finally got it working.
Next question. Is it possible to get syntax highlighting in s5/org? This
might be more related to s5 than to s5-org though.
#+SETUPFILE: s5.org
#+TITLE: Perl
#+AUTHOR: Dov Grobgeld
#+BIND: org-s5-html-preamble-footer "A perl test"
* Perl
- A s
5-demo.html
Do you have any idea of what wrong?
Thanks!
Dov
On Thu, Nov 11, 2010 at 02:53, Yann Hodique wrote:
> >>>>> "Dov" == Dov Grobgeld writes:
>
> > I tried to get the s5 presentation mode from
> > https://github.com/sigma/org-s5running, but
I tried to get the s5 presentation mode from
https://github.com/sigma/org-s5running, but I'm missing something. I
followed all the steps in the README,
but how do you generate the S5:ified html? I tried simply doing [C-c C-e b]
but it did not open up in s5 mode. What am I missing? Should the genera
Is it possible to connect narrowing to tree demoting? I'm not sure that I'm
using the right terminology so I'll give an example.
Entire journal:
* 2010
** Jan
*** <2011-01-03 Mon>
Todays agenda
* Do this
* Do that
Meeting
*** <2011-01-04 Tue>
Todays agenda
* Do this
***
Hello,
During the last few days I have learned about org-mode and I'm starting to
plan how to change my current work flow to org-mode. My current work flow is
as follows:
* At the beginning of every new day I create a horizontal line and a time
stamp.
* I use mediawiki == headers == for headers a
79 matches
Mail list logo