[Orgmode] export to html
I understood that a table can be exported to HTML. I can not find how to do this. How do I do this? -- Cecil Westerhof [EMAIL PROTECTED] ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] table heading
I would like the following functionality: A heading with ! text || ! heading | |---+---| | column A | column B | |---+---| and it changes automatically: || ! heading | |---+---+--| | column A | column B | column C | |---+---+--| I allready communicated with Carsten about this. He liked the idea, but did not like to add another column seperator. -- Cecil Westerhof [EMAIL PROTECTED] ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Does org-mode work less under Windows?
At home I use org-mode with Emacs 21.3.1 under Linux. At work I use Emacs 22.0.50.1 under Windows. But severall things work less at work. Links do not work as they should. I keep seeing [[link][description]]. Also hidestars and odd does not work. Anybody an idea what is ahppening here? -- Cecil Westerhof [EMAIL PROTECTED] ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Does org-mode work less under Windows?
Hello Cecil, I run Org Mode version 4.77 on Emacs 22.1.1 on Windows XP Service Pack 2 Is that GNU Emacs or Xemacs you are using? As far as I can see, everything works very well. Hidestars definitely works. The beginning of my files look like: #+STARTUP: overview #+STARTUP: hidestars Perhaps you could send a (small) sample of an org-mode file that demonstrates the problem? Charles Cecil Westerhof [EMAIL PROTECTED] wrote: At home I use org-mode with Emacs 21.3.1 under Linux. At work I use Emacs 22.0.50.1 under Windows. But severall things work less at work. Links do not work as they should. I keep seeing [[link][description]]. Also hidestars and odd does not work. Anybody an idea what is ahppening here? -- Cecil Westerhof [EMAIL PROTECTED] ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Does org-mode work less under Windows?
Op za, 16-06-2007 te 18:38 +1000, schreef Charles Cave: I run Org Mode version 4.77 on Emacs 22.1.1 on Windows XP Service Pack 2 Is that GNU Emacs or Xemacs you are using? I am not at work now. I'll be there at tuesday. I'll look then. Hidestars definitely works. The beginning of my files look like: #+STARTUP: overview #+STARTUP: hidestars I have the same I think. Perhaps you could send a (small) sample of an org-mode file that demonstrates the problem? Will be tuesday. -- Cecil Westerhof [EMAIL PROTECTED] ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] table heading
On 6/16/07, Cecil Westerhof [EMAIL PROTECTED] wrote: I would like the following functionality: A heading with ! text || ! heading | |---+---| | column A | column B | |---+---| and it changes automatically: || ! heading | |---+---+--| | column A | column B | column C | |---+---+--| I allready communicated with Carsten about this. He liked the idea, but did not like to add another column seperator. It looks interesting, but I wouldn't have a need for it, especially if it only work on import. I tend to deal with the org file in org-mode only so I don't use formatting features that clutter the org-file to make it look better on export. However that is a feature of org itself. It has a lot of neat tools that you can use and that stay out of your way if you don't use them. Looking at this, I wonder if table.el would work for you? Or do you need to use the spread sheet features in the same table? Or are you like me and use an emacs install that doesn't work with table.el and that you don't have the authority to try to fix? Edd ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] strip date in agenda view
On 6/15/07, Carsten Dominik [EMAIL PROTECTED] wrote: This should work out of the box and usually does. What exactly does your entry look like? It is like: *** Meeting 2007-06-13 Wed 15:30-17:00 Michael On Jun 14, 2007, at 17:52, Michael wrote: Right now the agenda view looks like: Wednesday 13 June 2007 Work:15:30-17:00 Meeting 2007-06-13 Wed I would think the time stamp between is redundant. Can we remove it from display in the agenda buffer? It makes long text entry look nicer. Michael ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] export to html
On Jun 16, 2007, at 8:14, Cecil Westerhof wrote: I understood that a table can be exported to HTML. I can not find how to do this. How do I do this? http://staff.science.uva.nl/~dominik/Tools/org/org.html#Exporting - Carsten ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Agenda error
When at home I get the following error in org-mode when bringing up the Agenda: Wrong type argument: stringp, nil I don't get this error on my setup at work. I am using org 4.77 (reports as 4.76) with GNU Emacs 22.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.11) of 2007-06-09. This version of Emacs came from the Gentoo masked ebuild so there may be some issues with it. For the M-x toggle-debug-on-error backtrace see the attached file. -- Rick [EMAIL PROTECTED] backtrace Description: Binary data ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Problem with lisp code in spreadsheet
In a row I have the following formula's: =$3 ='(getHours $2);%.2f ='(/ 67 0.72);%.1f ='(/ $3 (getHours $2));%.1f This gives: 67 0.72 93.1 0.0 I would expect the last two to return the same number. Why is this not the case? When I change the last formula to: ='(/ 67 (getHours $2));%.1f I get: 93.5 What is happening here? -- Cecil Westerhof [EMAIL PROTECTED] ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Non-ascii tag names
Carsten, you said in http://thread.gmane.org/gmane.emacs.orgmode/1327/focus=1328 that non-ascii tag names are not supported. I've written a patch that seems to make this work appropriately just by fixing the regexps involving tags to use [:alnum:] instead of a-zA-Z0-9. Is this insufficient? Cheers, David # HG changeset patch # User David Smith [EMAIL PROTECTED] # Date 1182016499 -32400 # Node ID fbf053db75b446b7b896a943ed07696e2fe08110 # Parent 8296b36637ff07252e11bd5eb3f87946f33351a9 patch queue: i18n tags diff -r 8296b36637ff -r fbf053db75b4 org.el --- a/org.el Sun Jun 17 02:38:36 2007 +0900 +++ b/org.el Sun Jun 17 02:54:59 2007 +0900 @@ -3494,7 +3494,7 @@ means to push this value onto the list i (cond ((equal e {) (push '(:startgroup) tgs)) ((equal e }) (push '(:endgroup) tgs)) - ((string-match ^\\([EMAIL PROTECTED])(\\(.\\))$ e) + ((string-match ^\\([[:alnum:[EMAIL PROTECTED])(\\(.\\))$ e) (push (cons (match-string 1 e) (string-to-char (match-string 2 e))) tgs)) @@ -3530,7 +3530,7 @@ means to push this value onto the list i org-todo-line-tags-regexp (concat ^\\(\\*+\\)[ \t]*\\(?:\\( (mapconcat 'regexp-quote org-todo-keywords-1 \\|) - \\))? *\\(.*?\\([ \t]:[a-zA-Z0-9:[EMAIL PROTECTED]:[ \t]*\\)?$\\)) + \\))? *\\(.*?\\([ \t]:[[:alnum:]:[EMAIL PROTECTED]:[ \t]*\\)?$\\)) org-looking-at-done-regexp (concat ^ \\(?: (mapconcat 'regexp-quote org-done-keywords \\|) \\) @@ -4230,7 +4230,7 @@ between words. \\)\\))) (defun org-activate-tags (limit) - (if (re-search-forward [ \t]\\(:[EMAIL PROTECTED]:]+:\\)[ \r\n] limit t) + (if (re-search-forward [ \t]\\(:[[:alnum:]_@:]+:\\)[ \r\n] limit t) (progn (add-text-properties (match-beginning 1) (match-end 1) (list 'mouse-face 'highlight @@ -5981,7 +5981,7 @@ this heading. (progn (if (re-search-forward (concat \\(^\\|\r\\) - (regexp-quote heading) [ \t]*\\(:[a-zA-Z0-9_@:]+:\\)?[ \t]*\\($\\|\r\\)) + (regexp-quote heading) [ \t]*\\(:[[:alnum:]_@:]+:\\)?[ \t]*\\($\\|\r\\)) nil t) (goto-char (match-end 0)) ;; Heading not found, just insert it at the end @@ -6100,7 +6100,7 @@ If ONOFF is `on' or `off', don't toggle (let (res current) (save-excursion (beginning-of-line) - (if (re-search-forward [ \t]:\\([a-zA-Z0-9_@:]+\\):[ \t]*$ + (if (re-search-forward [ \t]:\\([[:alnum:]_@:]+\\):[ \t]*$ (point-at-eol) t) (progn (setq current (match-string 1)) @@ -6206,9 +6206,9 @@ outside the table.) (defconst org-table-range-regexp2 (concat - \\( @[-0-9I$]+ \\| [a-zA-Z]\\{1,2\\}\\([0-9]+\\|\\) \\| \\$[a-zA-Z0-9]+ \\) + \\( @[-0-9I$]+ \\| [a-zA-Z]\\{1,2\\}\\([0-9]+\\|\\) \\| \\$[[:alnum:]]+ \\) \\.\\. - \\( @?[-0-9I$]+ \\| [a-zA-Z]\\{1,2\\}\\([0-9]+\\|\\) \\| \\$[a-zA-Z0-9]+ \\)) + \\( @?[-0-9I$]+ \\| [a-zA-Z]\\{1,2\\}\\([0-9]+\\|\\) \\| \\$[[:alnum:]]+ \\)) Match a range for reference display.) (defconst org-table-translate-regexp @@ -7731,7 +7731,7 @@ When NAMED is non-nil, look for a named \n))) (defsubst org-table-formula-make-cmp-string (a) - (when (string-match ^\\(@\\([0-9]+\\)\\)?\\(\\$?\\([0-9]+\\)\\)?\\(\\$?[a-zA-Z0-9]+\\)? a) + (when (string-match ^\\(@\\([0-9]+\\)\\)?\\(\\$?\\([0-9]+\\)\\)?\\(\\$?[[:alnum:]]+\\)? a) (concat (if (match-end 2) (format @%05d (string-to-number (match-string 2 a))) ) (if (match-end 4) (format $%05d (string-to-number (match-string 4 a))) ) @@ -7752,7 +7752,7 @@ When NAMED is non-nil, look for a named (when (looking-at \\([ \t]*\n\\)*#\\+TBLFM: *\\(.*\\)) (setq strings (org-split-string (match-string 2) *:: *)) (while (setq string (pop strings)) - (when (string-match \\(@[0-9]+\\$[0-9]+\\|\\$\\([a-zA-Z0-9]+\\)\\) *= *\\(.*[^ \t]\\) string) + (when (string-match \\(@[0-9]+\\$[0-9]+\\|\\$\\([[:alnum:]]+\\)\\) *= *\\(.*[^ \t]\\) string) (setq scol (if (match-end 2) (match-string 2 string) (match-string 1 string)) @@ -10070,7 +10070,7 @@ according to FMT (default from `org-emai ;; We are using a headline, clean up garbage in there. (if (string-match org-todo-regexp s) (setq s (replace-match t t s))) - (if (string-match :[EMAIL PROTECTED]:]+:[ \t]*$ s) + (if (string-match :[[:alnum:]_@:]+:[ \t]*$ s) (setq s (replace-match t t s))) (setq s (org-trim s)) (if (string-match (concat ^\\( org-quote-string \\| @@ -10078,7 +10078,7 @@ according to FMT (default from `org-emai (setq s (replace-match t t s))) (while (string-match org-ts-regexp s) (setq s (replace-match t t s -(while (string-match [^a-zA-Z_0-9 \t]+ s) +(while (string-match [^[:alnum:] \t]+ s) (setq s (replace-match t t s))) (or string (setq s (concat * s))) ; Add * for headlines (mapconcat 'identity (org-split-string s [ \t]+) ))) @@ -10420,7 +10420,7 @@ optional argument IN-EMACS is non-nil, E (setq
Re: [Orgmode] Problem with lisp code in spreadsheet
On Jun 16, 2007, at 19:50, Cecil Westerhof wrote: In a row I have the following formula's: =$3 ='(getHours $2);%.2f ='(/ 67 0.72);%.1f ='(/ $3 (getHours $2));%.1f This gives: 67 0.72 93.1 0.0 I would expect the last two to return the same number. Why is this not the case? When I change the last formula to: ='(/ 67 (getHours $2));%.1f I get: 93.5 What is happening here? Since I don't know exactly what getHours does, I cannot be sure. The most likely reason though is that $3 and $2 are interpolated into Lisp expressions as strings, not as numbers. See the discussion of the N mode flag in http://staff.science.uva.nl/~dominik/Tools/org/org.html#Formula-syntax- for-Lisp - Carsten ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Non-ascii tag names
It should be largely sufficient - maybe not 100%, but close. Unfortunately this does not work under XEmacs as far as I know. - Carsten On Jun 16, 2007, at 20:01, David Smith wrote: Carsten, you said in http://thread.gmane.org/gmane.emacs.orgmode/1327/focus=1328 that non-ascii tag names are not supported. I've written a patch that seems to make this work appropriately just by fixing the regexps involving tags to use [:alnum:] instead of a-zA-Z0-9. Is this insufficient? Cheers, David i18n_tags.patch___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Agenda error
On Jun 16, 2007, at 18:33, Rick Moynihan wrote: When at home I get the following error in org-mode when bringing up the Agenda: Wrong type argument: stringp, nil I don't get this error on my setup at work. I am using org 4.77 (reports as 4.76) with GNU Emacs 22.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.11) of 2007-06-09. This version of Emacs came from the Gentoo masked ebuild so there may be some issues with it. For the M-x toggle-debug-on-error backtrace see the attached file. Thanks for the backtrace. This seems to be an odd error that can happen when a buffer without a filename is current when accessing the agenda, so this could be sensitively dependent on setup. This problem will be circumvented in the next version. Thanks. - Carsten ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode