Re: [Orgmode] Latex: exporting a tree
Third attempt to get your attention: - If you export the (new) minimal example below to latex (C-cC-e l), it works. - If you only export a tree (Subtree in the example; C-cC-e 1 l), the first table ends at the horizontal line and everything between it and the next node (Subsubtree) is eliminated. The second (identical) table is exported correctly. - If you remove the asterisk(s) in the first table, it works. This problem crept in in the last days or weeks before 7.4. It may not be a problem for most of you, but I happen to have a number of files where columns are automatically displayed as tables preceding the first subnode (#+BEGIN: columnview ...). An alternative would be to display %ITEM in column-view without the asterisks. Emacs 23.2.1 on OS X 10.6.5 Org-mode version 7.4 (release_7.4.24.g48b11.dirty) Thanks, Jörg ---New minimal example * Subtree | One| Two | Three | |+--+---| | * Test | text | text | | ** One | text | text | Some text ** Subsubtree | One| Two | Three | |+--+---| | * Test | text | text | | ** One | text | text | End of new minimal example- On 12/10/10 3:49 PM, Jörg Hagmann wrote: I checked the problem below with the latest (7.4 alias 7.3) version and it is still there. Could somebody look into that? Emacs 23.2 on OS X 10.6.5 Thanks, Jörg With today's pull, exporting a subtree to latex (C-cC-e 1 l) truncates a table at the horizontal line and eliminates the text between the table and the next heading. It works when exporting the whole file (C-cC-e l). ---Minimal example-- * Test :PROPERTIES: :COLUMNS: %15ITEM(Lecture) %number %Date %hours{+} %status{X/} :status_ALL: [ ] [X] :END: #+BEGIN: columnview :hlines 1 :id local :maxlevel 2 | Lecture | number | Date | hours | status | |-+--+--+---+| | * Test | | | 2 | [0/1] | | ** One | 16.1.7.1 | [2010-12-13 Mon 10:15-12:00] | 2 | [ ]| #+END: Some text ** One :PROPERTIES: :Date: [2010-12-13 Mon 10:15-12:00] :hours: 2 :number: 16.1.7.1 :status: [ ] :END: -End of minimal example--- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Latex: exporting a tree
I checked the problem below with the latest (7.4 alias 7.3) version and it is still there. Could somebody look into that? Emacs 23.2 on OS X 10.6.5 Thanks, Jörg With today's pull, exporting a subtree to latex (C-cC-e 1 l) truncates a table at the horizontal line and eliminates the text between the table and the next heading. It works when exporting the whole file (C-cC-e l). ---Minimal example-- * Test :PROPERTIES: :COLUMNS: %15ITEM(Lecture) %number %Date %hours{+} %status{X/} :status_ALL: [ ] [X] :END: #+BEGIN: columnview :hlines 1 :id local :maxlevel 2 | Lecture | number | Date | hours | status | |-+--+--+---+| | * Test | | | 2 | [0/1] | | ** One | 16.1.7.1 | [2010-12-13 Mon 10:15-12:00] | 2 | [ ]| #+END: Some text ** One :PROPERTIES: :Date: [2010-12-13 Mon 10:15-12:00] :hours: 2 :number: 16.1.7.1 :status: [ ] :END: -End of minimal example--- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Configuration query
M-x load-file RET .emacs ? On 11/17/10 10:19 PM, Thomas S. Dye wrote: Aloha all, This might be a naive query, but I'm wondering if there is some standard way to put the emacs configuration back to a previous state outside of the customization interface? I'm finding that I frequently work with Org-mode files that need different configurations. I typically have a #+begin_src emacs-lisp block in these files that I can execute with C-c C-c, so that emacs behaves the way the file requires for the task at hand. When I'm done, though, and jump onto the next task, which might depend on my standard configuration to work correctly, I sometimes find that the changes I've made break things. At this point, I typically save, quit emacs and start over. What I'd like to do is be able to have, in each file that contains an emacs-lisp source block that changes the configuration, a corresponding source code block that puts things back the way they were before the block was executed. Perhaps there is an easy way to do this? All the best, Tom ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: export
regarding export to latex: When exporting to latex (C-e, l) a new frame opens (it didn't before). There must be a customization option for avoiding that, but I can't find it. Emacs 23.2.1, recent pull. I am not able to reproduce this on Org-mode version 7.01trans (release_7.01h.661.g6803) GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-01-30 on noorul Well, it only happens on my mac, not on Linux. I thought I inadvertently must have changed something. PS: The new frame contains the .org file I'm exporting from, not the exported (.tex) file. Thanks, Jörg ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] export
regarding export to latex: When exporting to latex (C-e, l) a new frame opens (it didn't before). There must be a customization option for avoiding that, but I can't find it. Emacs 23.2.1, recent pull. Thanks, Jörg ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] capture problem
Regarding capture: When using cature, after having selected the template, I often get the message: byte-code: Capture abort: (quit pasteboard doesn't contain valid data) It works again after reloading .emacs. What is the problem? Emacs 23.2.1, recent pull. Thanks, Jörg ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bug: subtree export fails with src block
On 10/4/10 5:06 PM, Eric Schulte wrote: Similar, I think this thread is also related http://thread.gmane.org/gmane.emacs.orgmode/31312/focus=31392 either way the issue should be fixed in the latest Org-mode. Please let me know if that is not the case. Yes, it works with today's org version. Many thanks! Jörg Best -- Eric Jörg Hagmannjoerg.hagm...@unibas.ch writes: This might be the same problem I discussed recently? See this thread: http://thread.gmane.org/gmane.emacs.orgmode/31241/focus=31289 Jörg On 10/4/10 3:48 PM, Eric Schulte wrote: Eric Schulteschulte.e...@gmail.com writes: [...] Giovanni Morettigiova...@reflections.co.nz writes: I'm just starting with Babel and have been puzzled about why one file worked and another didn't. I have been playing in a new file without any headers at all (no lines starting with '*') and while I could execute the code in the buffer, exporting to HTML always failed with: No such file: c:/org/babel-python-test.org:: Hmm, it looks like it's trying to find a file with :: attached to the end which is probably the source of the issue. I wonder if this is a windows specific problem? a-ha, I just noticed that while my test file python.org was exporting w/o problem, it was opening a python.org:: buffer in the process, so maybe the reason this throws errors for you and not for me is just Unix's more permissive file names. I've just pushed up a change to the Babel exporter that will only concat the :: to the end of a file name, where there is actually a heading to following it. Hopefully this will fix the error you described, please let me know if that is not the case. Best -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bug: subtree export fails with src block
This might be the same problem I discussed recently? See this thread: http://thread.gmane.org/gmane.emacs.orgmode/31241/focus=31289 Jörg On 10/4/10 3:48 PM, Eric Schulte wrote: Eric Schulteschulte.e...@gmail.com writes: [...] Giovanni Morettigiova...@reflections.co.nz writes: I'm just starting with Babel and have been puzzled about why one file worked and another didn't. I have been playing in a new file without any headers at all (no lines starting with '*') and while I could execute the code in the buffer, exporting to HTML always failed with: No such file: c:/org/babel-python-test.org:: Hmm, it looks like it's trying to find a file with :: attached to the end which is probably the source of the issue. I wonder if this is a windows specific problem? a-ha, I just noticed that while my test file python.org was exporting w/o problem, it was opening a python.org:: buffer in the process, so maybe the reason this throws errors for you and not for me is just Unix's more permissive file names. I've just pushed up a change to the Babel exporter that will only concat the :: to the end of a file name, where there is actually a heading to following it. Hopefully this will fix the error you described, please let me know if that is not the case. Best -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] latex export problem
Hi Christian, On 9/30/10 7:02 PM, Christian Moe wrote: The exact error message is No such file: /Users/me/test.org:: with two colons at the end, right? You are right, I forgot the colons. I reported the same problem on 23 September (Bug: subtree export fails with src block), but others were not able to reproduce it. I can understand that. In my case it worked for at least a month. I have no idea why it stopped doing so. As I wrote at the time, it looks like the problem comes to a head in this part of org-babel-exp-src-blocks : (link (org-make-link-string : (concat : org-current-export-file : :: : (nth 4 (ignore-errors (org-heading-components)) and that org-heading-components fails to return the heading text. I'm not lisp-canny enough to see why. Maybe something to do with the active region? I don't know enough lisp either. But it would be nice if it could be corrected; the (working) alternative is to have all the lines in the source block preceded by #+LATEX: which is less convenient. On 9/30/10 4:55 PM, Jörg Hagmann wrote: Dear list, I have an org file named test.org structured as follows (minimal example): --minimal example * Head text * Second head :PROPERTIES: :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t *:t skip:nil d:nil tags:nil :EXPORT_TITLE: My Title :EXPORT_FILE_NAME: scripts/filename :END: #+begin_src latex \input gentium-ge #+end_src ** section text --end of minimal example--- I export the second head to a filename.tex file in a subdirectory (and convert it later to ConTeXt code, but that shouldn't matter here). I swear that this worked -- I have everything pertaining to my lectures in this file. However, it stopped working recently (without updating org-mode). All I get when I export Second Head to latex is: No such file: /Users/me/test.org The cause is the #+begin_src ... #+end_src block Did I inadvertently change some parameter? Or is it a bug (less likely)? Thanks for your suggestions, Jörg ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: latex export problem
org-version: yesterday's pull emacs: 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-09 On 10/1/10 9:32 AM, Noorul Islam K M wrote: Jörg Hagmannjoerg.hagm...@unibas.ch writes: Dear list, I have an org file named test.org structured as follows (minimal example): --minimal example * Head text * Second head :PROPERTIES: :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t *:t skip:nil d:nil tags:nil :EXPORT_TITLE: My Title :EXPORT_FILE_NAME: scripts/filename :END: #+begin_src latex \input gentium-ge #+end_src ** section text --end of minimal example--- I export the second head to a filename.tex file in a subdirectory (and convert it later to ConTeXt code, but that shouldn't matter here). I swear that this worked -- I have everything pertaining to my lectures in this file. However, it stopped working recently (without updating org-mode). All I get when I export Second Head to latex is: No such file: /Users/me/test.org The cause is the #+begin_src ... #+end_src block Can you please tell us which version of emacs and org-mode are you using? M-x org-version M-x emacs-version Thanks and Regards Noorul -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: latex export problem
On 10/1/10 11:17 AM, Noorul Islam wrote: I have on my machine: Org-mode version 7.01trans (release_7.01h.609.gc4916) GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-09-29 on noorul Thanks and Regards Noorul On emacs GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-01-30 on noorul I get the following error Debugger entered--Lisp error: (wrong-type-argument stringp nil) get-file-buffer(nil) org-babel-exp-src-blocks(#(\\input gentium-ge 0 17 (fontified nil font-lock-fontified t)) #(latex 0 5 (font-lock-fontified t fontified nil))) apply(org-babel-exp-src-blocks #(\\input gentium-ge 0 17 (fontified nil font-lock-fontified t)) #(latex 0 5 (font-lock-fontified t fontified nil))) byte-code(ÆÇ%'(ÈÉ!)# Thanks and Regards Noorul I now tried it on linux (23.1.1 i486 pc-linux-gnu, GTK+ version 2.20.0) ... ... and there it works! Kind regards, Jörg Jörg Hagmannjoerg.hagm...@unibas.chwrites: Dear list, I have an org file named test.org structured as follows (minimal example): --minimal example * Head text * Second head :PROPERTIES: :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t *:t skip:nil d:nil tags:nil :EXPORT_TITLE: My Title :EXPORT_FILE_NAME: scripts/filename :END: #+begin_src latex \input gentium-ge #+end_src ** section text --end of minimal example--- I export the second head to a filename.tex file in a subdirectory (and convert it later to ConTeXt code, but that shouldn't matter here). I swear that this worked -- I have everything pertaining to my lectures in this file. However, it stopped working recently (without updating org-mode). All I get when I export Second Head to latex is: No such file: /Users/me/test.org The cause is the #+begin_src ... #+end_src block ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: latex export problem
And an update: It also doesn't work on my Mac with Emacs 24 (GNU Emacs 24.0.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.32) of 2010-10-01 on black.porkrind.org Summary: Works on - GNU Emacs 24.0.50.1 (i686-pc-linux-gnu) (Noorul) - GNU Emacs 23.1.1 (i486 pc-linux-gnu) (Jörg) Error on: - GNU Emacs 23.1.1 (i686-pc-linux-gnu) (Noorul) - GNU Emacs 23.2.1 (powerpc-apple-darwin9.8.0) (Christian) - GNU Emacs 23.2.1 (x86_64-apple-darwin) (Jörg) - GNU Emacs 24.0.50.1 (x86_64-apple-darwin) (Jörg) But, to repeat myself, it might not depend on the Emacs version. In my case, it used to work with GNU Emacs 23.2.1 (x86_64-apple-darwin)... Thanks and regards, Jörg On 10/1/10 1:38 PM, Jörg Hagmann wrote: On 10/1/10 11:17 AM, Noorul Islam wrote: I have on my machine: Org-mode version 7.01trans (release_7.01h.609.gc4916) GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-09-29 on noorul Thanks and Regards Noorul On emacs GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-01-30 on noorul I get the following error Debugger entered--Lisp error: (wrong-type-argument stringp nil) get-file-buffer(nil) org-babel-exp-src-blocks(#(\\input gentium-ge 0 17 (fontified nil font-lock-fontified t)) #(latex 0 5 (font-lock-fontified t fontified nil))) apply(org-babel-exp-src-blocks #(\\input gentium-ge 0 17 (fontified nil font-lock-fontified t)) #(latex 0 5 (font-lock-fontified t fontified nil))) byte-code(ÆÇ%'(ÈÉ!)# Thanks and Regards Noorul I now tried it on linux (23.1.1 i486 pc-linux-gnu, GTK+ version 2.20.0) ... ... and there it works! Kind regards, Jörg Jörg Hagmannjoerg.hagm...@unibas.chwrites: Dear list, I have an org file named test.org structured as follows (minimal example): --minimal example * Head text * Second head :PROPERTIES: :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t *:t skip:nil d:nil tags:nil :EXPORT_TITLE: My Title :EXPORT_FILE_NAME: scripts/filename :END: #+begin_src latex \input gentium-ge #+end_src ** section text --end of minimal example--- I export the second head to a filename.tex file in a subdirectory (and convert it later to ConTeXt code, but that shouldn't matter here). I swear that this worked -- I have everything pertaining to my lectures in this file. However, it stopped working recently (without updating org-mode). All I get when I export Second Head to latex is: No such file: /Users/me/test.org The cause is the #+begin_src ... #+end_src block ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] latex export problem
Dear list, I have an org file named test.org structured as follows (minimal example): --minimal example * Head text * Second head :PROPERTIES: :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t *:t skip:nil d:nil tags:nil :EXPORT_TITLE: My Title :EXPORT_FILE_NAME: scripts/filename :END: #+begin_src latex \input gentium-ge #+end_src ** section text --end of minimal example--- I export the second head to a filename.tex file in a subdirectory (and convert it later to ConTeXt code, but that shouldn't matter here). I swear that this worked -- I have everything pertaining to my lectures in this file. However, it stopped working recently (without updating org-mode). All I get when I export Second Head to latex is: No such file: /Users/me/test.org The cause is the #+begin_src ... #+end_src block Did I inadvertently change some parameter? Or is it a bug (less likely)? Thanks for your suggestions, Jörg ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] TeX commands or source code in org files
Dear list, Is #+LaTeX: \ATeXCommand the only way to insert LaTeX (or, in my case, ConTeXt) commands in an org file? See the explanations in this minimal example: --minimal example #+TITLE: Minimal Example #+begin_src latex %contextsetups \input libertine-en \setupbodyfont[11pt] %endcontextsetups #+end_src * Heading As I am using ConTeXt, not LaTeX, I convert the tex-file produced by org to a ConTeXt type tex-file. The LaTeX source code above will be moved to the top of my ConTeXt file and contains the ConTeXt setups. Commands /in the body of the file/ work if written like this: #+LaTeX: \MyContextCommand * Heading But not, if written like this (uncomment): ##+BEGIN_LaTeX #\MyContextCommand ##+END_LaTeX This kills everything down to the next heading * Heading The same happens with another begin_src latex block -end of minimal example-- Of course, I can use #+LaTeX: , also for multiline commands. Just curious. Thanks, Jörg ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] agenda-ignore-date and version number
Hi, Two questions: 1. I want to exclude Tags with dates in the agenda and did set Org Agenda Todo Ignore With Date to on. Upon C-c a M mytag, todos with dates still do appear. (Yes, I saved the new setting). Did I misunderstand something? 2. Since 7.01, M-x org-version always reports Org-mode version 7.01trans after a git pull | make clean | make | make install | make install-info sequence. How can I be sure that my installation really gets updated? And why do others report detailed version numbers (after trans), not just trans? Do they use a different command? I reinstalled a new Emacs (Emacsformacosx, version 23.2) and made a new org-mode repository, but that didn't change anything. Thanks for enlightenment, Jörg ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Poll: Who is using these commands
Using them all, JH On 5/8/10 11:14 AM, Carsten Dominik wrote: Hi everyone, I am wondering: How many of your are using these keys C-c C-f C-c C-b C-c C-n C-c C-p for navigation through the outline? These are first class keys, and I would have good uses for these keys if most people don't actually use them. Another question: C-c C-v currently make the TODO sparse tree. I would like to put this tree on `C-c / t' which would be quite logical and free up another first class key. Opinions, veto-attempts? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] apparently too stupid to use checkboxes
Try without a space between Test and [/] ? On 3/23/10 10:51 AM, Eric S Fraga wrote: On Tue, 23 Mar 2010 10:37:14 +0100, Detlef Steuerdetlef.ste...@gmx.de wrote: Hi! I try to use checkboxes (never used before): * TODO Test [/] - [ ] first - [ ] second Now I can C-c C-c to state-change a single box, but the summary box in the headline never gets updated. Very strange. This works perfectly fine for me: typing C-c C-c on the first item, say, checks that box and updates the headline to have [1/2] on it. Typing C-c C-c again clears the checkbox. My org-version is release_6.34c-232-g727a Org-mode version 6.34trans (release_6.34c.232.g727a) ditto. My emacs GNU Emacs 22.3.1 (i586-suse-linux-gnu, GTK+ Version 2.14.4) of 2008-12-03 on build19 I'm on GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2) of 2009-11-02 on raven, modified by Debian Maybe upgrade your Emacs? But, of course, this should work on emacs 22.x as well. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Tabel of contents - html export
When exporting this minimal.org to html ... -- * [[file:./a-file-to-download][file:./an-icon]] First * [[file:./a-file-to-download][file:./an-icon]] Second --- ... the table of contents lists file:./ etc. Is it possible to have it ignore what's in the brackets and just list First, Second? Not a big problem, I can edit the html file by hand. Thanks, Jörg ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] export of list with lowered characters
Hi, How can I get the following to be exported correctly to html? - A 20mM HCO_{3}^{-} - B 20 - 100mM H^{+} - C 20 - 100mM Na^{+} - D 5 - 15 mM K^{+} - E 80 - 150mM Cl^{+} I have ^{}:t in the +OPTIONS: line. In other words: can I turn off strike-throughs (++)? Thanks, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] export of list with lowered characters
Line E should of course be Cl^{-}, but I kept adding plusses not paying attention to the chemistry. Jörg Hagmann wrote: Hi, How can I get the following to be exported correctly to html? - A 20mM HCO_{3}^{-} - B 20 - 100mM H^{+} - C 20 - 100mM Na^{+} - D 5 - 15 mM K^{+} - E 80 - 150mM Cl^{+} I have ^{}:t in the +OPTIONS: line. In other words: can I turn off strike-throughs (++)? Thanks, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-babel
org-babel doesn't work here. First question: do I have the current org-version? I updated today and have 6.30trans (On 2 computers, Mac Leopard and ubuntu). If that's ok, next: I have (require 'org-babel-init) (require 'org-babel-ruby) ;; requires ruby, irb, ruby-mode, and inf-ruby (org-babel-load-library-of-babel) in .emacs Starting emacs gives the Message: An error has occurred while loading `/Users/bonasia/.emacs': File error: Cannot open load file, org-babel-init I either don't have the current version or misunderstood something. Thanks, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-babel
Thank you, David and Carsten. Now it works with shell scripts. With Ruby, I get: Source block produced no output (Using the first example from the manual) Ruby versions 1.8.6 on the Mac, 1.8.7 on ubuntu. ? Thanks, Jörg Carsten Dominik wrote: Hi Jörg, you need to have the contrib/lisp directory of Org on your load path. - Carsten On Sep 15, 2009, at 9:58 AM, Jörg Hagmann wrote: org-babel doesn't work here. First question: do I have the current org-version? I updated today and have 6.30trans (On 2 computers, Mac Leopard and ubuntu). If that's ok, next: I have (require 'org-babel-init) (require 'org-babel-ruby) ;; requires ruby, irb, ruby-mode, and inf-ruby (org-babel-load-library-of-babel) in .emacs Starting emacs gives the Message: An error has occurred while loading `/Users/bonasia/.emacs': File error: Cannot open load file, org-babel-init I either don't have the current version or misunderstood something. Thanks, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-babel
Sorry for the question below. I needed require 'date'; maybe a first example not needing to load anything would avoid this kind of noise. In any case, thanks a lot for this tool! Cheers, Jörg Jörg Hagmann wrote: Thank you, David and Carsten. Now it works with shell scripts. With Ruby, I get: Source block produced no output (Using the first example from the manual) Ruby versions 1.8.6 on the Mac, 1.8.7 on ubuntu. ? Thanks, Jörg Carsten Dominik wrote: Hi Jörg, you need to have the contrib/lisp directory of Org on your load path. - Carsten On Sep 15, 2009, at 9:58 AM, Jörg Hagmann wrote: org-babel doesn't work here. First question: do I have the current org-version? I updated today and have 6.30trans (On 2 computers, Mac Leopard and ubuntu). If that's ok, next: I have (require 'org-babel-init) (require 'org-babel-ruby) ;; requires ruby, irb, ruby-mode, and inf-ruby (org-babel-load-library-of-babel) in .emacs Starting emacs gives the Message: An error has occurred while loading `/Users/bonasia/.emacs': File error: Cannot open load file, org-babel-init I either don't have the current version or misunderstood something. Thanks, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] sorting entries
Hi, When sorting entries (C-c ^ t), I now get the following error: Sorting entries... Wrong type argument: listp, 1231542000.0 Emacs 22, 6.27trans (yesterday's), Mac OS X 10.5.7 This used to work. Thanks, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] relative paths in links
Hi, when writing a relative link, e.g.: [[../index.html][Home]] This gets immediately converted to an absolute path: [[~/some/path/index.html][Home]] This is obviously useless when exporting to html. I'm sure I missed something, but what? Thanks, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] table of contents--html export
Hi, When exporting to html, is it possible to change Table of Contents in the exported file to something of one's own choice? (I don't mean a different language). Thanks, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] table of contents--html export
Hi Matthew, Thanks. I presently have table of contents turned off, and I dont want the same in a different language. What I want is something like On this page, because otherwise users think they are dealing with links to other pages and, depending on where exactly the table of contents link points to, nothing may happen (when the page is short, the pointed to link is already visible etc.). Then they think it didn't work. I tried to change Table of contents in the language section of the file org-exp.el, but that didn't do it. But from your answer I guess that there is no customization for what I want? Regards, Jörg Matthew Lundin wrote: Hi Jörg, Jörg Hagmann joerg.hagm...@unibas.ch writes: When exporting to html, is it possible to change Table of Contents in the exported file to something of one's own choice? (I don't mean a different language). Try customizing the variable org-export-language-setup. This will enable you to change the title of the Table of Contents for your particular locale. Another approach: I get rid of the table of contents heading on my website by using css: --8---cut here---start-8--- #table-of-contents h2 { display: none; } --8---cut here---end---8--- Best, Matt -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] web publishing
Hi, I have a website and would like to change to an org -- html procedure. Since the information I found in the manual and on worg are not sufficient (for me!), could somebody send me the *.org file for either the org or the worg website (index)? Together with the source code of the page and the *.css file, which I have downloaded, I should be able to figure out how to do it. Thank you very much, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] compiling org
I have been using the latest org versions on a mac and on ubuntu, updating according to instructions originally provided by Scott Randby (http://article.gmane.org/gmane.emacs.orgmode/7783/match=randby+hagmann+install). It has always worked nicely, up to version 6.22trans. Since then it still works on the mac (where I have 6.23trans), but on ubuntu I'm stuck at 6.22trans (according to M-x org-version). This is in my Makefile: EMACS=/usr/bin/emacs prefix=/usr/share lispdir=$(prefix)/emacs/22.2/lisp I have checked these locations, and there are no complaints when going through make and make install I also tried installing the downloaded stable version (6.23b), with the same (i.e. no) result. Any suggestions? Thanks, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-plot
I am interested in using org-plot, but can't figure out how to do that. I have (on OS X 10.5): 1. Gnuplot, works 2. gnuplot-mode, works 3. org version 6.22b 4. A line in .emacs: (local-set-key \M-\C-g 'org-plot/gnuplot) 5. a testfile containing the table from the manual (section 3.6) Now what? How to call org-plot (M-C-g is not recognised)? Thanks, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-plot
No. There is no org-plot/gnuplot. I thought it should be included in recent versions of org? I'm sure, not being an expert (but enthusiastic) user of org-mode, it's a very basic mistake of mine. Thanks, Jörg Giovanni Ridolfi wrote: --- Ven 13/2/09, Jörg Hagmann joerg.hagm...@unibas.ch ha scritto: I am interested in using org-plot, but can't figure out how to do that. I have (on OS X 10.5): 1. Gnuplot, works 2. gnuplot-mode, works 3. org version 6.22b 4. A line in .emacs: (local-set-key \M-\C-g 'org-plot/gnuplot) 5. a testfile containing the table from the manual (section 3.6) Now what? How to call org-plot (M-C-g is not recognised)? and does it work if you 1. leave the cursor on the line beginning with #+PLOT: 2. type M-x org-plot/gnuplot ? Giovanni Passa a Yahoo! Mail. La webmail che ti offre GRATIS spazio illimitato, antispam e messenger integrato. http://it.mail..yahoo.com/ ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-plot
The version is 6.22b. What do you mean by activated? I'm regularly updating. On a second computer, running ubuntu 8.10, I have 6.22trans, but the same problem (no org-plot/gnuplot, when checking with M-x org- TAB). Cheers, Jörg Giovanni Ridolfi wrote No. There is no org-plot/gnuplot. 1. what is the output of M-x org-version? 2. Are you sure you have *activated* org-mode 6.22b? I thought it should be included in recent versions of org? 6.22b is the most recent stable. I run it and I have org-plot/gnuplot. Giovanni ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-plot
Thanks, Carsten. I had neither (require 'org) nor (require 'org-install) in my .emacs file, with the latter it works fine. I must have missed the need for that (a search in the manual I performed just now didn't turn it up, I suppose that's why). Maybe I was lucky everything I tried till now worked?! I'm posting this to the whole group, maybe there are others like me there. Thanks, Jörg Carsten Dominik wrote: Let me try a guess: Jörg is activating Org-mode with (require 'org) instead of (require 'org-install) org-plot/gnuplot is an autoloaded function. Another work-around would be adding (require 'org-plot) to .emacs - Carsten On Feb 13, 2009, at 1:24 PM, Giovanni Ridolfi wrote: --- Ven 13/2/09, Jörg Hagmann joerg.hagm...@unibas.ch ha scritto: Giovanni Ridolfi wrote: --- Ven 13/2/09, Jörg Hagmann joerg.hagm...@unibas.ch ha scritto: I am interested in using org-plot, but can't figure out how to do that. I have (on OS X 10.5): 1. Gnuplot, works 2. gnuplot-mode, works 3. org version 6.22b 4. A line in .emacs: (local-set-key \M-\C-g 'org-plot/gnuplot) 5. a testfile containing the table from the manual (section 3.6) Now what? How to call org-plot (M-C-g is not recognised)? and does it work if you 1. leave the cursor on the line beginning with #+PLOT: 2. type M-x org-plot/gnuplot ? No. There is no org-plot/gnuplot. 1. what is the output of M-x org-version? 2. Are you sure you have *activated* org-mode 6.22b? I thought it should be included in recent versions of org? 6.22b is the most recent stable. I run it and I have org-plot/gnuplot. Giovanni Passa a Yahoo! Mail. La webmail che ti offre GRATIS spazio illimitato, antispam e messenger integrato. http://it.mail..yahoo.com/ ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Footnotes and org-export, revisited
5. A final solution (which might also gain other advantages) could be to begin to facilitate an org-export mode to Pandoc's native plain-text syntax (an extension of Markdown).[7] Pandoc is a robust Haskell engine to convert between plain text formats. This would add a step to org-mode export, but that one step could potentially allow conversion into the wide range of formats that Pandoc supports (markdown, reStructuredText, HTML, LaTeX, ConTeXt, RTF, DocBook XML, OpenDocument XML, ODT, GNU Texinfo, MediaWiki markup, groff man pages, and S5 HTML slide shows). Pandoc's syntax model already has a lot in common with org's. (Both allow LaTeX pass-through, for example). I don't know if such an export would meet the effort vs. value trade off, but I suggest it might. I would welcome an org-export mode to Pandoc's markdown. I'm currently using markdown -- Pandoc for generating pdfs via ConTeXt and editable documents for people using word processors. An org-export mode to markdown would definitely make org the dominating mode for me. Cheers, Jörg -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] checkbox cookies
Hi Edward, hi Scott: Thanks for the answers. I did use checkboxes before, so C-c C-c and C-c # were familiar. But it turned out that (properly!) updating to the recent org-version corrected everything. I recently changed from 10.4 to Leopard, it's possible that the problem existed since the switch---but I don't know. Anyway: now I know how to update org-mode! Thanks, Scott. Cheers, Jörg Jörg Hagmann wrote: I'm using org, but only the basics. I have this problem: When using checkbox lists as follows: * a list[/] 1. [ ] one 2. [ ] two etc. the [/] thing doesn't work. It used to work before, when it stopped working I don't know. More details: 1. Using Carbon emacs (22.2.50.1), Leopard 2. Tried org-6.06b (i.e., copied the /lisp files to /Applications/Emacs.app/Contents/Resources/lisp/textmodes) and restarted, no success. 2. Also not working when using NeXT/OpenStep Emacs for GNUstep and OS X 3. Also not working with Aquamacs (which I don't use) It's probably something simple, but I would be thankful for an answer. Cheers, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] checkbox cookies
I'm using org, but only the basics. I have this problem: When using checkbox lists as follows: * a list[/] 1. [ ] one 2. [ ] two etc. the [/] thing doesn't work. It used to work before, when it stopped working I don't know. More details: 1. Using Carbon emacs (22.2.50.1), Leopard 2. Tried org-6.06b (i.e., copied the /lisp files to /Applications/Emacs.app/Contents/Resources/lisp/textmodes) and restarted, no success. 2. Also not working when using NeXT/OpenStep Emacs for GNUstep and OS X 3. Also not working with Aquamacs (which I don't use) It's probably something simple, but I would be thankful for an answer. Cheers, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode