[Orgmode] [PATCH] Fix an error in org-taskjuggler-get-unique-id
Don't try to pop from an empty list and downcase the result --- lisp/org-taskjuggler.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el index 23f4b62..6367b7a 100644 --- a/lisp/org-taskjuggler.el +++ b/lisp/org-taskjuggler.el @@ -503,7 +503,7 @@ finally add more underscore characters (\"_\")." (parts (split-string headline)) (id (org-taskjuggler-clean-id (downcase (pop parts) ; try to add more parts of the headline to make it unique -(while (member id unique-ids) +(while (and (member id unique-ids) (car parts)) (setq id (concat id "_" (org-taskjuggler-clean-id (downcase (pop parts)) ; if its still not unique add "_" (while (member id unique-ids) -- 1.7.0.4 ___ 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: full production use of org-mode: time to say thanks again!
Hi Jeff, Jeff Horn wrote: > See the commentary in lisp/org-inlinetask.el. >>> >>> I suppose the advantage of inline tasks is that they appear even when the >>> document is folded? >> >> I don't have that behavior. When folded, I only see: >> >> - all level-1 headlines, or >> - all headlines (after second S-TAB) >> >> Did I miss some customization? > > No, I think I just misunderstood the quoted commentary from org-inlinetask.el: > > -- > ;; Visibility cycling exempts these nodes from cycling. So whenever their > ;; parent is opened, so are these tasks. This will only work with > ;; `org-cycle', so if you are also using other commands to show/hide > ;; entries, you will occasionally find these tasks to behave like > ;; all other outline nodes, seemingly splitting the text of the parent > ;; into children. > -- > > It is clearer to me now. I would watch an FAQ or short tutorial, if > one were to be produced. OK. That's clear to me as well now. Thanks. Best regards, Seb -- Sébastien Vauban ___ 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-listings publishing option not used; minted + beamer incompatibility?
Hsiu-Khuern Tang writes: > Hi, > > The :latex-listings option appears to be unused at the present. It > would be great to activate this as an alternative to the > org-export-latex-listings variable. (Same thing for :latex-minted.) > > > BTW, has anyone used minted with beamer? I get errors like Yes, I exported Eric Fraga's babel/beamer slides example using minted last week and it worked fine. However, > Runaway argument? > int main(int argc, char **argv) { \ETC. > ! Paragraph ended before \...@beginscanning was complete. yes, I now get that error. So something has changed recently. I'm using fully updated ubuntu 10.10. What system are you using? > A search on Google shows lots of reports related to beamer and Sweave. So perhaps we're seeing the effects of a recent change in the tex/latex stack, rather than an emacs/org/minted/pygments problem?? Dan > > > Thanks, ___ 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] org-capture target based on filename of .org file from which called
Hi I am using org-mode and org-babel a lot for literate programming. Now I would like to setup a system for capturing 1) bugs which I find and want to fix later and 2) issues which should be solved / addressed but are not that urgent right now. Therefore I would like to use org-capture and its templates. so far so good --- but I would like to have them in two separate files, of which the file name structure is as follow: if the org file in which I want to capture the bug / issue is called project.org, I want the bug file be called project.bugs.org and the issues file project.issues.org. and filed under the heading *BUGS and *ISSUES I have seen the (function function-finding-location) for the target of org-capture, but I don't know how to write that function. Any input welcome, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax:+27 - (0)86 516 2782 Fax:+49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com ___ 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] 20101020_texi-command-names.patch
BTW can't see where the meaning of key "S" is told... Cheers diff --git a/doc/org.texi b/doc/org.texi index 4a725d3..a59e8e8 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -1077,13 +1077,11 @@ after the end of the subtree. Just like @kbd...@key{ret}}, except when adding a new heading below the current heading, the new heading is placed after the body instead of before it. This command works from anywhere in the entry. -...@kindex m...@key{ret} -...@item m...@key{ret} +...@orgcmd{m-s-@key{RET},org-insert-todo-heading} @vindex org-treat-insert-todo-heading-as-state-change Insert new TODO entry with same level as current heading. See also the variable @code{org-treat-insert-todo-heading-as-state-change}. -...@kindex c...@key{ret} -...@item c...@key{ret} +...@orgcmd{c-s-@key{RET},org-insert-todo-heading-respect-content} Insert new TODO entry with same level as current heading. Like @kbd...@key{ret}}, the new headline will be inserted after the current subtree. ___ 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] Automatically select BibTex entries used in the org file
On Tue, 19 Oct 2010 10:27:30 +0200, Lingyu Ma wrote: > At present, if I include a *.bib which has 1000 entries in an org-file, > although I only cite 3 of them in the org-file, the generated html file will > still include all the 1000 entries. > > There was an issue about "org-exp-bibtex.el" in this newsgroup, here is the > address: > http://www.mail-archive.com/emacs-orgmode@gnu.org/msg11723.html > > In the issue, "Taru Karttunen" said it's possible and easy to add an option > to just select the entries that are used in the org-file. > However, I cannot find anything about how to accomplish that. > > Does anyone know how to solve this problem? The feature mentioned there didn't get implemented. You can use the bib2bib command to create a bibtex file with the entries you want and use that. - Taru Karttunen ___ 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: A few questions about how you write e-mails
Samuel Wales writes: > On 2010-10-19, Jeff Horn wrote: >> . >> | like this >> | or this >> .__ > > As it can be an obstacle for people who are new to Emacs to remove the > rectangle, > I do > > === > This > === Gnus provides a function to --8<---cut here---start->8--- wrap text like this --8<---cut here---end--->8--- using C-c M-m (message-mark-inserted-region) I have that as a global binding now (global-set-key (kbd " m") 'message-mark-inserted-region) I also use boxquote.el (global-set-key (kbd " r") 'boxquote-region) (global-set-key (kbd " f") 'boxquote-insert-file) HTH, Bernt ___ 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] How do I change when a new day starts in orgmode?
Carsten Dominik writes: > Hi, > > maybe it would be good to construct a FAQ around org-extend-today-until. > This is actually a quite usable feature. > Done. Or I should say: * DONE FAQ on org-extend-until-today CLOSED: [2010-10-20 Wed 08:04] :) - Matt ___ 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
[Accepted] [Orgmode] 20101020_texi-command-names.patch
Patch 327 (http://patchwork.newartisans.com/patch/327/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C4CBECEB7.7020604%40easy-emacs.de%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [Orgmode] 20101020_texi-command-names.patch > Date: Wed, 20 Oct 2010 16:12:55 - > From: =?utf-8?q?Andreas_R=C3=B6hler_=3Candreas=2Eroehler=40easy-emacs=2Ede?= > =?utf-8?q?=3E?= > X-Patchwork-Id: 327 > Message-Id: <4cbeceb7.7020...@easy-emacs.de> > To: emacs-orgmode > Cc: Carsten Dominik > > BTW can't see where the meaning of key "S" is told... > > Cheers > > > diff --git a/doc/org.texi b/doc/org.texi > index 4a725d3..a59e8e8 100644 > --- a/doc/org.texi > +++ b/doc/org.texi > @@ -1077,13 +1077,11 @@ after the end of the subtree. > Just like @kbd...@key{ret}}, except when adding a new heading below the > current heading, the new heading is placed after the body instead of before > it. This command works from anywhere in the entry. > -...@kindex m...@key{ret} > -...@item m...@key{ret} > +...@orgcmd{m-s-@key{RET},org-insert-todo-heading} > @vindex org-treat-insert-todo-heading-as-state-change > Insert new TODO entry with same level as current heading. See also the > variable @code{org-treat-insert-todo-heading-as-state-change}. > -...@kindex c...@key{ret} > -...@item c...@key{ret} > +...@orgcmd{c-s-@key{RET},org-insert-todo-heading-respect-content} > Insert new TODO entry with same level as current heading. Like > @kbd...@key{ret}}, the new headline will be inserted after the current > subtree. > > > ___ 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
[Accepted] [Orgmode] typo in variable name: org-inlinetask-defaut-state
Patch 324 (http://patchwork.newartisans.com/patch/324/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C874ocie66b.fsf%40stats.ox.ac.uk%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [Orgmode] typo in variable name: org-inlinetask-defaut-state > Date: Tue, 19 Oct 2010 17:08:28 - > From: Dan Davison > X-Patchwork-Id: 324 > Message-Id: <874ocie66b@stats.ox.ac.uk> > To: emacs org-mode mailing list > > > > > diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el > index 29b1544..041ee29 100644 > --- a/lisp/org-inlinetask.el > +++ b/lisp/org-inlinetask.el > @@ -106,7 +106,7 @@ When nil, they will not be exported." > (defvar org-complex-heading-regexp) > (defvar org-property-end-re) > > -(defcustom org-inlinetask-defaut-state nil > +(defcustom org-inlinetask-default-state nil >"Non-nil means make inline tasks have a TODO keyword initially. > This should be the state `org-inlinetask-insert-task' should use by > default, or nil of no state should be assigned." > @@ -117,16 +117,16 @@ default, or nil of no state should be assigned." > > (defun org-inlinetask-insert-task (&optional no-state) >"Insert an inline task. > -If prefix arg NO-STATE is set, ignore `org-inlinetask-defaut-state'." > +If prefix arg NO-STATE is set, ignore `org-inlinetask-default-state'." >(interactive "P") >(or (bolp) (newline)) >(let ((indent org-inlinetask-min-level)) > (if org-odd-levels-only > (setq indent (- (* 2 indent) 1))) > (insert (make-string indent ?*) > -(if (or no-state (not org-inlinetask-defaut-state)) > +(if (or no-state (not org-inlinetask-default-state)) > " \n" > - (concat " " org-inlinetask-defaut-state " \n")) > + (concat " " org-inlinetask-default-state " \n")) > (make-string indent ?*) " END\n")) >(end-of-line -1)) > (define-key org-mode-map "\C-c\C-xt" 'org-inlinetask-insert-task) > ___ 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
[Accepted] [Orgmode] Fix an error in org-taskjuggler-get-unique-id
Patch 326 (http://patchwork.newartisans.com/patch/326/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C871v7modmr.fsf%40saadawi.sbszh.ch%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [Orgmode] Fix an error in org-taskjuggler-get-unique-id > Date: Tue, 19 Oct 2010 12:17:16 - > From: Christian Egli > X-Patchwork-Id: 326 > Message-Id: <871v7modmr@saadawi.sbszh.ch> > To: emacs-orgmode@gnu.org > > Don't try to pop from an empty list and downcase the result > > --- > lisp/org-taskjuggler.el |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el > index 23f4b62..6367b7a 100644 > --- a/lisp/org-taskjuggler.el > +++ b/lisp/org-taskjuggler.el > @@ -503,7 +503,7 @@ finally add more underscore characters (\"_\")." >(parts (split-string headline)) >(id (org-taskjuggler-clean-id (downcase (pop parts) > ; try to add more parts of the headline to make it unique > -(while (member id unique-ids) > +(while (and (member id unique-ids) (car parts)) >(setq id (concat id "_" (org-taskjuggler-clean-id (downcase (pop > parts)) > ; if its still not unique add "_" > (while (member id unique-ids) > ___ 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: How do I change when a new day starts in orgmode?
Hi Matt, Matt Lundin wrote: > Carsten Dominik writes: >> maybe it would be good to construct a FAQ around org-extend-today-until. >> This is actually a quite usable feature. > > Done. Or I should say: > > * DONE FAQ on org-extend-until-today > CLOSED: [2010-10-20 Wed 08:04] Or should you say: #+begin_src org ,* DONE FAQ on =org-extend-until-today= , CLOSED: [2010-10-20 Wed 08:04] #+end_src ;-) Best regards, Seb -- Sébastien Vauban ___ 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] Weird behaviour with org-yank and org-startup-indented
On Mon, Oct 18 2010, Julien Danjou wrote: > I've done this then: > > * TODO Blalaundo > > I go on `u', press C-space, then C-e. The M-; and execute > (x-selection-value), which returns: "undo". > > So far so good. But if I go on `u', press C-space, then C-e, then M-w, > then M-; to execute (x-selection-value), it returns "* TODO Blala". > > So it seems that when the org-startup-indented is set to t, M-w goes > crazy and set the primary selection wrongly. So it seems that the problem I raise does not interest anybody, but I will continue to debug. This is how to reproduce. In a Org buffer with org-startup-indented set to t, type: ** TODO abcdefgh Then: M-x debug-on-entry x-set-selection Go on `c', activate mark press C-e, press M-w (kill-ring-save). You'll hit several breakpoint until you'll get: Debugger entered--entering a function: * x-set-selection(PRIMARY "** TODO") deactivate-mark() And I've been further: saved-region-selection is nil Then as soon as I select the `c' of the above string, saved-region-selection is set to "** TODO". Which seems *bad*. :) -- Julien Danjou // ᐰhttp://julien.danjou.info ___ 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] Automatically select BibTex entries used in the org file
Taru Karttunen wrote: > On Tue, 19 Oct 2010 10:27:30 +0200, Lingyu Ma > wrote: > > At present, if I include a *.bib which has 1000 entries in an org-file, > > although I only cite 3 of them in the org-file, the generated html file > > will still include all the 1000 entries. > > > > There was an issue about "org-exp-bibtex.el" in this newsgroup, here is the > > address: > > http://www.mail-archive.com/emacs-orgmode@gnu.org/msg11723.html > > > > In the issue, "Taru Karttunen" said it's possible and easy to add an option > > to just select the entries that are used in the org-file. > > However, I cannot find anything about how to accomplish that. > > > > Does anyone know how to solve this problem? > > The feature mentioned there didn't get implemented. > > You can use the bib2bib command to create a bibtex file with the entries > you want and use that. > Are you sure? I found a limit:t option mentioned in the commentary of the file, and I posted that. I didn't try it myself but I got email from Lingyu saying it worked. Maybe you implemented it and forgot about it? Nick ___ 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] Weird behaviour with org-yank and org-startup-indented
On Wed, Oct 20 2010, Chong Yidong wrote: > It's rather strange to complain about nobody else working on the bug, > when you (i) did not give a recipe and (ii) stated that you were already > working on it. My bad, I think I forgot to add a smiley at the end of the sentence, so here it is: :-) I did not mean to be rude. :) -- Julien Danjou // ᐰhttp://julien.danjou.info ___ 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] Weird behaviour with org-yank and org-startup-indented
Am 20.10.2010 17:24, schrieb Julien Danjou: On Wed, Oct 20 2010, Chong Yidong wrote: It's rather strange to complain about nobody else working on the bug, when you (i) did not give a recipe and (ii) stated that you were already working on it. My bad, I think I forgot to add a smiley at the end of the sentence, so here it is: :-) I did not mean to be rude. :) Hi Julien, the 24' branch is simply not usable IMHO. I'm afraid for many reasons. Have a look at http://debbugs.gnu.org/ Andreas -- https://code.launchpad.net/~a-roehler/python-mode/python-mode-components https://code.launchpad.net/s-x-emacs-werkstatt/ ___ 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] Weird behaviour with org-yank and org-startup-indented
On Wed, Oct 20, 2010 at 5:33 PM, Chong Yidong wrote: > Julien Danjou writes: > >> In a Org buffer with org-startup-indented set to t, type: >> >> ** TODO abcdefgh >> >> Go on `c', activate mark press C-e, press M-w (kill-ring-save). >> [Wrong primary selection appears] > > The problem is in org-indent-refresh-section, which is run from a timer. > This function first moves point and then calls remove-text-properties, > which is considered a buffer change. Since the mark is active, the > selection code saves the region to saved-region-selection, from which it > is later saved to the primary selection. > > There are a few possible fixes, but I am yet not sure which is best. > One is to avoid setting saved-region-selection inside a timer. Another > is for save-excursion to inhibit writing to saved-region-selection; a > third is not to treat remove-text-properties as a trigger for saving the > primary selection. Another possibility is to protect remove-text-properties from marking the buffer as changed (just as font-lock does). ___ 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: Bug: Another possible error for in-line math parsing
BTW, I can confirm that this error does not occur in the block math environment (wrapping the equations in escaped square brackets). On Wed, Oct 20, 2010 at 1:29 AM, Jeff Horn wrote: > Carsten et al, > > Possible error when escaping dollar sign in inline-math. When using > the following org source: > -- > Supposing $C_H=\$10$ and $C_L=\$20$. > ... > $.30(\$50)+.70(\$20)=\$29$ > -- > The following LaTeX is produced upon publication: > -- > Supposing \$C$_H$=\$10\$ and \$C$_L$=\$20\$ > ... > \$.30(\$50)+.70(\$20)=\$29$ > -- > Whereas the following LaTeX is expected: > -- > Supposing $C_H=\$10$ and $C_L=\$20\$ > ... > $.30(\$50)+.70(\$20)=\$29$ > -- > > Comparing the two different lines of source, I note that in the first > case the four inline math dollars are escaped when they should not be, > and two extra inline math dollars are inserted. In the second case, > all dollars are escaped correctly excepting the first inline math > dollar. > > I'm obviously trying to use dollars as units in my math calculations. > > Thanks for any help, > > Jeff > > -- > Jeffrey Horn > Graduate Lecturer and PhD Student in Economics > George Mason University > > (704) 271-4797 > jh...@gmu.edu > jrhorn...@gmail.com > > http://www.failuretorefrain.com/jeff/ > -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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] Publishing htaccess files with a project
> The problem is, that `org-publish-get-base-files' seems to put basenames > into `org-publish-temp-files' instead of absolute paths. Ah. Thanks for the info. That makes sense. > I'm currently working on it (probably my fault anyway). I really appreciate your help, and I don't blame anyone for the problems I run into using org-mode. It's constantly being developed, so bugs are annoying but expected. I can tell you org-mode has done more for me despite the minor annoyances than most highly-polished commercial software for my Mac. Best, Jeff -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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] Automatically select BibTex entries used in the org file
On Wed, 20 Oct 2010 10:30:01 -0400, Nick Dokos wrote: > Are you sure? I found a limit:t option mentioned in the commentary of > the file, and I posted that. I didn't try it myself but I got email from > Lingyu saying it worked. Maybe you implemented it and forgot about it? > That might be the case. Sorry for the noise. - Taru ___ 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] ELPA Howto
Hi Jambunathan, thanks for your work on the ELPA-compatible Makefile. Jambunathan K writes: > One could host N latest snapshots and expunge the rest. The snapshots > could be published either daily or weekly etc etc. This could be hooked > to existing cron job. This is now the case - see this directory: http://orgmode.org/pkg/daily/ > Just publishing the snapshot itself would help problems surface > faster. I hope so! -- Bastien ___ 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] Publishing htaccess files with a project
Jeff Horn writes: > We had a bit of a discussion off list, but I still haven't been able > to get the behavior I am after. See below. > > > When I make the change as you have suggested above, I get the original > file not found error. > > From the *Messages* buffer: > -- > Select command: > Publishing file /Users/jeffreyhorn/org/ftr/.htaccess using > `org-publish-attachment' > org-publish-attachment: Opening input file: No such file or directory, > /Users/jeffreyhorn/org/ftr/.htaccess > -- > > This is my project definition as it stands now: > -- > ("ftr-htaccess" > :base-directory "~/org/ftr/" > :publishing-directory "~/Sites/FTR/" > :recursive t > :base-extension "org" > :exclude ".org" > :include (".htaccess") > :publishing-function org-publish-attachment) > -- > > > With this configuration, Sebastian and I were expecting the > org-publish-attachment function to pick up the .htaccess file and push > it to the publishing-directory. Instead, publishing exits with very > little information (and no Backtrace is triggered). The information I > have available is quoted above. The problem is, that `org-publish-get-base-files' seems to put basenames into `org-publish-temp-files' instead of absolute paths. I'm currently working on it (probably my fault anyway). Sebastian ___ 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] Aligning Columns in HTML Export Tables
Hi all, Is there a way to specify a particular column in org-mode that will be exported right-aligned in HTML? | A | B | C | | 1 | 2 | 3 | For the table above, I would like column C right aligned when I export to HTML, but the other column aligned in the default way (left aligned?). Thanks in advance, Jeff -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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] Babel for blogging
Sebastian Rose writes: > It's there, too. > > See > > C-h v org-publish-project-alist > > > " > If you create a sitemap file, adjust the sorting like this: > > :sitemap-sort-foldersWhere folders should appear in the >sitemap. Set this to `first' (default) or >`last' to display folders first or last, >respectively. Any other value will mix >files and folders. > :sitemap-alphabetically The site map is normally sorted >alphabetically. Set this explicitly to >nil to turn off sorting. Yes. But if you set this to nil it doesn't sort by time. I'll look if I can provide a patch. -- Manuel Giraud ___ 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] proposal for enhanced org-get-priority function
Dear Experts, I'd like to propose a replacement for the org-get-priority function which is backward compatible with the current version but allows the user to add a sub-priority such as [#A]-5 or [#B]+3: (defun org-get-priority (s) "Find priority cookie and return priority. Priorities of the form [#]- or [#]+ are supported with +/- being optional and modifying the letter priority. The letter priority is multiplied by 10 and then the number priority is added on. Thus a priority string of [#B]+5 is higher than [#B] which is higher than [#B]-2 and all are lower than [#A]. The number sub-priorities allow finer control of sorting in org agendas. " (save-match-data (let* ((priority-match (string-match org-priority-regexp s)) (priority-value (if priority-match (* 10 (- org-lowest-priority (string-to-char (match-string 2 s (* 10 (- org-lowest-priority org-default-priority (sub-priority-match (match-string 3 s)) (sub-priority-value (if sub-priority-match (string-to-number sub-priority-match) 0))) (+ priority-value sub-priority-value ___ 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: Aligning Columns in HTML Export Tables
Jeff Horn writes: > Is there a way to specify a particular column in org-mode that will be > exported right-aligned in HTML? > > | A | B | C | > | 1 | 2 | 3 | > > For the table above, I would like column C right aligned when I export > to HTML, but the other column aligned in the default way (left > aligned?). I think this is supposed to work but it seems the exporters do not honour the alignment details. | | | | | A | B | C | | 1 | 2 | 3 | | 12 | 13 | 300 | | 9 | 11 | 4 | Regards, Bernt ___ 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] A few questions about how you write e-mails
Jeff Horn wrote: > Firstly, I notice some of the regular posters wrap org source in the > #+ style org wrappers, others use a <--8--cut-here---8--> or some > similar "horizontal-rule", and yet others use some sort of vertical > "quoting": > > . > | like this > | or this > .__ > > My first question is two-fold: 1) how did you come to use this style > for quoting code in your replies, and 2) mind sharing the macros or > letting us know what packages you use that help make your e-mails look > tidy? > I use boxquote.el (see http://www.emacswiki.org/emacs/BoxQuote) for the above style, but as Samuel and Bernt point out that's not the best way for quoting material where the recipient is expected to use the quoted material (e.g. code snippets): extracting it from the boxquote is more difficult than it needs to be (even if one has boxquote.el installed).[fn:1] For code, I use the method Bernt described: message-mark-inserted-region, which is similar to the purely textual approach of Samuel's, but does provide nice fontification in my mailer. I bind these functions to keys: C-c q for the boxquote style, C-c m for the message style, but this is very much a matter of personal preference. Sometimes I need boxquote-unbox, but I don't have a key for that: I call the function with M-x ... > Secondly, and somewhat related to the first, are orgsters simply using > gnus with message-mode hook to utilize org footnotes? I've noticed I > can style/face the text with a message-mode hook, but I'm wondering > how everyone deals, in general, with plain text footnotes in e-mail? > Do you even use footnotes for sharing links? > I don't use gnus/message-mode for mail. Re: footnotes - I use them rarely in mail and most of the time by hand, but I do have org-footnote-action bound to a key (see the footnote above) - I just forget to use it most of the time. And I don't style them at all: whatever the mailer/emacs/hooks at the receiving end does, is up to them. > Lastly, are any orgsters using gnus+gmail? I've tried just reading org > list mails in gnus, but I find switching back and forth to be jarring > if I read org list e-mails in a browser throughout the day, since I > end up re-reading a lot of mails. Also, mind sharing how you've mapped > the cumbersome "B m [Gmail]/Trash" to a better key? If anyone feels > inspired, I'd use a package that utilized gmail movement shortcuts in > gnus (so mark with x, move out of inbox with e, or move to trash (as > above) with #). > I don't use gnus (except for news reading - which I only do very rarely nowadays). For mail, I will die with the mh-e keybindings permanently etched in the reptilian part of my brain - by now, the fingers can act independently from the rest of my body. And I only use a browser to search mailing list archives, never to read mail with. Nick Footnotes: [fn:1] I used boxquotes for some code once and Seb Vauban (iirc) took me to task. I'm pretty sure I have not repeated the faux-pas. ___ 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] Publishing htaccess files with a project
Jeff Horn writes: >> The problem is, that `org-publish-get-base-files' seems to put basenames >> into `org-publish-temp-files' instead of absolute paths. > > Ah. Thanks for the info. That makes sense. > >> I'm currently working on it (probably my fault anyway). > > I really appreciate your help, and I don't blame anyone for the > problems I run into using org-mode. It's constantly being developed, > so bugs are annoying but expected. I can tell you org-mode has done > more for me despite the minor annoyances than most highly-polished > commercial software for my Mac. OK. Not to forget the things learned or reading the documentation might have helped... C-h v org-publish-project-alist says: The :include property may be used to include extra files. Its value may be a list of filenames to include. The filenames are considered relative to the base directory. (setq org-publish-project-alist '(("test-htaccess" :base-directory "~/org/" :base-extension "org" :exclude ".org" :include ("subdir/one/.htaccess" "subdir/two/.htaccess") :publishing-directory "~/public_html/" :recursive t :publishing-function org-publish-attachment))) Sebastian ___ 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] Tilde in URL not exported to latex
With the following file (a.tex): * Intro This is an example file that I would like to export Note that the URL has a tilde in it. http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html When I do "C-c C-e d" in this buffer, the latex -> pdf exporter displays a pdf, but I see that the tilde in the URL appears above the following character (l). If I click on the link it works just fine and takes me to the page. In the tex file, I see it has been exported as: \href{http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html} {http://www.stat.uni-muenchen.de/\~leisch/Sweave/FAQ.html} (my line breaking added). Is the above expected behaviour? Do I have to mark up my URLs differently? Org mode recognises it as a url, judging by the font locking. I often use url to format URLs, i.e. this works just fine: \url{http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html} Thanks, Stephen ___ 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: Aligning Columns in HTML Export Tables
On 10/20/10 7:16 PM, Bernt Hansen wrote: Jeff Horn writes: Is there a way to specify a particular column in org-mode that will be exported right-aligned in HTML? | A | B | C | | 1 | 2 | 3 | For the table above, I would like column C right aligned when I export to HTML, but the other column aligned in the default way (left aligned?). I think this is supposed to work but it seems the exporters do not honour the alignment details. | | | | | A | B | C | | 1 | 2 | 3 | | 12 | 13 | 300 | | 9 | 11 | 4 | That's what I find. Ironically, the HTML exporter even includes a =colgroup= with a local =align= attribute set on each =col=, but they all get set to ~align="right"~ despite the settings in the table. Not that it matters; e.g. Firefox doesn't honor colgroup formatting anyway. As a CSS workaround for this particular example, you could add this to the header lines: : #+style: tr td + td + td {text-align: right;} -- but it would clearly be nicer if the exporter honored the settings. Yours, CM ___ 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] org-export-latex-classes issue
Hi, I'ma n00b to Lisp and org-mode so please forgive me if the answer is obvious. I'm using version 7.01h of org-mode. I'm trying to set up a custom Latex class to use for preparing a document. Some Google searching showed that I need to add this class to the org-export-latex-classes symbol. I tried to do this in my .emacs file, for example following what is listed at http://orgmode.org/worg/org-tutorials/org-latex-export.php by adding the following to my .emacs file: (add-to-list 'org-export-latex-classes '("article" "\\documentclass{article}" ("\\section{%s}" . "\\section*{%s}"))) I know that org-export-latex-default-class is already set to "article" but this example already shows that something is wrong. When I load emacs the debugger complains that org-export-latex-classes is an empty list: Debugger entered--Lisp error: (void-variable org-export-latex-classes) add-to-list(org-export-latex-classes ("article" "\\documentclass{article}" ("$ eval-buffer(# nil "/home/cmalone/.emacs" nil t) ; Reading at$ load-with-code-conversion("/home/cmalone/.emacs" "/home/cmalone/.emacs" tt) load("~/.emacs" tt) #[nil "^H\205\276^@ \306=\203...@\307^h\310q\202a^@ \311=\20...@\312\307\31$ command-line() normal-top-level() As far as I can tell, org-export-latex-classes is set to nil in org-latex.el, but this isn't loaded until the export dispatcher calls org-export-as-latex. Is this correct? Coincidentally, if I export to latex, the appropriate .tex file is created without issue. My original goal was to setup a custom Latex class - I have tried in the same manner as that used above for the "article" class and the debugger produces the same result. However, when I attempt to export to latex I get the error that my custom class isn't in the org-export-latex-classes list, presumably because of the failure in loading the .emacs file. Any advice? Chris ___ 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] Tilde in URL not exported to latex
Hi Stephen, I recently experienced this issue while adding a reference in a beamer presentation using org-mode. It isn't elegant, but my workaround was to use \sim instead of the tilde character, at least for what is actually displayed in the document - you will still need to use tilde for the actual URL link. Chris On Oct 20, 2010 3:02pm, Stephen Eglen wrote: With the following file (a.tex): * Intro This is an example file that I would like to export Note that the URL has a tilde in it. http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html When I do "Cc Ce d" in this buffer, the latex -> pdf exporter displays a pdf, but I see that the tilde in the URL appears above the following character (l). If I click on the link it works just fine and takes me to the page. In the tex file, I see it has been exported as: \href{http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html} {http://www.stat.uni-muenchen.de/\~leisch/Sweave/FAQ.html} (my line breaking added). Is the above expected behaviour? Do I have to mark up my URLs differently? Org mode recognises it as a url, judging by the font locking. I often use url to format URLs, ie this works just fine: \url{http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html} Thanks, Stephen ___ 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] ELPA Howto
Wonderful Bastien. Part-1 == Did you forget to upload http://orgmode.org/pkg/daily/archive-contents? Once this is done orgmode.org could be used as an ELPA repo in and of itself. I am attaching a sample archive-contents for your ready reference. Part-2 == Downloaded and installed org-20101020.tar. The installation process reported some compile time warnings. See down below. Part-3 == There is an interactive defun package-upload-file in package-x.el that can automate the creation of a new entry in archive-contents. Rough instructions are 1. Hand fix package-upload-buffer-internal - point archive-url to our own repo. - comment out the call to package--update-news 2. (setq package-archive-upload-base "~/pkg/daily/") 3. (package-upload-file "/tmp/org-20101016.tar") Step-3 will 1. Download existing archive-contents 1. copy /tmp/org-20101016.tar to ~/pkg/daily/ 3. Update archive-contents with the new entry. If this is all too hairy may be one can just write a emacs batch script that adds/removes entries from archive-contents taking care to use (version-to-list ...) for recording the package version. Jambunathan K. Attachments: 1. archive-contents (1 (org . [(20101016) nil "Outline-based notes management and organizer" tar]) (org . [(20101017) nil "Outline-based notes management and organizer" tar]) (org . [(20101018) nil "Outline-based notes management and organizer" tar]) (org . [(20101019) nil "Outline-based notes management and organizer" tar]) (org . [(20101020) nil "Outline-based notes management and organizer" tar])) 2. Compiler Warnings reported by org-20101016.tar: Compiling file c:/Documents and Settings/kjambunathan/My Documents/My Data/.emacs.d/elpa/org-20101020/ob-R.el at Thu Oct 21 00:49:34 2010 In end of data: ob-R.el:306:1:Warning: the function `org-number-sequence' is not known to be defined. Compiling file c:/Documents and Settings/kjambunathan/My Documents/My Data/.emacs.d/elpa/org-20101020/ob.el at Thu Oct 21 00:49:42 2010 In end of data: ob.el:1828:1:Warning: the function `org-number-sequence' is not known to be defined. Compiling file c:/Documents and Settings/kjambunathan/My Documents/My Data/.emacs.d/elpa/org-20101020/org-agenda.el at Thu Oct 21 00:49:44 2010 In org-agenda-goto-date: org-agenda.el:5827:35:Warning: reference to free variable `org-agenda-jump-prefer-future' Compiling file c:/Documents and Settings/kjambunathan/My Documents/My Data/.emacs.d/elpa/org-20101020/org-compat.el at Thu Oct 21 00:49:55 2010 In org-find-library-name: org-compat.el:329:14:Warning: find-library called with 3 arguments, but accepts only 1 In org-select-frame-set-input-focus: org-compat.el:364:18:Warning: `w32-focus-frame' is an obsolete function (as of Emacs 23.1); use `x-focus-frame' instead. Compiling file c:/Documents and Settings/kjambunathan/My Documents/My Data/.emacs.d/elpa/org-20101020/org.el at Thu Oct 21 00:50:19 2010 In org-toggle-pretty-entities: org.el:5539:4:Warning: attempt to inline `org-decompose-region' before it was defined In org-unfontify-region: org.el:5639:48:Warning: attempt to inline `org-decompose-region' before it was defined In end of data: org.el:19680:1:Warning: the function `org-decompose-region' is not known to be defined. Compiling no file at Thu Oct 21 00:51:49 2010 Bastien writes: > Hi Jambunathan, > > thanks for your work on the ELPA-compatible Makefile. > > Jambunathan K writes: > >> One could host N latest snapshots and expunge the rest. The snapshots >> could be published either daily or weekly etc etc. This could be hooked >> to existing cron job. > > This is now the case - see this directory: > > http://orgmode.org/pkg/daily/ > >> Just publishing the snapshot itself would help problems surface >> faster. > > I hope so! ___ 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] org-export-latex-classes issue
On Oct 20, 2010, at 9:11 AM, chris.m.mal...@gmail.com wrote: Hi, I'm a n00b to Lisp and org-mode so please forgive me if the answer is obvious. I'm using version 7.01h of org-mode. I'm trying to set up a custom Latex class to use for preparing a document. Some Google searching showed that I need to add this class to the org-export-latex-classes symbol. I tried to do this in my .emacs file, for example following what is listed at http://orgmode.org/worg/org-tutorials/org-latex-export.php by adding the following to my .emacs file: (add-to-list 'org-export-latex-classes '("article" "\\documentclass{article}" ("\\section{%s}" . "\\section*{%s}"))) I know that org-export-latex-default-class is already set to "article" but this example already shows that something is wrong. When I load emacs the debugger complains that org-export-latex- classes is an empty list: Debugger entered--Lisp error: (void-variable org-export-latex-classes) add-to-list(org-export-latex-classes ("article" "\ \documentclass{article}" ("$ eval-buffer(# nil "/home/cmalone/.emacs" nil t) ; Reading at$ load-with-code-conversion("/home/cmalone/.emacs" "/home/ cmalone/.emacs" t t) load("~/.emacs" t t) #[nil "^H\205\276^@ \306=\203...@\307^h\310q\202a^@ \311=\2033^@ \312\307\31$ command-line() normal-top-level() As far as I can tell, org-export-latex-classes is set to nil in org- latex.el, but this isn't loaded until the export dispatcher calls org-export-as-latex. Is this correct? Coincidentally, if I export to latex, the appropriate .tex file is created without issue. My original goal was to setup a custom Latex class - I have tried in the same manner as that used above for the "article" class and the debugger produces the same result. However, when I attempt to export to latex I get the error that my custom class isn't in the org- export-latex-classes list, presumably because of the failure in loading the .emacs file. Any advice? Chris___ Hi Chris, My tutorial might have been over-optimistic about the ease of configuration. Perhaps you also need this in your .emacs before you add-to-list: (require 'org-latex) 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
Re: [Orgmode] org-export-latex-classes issue
Hi Tom, That fixed it - I figured it was something simple. Thanks! Chris On Wed, Oct 20, 2010 at 3:49 PM, Thomas S. Dye wrote: > On Oct 20, 2010, at 9:11 AM, chris.m.mal...@gmail.com wrote: > > Hi, >> >> I'm a n00b to Lisp and org-mode so please forgive me if the answer is >> obvious. I'm using version 7.01h of org-mode. >> >> I'm trying to set up a custom Latex class to use for preparing a document. >> Some Google searching showed that I need to add this class to the >> org-export-latex-classes symbol. I tried to do this in my .emacs file, for >> example following what is listed at >> http://orgmode.org/worg/org-tutorials/org-latex-export.php by adding the >> following to my .emacs file: >> >> (add-to-list 'org-export-latex-classes >> '("article" >> "\\documentclass{article}" >> ("\\section{%s}" . "\\section*{%s}"))) >> >> >> I know that org-export-latex-default-class is already set to "article" but >> this example already shows that something is wrong. When I load emacs the >> debugger complains that org-export-latex-classes is an empty list: >> >> Debugger entered--Lisp error: (void-variable org-export-latex-classes) >> add-to-list(org-export-latex-classes ("article" "\\documentclass{article}" >> ("$ >> eval-buffer(# nil "/home/cmalone/.emacs" nil t) ; Reading >> at$ >> load-with-code-conversion("/home/cmalone/.emacs" "/home/cmalone/.emacs" t >> t) >> load("~/.emacs" t t) >> #[nil "^H\205\276^@ \306=\203...@\307^h\310q\202a^@ >> \311=\20...@\312\307\31$ >> command-line() >> normal-top-level() >> >> As far as I can tell, org-export-latex-classes is set to nil in >> org-latex.el, but this isn't loaded until the export dispatcher calls >> org-export-as-latex. Is this correct? Coincidentally, if I export to latex, >> the appropriate .tex file is created without issue. >> >> My original goal was to setup a custom Latex class - I have tried in the >> same manner as that used above for the "article" class and the debugger >> produces the same result. However, when I attempt to export to latex I get >> the error that my custom class isn't in the org-export-latex-classes list, >> presumably because of the failure in loading the .emacs file. >> >> Any advice? >> >> Chris___ >> > > Hi Chris, > > My tutorial might have been over-optimistic about the ease of > configuration. Perhaps you also need this in your .emacs before you > add-to-list: > > (require 'org-latex) > > 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
Re: [Orgmode] org-export-latex-classes issue
Aloha Chris, Thanks for pointing out the bug in the tutorial. I've pushed up a change to Worg. I don't know if you've seen my attempt to make a custom LaTeX article class for org-mode export, but it might have something useful to you. It is here: http://orgmode.org/worg/org-contrib/babel/examples/article-class.php All the best, Tom On Oct 20, 2010, at 9:54 AM, Chris Malone wrote: Hi Tom, That fixed it - I figured it was something simple. Thanks! Chris On Wed, Oct 20, 2010 at 3:49 PM, Thomas S. Dye wrote: On Oct 20, 2010, at 9:11 AM, chris.m.mal...@gmail.com wrote: Hi, I'm a n00b to Lisp and org-mode so please forgive me if the answer is obvious. I'm using version 7.01h of org-mode. I'm trying to set up a custom Latex class to use for preparing a document. Some Google searching showed that I need to add this class to the org-export-latex-classes symbol. I tried to do this in my .emacs file, for example following what is listed at http://orgmode.org/worg/org-tutorials/org-latex-export.php by adding the following to my .emacs file: (add-to-list 'org-export-latex-classes '("article" "\\documentclass{article}" ("\\section{%s}" . "\\section*{%s}"))) I know that org-export-latex-default-class is already set to "article" but this example already shows that something is wrong. When I load emacs the debugger complains that org-export-latex- classes is an empty list: Debugger entered--Lisp error: (void-variable org-export-latex-classes) add-to-list(org-export-latex-classes ("article" "\ \documentclass{article}" ("$ eval-buffer(# nil "/home/cmalone/.emacs" nil t) ; Reading at$ load-with-code-conversion("/home/cmalone/.emacs" "/home/ cmalone/.emacs" t t) load("~/.emacs" t t) #[nil "^H\205\276^@ \306=\203...@\307^h\310q\202a^@ \311=\2033^@ \312\307\31$ command-line() normal-top-level() As far as I can tell, org-export-latex-classes is set to nil in org- latex.el, but this isn't loaded until the export dispatcher calls org-export-as-latex. Is this correct? Coincidentally, if I export to latex, the appropriate .tex file is created without issue. My original goal was to setup a custom Latex class - I have tried in the same manner as that used above for the "article" class and the debugger produces the same result. However, when I attempt to export to latex I get the error that my custom class isn't in the org- export-latex-classes list, presumably because of the failure in loading the .emacs file. Any advice? Chris___ Hi Chris, My tutorial might have been over-optimistic about the ease of configuration. Perhaps you also need this in your .emacs before you add-to-list: (require 'org-latex) 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
[Orgmode] Re: Bug: Another possible error for in-line math parsing
Additionally, the following source from org-mode: `$.30(50)+.70(20)=29$` Is not converted at all by MathJax. Org-mode version 7.01trans, recent git pull from earlier this week. Aquamacs on Snow Leopard. On Wed, Oct 20, 2010 at 12:25 PM, Jeff Horn wrote: > BTW, I can confirm that this error does not occur in the block math > environment (wrapping the equations in escaped square brackets). > > On Wed, Oct 20, 2010 at 1:29 AM, Jeff Horn wrote: >> Carsten et al, >> >> Possible error when escaping dollar sign in inline-math. When using >> the following org source: >> -- >> Supposing $C_H=\$10$ and $C_L=\$20$. >> ... >> $.30(\$50)+.70(\$20)=\$29$ >> -- >> The following LaTeX is produced upon publication: >> -- >> Supposing \$C$_H$=\$10\$ and \$C$_L$=\$20\$ >> ... >> \$.30(\$50)+.70(\$20)=\$29$ >> -- >> Whereas the following LaTeX is expected: >> -- >> Supposing $C_H=\$10$ and $C_L=\$20\$ >> ... >> $.30(\$50)+.70(\$20)=\$29$ >> -- >> >> Comparing the two different lines of source, I note that in the first >> case the four inline math dollars are escaped when they should not be, >> and two extra inline math dollars are inserted. In the second case, >> all dollars are escaped correctly excepting the first inline math >> dollar. >> >> I'm obviously trying to use dollars as units in my math calculations. >> >> Thanks for any help, >> >> Jeff >> >> -- >> Jeffrey Horn >> Graduate Lecturer and PhD Student in Economics >> George Mason University >> >> (704) 271-4797 >> jh...@gmu.edu >> jrhorn...@gmail.com >> >> http://www.failuretorefrain.com/jeff/ >> > > > > -- > Jeffrey Horn > Graduate Lecturer and PhD Student in Economics > George Mason University > > (704) 271-4797 > jh...@gmu.edu > jrhorn...@gmail.com > > http://www.failuretorefrain.com/jeff/ > -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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] A few questions about how you write e-mails
Jeff Horn writes: [...] > > Secondly, and somewhat related to the first, are orgsters simply using > gnus with message-mode hook to utilize org footnotes? I've noticed I > can style/face the text with a message-mode hook, but I'm wondering > how everyone deals, in general, with plain text footnotes in e-mail? For footnotes I use footnote-mode [1], which is not related to Org-mode except possibly as an ancestor or inspiration. It is included in recent versions of Emacs. > Do you even use footnotes for sharing links? > Normally, especially for very long links. > > Lastly, are any orgsters using gnus+gmail? I've tried just reading org > list mails in gnus, but I find switching back and forth to be jarring > if I read org list e-mails in a browser throughout the day, since I > end up re-reading a lot of mails. Also, mind sharing how you've mapped > the cumbersome "B m [Gmail]/Trash" to a better key? If anyone feels > inspired, I'd use a package that utilized gmail movement shortcuts in > gnus (so mark with x, move out of inbox with e, or move to trash (as > above) with #). > Stop using the gmail web interface and do everything through gnus. At least that's what works for me :) Best -- Eric > > Thanks for taking the time to respond! > > Best wishes, > Jeff Footnotes: [1] footnote-mode footnote-mode is an interactive compiled Lisp function in `footnote.el'. (footnote-mode &optional ARG) Toggle footnote minor mode. This minor mode provides footnote support for `message-mode'. To get started, play around with the following keys: key binding --- --- C-c Prefix Command C-c ! Prefix Command C-c ! a Footnote-add-footnote C-c ! b Footnote-back-to-message C-c ! c Footnote-cycle-style C-c ! d Footnote-delete-footnote C-c ! g Footnote-goto-footnote C-c ! r Footnote-renumber-footnotes C-c ! s Footnote-set-style [back] ___ 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: Aligning Columns in HTML Export Tables
On Wed, Oct 20, 2010 at 3:04 PM, Christian Moe wrote: > #+style: tr td + td + td {text-align: right;} Thanks Christian, this workaround is OK for me at the moment since I'm just making this change in one file. +1 (naturally) for the exporter honoring column alignment settings. -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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] Setting up LATEX_HEADER properly.
Hello, I am new to org-mode, not to Emacs and LaTeX though. I am trying to export an org document to LaTeX. It does export but not with the options I want. For example, trying to add just one package I have the following at the end of my org file, I tried to put it at the begining also but it didn't work neither? Any way I tried to include packages didn't work, I also tried with "#+SETUPFILE: /home/jeg002/org/2010/setupLaTeX.org", no luck? #+TITLE: MODÉLISATION du TAUX de SOUMISSION en MARKETING DIRECT. #+AUTHOR:Gérald Jean #+EMAIL: gerald.j...@dgag.ca #+LANGUAGE: "fr" #+TEXT: Le fichier "Org" pour le projet 33539. #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t LaTeX:t skip:t d:nil tags:not-in-toc #+latex_header: \usepackage[english, francais]{babel} thanks for any help, Gérald Jean Conseiller senior en statistiques, VP Actuariat et Solutions d'assurances, Desjardins Groupe d'Assurances Générales télephone: (418) 835-4900 poste (7639) télecopieur : (418) 835-6657 courrier électronique: gerald.j...@dgag.ca "We believe in God, others must bring Data." W. Edwards Deming ___ 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] Publishing htaccess files with a project
> The :include property may be used to include extra files. Its value > may be a list of filenames to include. The filenames are considered > relative to the base directory. D'oh! Begging your pardon. > (setq org-publish-project-alist > '(("test-htaccess" > :base-directory "~/org/" > :base-extension "org" > :exclude ".org" > :include ("subdir/one/.htaccess" "subdir/two/.htaccess") > :publishing-directory "~/public_html/" > :recursive t > :publishing-function org-publish-attachment))) Works like a charm. Thanks for your persistence, and patience! -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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] ELPA Howto
Hi, Jambunathan K writes: [...] > > Part-2 > == > > Downloaded and installed org-20101020.tar. The installation process > reported some compile time warnings. See down below. > I've fixed two of the babel related compile time warnings. I think that in general releases will be warning free, but the dailies will be full of compile-time warnings. Hopefully these warnings don't pose any real problem for ELPA. ___ 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] How to handle titles for latex export, multiple subtrees in a single file?
I am keeping large files, with multiple subtrees, in accordance with recommendations/suggestions. A common roadblock for he has been that a #+TITLE directive in a file is not local to a subtree, at least so far as I have figured out. What is a best practice for keeping multiple subtrees with individual titles for export? Thank you for any suggestions, Alan ___ 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] indent + showstars
Hi, I'm just starting with org-mode and so far I like it very much. I have a question though: I like the indented view, but I also like that the number of stars gives me a quick visual indication of the level I'm in. So I tried setting #+STARTUP: indent #+STARTUP: showstars in order to get the following look * level 1 ** level 2 *** level 3 level 4 However, that does not seem to work. What am I doing wrong? Cheers, bozo ___ 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] Weird behaviour with org-yank and org-startup-indented
Julien Danjou writes: > So it seems that the problem I raise does not interest anybody, but I > will continue to debug. > > This is how to reproduce. It's rather strange to complain about nobody else working on the bug, when you (i) did not give a recipe and (ii) stated that you were already working on it. Now that you have provided a recipe, I will take a look. ___ 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] Bug: ordered lists after unordered
Hello all, I think I've found a bug with the way org-meta-return behaves. I occasionally need to follow an unordered list by an ordered list, without any intervening text. For example: * Some heading - unordered - unordered - unordered 1) ordered I normally use M- (org-meta-return) to add a new item to a list. But in this kind of situation, using M- to insert the next ordered list item displays the message "Not in an item" and modifies the above lists to look like this: * Some heading 1 - unordered - unordered - unordered 1) ordered 1) And point ends up after the first "1", before the first "-" in the unordered list. (If the ordered and unordered lists are reversed, M- doesn't act quite so strangely, though it does convert any items in the unordered list into ordered list items. This might be a feature; but it's not the behavior I personally would prefer.) I am using Org version 7.01trans. Thanks! Best, Richard Lawrence ___ 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] numbered outlines?
Sorry if this is obvious, but I couldn't find anything on it. orgmode's use of asterisks for outline levels is fine when I'm working on something by myself. However, if I'm collaborating with other people, there's no good way to reference a particular outline entry. Is there a way to get org-mode to use numbering (e.g. 1, 1.1, 1.1.1 ) for outline levels? If not, how can you work with other people on an outline? Thanks, David ___ 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] Weird behaviour with org-yank and org-startup-indented
Julien Danjou writes: > In a Org buffer with org-startup-indented set to t, type: > > ** TODO abcdefgh > > Go on `c', activate mark press C-e, press M-w (kill-ring-save). > [Wrong primary selection appears] The problem is in org-indent-refresh-section, which is run from a timer. This function first moves point and then calls remove-text-properties, which is considered a buffer change. Since the mark is active, the selection code saves the region to saved-region-selection, from which it is later saved to the primary selection. There are a few possible fixes, but I am yet not sure which is best. One is to avoid setting saved-region-selection inside a timer. Another is for save-excursion to inhibit writing to saved-region-selection; a third is not to treat remove-text-properties as a trigger for saving the primary selection. ___ 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] Weird behaviour with org-yank and org-startup-indented
> The problem is in org-indent-refresh-section, which is run from a timer. > This function first moves point and then calls remove-text-properties, > which is considered a buffer change. Since the mark is active, the > selection code saves the region to saved-region-selection, from which it > is later saved to the primary selection. Shouldn't org-indent-refresh-section use with-silent-modifications around the remove-text-properties call? Stefan ___ 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] numbered outlines?
Sorry if this is obvious, but I couldn't find anything on it. orgmode's use of asterisks for outline levels is fine when I'm working on something by myself. However, if I'm collaborating with other people, there's no good way to reference a particular outline entry. Is there a way to get org-mode to use numbering (e.g. 1, 1.1, 1.1.1 ) for outline levels? If not, how can you work with other people on an outline? FYI, I'm running org-mode 6.33x in emacs 23.2.1 Mac/Linux/WinXP Thanks, David ___ 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: using levels to export to beamer and article-only mode (with beamerarticle)
I am attempting to make a presentation and lecture notes out of org, similar to what I have done before in normal latex. I would like to use the heading levels to determine what does or does not get displayed in presentation mode. The very lowest levels would be seen only in lecture notes; the latter might be extensive text. (Note that the lecture notes are to be in the latex class, article, with \beamerarticle Not as the beamer "notes" per se . Beamer allows for "modes" to hide article content from slides) I am an org mode and emacs newbie and seem to be making newbie mistakes in approach, though, so I would like to ask for ideas on the "best" approach for this. I would like to do something like the following... * section ** subsection *** frame (but possibly subsubsection in article mode.) one (and only one) item within an itemized list environment * \only{ \paragraph{%s}} ** \only{ \subparagraph{%s}} *** \only{%s} \only{%s} I would like to avoid blocks or labels for this and just determine this by heading level, as --at least in my newbie hands-- moving things around when writing/revising is a lot simpler if I just stick with simple outlining. For the subset of work involving lecture notes, I would be willing to lose ability to change frame levels. I am using a day old Org version. Any thoughts or suggestions would be very much appreciated! ___ 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] Integrating Apple Mail.
Hi, I have problem to integrate Apple Mail in Emacs: In .emacs I wrote in the beginning: (add-to-list 'org-modules 'org-mac-message) (setq org-mac-mail-account "arcor") (global-set-key "\C-cm" 'org-mac-message-insert-selected) I restarted Emacs and the error message appears: Warning (initialization): An error occurred while loading `/Users/pappert/.emacs': Symbol's value as variable is void: org-modules To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. Any ideas? Bye Oliver P.S.: OS X 10.6.4 / Gnu Emacs 23.2.1 / Org Mode 7.01h ___ 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] Weird behaviour with org-yank and org-startup-indented
Julien Danjou writes: > On Wed, Oct 20 2010, Chong Yidong wrote: > >> It's rather strange to complain about nobody else working on the bug, >> when you (i) did not give a recipe and (ii) stated that you were already >> working on it. > > My bad, I think I forgot to add a smiley at the end of the sentence, so > here it is: :-) > > I did not mean to be rude. :) No worries. Thank you for working on the bug. ___ 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] How to handle titles for latex export, multiple subtrees in a single file?
On Oct 20, 2010, at 11:29 AM, Alan E. Davis wrote: I am keeping large files, with multiple subtrees, in accordance with recommendations/suggestions. A common roadblock for he has been that a #+TITLE directive in a file is not local to a subtree, at least so far as I have figured out. What is a best practice for keeping multiple subtrees with individual titles for export? Thank you for any suggestions, Alan Hi Alan, Does Nick Dokos' idea how to redefine \maketitle{} have a possible application here? http://orgmode.org/worg/org-tutorials/org-latex-export.php#sec-11 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
Re: [Bulk] [Orgmode] Integrating Apple Mail.
Hi Oliver, On 10-Oct-20, at 10:35 AM, Oliver Pappert wrote: Hi, I have problem to integrate Apple Mail in Emacs: It might be easier to do this through the org-modules customization: M-x customize-group RET org RET Then in the Org Modules section, enable "mac-message". You might also consider enabling "mac-link-grabber", which will enable you to easily insert links from other mac applications as well. From there, you only have to define your mail account, and if you want to use the link grabber, a keybinding, like this: (setq org-mac-mail-account "") (add-hook 'org-mode-hook '(lambda () (define-key org-mode-map (kbd "C- c g") 'omgl-grab-link))) Hope this helps, -Anthony ___ 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] How to handle titles for latex export, multiple subtrees in a single file?
Alan E. Davis wrote: > I am keeping large files, with multiple subtrees, in accordance with > recommendations/suggestions. A common roadblock for he has been that a > #+TITLE directive in a file is not local to a subtree, at least so far as I > have figured out. > > What is a best practice for keeping multiple subtrees with individual titles > for export? > I don't understand: if you export an individual subtree, say to LaTeX, with C-c e 1 l, the title of the document is taken from the subtree heading. The #+TITLE option applies only when you export the whole file. Is that not enough? Or is that not how it works for you? In which case, more detail is required. Nick ___ 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] How to handle titles for latex export, multiple subtrees in a single file?
Nick Dokos wrote: > I don't understand: if you export an individual subtree, say to LaTeX, > with C-c e 1 l, ... That should be C-c C-e 1 l Sorry about that, Nick ___ 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: Aligning Columns in HTML Export Tables
Bernt Hansen writes: > Jeff Horn writes: > >> Is there a way to specify a particular column in org-mode that will be >> exported right-aligned in HTML? >> >> | A | B | C | >> | 1 | 2 | 3 | >> >> For the table above, I would like column C right aligned when I export >> to HTML, but the other column aligned in the default way (left >> aligned?). > > I think this is supposed to work but it seems the exporters do not > honour the alignment details. > > | | | | > | A | B | C | > | 1 | 2 | 3 | > | 12 | 13 | 300 | > | 9 | 11 | 4 | I get as expected. In Opera it works for me, if I remove the styles for `td' from my stylesheet. The styles for table data cells will overrule the align attribute in the col tag. Current Firefox seems to ignore the align attribute, although it's valid XHTML. The only save way to get the alignment right would be to use a "style" attribute for each and every table cell directly: Sebastian ___ 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] indent + showstars
You could turn on org-indent-mode manually using `M-x org-indent-mode`. Alternatively, you could add an org-mode hook that turns on org-indent-mode. I do not know emacs lisp, so I'll leave it to someone else to suggest how to write the hook. Jeff Documentation: C-h f org-indent-mode On Wed, Oct 20, 2010 at 7:56 AM, wrote: > Hi, > > I'm just starting with org-mode and so far I like it very much. I have a > question though: > > I like the indented view, but I also like that the number of stars gives me > a quick visual indication of the level I'm in. So I tried setting > > #+STARTUP: indent > #+STARTUP: showstars > > in order to get the following look > > * level 1 > ** level 2 > *** level 3 > level 4 > > However, that does not seem to work. What am I doing wrong? > > Cheers, > > bozo > > ___ > 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 > -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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] numbered outlines?
I don't know if it is an ideal solution, but you can export to ASCII using `C-c C-e a` which will dump an ascii text file with the name "filename.txt" into the same directory as "filename.org". Outlines will have numbers in the text file. HTH, Jeff On Tue, Oct 19, 2010 at 6:40 PM, David Rogoff wrote: > Sorry if this is obvious, but I couldn't find anything on it. orgmode's > use of asterisks for outline levels is fine when I'm working on something by > myself. However, if I'm collaborating with other people, there's no good > way to reference a particular outline entry. Is there a way to get org-mode > to use numbering (e.g. 1, 1.1, 1.1.1 ) for outline levels? If not, how can > you work with other people on an outline? > > Thanks, > > David > > ___ > 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 > -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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] numbered outlines?
Thanks - that might do the job. Native would be best, of course. Jeff Horn wrote: I don't know if it is an ideal solution, but you can export to ASCII using `C-c C-e a` which will dump an ascii text file with the name "filename.txt" into the same directory as "filename.org". Outlines will have numbers in the text file. HTH, Jeff On Tue, Oct 19, 2010 at 6:40 PM, David Rogoff wrote: Sorry if this is obvious, but I couldn't find anything on it. orgmode's use of asterisks for outline levels is fine when I'm working on something by myself. However, if I'm collaborating with other people, there's no good way to reference a particular outline entry. Is there a way to get org-mode to use numbering (e.g. 1, 1.1, 1.1.1 ) for outline levels? If not, how can you work with other people on an outline? Thanks, David ___ 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] Setting up LATEX_HEADER properly.
Aloha Gerald, Perhaps the org-export-latex-classes variable is mis-configured. IIUC, the [EXTRA] macro needs to be present: If you need more control about the sequence in which the header is built up, or if you want to exclude one of these building blocks for a particular class, you can use the following macro-like placeholders. [DEFAULT-PACKAGES] \usepackage statements for default packages [NO-DEFAULT-PACKAGES] do not include any of the default packages [PACKAGES] \usepackage statements for packages [NO-PACKAGES] do not include the packages [EXTRA] the stuff from #+LaTeX_HEADER [NO-EXTRA] do not include #+LaTeX_HEADER stuff [BEAMER-HEADER-EXTRA] the beamer extra headers HTH, Tom On Oct 20, 2010, at 10:16 AM, gerald.j...@dgag.ca wrote: Hello, I am new to org-mode, not to Emacs and LaTeX though. I am trying to export an org document to LaTeX. It does export but not with the options I want. For example, trying to add just one package I have the following at the end of my org file, I tried to put it at the begining also but it didn't work neither? Any way I tried to include packages didn't work, I also tried with "#+SETUPFILE: /home/jeg002/org/2010/setupLaTeX.org", no luck? #+TITLE: MODÉLISATION du TAUX de SOUMISSION en MARKETING DIRECT. #+AUTHOR:Gérald Jean #+EMAIL: gerald.j...@dgag.ca #+LANGUAGE: "fr" #+TEXT: Le fichier "Org" pour le projet 33539. #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t LaTeX:t skip:t d:nil tags:not-in-toc #+latex_header: \usepackage[english, francais]{babel} thanks for any help, Gérald Jean Conseiller senior en statistiques, VP Actuariat et Solutions d'assurances, Desjardins Groupe d'Assurances Générales télephone: (418) 835-4900 poste (7639) télecopieur : (418) 835-6657 courrier électronique: gerald.j...@dgag.ca "We believe in God, others must bring Data." W. Edwards Deming ___ 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] specify font for pdf export?
I have to submit documents for a grant application in Times New Roman 12 point font with margins of 3/4". Is it trivial to specify these values for the text in a pdf output? Also, is it ever possible to omit author, title, and date lines in a pdf? doing so is an absolute requirement of the granting agency.If need be I will simply make these modifications post facto in openoffice, but a direct org export would be much neater. thanks as always, matt ___ 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: Repeating timestamps with a finish date
Christopher Witte writes: > Is there a way to get timestamps that repeat (say weekly) up to a > certain date when it stops repeating? I have a weekly appointment that > will only go for the next 8 weeks and I don't want to have to input > each appointment separately and I don't want it cluttering up my diary > beyond it's end date. Though you can't yet do this with org-mode timestamps, you can use a diary sexp. Does the following FAQ help? http://orgmode.org/worg/org-faq.php#org-diary-class Best, Matt ___ 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: using levels to export to beamer and article-only mode (with beamerarticle)
Jay, I do something similar but don't use beamer. I have two sets of latex output from my notes, one for handouts and one for lecture notes. I use an arrangement of sub-headings without titles but with tags for describing what is included in each set of output. It is all put together with an SCons script to take the specific notes and generate a PDF output for notes and handouts. How this could be folded into a beamer presentation I am not sure. If you would like details let me know and I can send you a representative sample to play with. It is kind of complicated, unfortunately, since it also makes use of additional entries in org-export-latex-classes, but since I have it working it meets my needs. YMMV. Mark On 10/19/2010 9:03 AM, Jay Snoddy wrote: I am attempting to make a presentation and lecture notes out of org, similar to what I have done before in normal latex. I would like to use the heading levels to determine what does or does not get displayed in presentation mode. The very lowest levels would be seen only in lecture notes; the latter might be extensive text. (Note that the lecture notes are to be in the latex class, article, with \beamerarticle Not as the beamer "notes" per se . Beamer allows for "modes" to hide article content from slides) I am an org mode and emacs newbie and seem to be making newbie mistakes in approach, though, so I would like to ask for ideas on the "best" approach for this. I would like to do something like the following... * section ** subsection *** frame (but possibly subsubsection in article mode.) one (and only one) item within an itemized list environment * \only{ \paragraph{%s}} ** \only{ \subparagraph{%s}} *** \only{%s} \only{%s} I would like to avoid blocks or labels for this and just determine this by heading level, as --at least in my newbie hands-- moving things around when writing/revising is a lot simpler if I just stick with simple outlining. For the subset of work involving lecture notes, I would be willing to lose ability to change frame levels. I am using a day old Org version. Any thoughts or suggestions would be very much appreciated! ___ 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] specify font for pdf export?
On Oct 20, 2010, at 3:23 PM, Matt Price wrote: I have to submit documents for a grant application in Times New Roman 12 point font with margins of 3/4". Is it trivial to specify these values for the text in a pdf output? Also, is it ever possible to omit author, title, and date lines in a pdf? doing so is an absolute requirement of the granting agency.If need be I will simply make these modifications post facto in openoffice, but a direct org export would be much neater. thanks as always, matt Aloha Matt, You could use org-article.cls. Check out the following options: [koma,DIV=XX,times,12pt], where DIV would take a value that yields the correct margin on the paper size you are using. http://orgmode.org/worg/org-contrib/babel/examples/article-class.php Instructions on how to fashion an alternative title are here: http://orgmode.org/worg/org-tutorials/org-latex-export.php#sec-11 If org-article.cls isn't to your liking, then you should be able to see in its documentation the bits and pieces you'd need to configure the LaTeX exporter to your satisfaction. hth, 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
[Orgmode] Re: numbered outlines?
David Rogoff writes: > Sorry if this is obvious, but I couldn't find anything on it. > orgmode's use of asterisks for outline levels is fine when I'm working > on something by myself. However, if I'm collaborating with other > people, there's no good way to reference a particular outline entry. > Is there a way to get org-mode to use numbering (e.g. 1, 1.1, 1.1.1 ) > for outline levels? If not, how can you work with other people on an > outline? > > FYI, I'm running org-mode 6.33x in emacs 23.2.1 Mac/Linux/WinXP > AFAIK, org-mode cannot number section headings on the fly. Are your collaborators working in emacs/org-mode? If not exporting the outline will normally result in numbered sections. Of course, it would be a bit harder work collaboratively on the html and then get it back into org-mode. :) One way to create fixed, human-readable references for outline headings is to use the CUSTOM_ID property. (info "(org) Internal links") Best, Matt ___ 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: A few questions about how you write e-mails
Jeff Horn writes: > Firstly, I notice some of the regular posters wrap org source in the > #+ style org wrappers, others use a <--8--cut-here---8--> > My first question is two-fold: 1) how did you come to use this style > for quoting code in your replies: As others have mentioned, I use C-c M-m (message-mark-inserted-region) in message-mode to do the trick. > Secondly, and somewhat related to the first, are orgsters simply using > gnus with message-mode hook to utilize org footnotes? I've noticed I > can style/face the text with a message-mode hook, but I'm wondering > how everyone deals, in general, with plain text footnotes in e-mail? > Do you even use footnotes for sharing links? I simply have a global binding for org-footnote-action, which enables me to insert footnotes anywhere.[1] > Lastly, are any orgsters using gnus+gmail? I've tried just reading org > list mails in gnus, but I find switching back and forth to be jarring > if I read org list e-mails in a browser throughout the day, since I > end up re-reading a lot of mails. Also, mind sharing how you've mapped > the cumbersome "B m [Gmail]/Trash" to a better key? If a message is worth deleting, you might consider B DEL, which dispatches it without mercy. Best, Matt Footnotes: [1] It works like a charm. ___ 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: How to handle titles for latex export, multiple subtrees in a single file?
"Alan E. Davis" writes: > I am keeping large files, with multiple subtrees, in accordance with > recommendations/suggestions. A common roadblock for he has been that a > #+TITLE directive in a file is not local to a subtree, at least so far > as I have figured out. > > What is a best practice for keeping multiple subtrees with individual > titles for export? > If you use C-c C-e 1, or C-c @ C-c C-e, the heading of the subtree is exported as the title. But you can also set a title explicitly with the EXPORT_TITLE property: ,[ (info "(org) Export options") ] |When exporting only a single subtree by selecting it with `C-c @' | before calling an export command, the subtree can overrule some of the | file's export settings with properties `EXPORT_FILE_NAME', | `EXPORT_TITLE', `EXPORT_TEXT', `EXPORT_AUTHOR', `EXPORT_DATE', and | `EXPORT_OPTIONS'. ` Best, Matt ___ 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: A few questions about how you write e-mails
Hi Jeff, On 20 October 2010 18:55, Matt Lundin wrote: > I simply have a global binding for org-footnote-action, which enables me > to insert footnotes anywhere.[1] > I do that too, but it shows up as [fn:1] for me. Is there some variable I can customise to get it as [1] when I am using it outside org-mode? Also in my case, the footnotes appear below the signature. I have to manually move it above that before sending the email. Would be awesome if org-footnote-action understood signatures somehow. -- Suvayu Open source is the future. It sets us free. ___ 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: A few questions about how you write e-mails
suvayu ali wrote: > Hi Jeff, > > On 20 October 2010 18:55, Matt Lundin wrote: > > I simply have a global binding for org-footnote-action, which enables me > > to insert footnotes anywhere.[1] > > > > I do that too, but it shows up as [fn:1] for me. Is there some > variable I can customise to get it as [1] when I am using it outside > org-mode? > There is a variable (of course!): , | org-footnote-auto-label is a variable defined in `org-footnote.el'. | Its value is t | | Documentation: | Non-nil means define automatically new labels for footnotes. | Possible values are: | | nilprompt the user for each label | t create unique labels of the form [fn:1], [fn:2], ... | confirmlike t, but let the user edit the created value. In particular, |the label can be removed from the minibuffer, to create |an anonymous footnote. | plain Automatically create plain number labels like [1] | | You can customize this variable. ` but how to use it in the way you specify is left as an exercise for the interested reader. > Also in my case, the footnotes appear below the signature. I have to > manually move it above that before sending the email. Would be awesome > if org-footnote-action understood signatures somehow. > Given the mangling that mailers do to replies (e.g. the idiotic default top posting of Thunderbird and its ilk), how they handle signatures, and the non-standard nature of signatures themselves, I'd say this is pretty much hopeless. At least the end is a well defined place that org-footnote-action can always find. The rest are shifting sands. Of course, if you use a nice primitive mailer[1] where *you* do all the placement the way *you* like it, that's no problem at all. I can add all the footnotes I want, then M-> C-c C-s, done (that is, if I *had* a signature, which I don't - and M-> is always right, since I (almost) never top-post). Footnotes: [1] E.g. mh-e :-) Nick ___ 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: How to handle titles for latex export, multiple subtrees in a single file?
Matt Lundin wrote: > If you use C-c C-e 1, or C-c @ C-c C-e, the heading of the subtree is > exported as the title. But you can also set a title explicitly with the > EXPORT_TITLE property: > > ,[ (info "(org) Export options") ] > |When exporting only a single subtree by selecting it with `C-c @' > | before calling an export command, the subtree can overrule some of the > | file's export settings with properties `EXPORT_FILE_NAME', > | `EXPORT_TITLE', `EXPORT_TEXT', `EXPORT_AUTHOR', `EXPORT_DATE', and > | `EXPORT_OPTIONS'. > ` > I forgot about these - thanks, Matt! Nick ___ 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] specify font for pdf export?
Matt Price wrote: > I have to submit documents for a grant application in Times New Roman 12 > point font with margins of 3/4". Is it trivial to specify these values for > the text in a pdf output? Also, is it ever possible to omit author, title, > and date lines in a pdf? doing so is an absolute requirement of the > granting agency.If need be I will simply make these modifications post > facto in openoffice, but a direct org export would be much neater. > You should be able to just do #+LaTeX_CLASS_OPTIONS: [12pt] #+LATEX_HEADER: \usepackage{times} #+LATEX_HEADER: \usepackage{geometry} #+LATEX_HEADER: \geometry{} #+TITLE: with some geometry specification for the margins (I can't get my hands on geometry documentation right now, so I can't fill in that blank). The empty title option omits the title page altogether: is that what you want? There is also the question of what Times New Roman is: is that the default Times font that's built in to every Postscript printer out there or is that some M$ abomination that they've arbitrarily stuck onto the requirements? When I produce a PDF with the above options and look at its properties with acroread, the fonts it shows are Nimbus which I think are the Times clones that are distributed with ghostscript. If it is *that* important, you should probably check the PDF file that's produced for conformance. HTH, Nick ___ 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: [PATCH] Alphabetical ordered lists
> >> >> But I can't help thinking this could lead to unexpected results in >> some cases (admittedly less than when alpha bullets could be any size >> long). > > It definitely will. > > Here is an alternative idea. Nathaniel, what do you > think about this: We could keep the numbering as we > have it in the Org file, but introduce something like [...@a] > in the first item that will convert the numbering > into a,b,... upon export to ASCII, HTML, maybe even LaTeX > (even though I think LaTeX demands some consistency here > and prefers to have the global setup decide how lists work). > Hell, we could even use [...@a] for capitals and [...@i] and [...@i] > for roman numbering :) > > - Carsten > Sorry for the late response - got swamped with work for a bit. I'd much prefer the approach I've been going with, mostly since I don't usually export my notes and mostly view them in org-mode. I'll work on the patch tonight - should send a patch either later tonight or tomorow. Thanks, Nathaniel Flath ___ 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] link export confused when URL parameter is another URL
At Thu, 30 Sep 2010 15:17:00 -0500, Cook, Malcolm wrote: > > > If find that this orgtext > > [[http://www.foo.com/foo?URL=http://www.bar.com][test]] > > exports to html incorrectly as > > > [[http://www.foo.com/foo?URL=[[http://www.bar.com][test][http://www.bar.com][test]]] > > using today's fresh git pull make install > > Any pointers? The problem here is that Org's (legacy) support for plain links (i.e. without square brackets) kicks in and transforms the fragment part to a normal square bracket link. My regexp-foo is not as it should be, but I am on this one to fix it; What we need to express in `org-export-normalize-link' is, that a plain link is something that looks like a hyperlink but not preceded directly by a square or angle bracket and not after a question mark followed by zero or more no-whitespace-characters. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpbNFW3Xw4JH.pgp Description: PGP signature ___ 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-listings publishing option not used; minted + beamer incompatibility?
Hi Dan, * On Wed 09:09AM, 20 Oct 2010, Dan Davison (davi...@stats.ox.ac.uk) wrote: > Hsiu-Khuern Tang writes: > > BTW, has anyone used minted with beamer? I get errors like > > Yes, I exported Eric Fraga's babel/beamer slides example using minted > last week and it worked fine. However, > > > Runaway argument? > > int main(int argc, char **argv) { \ETC. > > ! Paragraph ended before \...@beginscanning was complete. > > yes, I now get that error. So something has changed recently. I'm using > fully updated ubuntu 10.10. What system are you using? I'm using Debian unstable. My texlive package is version 2009-8; the current version in Debian unstable is 2009-11. > > A search on Google shows lots of reports related to beamer and Sweave. > > So perhaps we're seeing the effects of a recent change in the tex/latex > stack, rather than an emacs/org/minted/pygments problem?? Some of the Google results go back quite a long time, e.g., http://tolstoy.newcastle.edu.au/R/help/04/12/9454.html. I'm staying with listings for now. -- Best, Hsiu-Khuern. ___ 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: A few questions about how you write e-mails
Matt Lundin writes: > Jeff Horn writes: > >> Firstly, I notice some of the regular posters wrap org source in the >> #+ style org wrappers, others use a <--8--cut-here---8--> > >> My first question is two-fold: 1) how did you come to use this style >> for quoting code in your replies: > > As others have mentioned, I use C-c M-m (message-mark-inserted-region) > in message-mode to do the trick. > >> Secondly, and somewhat related to the first, are orgsters simply using >> gnus with message-mode hook to utilize org footnotes? I've noticed I >> can style/face the text with a message-mode hook, but I'm wondering >> how everyone deals, in general, with plain text footnotes in e-mail? >> Do you even use footnotes for sharing links? > > I simply have a global binding for org-footnote-action, which enables me > to insert footnotes anywhere.[1] > >> Lastly, are any orgsters using gnus+gmail? I've tried just reading org >> list mails in gnus, but I find switching back and forth to be jarring >> if I read org list e-mails in a browser throughout the day, since I >> end up re-reading a lot of mails. Also, mind sharing how you've mapped >> the cumbersome "B m [Gmail]/Trash" to a better key? > > If a message is worth deleting, you might consider B DEL, which > dispatches it without mercy. > In the case of gmail imap it won't delete the mail completely instead it archives. Thanks and Regards Noorul ___ 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