[O] Cannot fold drawer
Hi all, I've recently discovered the drawers for org-mode. When I use standard drawers names (like LOGBOOK or PROPERTIES) I can fold them using the TAB key. If I create drawers with other names (like URLS or NOTES), these folders cannot be folded. I've created these specific folder using the function org-insert-drawer and therefore I suppose that I do not have some syntax problem, but I see that these non-standard drawer names are not colorized (sorry I don't know how to explain this clearly). The version of org-mode I use is: Org-mode version 8.2.4 (8.2.4-dist @ /home/azubi/.emacs.d/elpa/org-20150720/) Can you please explain me what I've done wrong ? Thank you in advance for your help.
Re: [O] evaluate TBLFM
Hi Grant, On 07/21/2015 09:28 AM, Grant Rettke wrote: On Thu, Jun 11, 2015 at 2:45 PM, Charles Millar mill...@verizon.net wrote: I am learning how to use org-babel and want to export (LaTeX) a table with the final column added at final row, which should be inserted. The entire process would take place upon exporting to LaTeX/pdf Desired result (roughly speaking) | date | Description | Amount| |||---| | 6-7 | blah| 1.00 | | 6-8 | blah blah|2.00 | | ||3.00| (this row to be inserted and then column 3 added) (Also nice if a hline were inserted before the last row) The table is generated from a recutils data base and essentially this is the set up #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount #+end_src #+TBLNAME: ATable #+TBLFM: @$=vsum(@I$..@$);%.2f I have read Using Code Blocks in Org Tables in the Worg Babel Introduction and searched the lists and am not sure of how to implement this. I'm not sure what you are trying to perform with this code. That probably says more about me than you. Are you loading the contents of a recfile into an Org-Mode table and them performing a manipulation on that table? Is that what you want to do? You said that you are not sure how to implement this and I am not sure what precisely you want to implement. By the time I arrived at the end of my message the question was vague - very vague! I have no trouble generating a table using the a src block from a recutils file #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount #+end_src #+TBLNAME: ATable results in #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount #+end_src #+TBLNAME: ATable | date | Description | Amount | ||-|| | 6-7| blah| 1.00 | | 6-8| blah blah | 2.00 | Using code I would like to insert a row after the last row from the recutil file, put the word Total in the last cell in the Description column and in the last cell in the Amount column total the cells above. From what I have read, I think source code at the beginning of the file would be possible and then that code would be called using the :post header command the desired result is #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount (possibly wiht :post *this* #+end_src #+TBLNAME: ATable | date | Description | Amount | ||-|| | 6-7| blah| 1.00 | | 6-8| blah blah | 2.00 | || Total | 3.00 | I want to avoid using the keyboard to modify the table, i.e. go to last row, M-S-down to add a row, go to Description column last cell and insert Total and then evaluate a #+TBLFM: @$=vsum(@I$..@$);%.2f (Eventually there may be as many as twenty different tables; the above is the most simple type.) My knowledge of emacs lisp is only enough to try to figure it out when I see the code; all other languages forget about it. Charlie Millar
[O] Questions about exporting: subtitle, level formating, custom highlight markers error
Hello, I am writing a paper-like document in Org-mode, and experimenting with export to HTML and PDF (via LaTeX) in order to share drafts. Not sure yet what the final formatting will be. I am quite new to Emacs/Org-mode, know little about css and nothing about LaTeX. Using Emacs 24.5.1 and Org-mode 8.2.10 that came with it. 1) I would like the exported document to have a subtitle under the title in a smaller and/or lighter font. The latter requirement makes splitting the title with a newline not quite a solution. I believe I saw discussion somewhere about a #+SUBTITLE keyword for LaTeX or HTML export (as opposed to Texinfo which the manual says is supported?) But that seemed to be a feature-in-progress? What is the status of this? Is there an alternative I can use for now? 2) I have #+OPTIONS: H:9 num:9 because explicit level structure is important for this document. I would like to have more control over how this is exported, e.g. by setting heading font size as well as left-margin widths per level, for a staircase-like effect similar to that obtained with org-indent-mode in Org itself. (How) can this be done? 3) I forget through which command/menu, but I set custom markers that 'highlight' the words they surround, within Org itself. I'm using the 'leuven' theme which makes them stand out with a yellow background - useful for passages that need work etc. But now when I try to export to HTML or PDF, it fails with Unknown marker at 10497. Is there a way to get the highlighting in the exported document? Alternatively, can I tell the exporter to ignore the custom markers, i.e. treat them as regular characters? Thanks in advance.
Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error
Xiha x...@laposte.net writes: 1) I would like the exported document to have a subtitle under the title in a smaller and/or lighter font. The latter requirement makes splitting the title with a newline not quite a solution. I believe I saw discussion somewhere about a #+SUBTITLE keyword for LaTeX or HTML export (as opposed to Texinfo which the manual says is supported?) But that seemed to be a feature-in-progress? What is the status of this? Is there an alternative I can use for now? The git version has a #+subtitle keyword. See the git version of the manual for supported backends (most). 2) I have #+OPTIONS: H:9 num:9 because explicit level structure is important for this document. I would like to have more control over how this is exported, e.g. by setting heading font size as well as left-margin widths per level, for a staircase-like effect similar to that obtained with org-indent-mode in Org itself. (How) can this be done? Depends on the backend. With latex you could use setkomafont (of KOMA-Script) and with html you could use css. 3) I forget through which command/menu, but I set custom markers that 'highlight' the words they surround, within Org itself. I'm using the 'leuven' theme which makes them stand out with a yellow background - useful for passages that need work etc. But now when I try to export to HTML or PDF, it fails with Unknown marker at 10497. Is there a way to get the highlighting in the exported document? Alternatively, can I tell the exporter to ignore the custom markers, i.e. treat them as regular characters? No idea about this. It could be a bug anywhere. Hope it helps, Rasmus -- Sådan en god dansk lagereddike kan man slet ikke bruge mere
[O] Documentation patch
Aloha all, Add a clause to indicate some languages don't support multiple Babel sessions. All the best, Tom From 4898a641571fa82b1e1351b74feea6e9d56994aa Mon Sep 17 00:00:00 2001 From: tsdye t...@tsdye.com Date: Sun, 26 Jul 2015 14:39:23 -1000 Subject: [PATCH] Some languages don't support multiple sessions --- doc/org.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/org.texi b/doc/org.texi index d420259..e4a6ad4 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -15995,7 +15995,8 @@ session a name. For example, @code{:session mysession}. If @code{:session} is given but no name string is specified, the session is named according to the language used in the block. All blocks with the same session name share the same session. Using different session names enables concurrent sessions -(even for the same interpreted language). +(even for the same interpreted language, if the language supports multiple +sessions). @end itemize -- 2.4.5 -- Thomas S. Dye http://www.tsdye.com
[O] Backports from Emacs repo
Hello, I've backported changes touching Org files in the main Emacs repo (lisp/org/*.el, doc/misc/org.texi, and etc/refcards/orgcard.tex) since the last Org mode sync with Emacs. These changes are in the temporary branch 'backport-master'. I'll wait to perform the actual merge to master until after Nicolas returns. In the meantime, feel free to let me know if you have any comments or issues with the backports or with how the conflicts are resolved. -- Kyle
Re: [O] John's amazing indexing posts
Hi all, I previously hooked up org with recoll with pretty good results. I’ve written this up for worg, but I have my ssh key on a different machine, so I can’t push now. Here is the info for the record. ** Recoll In order to index using the [[http://www.lesbonscomptes.com/recoll/][recoll]] search engine, you will want to add the following to your =~/.recoll/mimeinfo= file: #+BEGIN_SRC .org = text/x-org .org_archive = text/x-org #+END_SRC You will also need a shell script to convert your org mode files to HTML in batch mode. The script takes as an argument the file to convert and prints the output to stdout. Here is an example: #+BEGIN_SRC sh #!/bin/sh emacs --batch --eval (progn (find-file \$1\) (org-html-export-as-html) (set-buffer \*Org HTML Export*\) (princ (buffer-string))) #+END_SRC You will also need the following in your =~/.recoll/mimeconf=: #+BEGIN_SRC [index] text/x-org = exec /home/egh/.recoll/rclorg ; mimetype = text/html #+END_SRC Now, rebuild your recoll index. Org mode files should be converted to HTML and indexed. It will take some time, because emacs will be launched for each conversion. An alternative is to use [[http://pandoc.org][pandoc]] to do the conversion. It can be configured as follows in your =~/.recoll/mimeconf= file: #+BEGIN_SRC [index] text/x-org = exec pandoc -s -f org -t html5 ; mimetype = text/html #+END_SRC If you want, you might change the pandoc template or org mode output to generate =meta= tags that will be recognized by recoll. See http://www.lesbonscomptes.com/recoll/usermanual/RCL.PROGRAM.html#RCL.PROGRAM.FILTERS.HTML for details. On Mon, 13 Jul 2015 07:31:31 -0700, John Kitchin jkitc...@andrew.cmu.edu wrote: Thanks Matt, That is also my impression of where this will go. Eventually this will move towards a database search engine, e.g. like Oleg's project at https://github.com/wvxvw/sphinx-mode. I am not sure precisely which direction though. Swish-e is nice, but at the moment you cannot incrementally update the database, and full indexing is required every time. I am not sure that is fixable, and swish-e does not do unicode. There are half a dozen or so candidates to go forward on, and they all have some pros and cons to think about. It has a lot of other applications in org too, e.g. a file-system wide agenda, tag search, etc... Matt Price writes: Not sure if everyone has seen John's latest post about indexing org files with swish-e: http://kitchingroup.cheme.cmu.edu/blog/2015/07/06/Indexing-headlines-in-org-files-with-swish-e-with-laser-sharp-results/ It's very impressive. It strikes me as a step towards an incredibly ambitious project that would bring file indexing inside of Emacs -- so it would not longer be necessary to go out to a shell or a Desktop Search tool in order to find files that contain particular search terms. I'm looking forward to your next steps, John! Matt -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
[O] problems with beamer under the new exporter: no theme; unable to specify heading level; slides fill from bottom up
Using org-mode 8.2.4-1 on Linux Mint. Below is a minimal working example of my problem. The trouble is that the Berlin theme is not applied--it remains the default theme. Also, the first slide (after the title slide) seems to fill from the bottom up rather than from the top down. That is, there is a big gap between the word Chemistry and the phrase Malodorous reduced sulfur compounds. Lastly, the H:n option seems to have no effect, regardless of whether n=1, 2, or 3. Appreciate any advice. Thanks. --Chris Ryan * Effects of n-butyl mercaptan on human health :PROPERTIES: :EXPORT_LaTeX_CLASS: beamer :EXPORT_LaTeX_CLASS_OPTIONS: [presentation] :EXPORT_FILE_NAME: HumanHealthEffectsButylMercaptan.pdf :COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt) :BEAMER_col_ALL: 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC :EXPORT_AUTHOR: Christopher W. Ryan, MD, MS :EXPORT_BEAMER_OPTIONS: H:2 :EXPORT_BEAMER_THEME: Berlin :END: ** Chemistry - Malodorous reduced sulfur compounds - Mercaptans - methyl mercaptan - n-butyl mercaptan - ter-butyl mercaptan - Hydrogen sulfide