Re: [O] LaTex export questions
Hi Alan, I downloaded the book and went through it--thank you for putting that together! It was a valuable overview. Nonetheless, some confusions persist for me since I'm using emacs org-mode and not LyX. Should I be putting LaTeX markup into my org-mode doc, for instance, for formatting the title page, c? Also, right now when I do the org to latex to pdf export, I'm given a table of contents, and I don't want one. I'm still perplexed about where defaults like that are kept. Sometimes I worry that my ignorance is invulnerable. Thanks again! -Steven Alan Tyree typh...@aanet.com.au writes: Hi Steven, You want to learn more about LaTeX, but it's not too much. I wrote a little book called Self-publishing with LyX that will help you set up the title page as well as some of your other problems. This is not a sales pitch -- it's free :-). Self-publishing with LyX ISBN: 978-0-9803-3242-1 http://www.lulu.com/content/1085870 Cheers, Alan On 28 May 2014 13:25, Steven Arntson ste...@stevenarntson.com wrote: Nick Dokos ndo...@gmail.com writes: Igor Sosa Mayor joseleopoldo1...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: Hi, I'm trying to export an org-mode doc to LaTex and subsequently to PDF. This is a literary novel, written in prose. Right now when I run the export command, the resulting file is incorrectly formatted for the literary world, and I'm not sure how to change it. Is there a dialog or customize menu that allows users to eliminate some default settings, and add others? Maybe you can configure it with M-x customize-group org But I think a look at the manual is pretty useful and you can configure it in your .emacs without very much complication: http://orgmode.org/manual/Export-settings.html#Export-settings http://orgmode.org/manual/LaTeX-and-PDF-export.html#LaTeX-and-PDF-export I may be barking up the wrong tree, but to me the problem seems to be not so much what org does, but what latex does. If that is so, then perhaps what is needed is a latex style file that formats prose correctly for the literary world. That may be a non-trivial undertaking (but maybe not: typographical demands for a novel are trivial compared to say mathematics). Integrating such a hypothetical style file into org would be pretty easy. But perhaps the OP can clarify: what does incorrectly formatted for the literary world mean? Nick Full disclosure: I'm a beginning emacs user, and I know nothing about LaTex at all! I'm not producing a book per se, but a manuscript that will be printed on 8.5 x 11 pages and read by my agent or a publisher. The conventions are simple, but thus far I haven't been able to understand much of what I'm reading in the customize menu for org-mode. Until now I've done this formatting with MS Word or Libre Office. I dislike those programs, but I know how to use them. Simplest has been to take my raw org-mode txt files and convert them manually. It's a tedious last step before sending downstream, which I'd love to replace, and I've seen some beautiful LaTex examples online, so I know it's possible ... Literary format redux: + 12 point text + Title page has title and author name, centered both horizontally and vertically. Contact info for agent is in the bottom left, single spaced. + Remaining pages are double-spaced + Page numbers are centered at the bottom of the page (but no page number on title page) + Each page has a right-justified header in the format LASTNAME/TITLE That's it. I guess I'm wondering now--should I be learning more about org-mode, or more about LaTex? Thank you very much for taking the time to read all of this. -Steven
Re: [O] LaTex export questions
Am 28.05.2014 um 08:07 schrieb Steven Arntson ste...@stevenarntson.com: Hi Alan, I downloaded the book and went through it--thank you for putting that together! It was a valuable overview. Nonetheless, some confusions persist for me since I'm using emacs org-mode and not LyX. Should I be putting LaTeX markup into my org-mode doc, for instance, for formatting the title page, c? Also, right now when I do the org to latex to pdf export, I'm given a table of contents, and I don't want one. I'm still perplexed about where defaults like that are kept. I had exactly the same question yesterday. Putting #+OPTIONS: toc:nil into the org file will suppress the toc. You should read the chapter Markup for rich export in the Org Manual. This may answer some of you questions about markup. Axel
Re: [O] bug: in source block, titles are not seen as source
Hi Ian, Ian Kelling i...@iankelling.org writes: I've had this bug me a few times when I work with here documents in bash. #+begin_src sh some-command 'EOF' * some text EOF #+end_src the line beginning with * is treated as a title and folded. The same goes for example blocks, and perhaps other things. You can escape leading stars by putting a comma in front of them: #+begin_src sh cat 'EOF' ,* some text EOF #+end_src This should do what you want. HTH, Albert -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
[O] [FR] Archive subtree with parent structure
org-archive-subtree archives a subtree. * A ** AA *** AAA ** AB *** ABA Archiving AA will remove the subtree from the original file and create it like that in archive target: * AA ** AAA What I want (wish for) is to create it like that in the archive target: * A ** AA *** AAA If I also archive AB after that, it gets inserted in the structure which is now identical to the structure we started with. Use case: I tend to archive small pieces of a project's subtree long before I'm ready to archive the entire project. This way I build (want to build) an archived mirror of the project's subtree bit by bit. Thanks a lot to the org-mode developers.
[O] Make org-iswitchb see all agenda files (not only opened ones)
Hello, can I make org-iswitchb consider not only already opened files but all agenda files, just like org-agenda? I tried one and two prefix arguments, but org-iswitchb always considers only files that are already opened. Thanks! Florian
Re: [O] Autoopen TODOs AND checkboxes?
On 2014-05-27 12:25 Sharon Kimble wrote: In my organiser page I have a mixed bag of TODO lists and also checkbox lists. If I have at the top of the page #+STARTUP: content it opens just showing all of the TODO lists and none of the checkbox lists. But if I have #+STARTUP: showall it shows everything, including all the hidden dates on the TODOs. How can I get it to just show all the TODOs and all of the checkboxes please? I do not think this is possible by merely defining the STARTUP directive. You will probably need some custom elisp to accomplish this. Take a look at org-map-entries to iterate over every headline in the file and reveal the stuff you want to see. That custom elisp can be put into org-mode-hook, maybe checking if you are in the right file. Note: I am just brainstorming here, there might be a solution that is a lot easier. Regards, -- Alexander Baier
[O] New ~ agenda keybinding to filter by effort
Hi all, from the current HEAD of the master branch (aa86e4bc), you can use _ in agendas to filter by effort. This used to be integrated to the tag filter, but filters interaction was then too complex. You can also use `org-agenda-effort-filter-preset' to set the filter to an initial value in your agenda custom commands. If you want to list only entries with a max effort of 20 minutes : M-x org-agenda t _ 3;; corresponding to the 0:20 effort value Also note that I enhanced the prompt for `org-agenda-limit-entries' (bound to ~ in agenda buffers) which is perhaps not known enough. So if you want to list only entries with a max effort of 20 minutes within agenda entries which sum up to three hours of work: M-x org-agenda t _ 3;; corresponding to the 0:20 effort value ~ E 180 RET Let me know if it works as expected for you. -- Bastien
[O] New _ keybinding to filter by effort (was: New ~ agenda keybinding to filter by effort)
Sorry -- just fixed the subject line. -- Bastien
[O] Superscript and subscript in HTML?
Is there any markup which will let me get superscripts and subscripts in HTML export? It would be great if the HTML exporter recognized ^{...} and _{...} so the same markup would work for both LaTeX/PDF and for HTML. Thanks, -pd -- Peter Davis The Tech Curmudgeon www.techcurmudgeon.com
Re: [O] LaTex export questions
On 2014-05-27 23:25, Steven Arntson wrote: Nick Dokos ndo...@gmail.com writes: Igor Sosa Mayor joseleopoldo1...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: Hi, I'm trying to export an org-mode doc to LaTex and subsequently to PDF. This is a literary novel, written in prose. Right now when I run the export command, the resulting file is incorrectly formatted for the literary world, and I'm not sure how to change it. Is there a dialog or customize menu that allows users to eliminate some default settings, and add others? But perhaps the OP can clarify: what does incorrectly formatted for the literary world mean? Literary format redux: + 12 point text + Title page has title and author name, centered both horizontally and vertically. Contact info for agent is in the bottom left, single spaced. + Remaining pages are double-spaced + Page numbers are centered at the bottom of the page (but no page number on title page) + Each page has a right-justified header in the format LASTNAME/TITLE A quick google for latex novel manuscript template leads to http://goer.org/Journal/2011/01/publishing_with_sphinx_rest_and_sffms_latex.html, which leads to: http://www.mcdemarco.net/sffms/, which looks like what you want... rick
Re: [O] Superscript and subscript in HTML?
On 2014-05-28 07:47, Peter Davis wrote: Is there any markup which will let me get superscripts and subscripts in HTML export? It would be great if the HTML exporter recognized ^{...} and _{...} so the same markup would work for both LaTeX/PDF and for HTML. It does for me. I believe it always has. Are you sure your options are set correctly? Also, are you sure that the html source doesn't contain sup/ and sub/ tags that aren't being styled? Here's a example and the output #+BEGIN_SRC org ,#+OPTIONS: toc:nil ,* Super and subscript this is a super^{1} script. and a sub_{2} script. another super^3 and another sub_4 #+END_SRC and the results (C-c C-e C-b h H) #+BEGIN_EXAMPLE div id=outline-container-sec-1 class=outline-2 h2 id=sec-1Super and subscript/h2 div class=outline-text-2 id=text-1 p this is a supersup1/sup script. and a subsub2/sub script. /p p another supersup3/sup and another subsub4/sub/p /div /div #+END_EXAMPLE
Re: [O] Superscript and subscript in HTML?
On Wed, May 28, 2014 at 08:50:20AM -0400, Rick Frankel wrote: On 2014-05-28 07:47, Peter Davis wrote: Is there any markup which will let me get superscripts and subscripts in HTML export? It would be great if the HTML exporter recognized ^{...} and _{...} so the same markup would work for both LaTeX/PDF and for HTML. It does for me. I believe it always has. Are you sure your options are set correctly? Also, are you sure that the html source doesn't contain sup/ and sub/ tags that aren't being styled? Here's a example and the output #+BEGIN_SRC org ,#+OPTIONS: toc:nil ,* Super and subscript this is a super^{1} script. and a sub_{2} script. another super^3 and another sub_4 #+END_SRC and the results (C-c C-e C-b h H) #+BEGIN_EXAMPLE div id=outline-container-sec-1 class=outline-2 h2 id=sec-1Super and subscript/h2 div class=outline-text-2 id=text-1 p this is a supersup1/sup script. and a subsub2/sub script. /p p another supersup3/sup and another subsub4/sub/p /div /div #+END_EXAMPLE Here's what I get for the body, using your example: +== div class=org-src-container pre class=src src-orgspan style=color: #b2;#+OPTIONS: toc:nil/span span style=color: #ff;* Super and subscript/span this is a super^{1} script. and a sub_{2} script. another super^3 and another sub_4 /pre /div +== Leaving out the #+BEGIN_SRC/#+END_SRC doesn't work either. This is with emacs 24.3.3, org-mode 8.2.5g Thanks, -pd -- Peter Davis The Tech Curmudgeon www.techcurmudgeon.com
Re: [O] Superscript and subscript in HTML?
On 2014-05-28 09:22, Peter Davis wrote: On Wed, May 28, 2014 at 08:50:20AM -0400, Rick Frankel wrote: On 2014-05-28 07:47, Peter Davis wrote: Is there any markup which will let me get superscripts and subscripts in HTML export? It would be great if the HTML exporter recognized ^{...} and _{...} so the same markup would work for both LaTeX/PDF and for HTML. It does for me. I believe it always has. Are you sure your options are set correctly? Also, are you sure that the html source doesn't contain sup/ and sub/ tags that aren't being styled? Here's a example and the output #+BEGIN_SRC org ,#+OPTIONS: toc:nil ,* Super and subscript this is a super^{1} script. and a sub_{2} script. another super^3 and another sub_4 #+END_SRC and the results (C-c C-e C-b h H) #+BEGIN_EXAMPLE div id=outline-container-sec-1 class=outline-2 h2 id=sec-1Super and subscript/h2 div class=outline-text-2 id=text-1 p this is a supersup1/sup script. and a subsub2/sub script. /p p another supersup3/sup and another subsub4/sub/p /div /div #+END_EXAMPLE Here's what I get for the body, using your example: +== div class=org-src-container pre class=src src-orgspan style=color: #b2;#+OPTIONS: toc:nil/span span style=color: #ff;* Super and subscript/span this is a super^{1} script. and a sub_{2} script. another super^3 and another sub_4 /pre /div +== Leaving out the #+BEGIN_SRC/#+END_SRC doesn't work either. This is with emacs 24.3.3, org-mode 8.2.5g The begin/end src lines are just that, markers to show where the org source starts and end. What you have formatted is a source code listing, not the source code. 1. Create a new org mode buffer. 2. Copy the contents WITHIN the begin/end src block to the buffer. 3. Remove the leading commas (,). 4. With your cursor on the #+OPTION line type [C-c C-c]. 5. Generate the html output. If it still doesn't work edit the file with: emacs -Q -Lpath to org 8.2.5g mytest.org and try again. rick
Re: [O] Superscript and subscript in HTML?
On Wed, May 28, 2014 at 09:29:44AM -0400, Rick Frankel wrote: The begin/end src lines are just that, markers to show where the org source starts and end. What you have formatted is a source code listing, not the source code. If you're giving an example of org buffer contents, #+BEGIN_SRC and #+END_SRC are probably not the best delimiters to use to set off your example, since they're valid org markup. Anyway, it turns out some options I had enabled were preventing the superscript/subscript markup from being recognized. I had this #+OPTIONS: H:5 \n:nil @:t ::t |:t ^:nil -:t f:t *:t :t at the top of the buffer. Removing that line seems to get me proper HTML markup. Thanks! -pd -- Peter Davis The Tech Curmudgeon www.techcurmudgeon.com
Re: [O] Superscript and subscript in HTML?
Peter Davis p...@pfdstudio.com writes: Is there any markup which will let me get superscripts and subscripts in HTML export? It would be great if the HTML exporter recognized ^{...} and _{...} so the same markup would work for both LaTeX/PDF and for HTML. It does - this works fine for me: --8---cut here---start-8--- * foo This is a super^{script} and this is a sub_{script}. --8---cut here---end---8--- Does that not work for you? If so, check for #+OPTIONS: ^:nil settings perhaps. -- Nick
Re: [O] Superscript and subscript in HTML?
On 2014-05-28 09:36, Peter Davis wrote: On Wed, May 28, 2014 at 09:29:44AM -0400, Rick Frankel wrote: The begin/end src lines are just that, markers to show where the org source starts and end. What you have formatted is a source code listing, not the source code. If you're giving an example of org buffer contents, #+BEGIN_SRC and #+END_SRC are probably not the best delimiters to use to set off your example, since they're valid org markup. #+BEGIN_SRC org ^^^ Is the common method on this list for specifying org (or any other) source code in an email. Org can embed org source in org. Anyway, it turns out some options I had enabled were preventing the superscript/subscript markup from being recognized. I had this #+OPTIONS: H:5 \n:nil @:t ::t |:t ^:nil -:t f:t *:t :t ^ at the top of the buffer. Removing that line seems to get me proper HTML markup. You are explicitly disabling super/subscripts. It would be the same for latex output.
[O] [bug?][ox-beamer] hyperref crashes when options are specified
Hi, If you give hyperref options when exporting to Beamer it will typically crash. I load hyperref as follows to make it compatible with exotic headlines in XeLaTeX: (setq org-latex-default-packages-alist '(( iftex nil) ( fixltx2e nil) (AUTO inputenc t) (T1 fontenc t) (AUTO babel nil) ( scrpage2 nil) ( graphicx t) ( amsmath t) ( amssymb t) ( booktabs t) ( marvosym t) ( microtype nil) ( slantsc nil) (unicode, psdextra,hidelinks hyperref nil))) Because Beamer loads hyperref automatically this will crash. The correct way to load it is through the document class options, e.g. \documentclass[hyperref={unicode, psdextra,hidelinks}]{beamer} Should ox-beamer automatically move the options in this case? Unfortunately, it seems that I cannot directly modify the latex package alist via a parse tree filter, which would have been the easiest. Alternatively, I could write a LaTeX hack using \@ifclassloaded or using the final filter to move things around before compilation. Thanks, Rasmus -- May the Force be with you
[O] worg/org-gtd-etc.html
In Worg on this page, http://orgmode.org/worg/org-gtd-etc.html this link, under Org and Pomodoro http://article.gmane.org/gmane.emacs.orgmode/29347 appears to be out of date or wrong. Could someone check please.
Re: [O] bug: in source block, titles are not seen as source
Albert Krewinkel tar...@moltkeplatz.de writes: Hi Ian, You can escape leading stars by putting a comma in front of them: #+begin_src sh cat 'EOF' ,* some text EOF #+end_src This should do what you want. HTH, Albert Ahh, thank you.
[O] [bug] aorg-agenda effort filter
The recent commit aa86e4bc9f extends a pre-existing setq via the following diff: --8---cut here---start-8--- @@ -7615,11 +7656,12 @@ (defun org-agenda-filter-apply (filter type) (apply 'append (mapcar (lambda (f) (org-agenda-filter-expand-tags (list f) t)) (org-get-at-bol 'tags))) cat (org-get-at-eol 'org-category 1) - txt (get-text-property (point) 'txt)) + txt (org-get-at-eol 'txt 1) + effort-minutes (org-get-at-eol 'effort-minutes 1)) (if (not (eval org-agenda-filter-form)) (org-agenda-filter-hide-line type)) (beginning-of-line 2)) (beginning-of-line 2 (if (get-char-property (point) 'invisible) --8---cut here---end---8--- Setting effort-minutes here is a bug since it is a property and not a variable. Adding it to the let clause this statement is in would suppress the corresponding warning, but I don't see where such a let-bound variable would be used. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] Make org-iswitchb see all agenda files (not only opened ones)
Florian Lindner mailingli...@xgm.de wrote: Hello, can I make org-iswitchb consider not only already opened files but all agenda files, just like org-agenda? I tried one and two prefix arguments, but org-iswitchb always considers only files that are already opened. `org-iswitchb' is restricted to open buffers, but the function below should have the behavior you want. #+begin_src elisp (defun org-open-agenda-file () (interactive) (find-file (org-icompleting-read Agenda file: org-agenda-files))) #+end_src -- Kyle
Re: [O] [bug?][ox-beamer] hyperref crashes when options are specified
Hello, Rasmus ras...@gmx.us writes: If you give hyperref options when exporting to Beamer it will typically crash. I load hyperref as follows to make it compatible with exotic headlines in XeLaTeX: (setq org-latex-default-packages-alist '(( iftex nil) ( fixltx2e nil) (AUTO inputenc t) (T1 fontenc t) (AUTO babel nil) ( scrpage2 nil) ( graphicx t) ( amsmath t) ( amssymb t) ( booktabs t) ( marvosym t) ( microtype nil) ( slantsc nil) (unicode, psdextra,hidelinks hyperref nil))) Because Beamer loads hyperref automatically this will crash. The correct way to load it is through the document class options, e.g. \documentclass[hyperref={unicode, psdextra,hidelinks}]{beamer} Should ox-beamer automatically move the options in this case? No, it shoudn't. This crash is not really Org's fault. You could define an appropriate class for `beamer' back-end instead. Regards, -- Nicolas Goaziou
Re: [O] [bug?][ox-beamer] hyperref crashes when options are specified
Hi, Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Rasmus ras...@gmx.us writes: If you give hyperref options when exporting to Beamer it will typically crash. I load hyperref as follows to make it compatible with exotic headlines in XeLaTeX: (setq org-latex-default-packages-alist '(( iftex nil) ( fixltx2e nil) (AUTO inputenc t) (T1 fontenc t) (AUTO babel nil) ( scrpage2 nil) ( graphicx t) ( amsmath t) ( amssymb t) ( booktabs t) ( marvosym t) ( microtype nil) ( slantsc nil) (unicode, psdextra,hidelinks hyperref nil))) Because Beamer loads hyperref automatically this will crash. The correct way to load it is through the document class options, e.g. \documentclass[hyperref={unicode, psdextra,hidelinks}]{beamer} Should ox-beamer automatically move the options in this case? No, it shoudn't. This crash is not really Org's fault. Customizing an Org package alist, Org inserts code that is invalid in a Beamer context. You could define an appropriate class for `beamer' back-end instead. Org-latex-classes gives me access to [NO-DEFAULT-PACKAGES]. Not removing a single element from it as far as I understand. Or am i mistaken? IMO, a wrapper around the header like org-latex-guess-babel-language would be better, but I don't have strong opinions on this. —Rasmus -- Dung makes an excellent fertilizer
Re: [O] [bug?][ox-beamer] hyperref crashes when options are specified
Rasmus ras...@gmx.us writes: Customizing an Org package alist, Org inserts code that is invalid in a Beamer context. Code generated is valid and conform to expectations, but, unfortunately, incompatible with beamer class. You could define an appropriate class for `beamer' back-end instead. Org-latex-classes gives me access to [NO-DEFAULT-PACKAGES]. Not removing a single element from it as far as I understand. Or am i mistaken? You probably shouldn't add this package to default header in the first place. `org-latex-packages-alist' is a better place. Anyway, yes, you need to remove all packages/default-packages first in your dedicated beamer class. IMO, a wrapper around the header like org-latex-guess-babel-language would be better, but I don't have strong opinions on this. Again, we shouldn't try to start fixing incompatibilities between packages and classes, or between packages in Org. Your configuration is broken, not Org. Regards, -- Nicolas Goaziou
[O] Sorting all children of a heading for time
Hi, In the following example, when I try to sort on the top heading (Planner 2014-15) for time, the heading Holiday does not sort correctly (unless I promote the heading to **. Is there a way that a sort can work with all the children of a given heading? I have also tried selecting all the headings and sorting but with no success. * Planner 2014-15 #+CATEGORY:PLN ** INSET DAY 2014-09-04 Thu ** INSET DAY 2014-09-05 Fri *** Holiday 2014-10-27 Mon--2014-10-31 Fri ** B Meeting 2014-09-22 Mon ** C Committee 2014-10-02 Thu ** S Committee 2014-10-23 Thu ** FS 2014-11-06 Thu ** M Meeting 2014-11-27 Thu Many thanks, Simon.
[O] Bug: ox-taskjuggler ignores SCHEDULED attribute [8.2.6 (8.2.6-47-ge3d2c1-elpa @ /home/anakreontas/.emacs.d/elpa/org-20140526/)]
When exporting the attached file to task juggler, the SCHEDULED attribute is not included in the generated file as a start attribute. The export process is invoked with the key sequence C-c C-e J j * Project A :taskjuggler_project: :PROPERTIES: :leaves_holiday: Ascension Day 2014-05-29 :leaves_holiday: Whit Monday 2014-06-9 :leaves_holiday: Bastille Day 2014-07-14 :leaves_holiday: Assumption of Mary 2014-08-15 :leaves_holiday: Armistice Day 2014-11-11 :leaves_holiday: Christmas Eve 2014-12-24 :leaves_holiday: Christmas Day 2014-12-25 :leaves_holiday: St Stephen's Day 2014-12-26 :leaves_holiday: New Year's Eve 2014-12-31 :start: 2014-05-05 :END: *** DONE Cluster communication CLOSED: [2014-05-27 Tue 17:28] - CLOSING NOTE [2014-05-27 Tue 17:28] \\ Specified communication protocol. *** TODO Model task allocation SCHEDULED: 2014-06-18 Wed :PROPERTIES: :Effort: 1w :allocate: dev :task_id: modelalloc :BLOCKER: previous-sibling # :start: 2014-05-30 :END: * Resources:taskjuggler_resource: ** Developer :PROPERTIES: :resource_id: dev :resource_email: d...@mail.org :END: Emacs : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu) of 2014-05-15 on trouble, modified by Debian Package: Org-mode version 8.2.6 (8.2.6-47-ge3d2c1-elpa @ /home/anakreontas/.emacs.d/elpa/org-20140526/) current state: == (setq org-hide-leading-stars t org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-html-format-drawer-function '(lambda (name contents) contents) org-log-done 'note org-latex-format-inlinetask-function 'ignore org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-export-date-timestamp-format nil org-pretty-entities t org-latex-format-headline-function 'org-latex-format-headline-default-function org-default-notes-file ~/agenda/notes.org org-todo-keyword-faces '((TODO :foreground DarkOrange1 :weight bold) (DONE :foreground light sea green) (DELIGATE :foreground cyan) (CANCELLED :foreground forest green) (WAIT :foreground Red) (RESPOND :foreground sea green) (FEEDBACK :foreground blue)) org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-from-is-user-regexp \\anakreontas\\ org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-export-copy-to-kill-ring 'if-interactive org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes flyspell-mode) org-export-with-tags t org-use-speed-commands t org-ascii-format-drawer-function '(lambda (name contents width) contents) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-with-drawers '(not LOGBOOK) org-modules '(org-bbdb org-bibtex org-info org-jsinfo org-irc org-w3m) org-babel-tangle-lang-exts '((latex . tex) (haskell . hs) (C++ . cpp) (emacs-lisp . el)) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-html-format-headline-function 'ignore org-babel-load-languages '((emacs-lisp . t) (C . t) (haskell . t) (latex . t)) org-html-format-inlinetask-function 'ignore org-agenda-files '(~/agenda/manycore.org ~/agenda/notes.org) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) )
Re: [O] [bug] aorg-agenda effort filter
Hi Achim, Achim Gratz strom...@nexgo.de writes: Setting effort-minutes here is a bug since it is a property and not a variable. Adding it to the let clause this statement is in would suppress the corresponding warning, but I don't see where such a let-bound variable would be used. This is a left-overt from test code, this is now fixed, thanks. PS: You committed stuff in maint that belong to master at this stage. Also, the commit messages contain references like 'variable' instead of `variable'. A tiny difference, sure, but one that I will have to fix manually when merging the Changelogs into Emacs. -- Bastien
Re: [O] worg/org-gtd-etc.html
Hi Adam, adam ah...@orcon.net.nz writes: In Worg on this page, http://orgmode.org/worg/org-gtd-etc.html this link, under Org and Pomodoro http://article.gmane.org/gmane.emacs.orgmode/29347 appears to be out of date or wrong. Could someone check please. I checked, the link is good for me. We ought to point to http://thread.gmane.org/gmane.emacs.orgmode/29347 instead, I find it easier to read. -- Bastien
Re: [O] Sorting all children of a heading for time
Hi Simon, Simon Jones swjem...@gmail.com writes: Is there a way that a sort can work with all the children of a given heading? No: per design, sorting should not break each subtree's structure. You can manually promote it to the second level, sort, and demote it again. HTH, -- Bastien
Re: [O] Make org-iswitchb see all agenda files (not only opened ones)
Hi Kyle, Kyle Meyer k...@kyleam.com writes: `org-iswitchb' is restricted to open buffers, but the function below should have the behavior you want. #+begin_src elisp (defun org-open-agenda-file () (interactive) (find-file (org-icompleting-read Agenda file: org-agenda-files))) #+end_src (Yes, provided `org-agenda-files' contains only files and not directories.) -- Bastien
Re: [O] [bug] aorg-agenda effort filter
Bastien writes: Also, the commit messages contain references like 'variable' instead of `variable'. A tiny difference, sure, but one that I will have to fix manually when merging the Changelogs into Emacs. The corresponding GNU coding standard has been changed about a year ago and EMACS is slowly following suit. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] [FR] Archive subtree with parent structure
Hi Florian, Florian Lindner mailingli...@xgm.de writes: If I also archive AB after that, it gets inserted in the structure which is now identical to the structure we started with. FR noted, thanks. I'm curious to see if people would really find this a good option, as I like having my archives stored as flat entries. If someone wants to give this a try, please go ahead. -- Bastien
Re: [O] completing-read question
42 147 aeus...@gmail.com writes: If this is outside the scope of this particular mailing list, I will gladly be directed elsewhere. https://lists.gnu.org/mailman/listinfo/help-gnu-emacs But C-h f completing-read RET could be enough :) -- Bastien
Re: [O] [bug] aorg-agenda effort filter
Achim Gratz strom...@nexgo.de writes: Bastien writes: Also, the commit messages contain references like 'variable' instead of `variable'. A tiny difference, sure, but one that I will have to fix manually when merging the Changelogs into Emacs. The corresponding GNU coding standard has been changed about a year ago Do you have a pointer? and EMACS is slowly following suit. Where do you see that Emacs is slowly following suit? I don't see any occurrence of 'variable' in any Changelog. -- Bastien
Re: [O] LaTex export questions
Hi Steven, Steven Arntson ste...@stevenarntson.com writes: Hi, I'm trying to export an org-mode doc to LaTex and subsequently to PDF. This is a literary novel, written in prose. Right now when I run the export command, the resulting file is incorrectly formatted for the literary world, and I'm not sure how to change it. Is there a dialog or customize menu that allows users to eliminate some default settings, and add others? If you are not familiar with LaTeX, maybe it's worth exporting to ODT instead. Otherwise, do get some knowledge of LaTeX (perhaps by reading the .tex output) and Org's documentation on how to customize the LaTeX export. HTH, -- Bastien
Re: [O] [FR] Archive subtree with parent structure
On 2014-05-28 at 15:39, Bastien wrote: If I also archive AB after that, it gets inserted in the structure which is now identical to the structure we started with. FR noted, thanks. I'm curious to see if people would really find this a good option, as I like having my archives stored as flat entries. +1. I'd find this useful. I would like archives to exactly mimic source, and I also archive sub-tasks and items throughout a project, not just the entire project when I'm done with it. Currently my archive setup is: ;; http://orgmode.org/worg/org-hacks.html#sec-1-7-1 (setq org-archive-location (concat org-directory /archive/%s_archive::* Archived Tasks)) ;; Archive to archive/foo.org_archive and then under the existing header (defadvice org-archive-subtree (around my-org-archive-subtree activate) (let ((org-archive-location (if (save-excursion (org-back-to-heading) ( (org-outline-level) 1)) (concat (car (split-string org-archive-location ::)) ::* (car (org-get-outline-path))) org-archive-location))) ad-do-it)) -k.
Re: [O] Make org-iswitchb see all agenda files (not only opened ones)
Hi Bastien, Bastien b...@gnu.org wrote: Hi Kyle, Kyle Meyer k...@kyleam.com writes: `org-iswitchb' is restricted to open buffers, but the function below should have the behavior you want. #+begin_src elisp (defun org-open-agenda-file () (interactive) (find-file (org-icompleting-read Agenda file: org-agenda-files))) #+end_src (Yes, provided `org-agenda-files' contains only files and not directories.) Yes, that's a good point. Thanks -- Kyle
Re: [O] LaTex export questions
What kind of deadlines are you facing to accomplish this? Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson On Tue, May 27, 2014 at 2:49 PM, Steven Arntson ste...@stevenarntson.com wrote: Hi, I'm trying to export an org-mode doc to LaTex and subsequently to PDF. This is a literary novel, written in prose. Right now when I run the export command, the resulting file is incorrectly formatted for the literary world, and I'm not sure how to change it. Is there a dialog or customize menu that allows users to eliminate some default settings, and add others? Thank you! Steven Arntson
Re: [O] New worg page: Publishing beamer slideshows and articles from one source
Hi, Suvayu Ali fatkasuvayu+li...@gmail.com writes: In fact, I'm always of the opinion, if the change is minor, or corrects a mistake, or simplifies things, just go ahead with it. My thoughts exactly -- Rasmus, please go ahead by apply your change and Suvayu will complete it when he has time. Thanks both, -- Bastien
Re: [O] [bug] aorg-agenda effort filter
Bastien writes: Achim Gratz strom...@nexgo.de writes: Bastien writes: Also, the commit messages contain references like 'variable' instead of `variable'. A tiny difference, sure, but one that I will have to fix manually when merging the Changelogs into Emacs. The corresponding GNU coding standard has been changed about a year ago Do you have a pointer? http://www.gnu.org/prep/standards/standards.html#index-left-quote The actual change to the document was made even earlier than I remembered: --8---cut here---start-8--- 2011-12-31 Paul Eggert egg...@cs.ucla.edu * standards.texi (Quote Characters): change to recommending undirected quotes, '...' or --8---cut here---end---8--- and EMACS is slowly following suit. Where do you see that Emacs is slowly following suit? There was a lengthy discussion around the latest version of makeinfo producing the new quoting style by default just recently and it has flared up before. My takeaway from that was that EMACS would go with that change in coding style over time. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] LaTex export questions
Rick, Your google search to find the sffms style package seems like it could be the perfect answer to my quandary. I'm trying now to get my head around acquiring it. I don't have a great track record with installing things, and try to use package management systems when I can. Sffms is located on CTAN (which I'm learning about as I write this!). I'm running Ubuntu, and believe I have TexLive installed, but have never tried its package management system. What's a good way to proceed here? Thank you! Steven Rick Frankel r...@rickster.com writes: On 2014-05-27 23:25, Steven Arntson wrote: Nick Dokos ndo...@gmail.com writes: Igor Sosa Mayor joseleopoldo1...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: Hi, I'm trying to export an org-mode doc to LaTex and subsequently to PDF. This is a literary novel, written in prose. Right now when I run the export command, the resulting file is incorrectly formatted for the literary world, and I'm not sure how to change it. Is there a dialog or customize menu that allows users to eliminate some default settings, and add others? But perhaps the OP can clarify: what does incorrectly formatted for the literary world mean? Literary format redux: + 12 point text + Title page has title and author name, centered both horizontally and vertically. Contact info for agent is in the bottom left, single spaced. + Remaining pages are double-spaced + Page numbers are centered at the bottom of the page (but no page number on title page) + Each page has a right-justified header in the format LASTNAME/TITLE A quick google for latex novel manuscript template leads to http://goer.org/Journal/2011/01/publishing_with_sphinx_rest_and_sffms_latex.html, which leads to: http://www.mcdemarco.net/sffms/, which looks like what you want... rick
Re: [O] [bug] aorg-agenda effort filter
Achim Gratz strom...@nexgo.de writes: http://www.gnu.org/prep/standards/standards.html#index-left-quote The actual change to the document was made even earlier than I remembered: 2011-12-31 Paul Eggert egg...@cs.ucla.edu * standards.texi (Quote Characters): change to recommending undirected quotes, '...' or This is about the quote character as an output, not as used in Emacs change logs. and EMACS is slowly following suit. Where do you see that Emacs is slowly following suit? There was a lengthy discussion around the latest version of makeinfo producing the new quoting style by default just recently and it has flared up before. My takeaway from that was that EMACS would go with that change in coding style over time. No, the convention is still to use ` for variables in change logs. This is the same as using `variable' in Emacs lisp buffers (see line 343 of current trunk in lisp-mode.el, where `font-lock-constant-face' is used for highlighting variables.) -- Bastien
Re: [O] Autoopen TODOs AND checkboxes?
Hi Sharon, Sharon Kimble boudic...@skimble.plus.com writes: How can I get it to just show all the TODOs and all of the checkboxes please? TODOs and checkboxs lists live in different worlds. Although you can make checkbox lists look like TODOs by using (setq org-cycle-include-plain-lists t), checkbox lists will always be very different, because... they belong to a subtree, while TODOs don't always belong to one. opening a checkbox list at point has a clear meaning, and so does opening all subtrees from the buffer -- but what would mean opening all checkbox lists from the buffer? Should it open the subtree the list is part of too? Anyway, the easy way is to not use both for similar purpose. You can use [0/0] cookies in your TODOs so that sub-TODOs update the stats cookie. -- Bastien
Re: [O] [RFC] Org Minor Mode?
Hi Thorsten, Thorsten Jolitz tjol...@gmail.com writes: I for one need to have a clearer picture of what such a minor mode would really do, without getting prematurily lost in the details of possible implementations. Its just a better and smarter outshine-mode (major-mode agnostic Org lookfeel for programming modes). But what would it *do*? Can you give a simple example of a specific feature? The one about editing source code in buffers other than Org buffers, maybe? outshine, outorg and navi-mode are all in the mid-range of popular melpa packages, so there seems to be some real demand ... No doubt! I started with code (https://github.com/tj64/omm), (FWIW I don't think omm.el is a really good name, it's hard to guess what it is supposed to do. You could use org-minor-mode.el and keep omm- as a prefix?) but faced the fundamental problem of hardcoded regexps (^, $, and \\*) all over the Org sources that make Org functions fail on outcommented headers and in outcommented text sections in general. The goals, ideas and even implementations (outshine, orgstruct) are already there, a first intent to merge them into one library exists (omm.el), but what to do about this core problem? Circumvent it? Instead of try to adapt tons of Org features so that they run into other modes, we could try to emulate them in temporary buffers, where the peculiarities of the origin mode do not prevent Org functions from running -- see for example how `org-open-at-point' deals with links in comments. This could be generalized to, e.g., handle lists in Emacs lisp comments. -- Bastien
Re: [O] LaTex export questions
Steven Arntson ste...@stevenarntson.com writes: Rick, Your google search to find the sffms style package seems like it could be the perfect answer to my quandary. I'm trying now to get my head around acquiring it. I don't have a great track record with installing things, and try to use package management systems when I can. Sffms is located on CTAN (which I'm learning about as I write this!). I'm running Ubuntu, and believe I have TexLive installed, but have never tried its package management system. What's a good way to proceed here? You can search for packages containing a file: $ dpkg -S sffms.cls texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/sffms/sffms.cls So you need to install texlive-latex-extra: # apt-get install texlive-latex-extra You'll probably need to be root for that (or use the graphical thingie that will ask for your password). Nick
Re: [O] [RFC] Org Minor Mode?
Bastien b...@gnu.org writes: Hi Bastien, Thorsten Jolitz tjol...@gmail.com writes: I for one need to have a clearer picture of what such a minor mode would really do, without getting prematurily lost in the details of possible implementations. Its just a better and smarter outshine-mode (major-mode agnostic Org lookfeel for programming modes). But what would it *do*? Can you give a simple example of a specific feature? The one about editing source code in buffers other than Org buffers, maybe? What outshine does already is the navigation, structure editing, visibility cycling and fontification stuff in a major-mode agnostic way. I would like to have the Org action commands too, i.e. all those functions that make Org headers 'smart': - todos - priorities - tags - timestamps - clocking - properties - ... There is no real reason why the Org functions could not work on outside of Org-mode since they a fundamentally based on regexp, only that those regexps constants are hardcoded (^,$, and \\*) and the functions contain many hardcoded regesp snippets too - thus they cannot deal with outcommnented headers in programming buffers. outshine, outorg and navi-mode are all in the mid-range of popular melpa packages, so there seems to be some real demand ... No doubt! I started with code (https://github.com/tj64/omm), (FWIW I don't think omm.el is a really good name, it's hard to guess what it is supposed to do. You could use org-minor-mode.el and keep omm- as a prefix?) that would be no problem but faced the fundamental problem of hardcoded regexps (^, $, and \\*) all over the Org sources that make Org functions fail on outcommented headers and in outcommented text sections in general. The goals, ideas and even implementations (outshine, orgstruct) are already there, a first intent to merge them into one library exists (omm.el), but what to do about this core problem? Circumvent it? Instead of try to adapt tons of Org features so that they run into other modes, we could try to emulate them in temporary buffers, where the peculiarities of the origin mode do not prevent Org functions from running -- see for example how `org-open-at-point' deals with links in comments. This could be generalized to, e.g., handle lists in Emacs lisp comments. Thats currently possible with outorg.el, M-# M-# on a outshine subtree or buffer is just the reverse of C-c ' on a source-block - it offers the subtree of buffer in a temporary *outorg-edit-buffer* in full Org-mode with the comment-section converted to text and the source-code enclosed in source-blocks. So this works quite well already. But as outshine evolves, me and others would like to have it more powerful and even more similar to Org-mode. Then I start reimplementing features based on outline and extensions, knowing that they are already there in Org-mode, sophisticated and well tested. Thats a bit frustrating, especially since it seems that its just a few chars in the regexps that inhibit using Org-mode functions outside of org-mode. This would be easy to fix in a small library, but since Org-mode is so big, this is really a political thing since changing the regexps would cause more than 600 changes in the sources and then require a (slightly) different approach to writing regexps in the future. There is definitely a cost, but the gain would be considerable too ... -- cheers, Thorsten
Re: [O] LaTex export questions
Nick Dokos ndo...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: Rick, Your google search to find the sffms style package seems like it could be the perfect answer to my quandary. I'm trying now to get my head around acquiring it. I don't have a great track record with installing things, and try to use package management systems when I can. Sffms is located on CTAN (which I'm learning about as I write this!). I'm running Ubuntu, and believe I have TexLive installed, but have never tried its package management system. What's a good way to proceed here? You can search for packages containing a file: $ dpkg -S sffms.cls texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/sffms/sffms.cls So you need to install texlive-latex-extra: # apt-get install texlive-latex-extra You'll probably need to be root for that (or use the graphical thingie that will ask for your password). Nick That dpkg search is a great thing to know about! So I just went through the install process, and it turns out I already have the files in question. I just haven't gotten them working yet. The website for sffms says I need to put the following into my doc: \documentclass{sffms} \author{Lois McMaster Bujold} \title{Komarr} \begin{document} Your story goes here. \end{document} Which seems encouragingly simple, but I'm a little confused about using this LaTex markup in the context of an org document. Org has its own markup to pass to latex for these I think, like #+AUTHOR. Is there a similar one for \documentclass ? Thanks again! Steven
Re: [O] LaTex export questions
Steven Arntson ste...@stevenarntson.com writes: Nick Dokos ndo...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: Rick, Your google search to find the sffms style package seems like it could be the perfect answer to my quandary. I'm trying now to get my head around acquiring it. I don't have a great track record with installing things, and try to use package management systems when I can. Sffms is located on CTAN (which I'm learning about as I write this!). I'm running Ubuntu, and believe I have TexLive installed, but have never tried its package management system. What's a good way to proceed here? You can search for packages containing a file: $ dpkg -S sffms.cls texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/sffms/sffms.cls So you need to install texlive-latex-extra: # apt-get install texlive-latex-extra You'll probably need to be root for that (or use the graphical thingie that will ask for your password). Nick That dpkg search is a great thing to know about! So I just went through the install process, and it turns out I already have the files in question. I just haven't gotten them working yet. The website for sffms says I need to put the following into my doc: \documentclass{sffms} \author{Lois McMaster Bujold} \title{Komarr} \begin{document} Your story goes here. \end{document} Which seems encouragingly simple, but I'm a little confused about using this LaTex markup in the context of an org document. Org has its own markup to pass to latex for these I think, like #+AUTHOR. Is there a similar one for \documentclass ? You will need to add a class to org-latex-classes. You should read the documentation for the variable with C-h v org-latex-classes RET. You can try customizing this variable but I find the customize interface to it somewhat confusing, so I prefer to do it by hand - you need to add something like this to the end of your initialization file (you probably just need chapters): --8---cut here---start-8--- (setq sa/sffms-latex-class '(novel \\documentclass{sffms} (\\chapter{%s} . \\chapter*{%s}) (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}))) (eval-after-load ox-latex '(add-to-list 'org-latex-classes sa/sffms-latex-class)) --8---cut here---end---8--- Then your org file should look like this: --8---cut here---start-8--- #+LATEX_CLASS: novel #+TITLE: Fahrenheit 451 #+AUTHOR: Ray Bradbury #+OPTIONS: toc:nil * The Hearth and the Salamander It was a pleasure to burn. It was a special pleasure to see things eaten, blackened and /changed/. --8---cut here---end---8--- Note that the latex class is known as novel to org because of the way I defined sa/sffms-latex-class. You could call it whatever you want, by changing the two instances of novel. That's a beginning but you will probably have to modify some other things. Just put them in a style file, say misc.sty: --8---cut here---start-8--- \runningtitle{Fahrenheit 451} \authorname{Ray Bradbury} --8---cut here---end---8--- plus any other settings from the sfmms documentation you think are necessary, and add a line to your .org file: --8---cut here---start-8--- #+LATEX_HEADER: \usepackage{misc} --8---cut here---end---8--- to pick them up. That should get you some way towards your goal. Nick
Re: [O] [RFC] Org Minor Mode?
Hi Thorsten Thorsten Jolitz tjol...@gmail.com writes: Thats currently possible with outorg.el, M-# M-# on a outshine subtree or buffer is just the reverse of C-c ' on a source-block - it offers the subtree of buffer in a temporary *outorg-edit-buffer* in full Org-mode with the comment-section converted to text and the source-code enclosed in source-blocks. (Did you look at `org-open-at-point' and the way it handles link in comments? I don't think M-# M-# does the same.) So this works quite well already. But as outshine evolves, me and others would like to have it more powerful and even more similar to Org-mode. Then I start reimplementing features based on outline and extensions, knowing that they are already there in Org-mode, sophisticated and well tested. Thats a bit frustrating, especially since it seems that its just a few chars in the regexps that inhibit using Org-mode functions outside of org-mode. This would be easy to fix in a small library, but since Org-mode is so big, this is really a political thing since changing the regexps would cause more than 600 changes in the sources and then require a (slightly) different approach to writing regexps in the future. There is definitely a cost, but the gain would be considerable too ... This is not about the number of lines to be edited or the man-hour we need to spend on this. Rather about performance and maintainability. -- Bastien
Re: [O] LaTex export questions
Nick Dokos ndo...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: Nick Dokos ndo...@gmail.com writes: Steven Arntson ste...@stevenarntson.com writes: Rick, Your google search to find the sffms style package seems like it could be the perfect answer to my quandary. I'm trying now to get my head around acquiring it. I don't have a great track record with installing things, and try to use package management systems when I can. Sffms is located on CTAN (which I'm learning about as I write this!). I'm running Ubuntu, and believe I have TexLive installed, but have never tried its package management system. What's a good way to proceed here? You can search for packages containing a file: $ dpkg -S sffms.cls texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/sffms/sffms.cls So you need to install texlive-latex-extra: # apt-get install texlive-latex-extra You'll probably need to be root for that (or use the graphical thingie that will ask for your password). Nick That dpkg search is a great thing to know about! So I just went through the install process, and it turns out I already have the files in question. I just haven't gotten them working yet. The website for sffms says I need to put the following into my doc: \documentclass{sffms} \author{Lois McMaster Bujold} \title{Komarr} \begin{document} Your story goes here. \end{document} Which seems encouragingly simple, but I'm a little confused about using this LaTex markup in the context of an org document. Org has its own markup to pass to latex for these I think, like #+AUTHOR. Is there a similar one for \documentclass ? You will need to add a class to org-latex-classes. You should read the documentation for the variable with C-h v org-latex-classes RET. You can try customizing this variable but I find the customize interface to it somewhat confusing, so I prefer to do it by hand - you need to add something like this to the end of your initialization file (you probably just need chapters): (setq sa/sffms-latex-class '(novel \\documentclass{sffms} (\\chapter{%s} . \\chapter*{%s}) (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}))) (eval-after-load ox-latex '(add-to-list 'org-latex-classes sa/sffms-latex-class)) Then your org file should look like this: #+LATEX_CLASS: novel #+TITLE: Fahrenheit 451 #+AUTHOR: Ray Bradbury #+OPTIONS: toc:nil * The Hearth and the Salamander It was a pleasure to burn. It was a special pleasure to see things eaten, blackened and /changed/. Note that the latex class is known as novel to org because of the way I defined sa/sffms-latex-class. You could call it whatever you want, by changing the two instances of novel. That's a beginning but you will probably have to modify some other things. Just put them in a style file, say misc.sty: \runningtitle{Fahrenheit 451} \authorname{Ray Bradbury} plus any other settings from the sfmms documentation you think are necessary, and add a line to your .org file: #+LATEX_HEADER: \usepackage{misc} to pick them up. That should get you some way towards your goal. Nick Hi Nick, Sorry to call you Rick earlier; I just noticed I did that. So, this has been incredibly helpful. I've just processed an org file into a pdf that's about 93% totally correct for formatting. Furthermore, it looks great; way better than the output I typically get from Word or LibreOffice. And way, /way/ easier to achieve. Thanks so much for your help here, and everyone else on this thread, too! I'm sure I'll have questions further on but I'm going to call this a success for today and go mix a martini. Best! Steven PS Strangely, I just read Fahrenheit 451 last week. Odd coincidence
Re: [O] LaTex export questions
Steven Arntson ste...@stevenarntson.com writes: Hi Nick, Sorry to call you Rick earlier; I just noticed I did that. No, you were right: Rick Frankel provided the googling and the reference to sffms. I didn't know anything about it before he mentioned it. So, this has been incredibly helpful. I've just processed an org file into a pdf that's about 93% totally correct for formatting. Furthermore, it looks great; way better than the output I typically get from Word or LibreOffice. And way, /way/ easier to achieve. Thanks so much for your help here, and everyone else on this thread, too! I'm sure I'll have questions further on but I'm going to call this a success for today and go mix a martini. Best! Steven PS Strangely, I just read Fahrenheit 451 last week. Odd coincidence :-) Nick
[O] bug#17484: 24.3.91; Emacs Pretest (emacs-24.3.91.tar.xz) freeze
We can probably close this bug. I haven't been able to reproduce it with the org-mode bundled with the pretest version. Sorry for the noise. Regards, -- Daimrod/Greg
Re: [O] Make org-iswitchb see all agenda files (not only opened ones)
Kyle Meyer k...@kyleam.com writes: Hi Bastien, Bastien b...@gnu.org wrote: Hi Kyle, Kyle Meyer k...@kyleam.com writes: `org-iswitchb' is restricted to open buffers, but the function below should have the behavior you want. #+begin_src elisp (defun org-open-agenda-file () (interactive) (find-file (org-icompleting-read Agenda file: org-agenda-files))) #+end_src (Yes, provided `org-agenda-files' contains only files and not directories.) Yes, that's a good point. Thanks I occasionally wanted to have Org preloaded, so that right after starting emacs I could go to Org files, or run an agenda command with all the tags and TODO keywords present for completion. It turned out to be pretty simple: (defun my-preload-org () (interactive) (org-agenda-prepare-buffers (org-agenda-files))) Which I add to the after-init-hook. Seems to work just fine. Eric
Re: [O] org-contacts development
Michael Strey mst...@strey.biz writes: Hi Michael, Reading http://orgmode.org/worg/dev/org-syntax.html#Node_Properties I just realised that my clumsy property keys are against the rules since they are containing whitespace characters. Nevertheless I still like the idea of having a Type, a number and a Value for every property that can occur multiple. Thus the properties can be easily mapped to the VCard scheme as well as to any other scheme. Thus, what I would like to propose is the following scheme: #+BEGIN_SRC org :PROPERTIES: :Contact_Type: individual or organisation :Organization_1_Type: company :Organization_1_Name: The company name :Organization_1_Department: department, business unit, division :Organization_1_Title: job title of an individual :FN: The full name :GivenName: :FamilyName: :Name_Prefix: :Name_Suffix: :Nickname: :Email_1_Type: Work :Email_1_Value: n...@company.fr :Address_1_Type: Work :Address_1_Street: The street can contain multiple lines \\ second line :Address_1_Box: Postal box :Address_1_Extension: other extensions that can occur in addresses :Address_1_City: The city :Address_1_Region: Region, federal state etc. :Address_1_Code: 12100 :Address_1_Country: France :Phone_1_Type: Work :Phone_1_Value: +33 565 623740 :Phone_2_Type: Fax :Phone_2_Value: +33 565 623070 :Website_1_Type: Work :Website_1_Value: http://www.domain.fr :Birthday: :Language: en :Salutation: :END: #+END_SRC Hmm, I kinda like this. It seems a bit verbose but it's better than having multiple values per properties (IMHO). Though, if we adopt this scheme, we would need to add some helper bindings/functions so that we don't have to fill this by hands. Other user defined properties can be added and mapped to the appropriate user defined keys during export. I'm not sure to understand what you mean. Could you give more details and maybe an example? [snip] Please note that org-collector tries to convert property values from strings into numbers if possible. For postal codes with leading Zeros this can lead to unexpected results. I did not find any other way to solve this problem than to add a national code like in the following example :Address_1_Code: 01169 would lead to 1169 in the propview table. so I replaced it with :Address_1_Code: DE-01169 What is `org-collector' and when does it happen? I've done a quick test and the 0 appears in `org-contacts-db'. Best, -- Daimrod/Greg
[O] move org line to next superior level
Hi everyone, is there a way to move a specific org mode item across its superior level via shortcut? In the following example I'd like to move the line via shortcut below the '' line. * aaa ** TODO * bbb ** TODO As addon it would be cool to flag this moved line with e.g. moved on 2014-05-29 What I trying to accomplish here is to create a kind of electronic version of 43folders. When I am not able to finish a task on say Monday, I'd like to be able to move it (or alternatively copy it [while setting the original entry's status to postponed]) to the next day. Uwe
[O] bug#17484: 24.3.91; Emacs Pretest (emacs-24.3.91.tar.xz) freeze
We can probably close this bug. I haven't been able to reproduce it with the org-mode bundled with the pretest version. Thanks, done. Sorry for the noise. Better luck next time, Stefan
[O] Bug: Markdown export not creating proper TOC links [8.2.6 (8.2.6-dist @ /home/marko/.emacs.d/org-8.2.6/lisp/)]
Greetings all, I have an issue with Markdown and I guess it is a bug. If I have a simple Org file with the following contents: * Heading 1 ** Heading 1.1 - something * Heading 2 - something else and run M-x org-export-dispatch m m, thus making a Markdown export to a file, the resulting file looks like this: div id=table-of-contents h2Table of Contents/h2 div id=text-table-of-contents ul lia href=#sec-11. Heading 1/a ul lia href=#sec-1-11.1. Heading 1.1/a/li /ul /li lia href=#sec-22. Heading 2/a/li /ul /div /div # Heading 1 ## Heading 1.1 - something # Heading 2 - something else Shouldn't there be the #sec-1 anchor somewhere next to Heading 1 and similarly for the other anchors? Obviously, when the md file gets displayed in a web browser, clicking on 1. Heading 1 in the table of contents has no effect. I expect it to jump to the part of page corresponding to Heading 1. Emacs : GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2014-01-18 on neelix Package: Org-mode version 8.2.6 (8.2.6-dist @ /home/marko/.emacs.d/org-8.2.6/lisp/) current state: == (setq org-export-backends '(ascii beamer html icalendar latex md) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-latex-classes '((beamer \\documentclass[presentation]{beamer} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s})) (article \\documentclass[11pt]{article} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s})) (report \\documentclass[11pt]{report} (\\part{%s} . \\part*{%s}) (\\chapter{%s} . \\chapter*{%s}) (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s})) (book \\documentclass[11pt]{book} (\\part{%s} . \\part*{%s}) (\\chapter{%s} . \\chapter*{%s}) (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s})) ) org-contacts-files '(~/org/contacts/contacts.org) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-start-on-weekday nil org-html-format-drawer-function '(lambda (name contents) contents) org-log-done t org-latex-format-inlinetask-function 'ignore org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-export-date-timestamp-format %Y-%m-%d org-list-allow-alphabetical t org-agenda-skip-scheduled-if-done t org-latex-format-headline-function 'org-latex-format-headline-default-function org-capture-templates '((c Contacts entry (file ~/org/contacts/contacts.org) * %(org-contacts-template-name)\n :PROPERTIES:\n :MOBILE: \n :PHONE:\n :ADDRESS:\n :BIRTHDAY:\n :LAST_CONTACT:\n :NOTES:\n \n :EMAIL: %(org-contacts-template-email)\n :END:) ) org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-export-copy-to-kill-ring t org-mode-hook '(flyspell-mode (lambda nil (setq fill-column 78)) org-clock-load #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes org-mode-reftex-setup zotelo-minor-mode) org-export-with-tags 'not-in-toc org-ascii-format-drawer-function '(lambda (name contents width) contents) org-clock-persist 'history