Hi,
I noticed that in LaTeX export, descriptions in description lists are
surrounded by {} instead of [] in LaTeX export, making them not correctly
rendered.
For example, the following
- Description :: Item
- Description :: Item
gets exported as
\begin{description}
\item{Description} Item
\it
Hi,
When I right click on an agenda item to invoke org-agenda-switch-to, it shows
only the specific heading for the item and its top-level heading, and
in-between headings are not shown. Is there a way to change this behavior so it
shows all parent headings of the item? Currently I often am con
Hi,
After upgrading to org 9.2, I found that C-c ' (org-edit-special) does not work
on an INCLUDE statement if it has :only-contents t.
That is, I can normally visit the subtree with CUSTOM_ID theory in paper.org if
I press C-c ' on the following:
#+INCLUDE: "./paper.org::#theory"
but pre
Hi,
Eventually I would like to batch-run a src block in a command line. While
investigating it, I found that org-babel-execute-src-block throws "Wrong type
argument: consp, nil" error when I run it over a #+CALL statement. For example,
I can run the test src block below but it fails when the cu
Hi -
> Nicolas Goaziou writes:
> The initial report is wrong anyway, because "file:test test.hmtl" is not
> a valid link syntax, i.e., plain links cannot contain spaces. It should
> be:
>
> (org-open-link-from-string "[[file:test test.hmtl]]")
>
> IMO, there is nothing to fix in the first pl
Hi -
With Org mode version 9.1.12 (9.1.12-elpaplus @
~/.emacs.d/elpa/org-plus-contrib-20180427/), whenever I do C-c ' on a
#+INCLUDE: , I get user-error: No link found error. I thought at first the
include was broken, but when I export the file it correctly works, so the
visiting part is the p
Hi,
With current org version (Org mode version 9.1.8 (9.1.8-elpaplus @
c:/Users/joon/.emacs.d/elpa/org-plus-contrib-20171228/)),
org-open-link-from-string does not work with a path string if it includes a
space. For example,
(org-open-link-from-string "file:test test.hmtl")
yields
user-error
Hi,
I often see the error message: "Opening input file: No such file or directory"
for one of the org files that has wrong file path for a #+SETUPFILE. It usually
happens when I change the path of the setup file which is used by multiple org
files.
However, currently it is hard to locate the f
> 2. Write a function to look up the tree from point and export the first
> subtree with a certain property.
I thought about implementing the second approach. I have slides for
several talks in the same org file. Since I mostly need this
functionality when I'm developing slides, just going up from
Answering without full knowledge!
Thank you so much for the reply - your reply gave me several ideas. I think Q1
and Q3 are solved, but I still have no idea how to do Q2 or if it is possible.
Q1, I figured it out and started using it - the {{{n}}} macros are awesome!
2. I was wondering if it i
Hi,
I have several questions about macro replacement usage.
1. I saw people using {{{n}}} macros, which looks very useful, but I could not
find it in current documentation about macro replacement
(http://orgmode.org/manual/Macro-replacement.html). Is this only available in
developmental versio
;+newpage"))
)
(add-hook 'org-export-before-parsing-hook 'org/parse-headings-newpage)
From: Emacs-orgmode on
behalf of Joon Ro
Sent: Wednesday, February 8, 2017 8:58:40 PM
To: Nick Dokos; emacs-orgmode@gnu.org
Subject: Re: [O] Adding #+LATEX: \
> So you'll have to manipulate org-map-continue-from appropriately.
Thanks a lot! Adding (setq org-map-continue-from (outline-next-heading)) after
insert-string seemed to solve the problem.
(I added "newpage" to org-tags-exclude-from-inheritance, so the newpage does
not get applied to subheading
tring messes up the position. How would I insert string with the newline
character before a heading?
Best,
Joon
From: Thomas S. Dye
Sent: Wednesday, February 8, 2017 2:48:47 PM
To: Joon Ro
Cc: emacs-orgmode@gnu.org
Subject: Re: [O] Adding #+LATEX: \newpage befo
;)
but I'm not sure how to add #+LATEX: \newpage before the section header - any
help would be greatly appreciated.
Best,
Joon
________
From: Joon Ro
Sent: Wednesday, February 8, 2017 1:52:42 PM
To: emacs-orgmode@gnu.org
Subject: Adding #+LATEX: \newpage before
Hi,
In latex export, sometimes I want to make sure a section starts in a new page.
It seems I should be able to add a hook to org-export-before-parsing-hook, so
if it sees a section with :newpage: tag (for example), it adds #+LATEX:
\newpage before the section header so I would get
\newpage
> Will this get syncd to the emacs repo ?
> The emacs master branch still has org 8.2.10.
You might want to add the org repo if you want to get the latest version of
org. I have the following in my init.el file (org in addition to melpa):
(when (>= emacs-major-version 24)
(require 'package
1:00PM–04:00PM instead?
Best,
Joon
____
From: Emacs-orgmode on
behalf of Joon Ro
Sent: Wednesday, January 11, 2017 4:43:28 PM
To: emacs-orgmode@gnu.org
Subject: [O] format-time-string for a time range
Hi,
I'm trying to specify org-time-stamp-custom-formats for
Hi,
I'm trying to specify org-time-stamp-custom-formats for a time range. For
example,
[2016-05-10 Tue 13:00-16:00]
Is there any way to specify this? Currently I'm using ("<%b %d (%a)>" . "<%b %d
(%a) %I:%M%p>"), which results in May 10 (Tue) 01:00PM.
I have not been able to find symbols
> thank you, Joon, that is extremely helpful. Do you have a publishing setup in
> which you use this function? It looks like it would have to be rewritten
> somewhat to accept the parameters (plist filename pub-dir); I am either too
> tired or twoo stupid (or both! ) figure it out quickly, so if y
> In my course repositories, I have all my lecture notes in one file, and all
> my assignments in another. So they have the form
>
> * Lecture 1
> ** Slide 1
> ** Slide 2
> * Lecture 2 ...
>
> * Assignment 1
> ** Description
> ** Rubric
> * Assignment 2...
>
> I'd like to have publishing functio
Hi,
When I use org 8.3.6, it works correctly, but when I use org 9.0.3, it seems
org-babel-tangle ignores noweb-ref property. For example, using the example
from http://orgmode.org/manual/noweb_002dref.html:
#+BEGIN_SRC sh :tangle yes :noweb yes :shebang #!/bin/sh
<>
#+END_SRC
Hi,
After upgrading to org-mode 9.0, I'm getting the same error described here:
https://lists.gnu.org/archive/html/emacs-orgmode/2013-05/msg01312.html.
Basically LaTeX export stops with an error - pdflatex complains that it cannot
write .log file, when I export a subtree with EXPORT_FILE_NAME
> From: John Kitchin on behalf of John Kitchin
>
>
> huh.. it seems to have disappeared. I deleted the orgplus directory in
> my elpa directory and reinstalled it, and it seemed to go away.
>
> weird.
I can confirm that this worked for me as well - I removed both org and
org-plus-contrib in m
> I get this message on trying to run an elisp block.
>
> Evaluation of this emacs-lisp code-blockis disabled.
>
>
> There are two issues:
> 1. there is a missing space between block and is (and maybe code-block
> should not be hyphenated) in org-babel-check-evaluate
> 2. It used to work! If I run
erent or as many files
as you like during tangling.
Sincerely,
Grant Rettke
On Sat, Jul 30, 2016 at 1:38 PM, Joon Ro wrote:
> can one tangle only the current blocks under header or can you only tangle
> the whole file?
> the issue is again for dotfiles managed by org t
can one tangle only the current blocks under header or can you only tangle the
whole file?the issue is again for dotfiles managed by org that these files are
not proper org babel languages and look like this:
#+BEGIN_SRC conf :mkdirp yes :tangle ~/.config/mpv/mpv.confsoftvol-max=600
#+END_S
> I do not see an easy way to do what you want only with tangle.
>
> There are hooks you can define that might enable you to set things up.
> Maybe you can use `org-babel-pre-tangle-hook' to collect the property
> values and put them somewhere that `org-babel-post-tangle-hook' can get at
> them
>
> Example:
>
> --8<---cut here---start->8---
>
> * Top Heading
>
> #+NAME: get-property
> #+BEGIN_SRC emacs-lisp :noweb yes :var prop="prop" :var pom=0
> (car (org-entry-get-multivalued-property pom prop))
> #+END_SRC
>
> ** Subheading
> :PROPERTIES:
> :
It seems org-property-values gets the property value for the buffer - it ends
up getting the property value from the last subtree in the buffer. I solved
this by using either (org-entry-get nil prop) or (car
(org-entry-get-multivalued-property nil prop)) instead of (car
(org-property-values pr
> --8<---cut here---end--->8---
>
> * Subtree
> :PROPERTIES:
> :DUMMY: Value
> :END:
>
> #+NAME: get-property
> #+BEGIN_SRC emacs-lisp :var prop="prop"
> (car (org-property-values prop))
> #+END_SRC
>
> #+BEGIN_SRC shell :noweb yes
>
> echo <>
>
> #+END_SRC
> Date: Thu, 7 Jul 2016 08:48:03 -0700
> From: ccbe...@ucsd.edu
> To: joon...@outlook.com
> Subject: Re: [O] Using property values in source code blocks
> CC: emacs-orgmode@gnu.org
>
> On Wed, 6 Jul 2016, Joon Ro wrote:
>
> >
> >
> >
> >>
> I have no idea what you are asking.
>
> > The reason is I have to put those values inside a comment,
> > so I cannot pass them as variables.
>
> So your original query about accessing property values from src blocks was
> not what you wanted?
>
> Examples of what one is trying to do - eve
> Yes. `org-property-values' does the trick
>
>
> * Subtree
> :PROPERTIES:
> :DUMMY: Value
> :END:
>
> #+BEGIN_SRC shell :var dumdum=(car (org-property-values "DUMMY"))
> echo $dumdum
> #+END_SRC
>
> #+RESULTS:
> : Value
>
> #+NAME: get-property
> #+BEGIN_SRC emacs-lisp :var prop="prop"
> (or
Hi,
I'm aware of passing variables through header arguments, and also inserting
another source code block using the noweb syntax.
I was wondering, however, would it be possible to directly input values of
properties inside source code blocks? For example,
* Subtree:PROPERTIES::DUMMY: Value:END:
Hi,
Is there any way to use argument with property macro? For example,
* test:PROPERTIES::HIDDEN: @@latex:\iffalse $1 \fi@@:END:
{{{property(HIDDEN(string))}}}
I don't think currently it is possible, but it would be great if this is
possible, or we can have subtree-specific macro replacement.
Than
> A simple derived exporter? Or (on the LaTeX side) the comment package?
>
Thank you. I managed to achieve this with the following code:
(defun my/latex-remove-NOTES-blocks (text backend info) "Filter special blocks
from latex export." (when (eq backend 'latex) (if (string/starts-with tex
Hi,
org-reveal uses notes blocks (#+BEGIN_NOTES) for speaker notes, and I want to
remove those blocks when I export those slides to latex for handouts.For src
blocks it can be done easily with org-export-filter-src-block-functions - is
there any way to do this with generic blocks?
Thank you and
>
> Fixed. Thank you.
>
Thank you so much for the quick fix! It now works perfectly.
Best,Joon
>
> http://orgmode.org/worg/org-faq.html#ecm
>
I sent this email yesterday but I'm sending it again because it seems it did
not go through - I'm sorry if this is a duplicate message.
I found that skip-empty-rows works correctly only if ITEM is in the COLUMNS
property. Here is an ECM :). As yo
> http://orgmode.org/worg/org-faq.html#ecmThank you. I found that
> skip-empty-rows works correctly only if ITEM is in the COLUMNS property. Here
> is an ECM :). As you can see, when ITEM is not included in COLUMNS property,
> it generates an empty line for the parent heading.* Columnview with I
> http://orgmode.org/worg/org-faq.html#ecm
I found that skip-empty-rows works correctly only if ITEM is in the COLUMNS
property. Here is an ECM :). As you can see, when ITEM is not included in
COLUMNS property, it generates an empty line for the parent heading.
* Columnview with ITEM in columns:
>
> Could you provide an ECM? Thank you.
>
I'm sorry, what is an ECM?
-Joon
>
> Could you provide an ECM? Thank you.
>
I'm sorry, what is an ECM?
Hi,
I use columnview a lot with :id option to generate a table from sub-headlines
of the tree that has an :ID: property. The issue is that even with
:skip-empty-rows t option, the generated table always have one empty line on
the top, for the headline for the tree itself.
It would be great to ha
I use Unison for settings like dotfiles, since with unison you don't have to
put files into a specific folder or use symlinks. I miss versioning of Dropbox,
but it is okay since settings do not change that frequently. I just back up
everything every day.
I use AeroFS for sensitive data and Dropb
Hi,
I have been using a link containing elisp:(org-beamer-export-to-pdf nil t) to
export the subtree as a beamer pdf. It used to work well, but after a certain
update a couple of months ago (I'm using 8.3beta and I regularly update it), it
stopped working properly. For example, when I click on t
I figured it out - the culprit was Evil mode. For some reason, if I click on
the link in the normal state, the problem happens, while in emacs state it
works.Thanks.
-JoonFrom: joon...@outlook.com
To: m...@nicolasgoaziou.fr
CC: emacs-orgmode@gnu.org
Subject: RE: [O] subtreep option in export sto
I got rid of my init file and it exported correctly, so I guess there is
something in my init file which was causing this - I will figure it out. Thank
you so much.From: joon...@outlook.com
To: m...@nicolasgoaziou.fr
Date: Sat, 5 Sep 2015 12:34:24 -0700
CC: emacs-orgmode@gnu.org
Subject: Re: [O]
> From: m...@nicolasgoaziou.fr
>
> I cannot reproduce it. Did you (require 'ox-beamer)? You might also try
> latest Org.
>
Thank you for the reply. I added require 'ox-beamer to my init file but it did
not make any difference. I'm using the lastest Org (8.3beta).
Again, my org file is
* Expor
Hi,
I have been using a link containing elisp:(org-beamer-export-to-pdf nil t) to
export the subtree as a beamer pdf. It used to work well, but after a certain
update a couple of months ago (I'm using 8.3beta and I regularly update it), it
stopped working properly. For example, when I click on t
>
> See:
>
> http://orgmode.org/manual/Noweb-reference-syntax.html#Noweb-reference-syntax
>
I have read that documentation several times - I cannot believe I missed that.
Thank you very much.
I found the following thread, and tried to follow it, but it did not work:
https://lists.gnu.org/archive/html/emacs-orgmode/2010-11/msg00390.html
From: joon...@outlook.com
To: emacs-orgmode@gnu.org
Date: Sun, 21 Jun 2015 21:40:17 -0700
Subject: [O] Tangling #+Results block?
Is it possible to ta
Is it possible to tangle #+RESULTS: block? For example,
#+BEGIN_SRC rst :tangle ./test.txt :noweb yes<>#+END_SRC
#+BEGIN_SRC python :exports results :results output rawprint("Printed
Results")#+END_SRC
#+RESULTS: Printed Results
And I want to tangle #+RESULTS: part, not the actual Python source co
I solved this with providing 'printf' format specifiers
(http://orgmode.org/org.html#Formula-syntax-for-Calc). I wasn't aware of the
the formatting capability - awesome.From: joon...@outlook.com
To: emacs-orgmode@gnu.org
Date: Thu, 18 Jun 2015 15:27:33 -0700
Subject: [O] Column formats for colum
Hi,
I use columnview dynamic block to generate a table so I can export it.However,
it does not obey the #+COLUMNS: settings that I have in the org file.Is there
any way to make it obey the settings? I'm exporting the table for LaTeX and I
want to control the number of digits that it shows.
Chee
Hi,
I'm using the great columnview feature a lot to generate dynamic tables. When I
use %Item column, the generated table shows the stars in front of each
heading.I used to not include "Item" in columns, and added additional property
for the name for each heading to avoid this.
However, I need t
Oh, I forgot to turn on org-use-property-inheritance. Now it works in the
included subtree as well. Thank you so much!From: joon...@outlook.com
To: m...@nicolasgoaziou.fr
CC: emacs-orgmode@gnu.org
Subject: RE: Subtree-specific variables
Date: Sun, 10 May 2015 12:01:23 -0500
> * Subtree root
>
> * Subtree root
> > :PROPERTIES:
> > :EXPORT_Variable: Test> > :END:
> > {{{Variable}}}
> > Would something like this be possible?
> > Best,Joon
>
> It is:
>
> {{{property(EXPORT_Variable)}}}
>
Thank you so much! This will be very useful.
One related question - I'm including another subtr
>
> Usually, you get subtree specific variables with node properties,
> appending "EXPORT_" to them, e.g.
>
> * Subtree root
> :PROPERTIES:
> :EXPORT_AUTHOR: Not me
> :END:
>
> > I have been using #+MACRO: but it seems it is a buffer-wide thing.
>
> The suggestion above doesn't apply to
Hi,
I was wondering if there is a way to have subtree-specific variables?
I have been using #+MACRO: but it seems it is a buffer-wide thing.
For example, it would be great if I can use a property value in org-mode bodies.
Best,Joon
I'm sorry, :results latex solved my problem. :)From: joon...@outlook.com
To: emacs-orgmode@gnu.org
Date: Fri, 1 May 2015 17:34:34 -0500
Subject: [O] ox-latex export code block results without \texttt
Hi,
When I export a org file with an inline code like "Two plus two equals
src_python{return(2
Hi,
When I export a org file with an inline code like "Two plus two equals
src_python{return(2+2)}" to latex, it is exported as "Two plus two equals
\texttt{4}". Is there any way to suppress \texttt and have it exported as a
common text? Usually I would want the verbatim font, but in this partic
> From: m...@nicolasgoaziou.fr
>
> Actually, this is now possible in development version. Truth is no match
> against Time.
>
Indeed! Thank you so much for letting me know (I just saw your reply). In fact
I'm using the dev version and it seems to be working well. Thank you.
-Joon
Apparently it was caused by the following custom function for
org-export-before-parsing-hook that I had to remove the subtree with
"beameronly" tag:
(defun as/delete-ignored-heading (backend)
(unless (equal backend 'beamer)
; remove subtree with beameronly tag
(org-map-entries
Hi,
When I try to export my org files I'm getting this error. For example:
byte-code: Before first headline at position 1 in buffer Blog.org<2>
I could not find any way to fix this - any help will be very appreciated.
Thank you,Joon
Hi,
I just found that beamer export is rendering heading tags with \textsc. For
example, it looks like this in the latex file:
\section{Section Name\hfill{}\textsc{tagname}}
Which makes them show up in the navigation bar in beamer slides.Please let me
know if I can turn this off - I'm using o
> From: m...@nicolasgoaziou.fr
>
> This is not possible.
>
Thanks for letting me know. :)
-Joon
Hi,
I was wondering if it is possible to use macros in properties? I'm exporting a
subtree separately, and wanted to have something like this:
* Heading:PROPERTIES:
:EXPORT_FILE_NAME: ./test:EXPORT_AUTHOR: {{{AUTHOR}}}:END:
#+MACRO: AUTHOR joon
But when I export the document, the author part comes
> From: ras...@gmx.us
> Date: Wed, 1 Apr 2015 21:42:43 +0200
> Subject: Re: [O] INCLUDE heading
>
> Joon Ro writes:
>
> > I would love to have this feature (include only a subtree from another org
> > file) as well.
>
> You can do this in Org v8.3.
>
T
Rob Richmond gmail.com> writes:
>
>
> Hi all,
> I use org-mode to write both papers and slides. The code to generate tables
and figures is placed in source blocks. Most of the time I use the same
tables in my slides as in my papers, but a lot of preprocessing code is
needed to generate the t
71 matches
Mail list logo