Re: [Orgmode] Re: Exporting org to LaTeX to PDF: headings do not convert to sections
Indeed, there was a bug there. Fixed now, thanks. - Carsten On May 22, 2009, at 10:17 AM, Eric S Fraga wrote: Carsten Dominik carsten.domi...@gmail.com writes: On May 21, 2009, at 10:14 PM, Alan E. Davis wrote: I don't understand why I do not see section or subsection, and the sections often come out with bare stars. Is this also because the number of levels has been exceeded? No, this must be a different bug, which I cannot reproduce. Example file??? Carsten, I have been having this problem the past two days but had avoided posting until I determined it wasn't my fault. For the following org file: #--- cut here #+TITLE: t.org #+AUTHOR:Eric S Fraga #+EMAIL: e.fr...@ucl.ac.uk #+DATE: 2009-05-11 Mon #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in- toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: * Testing embedded aligned equations \begin{eqnarray} x = a_i + b_j + c_{k} \\ y = \sqrt{x} \end{eqnarray} \begin{eqnarray*} x = a_i + b_j + c_{k} \\ y = \sqrt{x} \end{eqnarray*} *** This is a subsection with not very much text *** but another which might have had more text in an ideal world. #--- cut here exporting to latex works fine if you export the whole file. If, however, you select a region, such as the region starting from the *** This is a subsection line to the end of the file, the latex export doesn't convert the leading *s to sections, putting the *s directly into the latex: , | ... | \setcounter{tocdepth}{3} | \tableofcontents | \vspace*{1cm} | \textbf{*} This is a subsection | with not very much text | \textbf{*} but another | which might have had more text in an ideal world. | | \end{document} ` hope this helps. ___ 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 ___ 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] Release 6.27
Hi, I am finally releasing Org-mode 6.27, with lots of bug fixes and some new stuff as well. Enjoy! - Carsten Changes in Version 6.27 === Macros for export == Macro processing for export has been enhanced: - You can use arguments in a macro, for example #+macro hello Greet the $1: Hello $1 which would turn `{{{hello(world)}}}' into `Greet the world: Hello world' - The macro value can be an emacs-lisp for to be evaluated at the time of export: #+macro: datetime (eval (format-time-string $1)) - More built-in default macros: date(FORMAT_TIME_STRING): Time/Date of export time(FORMAT_TIME_STRING): Same as date modification-time(FORMAT_TIME_STRING): Last modification of file input-file: Name of the input file The new built-in macros have been requested by Daniel Clemente. Link completion for files and bbdb names = Org now has a general mechanism how modules can provide enhanced support (for example through completion) when adding a link. For example, when inserting a link with `C-c C-l', you can now type `file:' followed by `RET' to get completion support for inserting a file. After entering `bbdb:' and `RET', a completion interface will allow to complete names in the BBDB database. These are the only ones implemented right now, but modules that add a link type `xyz:' can simple define `org-xyz-complete-link' that should return the full link with prefix after aiding the used to create the link. For example, if you have `http' links that you have to insert very often, you could define a function `org-http-complete-link' to help selecting the most common ones. Source file publishing === It is now easy to publish the Org sources along with, for example, HTML files. In your publishing project, replace :publishing-function org-publish-org-to-html with :publishing-function (org-publish-org-to-html org-publish-org-to-org) :plain-source t :htmlized-source t to get both the plain org file and an htmlized version that looks like your editing buffer published along with the HTML exported version. Push exported stuff to kill ring = All exporters now push the produced material onto the kill-ring in Emacs, and also to the external clipboard and the primary selection to make it easy to paste this under many circumstances. Tables in LaTeX without centering == Set the variable `org-export-latex-tables-centered' to nil if you prefer tables not to be horizontally centered. Note that longtable tables are always centered. LaTeX export: TODO markup configurable === The markup for TODO keywords in LaTeX export is now configurable using the variable `org-export-latex-todo-keyword-markup'. ASCII export to buffer === ASCII export has now the same command variations as the other export backends, for example exporting to a temporary buffer instead of a file. The was a request by Samuel Wales. Accessibility improvements for HTTP tables === When exporting tables to HTML, Org now adds `scope' attributes to all header fields, in order to support screen readers. Setting the variable `org-export-html-table-use-header-tags-for-first-column' will request using `th' instead of `td' also in the entire first column, so that also row information can be scoped. This was triggered by a request by Jan Buchal, and as usually Sebastian Rose came up with the right implementation. Timezone information in iCalendar files The timezone information in iCalendar files is now written in the correct format, and can be set in the variable `org-ical-timezone'. This variable is initialized from the `TZ' environment variable. New contributed package org-special-blocks.el == The package turns any undefined `#+begin_...' blocks into LaTeX environments for LaTeX export, and into `div' tags for HTML export. Thanks to Chris Gray for this contribution. More flexibility about placing logging notes. == Logging into a drawer can now also be set for individual subtrees using the `LOG_INTO_DRAWER' property. Requested by Daniel J. Sinder New reload key === Reloading Org has moved to a new key, `C-c C-x !', and is now also available in the agenda. Start Agenda with log mode active == Set the new option `org-agenda-start-with-log-mode' to have log mode turned on from the start. Or set this option for specific custom commands. Thanks to Benjamin Andresen for a patch to this effect. Agenda speed optimizations === Depending on circumstances, construction the agenda has become a lot faster. Triggered by Eric S Fraga's reports about using Org on a slow computer
Re: [Orgmode] Release 6.27
Carsten, Exciting new stuff! Kudos to you and all the contributors! Thanks. On Sat, May 23, 2009 at 08:35:59AM +0200, Carsten Dominik wrote: Hi, I am finally releasing Org-mode 6.27, with lots of bug fixes and some new stuff as well. Enjoy! - Carsten Changes in Version 6.27 === Macros for export == Macro processing for export has been enhanced: - You can use arguments in a macro, for example #+macro hello Greet the $1: Hello $1 which would turn `{{{hello(world)}}}' into `Greet the world: Hello world' - The macro value can be an emacs-lisp for to be evaluated at the time of export: #+macro: datetime (eval (format-time-string $1)) - More built-in default macros: date(FORMAT_TIME_STRING): Time/Date of export time(FORMAT_TIME_STRING): Same as date modification-time(FORMAT_TIME_STRING): Last modification of file input-file: Name of the input file The new built-in macros have been requested by Daniel Clemente. Link completion for files and bbdb names = Org now has a general mechanism how modules can provide enhanced support (for example through completion) when adding a link. For example, when inserting a link with `C-c C-l', you can now type `file:' followed by `RET' to get completion support for inserting a file. After entering `bbdb:' and `RET', a completion interface will allow to complete names in the BBDB database. These are the only ones implemented right now, but modules that add a link type `xyz:' can simple define `org-xyz-complete-link' that should return the full link with prefix after aiding the used to create the link. For example, if you have `http' links that you have to insert very often, you could define a function `org-http-complete-link' to help selecting the most common ones. Source file publishing === It is now easy to publish the Org sources along with, for example, HTML files. In your publishing project, replace :publishing-function org-publish-org-to-html with :publishing-function (org-publish-org-to-html org-publish-org-to-org) :plain-source t :htmlized-source t to get both the plain org file and an htmlized version that looks like your editing buffer published along with the HTML exported version. Push exported stuff to kill ring = All exporters now push the produced material onto the kill-ring in Emacs, and also to the external clipboard and the primary selection to make it easy to paste this under many circumstances. Tables in LaTeX without centering == Set the variable `org-export-latex-tables-centered' to nil if you prefer tables not to be horizontally centered. Note that longtable tables are always centered. LaTeX export: TODO markup configurable === The markup for TODO keywords in LaTeX export is now configurable using the variable `org-export-latex-todo-keyword-markup'. ASCII export to buffer === ASCII export has now the same command variations as the other export backends, for example exporting to a temporary buffer instead of a file. The was a request by Samuel Wales. Accessibility improvements for HTTP tables === When exporting tables to HTML, Org now adds `scope' attributes to all header fields, in order to support screen readers. Setting the variable `org-export-html-table-use-header-tags-for-first-column' will request using `th' instead of `td' also in the entire first column, so that also row information can be scoped. This was triggered by a request by Jan Buchal, and as usually Sebastian Rose came up with the right implementation. Timezone information in iCalendar files The timezone information in iCalendar files is now written in the correct format, and can be set in the variable `org-ical-timezone'. This variable is initialized from the `TZ' environment variable. New contributed package org-special-blocks.el == The package turns any undefined `#+begin_...' blocks into LaTeX environments for LaTeX export, and into `div' tags for HTML export. Thanks to Chris Gray for this contribution. More flexibility about placing logging notes. == Logging into a drawer can now also be set for individual subtrees using the `LOG_INTO_DRAWER' property. Requested by Daniel J. Sinder New reload key === Reloading Org has moved to a new key, `C-c C-x !', and is now also available in the agenda. Start Agenda with log mode active == Set the new option `org-agenda-start-with-log-mode' to have log mode turned on from the start. Or set this option for specific custom commands. Thanks to
Re: [Orgmode] Not inserting new lines
Hi, This happens inside the file as well... Konstantin On Sat, May 23, 2009 at 1:53 PM, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Does this only happen at the end of the file, or anywhere inside the file as well? - Carsten On May 23, 2009, at 1:23 PM, Konstantin Antipin wrote: Dear all, While I am enjoying the power of orgmode, one thing annoys me. If I have todo-item ** TODO Fix orgmode endline problem :emacs: And I want, for example, to add some property. I use \C-c\C-xp for that. Here is the result: ** TODO Fix orgmode endline problem :emacs: :PROPERTIES: :DESCRIPTION: need to send email to the mailing list :END: The problem is that orgmode does not insert new lines correctly and thus treats :PROPERTIES: :DESCRIPTION: need to send email to the mailing list :END: as a simple text, as a header. And I need to insert new lines manually: ** TODO Fix orgmode endline problem :emacs: :PROPERTIES: :DESCRIPTION: need to send email to the mailing list :END: After manual correction orgmode correctly recognize property. This problem exists not only for properties, but basically for everything - When adding new item to the file with remember, or using CLOCK. I understand, that this is the problem with my setup somehow, since I seems to be the only one who have this problem... Need some help with that :) Konstantin -- GNU Emacs 23.0.91. Org-mode version 6.24trans ___ 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 ___ 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] C-k makes entries disappear in agenda view
Hello, As I was saying in anoter post, it looks like there's something weird happening when using C-k in agenda view: 1. Create two new remember entries (i.e. test and test2) with the same tag (I used @office) 2. Narrow down the agenda view to only see the @office entries. 3. Kill the last but one entry (it should be test) : both of test and test2 disappear frow the view. Actually, test2 is not properly killed, but it is scary nonetheless. It only happens with two last entries. Is anyone able to reproduce this ? -- Nicolas Goaziou ___ 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] Hiding #+XXX lines
Daniel J. Sinder wrote: As Keith Lancaster so eloquently wrote on 5/21/2009 2:41 PM: Is it possible to hide, during normal editing, the configuration / comment lines in a project file? I put my entire top-of-the-file configuration in a property drawer. It can obviously be expanded on demand, but otherwise is not expanded (ie, when I load the file). My .emacs has this (from Custom): (custom-set-variables '(org-drawers (quote (PROPERTIES SETUP LOGBOOK The my .org file has this at the top (for example): :SETUP: #+STARTUP: hidestars odd lognoteclock-out lognotedone #+LANGUAGE: en #+OPTIONS: H:4 num:nil toc:nil \n:nil @:t ::t |:t ^:{} *:t TeX:f #+CATEGORY: PROJECTS #+TYP_TODO: TODO(t/@) INPROGRESS(i@/@)| CANCELED(C@/@) DONE(D@/@) #+FILETAGS: Work :END: Dan I have a top-level headline at the end of my file named Config that's tagged with ARCHIVE so it gets grayed out and doesn't open automatically; I don't even notice it anymore ___ 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] 'new line' problem
Dear all, While I am enjoying the power of orgmode, one thing annoys me. If I have todo-item ** TODO Fix orgmode endline problem :emacs: And I want, for example, to add some property. I use \C-c\C-xp for that. Here is the result: ** TODO Fix orgmode endline problem :emacs: :PROPERTIES::DESCRIPTION: need to send email to the mailing list :END: The problem is that orgmode does not insert new lines correctly and thus treats :PROPERTIES::DESCRIPTION: need to send email to the mailing list :END: as a simple text, as a header. And I need to insert new lines manually: ** TODO Fix orgmode endline problem :emacs: :PROPERTIES: :DESCRIPTION: need to send email to the mailing list :END: After manual correction orgmode correctly recognize property. This problem exists not only for properties, but basically for everything - When adding new item to the file with remember, or using CLOCK. I understand, that this is the problem with my setup somehow, since I seems to be the only one who have this problem... Need some help with that :) Konstantin -- GNU Emacs 23.0.91. Org-mode version 6.24trans ___ 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] howto? expand highlighted region only
My time keeping is simple. * effort tracking 2009-03-13 Fri * effort tracking 2009-03-20 Fri * effort tracking 2009-03-30 Mon ... * effort tracking 2009-04-07 Tue And within each are some text and numbers. Sometimes I just want to view only a few days entries by marking the region and pressing TAB which doesn't do the right thing. How can I get to do that? sivaram -- ___ 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] Release 6.27
Great work! I love the development speed of Org... .oO( I still have to learn to cope with it, but I love it *g* ) Greetingsand thanks, Eraldo On Sat, May 23, 2009 at 08:52, Russell Adams rlad...@adamsinfoserv.comwrote: Carsten, Exciting new stuff! Kudos to you and all the contributors! Thanks. On Sat, May 23, 2009 at 08:35:59AM +0200, Carsten Dominik wrote: Hi, I am finally releasing Org-mode 6.27, with lots of bug fixes and some new stuff as well. Enjoy! - Carsten Changes in Version 6.27 === Macros for export == Macro processing for export has been enhanced: - You can use arguments in a macro, for example #+macro hello Greet the $1: Hello $1 which would turn `{{{hello(world)}}}' into `Greet the world: Hello world' - The macro value can be an emacs-lisp for to be evaluated at the time of export: #+macro: datetime (eval (format-time-string $1)) - More built-in default macros: date(FORMAT_TIME_STRING): Time/Date of export time(FORMAT_TIME_STRING): Same as date modification-time(FORMAT_TIME_STRING): Last modification of file input-file: Name of the input file The new built-in macros have been requested by Daniel Clemente. Link completion for files and bbdb names = Org now has a general mechanism how modules can provide enhanced support (for example through completion) when adding a link. For example, when inserting a link with `C-c C-l', you can now type `file:' followed by `RET' to get completion support for inserting a file. After entering `bbdb:' and `RET', a completion interface will allow to complete names in the BBDB database. These are the only ones implemented right now, but modules that add a link type `xyz:' can simple define `org-xyz-complete-link' that should return the full link with prefix after aiding the used to create the link. For example, if you have `http' links that you have to insert very often, you could define a function `org-http-complete-link' to help selecting the most common ones. Source file publishing === It is now easy to publish the Org sources along with, for example, HTML files. In your publishing project, replace :publishing-function org-publish-org-to-html with :publishing-function (org-publish-org-to-html org-publish-org-to-org) :plain-source t :htmlized-source t to get both the plain org file and an htmlized version that looks like your editing buffer published along with the HTML exported version. Push exported stuff to kill ring = All exporters now push the produced material onto the kill-ring in Emacs, and also to the external clipboard and the primary selection to make it easy to paste this under many circumstances. Tables in LaTeX without centering == Set the variable `org-export-latex-tables-centered' to nil if you prefer tables not to be horizontally centered. Note that longtable tables are always centered. LaTeX export: TODO markup configurable === The markup for TODO keywords in LaTeX export is now configurable using the variable `org-export-latex-todo-keyword-markup'. ASCII export to buffer === ASCII export has now the same command variations as the other export backends, for example exporting to a temporary buffer instead of a file. The was a request by Samuel Wales. Accessibility improvements for HTTP tables === When exporting tables to HTML, Org now adds `scope' attributes to all header fields, in order to support screen readers. Setting the variable `org-export-html-table-use-header-tags-for-first-column' will request using `th' instead of `td' also in the entire first column, so that also row information can be scoped. This was triggered by a request by Jan Buchal, and as usually Sebastian Rose came up with the right implementation. Timezone information in iCalendar files The timezone information in iCalendar files is now written in the correct format, and can be set in the variable `org-ical-timezone'. This variable is initialized from the `TZ' environment variable. New contributed package org-special-blocks.el == The package turns any undefined `#+begin_...' blocks into LaTeX environments for LaTeX export, and into `div' tags for HTML export. Thanks to Chris Gray for this contribution. More flexibility about placing logging notes. == Logging into a drawer can now also be set for individual subtrees using the `LOG_INTO_DRAWER' property. Requested by Daniel J. Sinder
[Orgmode] html export of things that look like numbered lists
How would you code a .org file to produce this sort of html page, which contains items that look like numbered list elements? http://press-pubs.uchicago.edu/founders/documents/v1ch2s1.html In that page, a number at the beginning of a line indicates a paragraph in the original work, so the exported html page needs to respect those numbers. Currently, org seems to assume that these are elements of a numbered list, and renumbers the lines sequentially starting at 1. Thanks - bw -- Bill White . bi...@wolfram.com . http://members.wolfram.com/billw No ma'am, we're musicians. ___ 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] html export of things that look like numbered lists
On Sat May 23 2009 at 14:30, Bill White bi...@wolfram.com wrote: How would you code a .org file to produce this sort of html page, which contains items that look like numbered list elements? http://press-pubs.uchicago.edu/founders/documents/v1ch2s1.html In that page, a number at the beginning of a line indicates a paragraph in the original work, so the exported html page needs to respect those numbers. Currently, org seems to assume that these are elements of a numbered list, and renumbers the lines sequentially starting at 1. Here's one solution: write the paragraph numbers as =4.=, =5.=, etc. Cheers - bw, who sometimes has to ask the question in order to answer it -- Bill White . bi...@wolfram.com . http://members.wolfram.com/billw No ma'am, we're musicians. ___ 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] html export of things that look like numbered lists
On May 23, 2009, at 9:30 PM, Bill White wrote: How would you code a .org file to produce this sort of html page, which contains items that look like numbered list elements? http://press-pubs.uchicago.edu/founders/documents/v1ch2s1.html In that page, a number at the beginning of a line indicates a paragraph in the original work, so the exported html page needs to respect those numbers. Currently, org seems to assume that these are elements of a numbered list, and renumbers the lines sequentially starting at 1. You can tell Org that only 1) and not 1. should start a list: (setq org-plain-list-ordered-item-terminator ?\)) HTH - Carsten ___ 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] howto? expand highlighted region only
On May 23, 2009, at 7:11 PM, Sivaram Neelakantan wrote: My time keeping is simple. * effort tracking 2009-03-13 Fri * effort tracking 2009-03-20 Fri * effort tracking 2009-03-30 Mon ... * effort tracking 2009-04-07 Tue And within each are some text and numbers. Sometimes I just want to view only a few days entries by marking the region and pressing TAB which doesn't do the right thing. How can I get to do that? You could narrow the buffer and then use global cycling. - Carsten ___ 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-search-view and files without headlines
On May 22, 2009, at 12:34 AM, Bart Bunting wrote: Hi, I have been experimenting using org-search-view to search my large amount of notes files. Some of these are org files and others are just text without any headings. I have found that if there is a match in one of the text files that does not contain an org headline then org-mode ignores it. Would it be possible to have a generic entry created for the agenda view, perhaps with just the filename of the match? This is non-trivial, why don't you get into the habit to always add a headline in notes files ? - CarstenD If there is a way of doing this already that I’m missing I’d appreciate any pointers. Thanks for an invaluable emacs mode! Bart ___ 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 ___ 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] C-k makes entries disappear in agenda view
Fixed, thanks, please verify. - Carsten On May 23, 2009, at 2:13 PM, emacs-orgmode@gnu.org wrote: Hello, As I was saying in anoter post, it looks like there's something weird happening when using C-k in agenda view: 1. Create two new remember entries (i.e. test and test2) with the same tag (I used @office) 2. Narrow down the agenda view to only see the @office entries. 3. Kill the last but one entry (it should be test) : both of test and test2 disappear frow the view. Actually, test2 is not properly killed, but it is scary nonetheless. It only happens with two last entries. Is anyone able to reproduce this ? -- Nicolas Goaziou ___ 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 ___ 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] Re: Exporting org to LaTeX to PDF: headings do not convert to sections
This solved my problem also. Thank you! Alan Davis An inviscid theory of flow renders the screw useless, but the need for one non-existent. ---Lord Raleigh (John William Strutt), or else his son, who was also a scientist. ___ 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