Re: [Orgmode] LaTeX export: Skip headline lines? Paragraph sectioning?
On Aug 29, 2010, at 7:46 PM, Nick Dokos wrote: Scot Becker scot.bec...@gmail.com wrote: He wants to write up a document using org-mode's outline facilities as a skeleton to help him build up, navigate and visualize his document, but then he wants only to use SOME of the headlines but ALL of the text when he actually makes a printed version for others to read. I've wanted this as well, since when you think about it the structure you need as a writer may not be the structure you want to pass on to your readers. OK, thanks for the clarification: that was one of the interpretations that did not make much sense to me, but I was looking at it from a much more rigid point of view, where the headlines are what give structure to the document, so you want to preserve them at all costs; I wasn't thinking about different meanings that they might have for different people. However, it still sounds like an ill-defined problem to me: in particular, your manual algorithm would wreak havoc on an outline with headlines at multiple levels. What is the real algorithm supposed to do with something like this: , | * foo | text1 | ** foo1 | text2 | * bar :omit-this-header: | text3 | **bar2 :omit-this-header: | text4 | ***bar3 | text5 ` Or are we supposed to imagine headings at a single level only? I suspect that one would be better off with two (or more) outlines: one for the writer, one for the reader (perhaps one for each class of readers), with some way to pick text from one outline and plug it into the other(s). Nick Aloha Alan et al., This is what I use LaTeX blocks in Babel for. The outline stuff that helps me write is separate from the stuff I actually write. I've been doing this for a while now and have been amazed at how much of what I write gets left behind, including headlines. 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-capture loses entered text when C-g on file selection
On Aug 28, 2010, at 3:48 PM, Greg Troxel wrote: This may not technically be a bug, but it violated my expectations: setup: (setq org-capture-templates '((t task entry (file+headline notes.org Refile) * TODO %?\n %U\n))) Use 'C-c r' to start capturing. Type 'foo'. C-c C-w to start refiling Type 'bar'. Decide that you really didn't finish the note, and type C-g to get back to editing the note. Notice that your typed-in text is vanished. C-h l output of a test case that shows this problem: C-c r f o o C-c C-w b a r C-g Hi Greg, unfortunately, the way this is implemented is the following: It first finalizes the capture, then it does the refile. So it is difficult to recover at that point. - Carsten ___ 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 - Carsten ___ 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] [Ann] Updates to org-drill (org topics as interactive flashcards using spaced repetition)
Hi paul, I have installed the new version. It might be useful if you increase teh version number with important changes - it still is 1.0 in the file. - Carsten On Aug 26, 2010, at 11:27 AM, Paul Sexton wrote: Org-Drill has recently been added to the contrib directory of the org repository. Latest version is in repository at: http://bitbucket.org/eeeickythump/org-drill I have made a couple of major updates recently. Changelogs are below. Reports of user experiences are welcome. Version 1.0 Added README with more detailed documentation. Items which are failed during session are presented again before the session ends. Items which were failures at the last review session are presented first in the next session. Added recognition of leech items, based on excessive number of failures. Leeches can be skipped or warned about. When reviewing an item, the prompt shows the number of items remaining. When the session finishes, the minibuffer shows a brief report givisng statistics about total time spent reviewing, number of cards that still need review, etc. Fixed the regexp for cloze-deleted text. Optional face for cloze text in org mode buffers. New card type: twosided. Version 1.1 Added implementation of SM2 algorithm (now supports both SM2 and SM5). Add option 'org-drill-spaced-repetition-algorithm': choose either SM2 or SM5 algorithm. Add option 'org-drill-add-random-noise-to-intervals-p': randomly vary repetition intervals slightly, to avoid clumping. Fixed a bug in org-learn's SM5 algorithm (intervals much too long). Use overlays to display cloze deletions as '[...]' during reviews. Cloze text can contain hints, which will visible during review. Add option 'org-drill-failure-quality': customise which quality is regarded as unambiguous failure (1 or 2). Expanded documentation, and added section on 'incremental reading', with example setup. ___ 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 - Carsten ___ 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] Folding org drawers in elisp code?
On Aug 23, 2010, at 9:22 PM, Paul Sexton wrote: Can anyone tell me how I can write elisp code to force drawers to appear closed (folded) in an org buffer? (org-cycle-hide-drawers 'all) will cover the whole buffer. Other arguments will cover smaller sections, depending on what org-cycle just did. In fact, you might want to look at all the functions in org-cycle-hook, they do various kinds of cleanup after visibility has been changed. Best wishes - Carsten ___ 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 bit offtopic, fonts in exported PDF documents - oops
Hi, I have not followed this thread closely, so if the discussion ends in something we should change in Org, please write to me and let me know explicitly. Thanks! - Carsten On Aug 26, 2010, at 11:41 PM, Alan L Tyree wrote: On Thu, 26 Aug 2010 12:34:08 -0500 Erik Iverson er...@ccbr.umn.edu wrote: Hello, I'm wondering if anyone can 1) reproduce what I'm seeing 2) help in understanding what's going on. If I export an Org file to LaTeX, the resulting .tex file contains the following in its header: SNIP Erik, I just realised that I had added \usepackage{lmodern} to get the result that I mentioned in my last post. Without the lmodern package, the output still looks OK, but the fonts are No Name Type 3 Embedded. HTH, Alan Thanks! Erik ___ 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 -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 ___ 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 - Carsten ___ 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 to PDF
On Mon, Aug 30, 2010 at 12:15:52PM +0200, Erwin Panen wrote: Hi everyone, (Shell command failed with code 127 and some error output) [2 times] Processing LaTeX file...done org-export-as-pdf: PDF file was not produced You may not be doing anything wrong. Is there a buffer which contains the error output? If not, try running 'pdflatex yourorgfile.tex' in the directory with your Org file. By default, a file named .tex is written there by the export. You should be able to debug it further with that output. Good luck! (FYI, ask on IRC too) -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ 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 tables - modified field
On Jul 2, 2010, at 10:27 AM, Seweryn Kokot wrote: Hi, I have the following table #+TBLNAME: table_three |+| | 1 | 2 | |+| | 2.00 | *4.00* | | *4.00* | #ERROR | |+| #+TBLFM: @2$1...@1$1;%.2f::@2$2...@1$2;*%.2f*::@3$1...@2$1;*%. 2f*::@3$2...@2 $2;*%.2f* in which I would like to have some fields bold in org buffer and latex export \begin{center} \begin{tabular}{rl} \hline 12 \\ \hline 2.00\textbf{4.00} \\ \textbf{4.00}\#ERROR\\ \hline \end{tabular} \end{center} However, since the field B3 refers to the field B2 which is not exactly a number, I get an error. Would it be possible to reuse the field B2 in another formula, somehow? Only if you use elisp formulas and strip the stars yourself. Calc cannot solve this for you, so computations using calc with emphasized fields are not allowed in org tables. HTH - Carsten ___ 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 to PDF
Erwin Panen erwinpa...@fastmail.fm writes: Hi everyone, Trying to make my first steps in publishing. I'm working on Mac, using Emacs 23.2.1 with Org-mode version 6.36trans. I seem to have various LaTeX stuff installed on my MacBook. I have to admit that I have no experience with LaTeX whatsoever. (TeXShop, LaTeXit, TeXWorks) So I'm not sure if my configuration if any is correct in this view. When I issue: C-c C-e p I get following message: - For information about GNU Emacs and the GNU system, type C-h C-a. OVERVIEW CHILDREN SUBTREE Select command: Exporting to PDF... Exporting to LaTeX... Saving file /Users/erwin/git/org/Erhard.tex... Wrote /Users/erwin/git/org/Erhard.tex Saving file /Users/erwin/git/org/Erhard.tex... Wrote /Users/erwin/git/org/Erhard.tex LaTeX export done, pushed to kill ring and clipboard Processing LaTeX file... (Shell command failed with code 127 and some error output) [2 times] Processing LaTeX file...done org-export-as-pdf: PDF file was not produced Hi Erwin, not sure about MAC, but for most UNIX shells (i think), a return value of 127 means command not found. It seems some LaTeX packages are missing. Most of us use the TexLive distribution, a collection of the most commonly used LaTeX packages and binaries. Are you able to execute the command `pdflatex' in a console? 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] firefox and org-protocol issue
Hello, I have an issue using *org-protocol* and *Firefox: * I used this page: *http://orgmode.org/worg/org-contrib/org-protocol.php* to configure Firefox. If i use the test links on the org-protocol page (Verify the installation), here is what happens: - using the store-link bookmark i have this message : `M-x org-insert-link' to insert new org-link, `C-y' to insert ` http://orgmode.org/worg/org-contrib/org-protocol.php'. i believed that the link would be automaticaly inserted. - using the capture link : a new empty file is open. the title of this file in the previously selected text. - using the remember link: a new remember buffer is open with this help text : # C-c C-c ~/.notes - * ## C-u C-c C-c like C-c C-c, and immediately visit note at target location ## C-0 C-c C-c ??? - * ??? ## C-1 C-c C-c to select file and header location interactively. ## C-2 C-c C-c as child of the currently clocked item ## To switch templates, use `M-x org-remember'. To abort use `C-c C-k If i use 'C-c C-c', the buffer is saved the but only with this previous help text ( not with the selected text ...). Ubuntu 10.04 Emacs 23.1+1-4ubuntu7 org-protocol: 6.27a ( was not installed with my Ubuntu's Emacs version ) thanks by advance for any comment that could help riccco ___ 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] anyone composing email in orgmode and sending with Mail.app?
Hi all — Slowly but surely Orgmode absorbs my various workflows. The latest one that I'm struggling with is email. I've read about org-mime and I'm not sure I'm ready to install an emacs email client. I know there are various mac os integration tools, but I'm fuzzy on how to do one particular workflow. As a result, I'm still clinging to Markdown for email. Raw orgmode, unfortunately, is not as readable to my clients and colleagues as Markdown is. Thus, I want to figure out a better workflow for sending email from Orgmode via Mail.app, perhaps with a plain text export of some kind or with HTML or RTF formatted email. Anyone doing anything like this? — Michael ___ 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-mode + pomodoro
On 27 August 2010 21:15, A. Ryan Reynolds a.ryan.reyno...@gmail.com wrote: I do this using Org-Mode and a kitchen timer. I clock in when I wind the timer, and clock out when it dings, instead of just marking with X's. To record distractions I keep a scratch buffer in org-mode open, although there may be a better way to capture distractions on the urgent and unplanned list using remember mode to file them away into a more organized system. I just haven't had time to read about it. I like the fact that the urgent unplanned items don't go anywhere unless I decide to file them though, because it keeps my to-do list cleaner that way. During my most distracted periods I tend to capture a lot of stray to-do items of only marginal utility. I'm not sure my personal workflow will work exactly right for anyone but myself (and it's still a work in progress for me too!), but I'm happy to answer any other questions you might have about it. Thank you. I will try it with http://tomatoi.st timer. -- A. Ryan Reynolds -- Sergey Konoplev Blog: http://gray-hemp.blogspot.com / Linkedin: http://ru.linkedin.com/in/grayhemp / JID/GTalk: gray...@gmail.com / Skype: gray-hemp / ICQ: 29353802 ___ 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 mode manual written in? texinfo?
I was just wondering... Is the manual written in texinfo markup, or is there some obscure .org file behind the manual still? If it really is written in texinfo, is this not a shortcoming? Org mode is capable of generating html and pdf etc. Why not use it for the manual then to set the example and show its powers!? /Gustav ___ 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 to PDF
Hi Sebastian, Thanks for your very fast reply :-) Yes, I can issue 'pdflatex' from a console: - macbook:~ erwin$ pdflatex This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) ** - I assume it must be a matter of config? Erwin On 30/08/10 14:38, Sebastian Rose wrote: Erwin Panenerwinpa...@fastmail.fm writes: Hi everyone, Trying to make my first steps in publishing. I'm working on Mac, using Emacs 23.2.1 with Org-mode version 6.36trans. I seem to have various LaTeX stuff installed on my MacBook. I have to admit that I have no experience with LaTeX whatsoever. (TeXShop, LaTeXit, TeXWorks) So I'm not sure if my configuration if any is correct in this view. When I issue: C-c C-e p I get following message: - For information about GNU Emacs and the GNU system, type C-h C-a. OVERVIEW CHILDREN SUBTREE Select command: Exporting to PDF... Exporting to LaTeX... Saving file /Users/erwin/git/org/Erhard.tex... Wrote /Users/erwin/git/org/Erhard.tex Saving file /Users/erwin/git/org/Erhard.tex... Wrote /Users/erwin/git/org/Erhard.tex LaTeX export done, pushed to kill ring and clipboard Processing LaTeX file... (Shell command failed with code 127 and some error output) [2 times] Processing LaTeX file...done org-export-as-pdf: PDF file was not produced Hi Erwin, not sure about MAC, but for most UNIX shells (i think), a return value of 127 means command not found. It seems some LaTeX packages are missing. Most of us use the TexLive distribution, a collection of the most commonly used LaTeX packages and binaries. Are you able to execute the command `pdflatex' in a console? 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] problem with mime conversion for emails
On Sun, 29 Aug 2010 14:52:10 -0600, Eric Schulte schulte.e...@gmail.com wrote: Hi Eric, An easy fix may be using the `org-mime-html-hook' to post-process the html, the following (untested) should be sufficient. --8---cut here---start-8--- (add-hook 'org-mime-html-hook (lambda () (replace-regexp (regexp-quote span style=\visibility:hidden;\X/span) nbsp;))) --8---cut here---end---8--- To me, this seems easier than having an email-specific export target. Yes, this is probably the best approach (and thanks for the actual elisp code which is nice and succinct!). I do still wonder at the need for the extra level of complexity introduced by the visibility attribute, especially given that the checkboxes only line up if none of them is of the type [-]... Anyway, I've put this code in my config! Thanks again. eric -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ 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: Agenda view and timestamps
Le lundi 23 août 2010 à 22:30 -0400, Matt Lundin a écrit : Hi Julien, Another solution is to use the variable org-agenda-entry-types. This is slightly more efficient, since it searches solely for timestamps when creating the agenda, rather than considering all agenda types and then filtering out everything that is not a timestamp. --8---cut here---start-8--- (setq org-agenda-custom-commands '((d With timestamps agenda List of tasks with a timestamp ((org-agenda-entry-types '(:timestamp)) --8---cut here---end---8--- It works, thanks a lot. I don't know how I missed org-agenda-entry-types while reading the doc. Julien. ___ 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 mode manual written in? texinfo?
On Aug 29, 2010, at 9:12 PM, Gustav Wikström wrote: I was just wondering... Is the manual written in texinfo markup, or is there some obscure .org file behind the manual still? If it really is written in texinfo, is this not a shortcoming? Org mode is capable of generating html and pdf etc. Why not use it for the manual then to set the example and show its powers!? Org-mode is currently not able to produce TeXInfo, which is the standard for Emacs documentation. Also TeXInfo has support for lots of indices etc. - Carsten ___ 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] firefox and org-protocol issue
ricco * ric...@gmail.com writes: Hello, I have an issue using *org-protocol* and *Firefox: * I used this page: *http://orgmode.org/worg/org-contrib/org-protocol.php* to configure Firefox. If i use the test links on the org-protocol page (Verify the installation), here is what happens: - using the store-link bookmark i have this message : `M-x org-insert-link' to insert new org-link, `C-y' to insert ` http://orgmode.org/worg/org-contrib/org-protocol.php'. i believed that the link would be automaticaly inserted. No, it's not. Instead, you may now insert a link using `org-insert-link' (`C-c C-l') or just yank the URL (`C-y'). - using the capture link : a new empty file is open. the title of this file in the previously selected text. - using the remember link: a new remember buffer is open with this help text : # C-c C-c ~/.notes - * ## C-u C-c C-c like C-c C-c, and immediately visit note at target location ## C-0 C-c C-c ??? - * ??? ## C-1 C-c C-c to select file and header location interactively. ## C-2 C-c C-c as child of the currently clocked item ## To switch templates, use `M-x org-remember'. To abort use `C-c C-k If i use 'C-c C-c', the buffer is saved the but only with this previous help text ( not with the selected text ...). This sounds strange... I cannot reproduce thist here. What are the contents of your template with template char w? Here is mine: defvar trainingstemplate (org-file-contents ~/emacs/org/capture-templates/training.org)) (setq org-capture-templates (quote ((w entry (file+headline ~/emacs/org/notes/remember.org Notizen) * %^{Title}\n\n @span class=\quelle\Quelle: %u, %c@/span\n\n %i :empty-lines 1) ;; ... etc. more templates... ))) I adjusted http://orgmode.org/worg/org-contrib/org-protocol.php slightly to make it a bit more clear hopefully ;) 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] LaTeX export: Skip headline lines? Paragraph sectioning?
Hmm, Tomas, this is interesting. I have thought about using babel for this sort of thing, but assumed that the textual overhead would be too high to make it worth it (It'd be ugly, and not that fun to generate). I don't suppose you'd be so kind as to past in an example that shows this kind of thing in action? Even just an example text itself, with the structure and some blocks. (And of course, I do still owe you my examples of org+xetex). Scot ___ 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.texi patch for small typo
diff --git a/doc/org.texi b/doc/org.texi index 2e61ddf..4ce32ce 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -11176,10 +11176,10 @@ Include the code block in the tangled output to file @samp{filename}. @kindex C-c C-v t @subsubheading Functions @table @code -...@item org-babel-tangle @kbd{C-c C-v t} -Tangle the current file. +...@item org-babel-tangle +Tangle the current file. Bound to @kbd{C-c C-v t}. @item org-babel-tangle-file -Choose a file to tangle. +Choose a file to tangle. Bound to @kbd{C-c C-v f}. @end table @subsubheading Hooks ___ 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 bit offtopic, fonts in exported PDF documents - oops
Carsten Dominik carsten.domi...@gmail.com wrote: Hi, I have not followed this thread closely, so if the discussion ends in something we should change in Org, please write to me and let me know explicitly. Thanks! Erik Iverson might have a different take but my take is that there is no major issue. Two minor issues: One possible change to org is an addition to the documentation recommending the texlive-fonts-extra package: it includes the cm-super Type1 fonts - type1 fonts behave better with Evince (and possibly other PDF viewers) than type3 fonts. The other possible change that Erik identified is the deletion of the t1enc package from the list of packages that org includes in exported LaTeX by default. I haven't tried without it, but it does indeed seem to be an obsolete remnant of times long past. The TeX FAQ (http://www.tex.ac.uk/cgi-bin/texfaq2html?label=t1enc ) says: , | Why use fontenc rather than t1enc? | | In the very earliest days of LaTeX2e, the only way to use the T1 | encoding was t1enc; with the summer 1994 “production” release, the | fontenc package appeared, and provided comprehensive support for use of | the encoding. | | Nevertheless, the t1enc package remains (as part of the LaTeX 2.09 | compatibility code), but it does very little: it merely selects font | encoding T1, and leaves to the user the business of generating the | character codes required. | | Generating such character codes could be a simple matter, if the T1 | encoding matched any widely-supported encoding standard, since in that | case, one might expect one’s keyboard to generate the character | codes. However, the T1 encoding is a mix of several standard encodings, | and includes code points in areas of the table which standard encodings | specifically exclude, so no T1 keyboards have been (or ever will be) | manufactured. | | By contrast, the fontenc package generates the T1 code points from | ordinary LaTeX commands (e.g., it generates the é character codepoint | from the command \’e). So, unless you have program-generated T1 input, | use \usepackage[T1]{fontenc} rather than \usepackage{t1enc}. ` 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
[Orgmode] [PATCH] Make the number of printed weeks configureable
This is useful for the hipster PDA where you might want to print more weeks than just four. --- contrib/scripts/org2hpda |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/contrib/scripts/org2hpda b/contrib/scripts/org2hpda index 1957aa9..6b308f3 100755 --- a/contrib/scripts/org2hpda +++ b/contrib/scripts/org2hpda @@ -44,6 +44,11 @@ EMACS = emacs -batch -l ~/.emacs LATEX = latex DIARY = $($(EMACS) -eval diary-file) +# Number of weeks to be printed. Should be a multiple of 4, because 4 +# of them are merged on one page. Can be set when invoking the script +# as follows: make NUMBER_OF_WEEKS=8 -f org2hpda +NUMBER_OF_WEEKS = 4 + hipsterFiles = weekCalendar.pdf yearCalendar.pdf monthCalendar3.pdf monthCalendar2.pdf monthCalendar1.pdf pocketModFiles = weekCalendar.pdf yearCalendar-rotated.pdf \ monthCalendar3-rotated.pdf monthCalendar2-rotated.pdf monthCalendar1-rotated.pdf @@ -73,7 +78,7 @@ all: pocketMod.pdf hipsterPDA.pdf done weekCalendar.tex: $(DIARY) - $(EMACS) -eval (progn (calendar) (cal-tex-cursor-week-iso 4) (with-current-buffer cal-tex-buffer (write-file \$...@\))) + $(EMACS) -eval (progn (calendar) (cal-tex-cursor-week-iso $(NUMBER_OF_WEEKS)) (with-current-buffer cal-tex-buffer (write-file \$...@\))) monthCalendar1.tex: $(DIARY) $(EMACS) -eval (progn (calendar) (cal-tex-cursor-month-landscape 1) (with-current-buffer cal-tex-buffer (write-file \$...@\))) -- 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
Re: [Orgmode] a bit offtopic, fonts in exported PDF documents - oops
Nick Dokos wrote: Carsten Dominik carsten.domi...@gmail.com wrote: Hi, I have not followed this thread closely, so if the discussion ends in something we should change in Org, please write to me and let me know explicitly. Thanks! Erik Iverson might have a different take but my take is that there is no major issue. Two minor issues: One possible change to org is an addition to the documentation recommending the texlive-fonts-extra package: it includes the cm-super Type1 fonts - type1 fonts behave better with Evince (and possibly other PDF viewers) than type3 fonts. That would be my thought, too. However, it appears that cm-super is only suggested by texlive-fonts-extra, so in general will not get installed with that package, unless you ask for suggested packages also. (This is all Debian/Ubuntu by the way). Both this system and MikTeX offer cm-super as a standalone package, so perhaps just recommending that package (cm-super) would suffice? I confirmed that cm-super is not one of the default MikTeX packages in a standard install, so Windows users may benefit from this advice, too. The other possible change that Erik identified is the deletion of the t1enc package from the list of packages that org includes in exported LaTeX by default. I haven't tried without it, but it does indeed seem to be an obsolete remnant of times long past. I have tried without it. I was unable to to see any differences between using \usepackage[T1]{fontenc} and adding the \usepackage{t1enc} line. This makes sense given the FAQ answer below. The TeX FAQ (http://www.tex.ac.uk/cgi-bin/texfaq2html?label=t1enc ) says: , | Why use fontenc rather than t1enc? | | In the very earliest days of LaTeX2e, the only way to use the T1 | encoding was t1enc; with the summer 1994 “production” release, the | fontenc package appeared, and provided comprehensive support for use of | the encoding. | | Nevertheless, the t1enc package remains (as part of the LaTeX 2.09 | compatibility code), but it does very little: it merely selects font | encoding T1, and leaves to the user the business of generating the | character codes required. | | Generating such character codes could be a simple matter, if the T1 | encoding matched any widely-supported encoding standard, since in that | case, one might expect one’s keyboard to generate the character | codes. However, the T1 encoding is a mix of several standard encodings, | and includes code points in areas of the table which standard encodings | specifically exclude, so no T1 keyboards have been (or ever will be) | manufactured. | | By contrast, the fontenc package generates the T1 code points from | ordinary LaTeX commands (e.g., it generates the é character codepoint | from the command \’e). So, unless you have program-generated T1 input, | use \usepackage[T1]{fontenc} rather than \usepackage{t1enc}. ` 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] Org mode manual written in? texinfo?
Aloha Gustav, Theoretically, one could export from org to docbook, then output texinfo with docbook2x. I tried this a while ago but couldn't get docbook2x to work with minimal effort and gave up. Tom On Aug 29, 2010, at 9:12 AM, Gustav Wikström wrote: I was just wondering... Is the manual written in texinfo markup, or is there some obscure .org file behind the manual still? If it really is written in texinfo, is this not a shortcoming? Org mode is capable of generating html and pdf etc. Why not use it for the manual then to set the example and show its powers!? /Gustav ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] LaTeX export: Skip headline lines? Paragraph sectioning?
Aloha Scot, An example is here: http://orgmode.org/worg/org-contrib/babel/examples/research-project.php This approach is *definitely* not as much fun as the Org-mode LaTeX exporter, and the org files can be ugly, but it gives fine control over the LaTeX output and can produce notes and metadata in LaTeX, HTML, docbook, etc. I use it for projects intended for publication, where I'm willing to invest some thought and energy into the setup. Let me know if you have questions. All the best, Tom P.S. Yes, by all means, let me know when you've tamed the xetex configuration or edit the LaTeX export tutorial yourself to include what you've found. On Aug 30, 2010, at 4:22 AM, Scot Becker wrote: Hmm, Tomas, this is interesting. I have thought about using babel for this sort of thing, but assumed that the textual overhead would be too high to make it worth it (It'd be ugly, and not that fun to generate). I don't suppose you'd be so kind as to past in an example that shows this kind of thing in action? Even just an example text itself, with the structure and some blocks. (And of course, I do still owe you my examples of org+xetex). Scot ___ 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 to PDF
Hi Erwin, Does Emacs know the path to your LaTeX executables? I have these lines in .emacs (don't know why I have both and not sure now if one or both are needed): (setenv PATH (concat (getenv PATH) :/usr/texbin)) (setq exec-path (append exec-path '(/usr/texbin))) hth, Tom On Aug 30, 2010, at 2:41 AM, Erwin Panen wrote: Hi Sebastian, Thanks for your very fast reply :-) Yes, I can issue 'pdflatex' from a console: - macbook:~ erwin$ pdflatex This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) ** - I assume it must be a matter of config? Erwin On 30/08/10 14:38, Sebastian Rose wrote: Erwin Panenerwinpa...@fastmail.fm writes: Hi everyone, Trying to make my first steps in publishing. I'm working on Mac, using Emacs 23.2.1 with Org-mode version 6.36trans. I seem to have various LaTeX stuff installed on my MacBook. I have to admit that I have no experience with LaTeX whatsoever. (TeXShop, LaTeXit, TeXWorks) So I'm not sure if my configuration if any is correct in this view. When I issue: C-c C-e p I get following message: - For information about GNU Emacs and the GNU system, type C-h C-a. OVERVIEW CHILDREN SUBTREE Select command: Exporting to PDF... Exporting to LaTeX... Saving file /Users/erwin/git/org/Erhard.tex... Wrote /Users/erwin/git/org/Erhard.tex Saving file /Users/erwin/git/org/Erhard.tex... Wrote /Users/erwin/git/org/Erhard.tex LaTeX export done, pushed to kill ring and clipboard Processing LaTeX file... (Shell command failed with code 127 and some error output) [2 times] Processing LaTeX file...done org-export-as-pdf: PDF file was not produced Hi Erwin, not sure about MAC, but for most UNIX shells (i think), a return value of 127 means command not found. It seems some LaTeX packages are missing. Most of us use the TexLive distribution, a collection of the most commonly used LaTeX packages and binaries. Are you able to execute the command `pdflatex' in a console? 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 ___ 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: Skip headline lines? Paragraph sectioning?
Yes, I want (in some cases) to use headlines for purposes of organization. I want at least some of them to disappear in the output. I could turn in a request for a feature, here: #+OPTIONS: H:1 lower:nil Or something else that would give the option that instead of automatically converting all lower order headlines into list elements, to ignore them entirely. Of course, the case may exist where one wishes to actually have a list converted as is, but lower level headings to disappear. Thanks for the information about configuring converstion to \section{}, \subsection{}, \paragraph{}, etc. Aloha, 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
Re: [Orgmode] a bit offtopic, fonts in exported PDF documents - oops
Erik Iverson er...@ccbr.umn.edu wrote: That would be my thought, too. However, it appears that cm-super is only suggested by texlive-fonts-extra, so in general will not get installed with that package, unless you ask for suggested packages also. (This is all Debian/Ubuntu by the way). Right. I was wrong about texlive-fonts-extra: you need to install the cm-super package to get the cm-super fonts. I am investigating the various fonts right now and will update the org-dependencies.org file on Worg later on this week. We can also add a FAQ entry to point back to org-dependencies - that should take care of the documentation changes, right? Both this system and MikTeX offer cm-super as a standalone package, so perhaps just recommending that package (cm-super) would suffice? I confirmed that cm-super is not one of the default MikTeX packages in a standard install, so Windows users may benefit from this advice, too. Do windows users use evince? I'd think they mostly go with Acrobat Reader, in which case they should have no problems with Type3 fonts. The other possible change that Erik identified is the deletion of the t1enc package from the list of packages that org includes in exported LaTeX by default. I haven't tried without it, but it does indeed seem to be an obsolete remnant of times long past. I have tried without it. I was unable to to see any differences between using \usepackage[T1]{fontenc} and adding the \usepackage{t1enc} line. This makes sense given the FAQ answer below. So getting rid of the \usepackage{t1enc} in org sounds like the right thing to do (but including it does not hurt, so there is no urgency, iiuc.) Nick The TeX FAQ (http://www.tex.ac.uk/cgi-bin/texfaq2html?label=t1enc ) says: , | Why use fontenc rather than t1enc? | | In the very earliest days of LaTeX2e, the only way to use the T1 | encoding was t1enc; with the summer 1994 “production” release, the | fontenc package appeared, and provided comprehensive support for use of | the encoding. | | Nevertheless, the t1enc package remains (as part of the LaTeX 2.09 | compatibility code), but it does very little: it merely selects font | encoding T1, and leaves to the user the business of generating the | character codes required. | | Generating such character codes could be a simple matter, if the T1 | encoding matched any widely-supported encoding standard, since in that | case, one might expect one’s keyboard to generate the character | codes. However, the T1 encoding is a mix of several standard encodings, | and includes code points in areas of the table which standard encodings | specifically exclude, so no T1 keyboards have been (or ever will be) | manufactured. | | By contrast, the fontenc package generates the T1 code points from | ordinary LaTeX commands (e.g., it generates the é character codepoint | from the command \’e). So, unless you have program-generated T1 input, | use \usepackage[T1]{fontenc} rather than \usepackage{t1enc}. ` 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 ___ 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: publishing to PDF
Erwin Panen erwinpa...@fastmail.fm writes: macbook:~ erwin$ pdflatex This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) I assume it must be a matter of config? I think you need to let Emacs know that you want to run pdflatex. this can be done in various ways. In current AucTeX you switch between PDF and DVI output by C-c C-t C-p for instance, in older versions you needed to enter a whole bunch of command strings to do the same thing. Achim. ___ 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: Skip headline lines? Paragraph sectioning?
Alan E. Davis lngn...@gmail.com wrote: Yes, I want (in some cases) to use headlines for purposes of organization. I want at least some of them to disappear in the output. I could turn in a request for a feature, here: #+OPTIONS: H:1 lower:nil Or something else that would give the option that instead of automatically converting all lower order headlines into list elements, to ignore them entirely. Have you tried setting org-export-latex-low-levels to nil? AFAIK, that gets rid of everything, not just the headlines, but does it help at all in your use case? Nick C-h v org-export-latex-low-levels says: , | org-export-latex-low-levels is a variable defined in `org-latex.el'. | Its value is itemize | | Documentation: | How to convert sections below the current level of sectioning. | This is specified by the `org-export-headline-levels' option or the | value of H: in Org's #+OPTION line. | | This can be either nil (skip the sections), `description', `itemize', | or `enumerate' (convert the sections as the corresponding list type), or | a string to be used instead of \section{%s}. In this latter case, | the %s stands here for the inserted headline and is mandatory. | | It may also be a list of three string to define a user-defined environment | that should be used. The first string should be the like | \begin{itemize}, the second should be like \item %s %s with up | to two occurrences of %s for the title and a label, respectively. The third | string should be like \end{itemize. | | You can customize this variable. ` Of course, the case may exist where one wishes to actually have a list converted as is, but lower level headings to disappear. Thanks for the information about configuring converstion to \section{}, \subsection{}, \paragraph{}, etc. ___ 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] tag or property names with dashes
On Mon, Aug 30, 2010 at 2:04 PM, Carsten Dominik wrote: Hi Manish, this looks pretty good. I just went over the patch and found something like 5 locations where you did not make the change, and I fixed those. Have you been testing your patch extensively? Some testing needs to be done before we can merge it. Yes, I have been running with this patch for over a week now and haven't faced any issues so far. I have tested it with HTML, Latex and ASCII exports, with block agenda, tag filtering, special ctrl-a/e etc. and haven't faced any issues so far. It did not break any thing for me.. so far. -- Manish ___ 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] Issue with non-existing agenda file
Hello all, I'm stuck with a weird issue: When I tried to invoke any agenda view, e.g. C-c a a, I get the following message in the minibuffer: non-existing agenda file h:/org/career.org [R]emove from list or [A]bort? I type R to remove it, get my agenda view, and then I switch the buffer to Career.org and hit C-[ and get file added to front of agenda list, but when I try C-c a a again, I get the message above about the non-existing agenda file. What's going on here? Thanks and Cheers Markus PS: My org is 7.01trans, release_7.01h-229-gb212 on emacs 23.1 ___ 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 bit offtopic, fonts in exported PDF documents - oops
On Mon, Aug 30, 2010 at 11:58:15AM -0400, Nick Dokos wrote: Erik Iverson er...@ccbr.umn.edu wrote: Both this system and MikTeX offer cm-super as a standalone package, so perhaps just recommending that package (cm-super) would suffice? I confirmed that cm-super is not one of the default MikTeX packages in a standard install, so Windows users may benefit from this advice, too. Do windows users use evince? I'd think they mostly go with Acrobat Reader, in which case they should have no problems with Type3 fonts. until they start sending their pdfs to other people, who might not be so lucky... ;-) Joost -- Dr. Joost Kremers Georg-August-Universität Seminar für Deutsche Philologie Käte-Hamburger-Weg 3 D-37073 Göttingen ___ 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] Issue with non-existing agenda file
On Mon, 30 Aug 2010 11:57:14 -0700, Markus Heller helle...@gmail.com wrote: Hello all, I'm stuck with a weird issue: When I tried to invoke any agenda view, e.g. C-c a a, I get the following message in the minibuffer: non-existing agenda file h:/org/career.org [R]emove from list or [A]bort? I type R to remove it, get my agenda view, and then I switch the buffer to Career.org and hit C-[ and get file added to front of agenda list, but when I try C-c a a again, I get the message above about the non-existing agenda file. What's going on here? Thanks and Cheers Markus PS: My org is 7.01trans, release_7.01h-229-gb212 on emacs 23.1 I assume you're on MS Windows here... what is the value of org-agenda-files after you add the file? is case (Career versus career) an issue? You say I switch the buffer to Career.org; have you actually saved the file? Sorry if I can't be of more help. -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ 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: Issue with non-existing agenda file
Eric S Fraga ucec...@ucl.ac.uk writes: On Mon, 30 Aug 2010 11:57:14 -0700, Markus Heller helle...@gmail.com wrote: Hello all, I'm stuck with a weird issue: When I tried to invoke any agenda view, e.g. C-c a a, I get the following message in the minibuffer: non-existing agenda file h:/org/career.org [R]emove from list or [A]bort? I type R to remove it, get my agenda view, and then I switch the buffer to Career.org and hit C-[ and get file added to front of agenda list, but when I try C-c a a again, I get the message above about the non-existing agenda file. What's going on here? Thanks and Cheers Markus PS: My org is 7.01trans, release_7.01h-229-gb212 on emacs 23.1 I assume you're on MS Windows here... what is the value of org-agenda-files after you add the file? is case (Career versus career) an issue? You say I switch the buffer to Career.org; have you actually saved the file? Err, how do I check the value of org-agenda-files? Wow, this just makes me realize how much of a newbie I still am ... Thanks for everyone's patience! Markus ___ 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: Issue with non-existing agenda file
Hi Markus, Try C-h v org-agenda-files RET. The mnemonic is Help Variables. Tom On Aug 30, 2010, at 9:34 AM, Markus Heller wrote: Eric S Fraga ucec...@ucl.ac.uk writes: On Mon, 30 Aug 2010 11:57:14 -0700, Markus Heller helle...@gmail.com wrote: Hello all, I'm stuck with a weird issue: When I tried to invoke any agenda view, e.g. C-c a a, I get the following message in the minibuffer: non-existing agenda file h:/org/career.org [R]emove from list or [A]bort? I type R to remove it, get my agenda view, and then I switch the buffer to Career.org and hit C-[ and get file added to front of agenda list, but when I try C-c a a again, I get the message above about the non-existing agenda file. What's going on here? Thanks and Cheers Markus PS: My org is 7.01trans, release_7.01h-229-gb212 on emacs 23.1 I assume you're on MS Windows here... what is the value of org-agenda-files after you add the file? is case (Career versus career) an issue? You say I switch the buffer to Career.org; have you actually saved the file? Err, how do I check the value of org-agenda-files? Wow, this just makes me realize how much of a newbie I still am ... Thanks for everyone's patience! Markus ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Issue with non-existing agenda file
Eric S Fraga ucec...@ucl.ac.uk writes: On Mon, 30 Aug 2010 11:57:14 -0700, Markus Heller helle...@gmail.com wrote: Hello all, I'm stuck with a weird issue: When I tried to invoke any agenda view, e.g. C-c a a, I get the following message in the minibuffer: non-existing agenda file h:/org/career.org [R]emove from list or [A]bort? I type R to remove it, get my agenda view, and then I switch the buffer to Career.org and hit C-[ and get file added to front of agenda list, but when I try C-c a a again, I get the message above about the non-existing agenda file. What's going on here? Thanks and Cheers Markus PS: My org is 7.01trans, release_7.01h-229-gb212 on emacs 23.1 I assume you're on MS Windows here... what is the value of org-agenda-files after you add the file? is case (Career versus career) an issue? You say I switch the buffer to Career.org; have you actually saved the file? So I checked, and org-agenda-files contains the correct capitalization. After repeatedly getting stuck in the add-remove cycle (hitting R followed by the same message, about 5 or 6 times), I am happy to report that everything is back to working, and I will attribute this event to me being a noob. Sorry for the noise. @Eric: Yes, the file was saved. ___ 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] [MobileOrg] Need beta tester with iPhone OS 3.x
Is anyone still running OS 3.x out there and interested in helping? I need to verify that the new MobileOrg I'm about to release still works on the older system. Thanks, Richard ___ 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: Skip headline lines? Paragraph sectioning?
Thanks, Thomas, I knew I had seen that example. I just couldn't find it when searching. Scot On Mon, Aug 30, 2010 at 5:20 PM, Thomas S. Dye t...@tsdye.com wrote: Aloha Scot, An example is here: http://orgmode.org/worg/org-contrib/babel/examples/research-project.php http://orgmode.org/worg/org-contrib/babel/examples/research-project.phpThis approach is *definitely* not as much fun as the Org-mode LaTeX exporter, and the org files can be ugly, but it gives fine control over the LaTeX output and can produce notes and metadata in LaTeX, HTML, docbook, etc. I use it for projects intended for publication, where I'm willing to invest some thought and energy into the setup. Let me know if you have questions. All the best, Tom P.S. Yes, by all means, let me know when you've tamed the xetex configuration or edit the LaTeX export tutorial yourself to include what you've found. On Aug 30, 2010, at 4:22 AM, Scot Becker wrote: Hmm, Tomas, this is interesting. I have thought about using babel for this sort of thing, but assumed that the textual overhead would be too high to make it worth it (It'd be ugly, and not that fun to generate). I don't suppose you'd be so kind as to past in an example that shows this kind of thing in action? Even just an example text itself, with the structure and some blocks. (And of course, I do still owe you my examples of org+xetex). Scot ___ 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] Conditional tangling possible
Hi Rainer, The easiest way to do this should be, --8---cut here---start-8--- ** pulling information from tags :blue: #+begin_src R :var color=(car (org-get-tags-at (point))) :tangle example.R color #+end_src #+results: : blue --8---cut here---end---8--- this will tangle to --8---cut here---start-8--- color - blue color --8---cut here---end---8--- Cheers -- Eric Rainer M Krug r.m.k...@gmail.com writes: Hi I would like to have two different versions (not in the sense of version control) of one program in one org file, and depending on the value if a tag is set or not, tangle either the one or the other. The tangled file has to have the same name. So essentially: ** Test Code :VERSIONTAG Version 1: #+begin_src R :tangle result.R version - 1 x - 10 #+end_src Version 2: #+begin_src R :tangle result.R version - 2 x - 13 #+end_src If VERSIONTAG is Version1, result.R should contain the code as in the first code block, and if it is Version2, the code from the second code block. Is this possible? Cheers, Rainer ___ 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: Skip headline lines? Paragraph sectioning?
C-h v org-export-latex-low-levels Cool. Especially it's configurable on a case by case basis. I looked at customization of export/latex, but overlooked this. Thank you. 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] HTML Export Problem
Whenever I export to HTML, I get the following: HTML generated by org-mode TAG=7.01g in emacs 23 I would like to get rid of the TAG= (which wasn't present in earlier org-mode versions) without having to edit the HTML. How do I do this? Scott Randby ___ 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] Archiving
I'm quite excited, I've just converted over to Capture from Remember, and I love the new :empty-lines property! That was always a pet peeve of mine, I always want at least one blank line between content and the next header. :empty-lines works great for that! Now I've started evaluating archival again, because my files currently grow endlessly. I noticed that there's no similar option for archive, and that each archived item is immediately adjacent to the prior without any buffering newlines. Could we add a customization to pad newlines between archived items? I locally patched my org-archive.el to insert two newlines when it jumps to the end of file, but perhaps a more formal item will work better later? Thanks. -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ 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: Skip headline lines? Paragraph sectioning?
Scot: I see what you mean On Mon, Aug 30, 2010 at 3:14 PM, Scot Becker scot.bec...@gmail.com wrote: As you'll see org-mode's latex export is currently designed to use org for basic document structuring and only allows for a limited set of mappings between org's structure and latex structure. But you'll see in the latex configuration documentation that it is possible to define what kind of \section{}, \chapter{}, or \subsubparagraph{} is exported for each level of org's headlines. One imagines it would be possible to define alternate use cases for a class, for example the article class. I can see it is possible to define the article class to use \\section{%s} for the first headline level and \\paragraph{%s} for second levels This would be useful to me. However, the ordinary article structure with subsection, subsubsection, etc., is good enough for much of what I do. I can imagine copying the article class file into my org directory, and renaming it to article2.cls, and adding it to org-export-latex-classes, with the section - paragraph structure. Is there an easier or canonical way to do this? Thank you for your interest and help. Alan On Mon, Aug 30, 2010 at 5:06 AM, Nick Dokos nicholas.do...@hp.com wrote: Alan E. Davis lngn...@gmail.com wrote: Sometimes, I have used outliners, like ThinkTank, to organize my thoughts, and reorganize the structure of a document of whatever kind. I don't need headings or sectioning in some cases. I have not found a way to exclude heading lines from LaTeX output in Orgmode, nor have I found a tag to say, omit this headline. I do see the variables org-export-exclude-tags, and org-export-select tags; as well as an option to include a specific number of headings as LaTeX sections. In the later case, other headings are exported as plain list items, not what I have in mind. A related issue perhaps: what would it take to export, say list items, as paragraph and subparagraph sections in LaTeX. The ability to export a pdf almost automatically through LaTeX, even with images, is magical. Many thanks for this. Some examples might help. I may be particularly dense tonight but I have read your mail a few times and I still have no idea what you are asking (or rather I have multiple ideas, none of which make much sense to me.) Thanks, 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 ___ 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: Skip headline lines? Paragraph sectioning?
Perhaps I can get this done, but I have one important question. When I define a new class in org-export-latex-classes, does it make sense to add a new class that calls the same /documentclass{article} class? I could name this class article2, and define the section structure as I will. Hope this is not a silly question. MY head feels dense today, Alan On Tue, Aug 31, 2010 at 11:09 AM, Alan E. Davis lngn...@gmail.com wrote: Scot: I see what you mean On Mon, Aug 30, 2010 at 3:14 PM, Scot Becker scot.bec...@gmail.comwrote: As you'll see org-mode's latex export is currently designed to use org for basic document structuring and only allows for a limited set of mappings between org's structure and latex structure. But you'll see in the latex configuration documentation that it is possible to define what kind of \section{}, \chapter{}, or \subsubparagraph{} is exported for each level of org's headlines. One imagines it would be possible to define alternate use cases for a class, for example the article class. I can see it is possible to define the article class to use \\section{%s} for the first headline level and \\paragraph{%s} for second levels This would be useful to me. However, the ordinary article structure with subsection, subsubsection, etc., is good enough for much of what I do. I can imagine copying the article class file into my org directory, and renaming it to article2.cls, and adding it to org-export-latex-classes, with the section - paragraph structure. Is there an easier or canonical way to do this? Thank you for your interest and help. Alan On Mon, Aug 30, 2010 at 5:06 AM, Nick Dokos nicholas.do...@hp.comwrote: Alan E. Davis lngn...@gmail.com wrote: Sometimes, I have used outliners, like ThinkTank, to organize my thoughts, and reorganize the structure of a document of whatever kind. I don't need headings or sectioning in some cases. I have not found a way to exclude heading lines from LaTeX output in Orgmode, nor have I found a tag to say, omit this headline. I do see the variables org-export-exclude-tags, and org-export-select tags; as well as an option to include a specific number of headings as LaTeX sections. In the later case, other headings are exported as plain list items, not what I have in mind. A related issue perhaps: what would it take to export, say list items, as paragraph and subparagraph sections in LaTeX. The ability to export a pdf almost automatically through LaTeX, even with images, is magical. Many thanks for this. Some examples might help. I may be particularly dense tonight but I have read your mail a few times and I still have no idea what you are asking (or rather I have multiple ideas, none of which make much sense to me.) Thanks, 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 ___ 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: Skip headline lines? Paragraph sectioning?
Aloha Alan, IMHO, yes, this makes good sense. It is probably a good idea to name the org-export-latex-class something associated with the output you want from org-mode, rather than with the LaTeX class that is used to typeset it. All the best, Tom On Aug 30, 2010, at 3:43 PM, Alan E. Davis wrote: Perhaps I can get this done, but I have one important question. When I define a new class in org-export-latex-classes, does it make sense to add a new class that calls the same / documentclass{article} class? I could name this class article2, and define the section structure as I will. Hope this is not a silly question. MY head feels dense today, Alan On Tue, Aug 31, 2010 at 11:09 AM, Alan E. Davis lngn...@gmail.com wrote: Scot: I see what you mean On Mon, Aug 30, 2010 at 3:14 PM, Scot Becker scot.bec...@gmail.com wrote: As you'll see org-mode's latex export is currently designed to use org for basic document structuring and only allows for a limited set of mappings between org's structure and latex structure. But you'll see in the latex configuration documentation that it is possible to define what kind of \section{}, \chapter{}, or \subsubparagraph{} is exported for each level of org's headlines. One imagines it would be possible to define alternate use cases for a class, for example the article class. I can see it is possible to define the article class to use \\section{%s} for the first headline level and \\paragraph{%s} for second levels This would be useful to me. However, the ordinary article structure with subsection, subsubsection, etc., is good enough for much of what I do. I can imagine copying the article class file into my org directory, and renaming it to article2.cls, and adding it to org-export-latex-classes, with the section - paragraph structure. Is there an easier or canonical way to do this? Thank you for your interest and help. Alan On Mon, Aug 30, 2010 at 5:06 AM, Nick Dokos nicholas.do...@hp.com wrote: Alan E. Davis lngn...@gmail.com wrote: Sometimes, I have used outliners, like ThinkTank, to organize my thoughts, and reorganize the structure of a document of whatever kind. I don't need headings or sectioning in some cases. I have not found a way to exclude heading lines from LaTeX output in Orgmode, nor have I found a tag to say, omit this headline. I do see the variables org-export-exclude-tags, and org-export-select tags; as well as an option to include a specific number of headings as LaTeX sections. In the later case, other headings are exported as plain list items, not what I have in mind. A related issue perhaps: what would it take to export, say list items, as paragraph and subparagraph sections in LaTeX. The ability to export a pdf almost automatically through LaTeX, even with images, is magical. Many thanks for this. Some examples might help. I may be particularly dense tonight but I have read your mail a few times and I still have no idea what you are asking (or rather I have multiple ideas, none of which make much sense to me.) Thanks, 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 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] LaTeX export: Skip headline lines? Paragraph sectioning?
Alan E. Davis lngn...@gmail.com wrote: Perhaps I can get this done, but I have one important question. When I define a new class in org-export-latex-classes, does it make sense to add a new class that calls the same /documentclass{article} class? I could name this class article2, and define the section structure as I will. Yes. Hope this is not a silly question. Nope. 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
[Orgmode] Re: Org file rendering/manipulation too slow
Yeah, thanks. It is really a shame that emacs will run orgmode this slow on OSX. OSX is now my platform of choice, and emacs my editor of choice. I keep a big reference org file with tons of tons of notes, but, even with the settings you suggested (thanks for that!) it is still very slow. I'm considering switching my notes to evernote, although I would really like to just stay with emacs+orgmode, but it's just too slow as of now :( Marcelo. On Sun, Aug 29, 2010 at 10:02 AM, Manuel Hermenegildo he...@fi.upm.es wrote: It worked for me too: it is much better now. Thanks very much for the tip! ---Manuel -- --- Manuel Hermenegildo | Prof., C.S.Dept., T.U. Madrid (UPM) Director, IMDEA SW Institute CLIP Group | +34-91-336-7435 (W) -352-4819 (Fax) --- ___ 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] HTML Export Problem
Scott Randby sran...@gmail.com wrote: Whenever I export to HTML, I get the following: HTML generated by org-mode TAG=7.01g in emacs 23 I would like to get rid of the TAG= (which wasn't present in earlier org-mode versions) without having to edit the HTML. How do I do this? This was fixed on Aug. 7, so you need to get a more recent version (I think 7.01h had it fixed.) See http://thread.gmane.org/gmane.emacs.orgmode/27988 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: Org file rendering/manipulation too slow
Marcelo de Moraes Serpa celose...@gmail.com wrote: Yeah, thanks. It is really a shame that emacs will run orgmode this slow on OSX. OSX is now my platform of choice, and emacs my editor of choice. I keep a big reference org file with tons of tons of notes, but, even with the settings you suggested (thanks for that!) it is still very slow. I'm considering switching my notes to evernote, although I would really like to just stay with emacs+orgmode, but it's just too slow as of now :( Please take a profile: Just do M-x elp-instrument-package RET org RET then run the slow command, then M-x elp-results and post the output to the list. It might not be enough to solve your problem but it would at least provide *some* information. Thanks, 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
[Orgmode] [BUG] org-read-date produces imaginary date
Today (31 August), if I evaluate (org-read-date t), then at the prompt type +3 The string returned is: 2010-08-34 Paul ___ 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] some nasty bugs with PROPERTIES drawers
There seems to be a fairly nasty bug caused by :PROPERTIES: drawers still being recognised by org when they appear inside BEGIN_EXAMPLE or BEGIN_SRC blocks. I encountered this behaviour while writing docs for org-drill. The doc file, README.org, contains quoted examples of org items, and also of an emacs lisp capture template containing the string :PROPERTIES:. The first thing I noticed was that PROPERTIES drawers inside EXAMPLE/SRC blocks appear *folded* when the file is opened in org mode, and 'org-cycle' toggles their folded status, as if they belonged to a real org heading. That is cosmetic, but I also encountered a more serious problem. README.org contains the following block of example elisp code, which is meant to illustrate an example setup of org-capture: #+BEGIN_SRC emacs-lisp (setq org-capture-templates `((u Task: Read this URL entry (file+headline tasks.org Articles To Read) ,(concat * TODO Read article: '%:description'\nURL: %c\n\n) :empty-lines 1 :immediate-finish t) (w Capture web snippet entry (file+headline my-facts.org Inbox) ,(concat * Fact: '%:description': (format %s org-drill-question-tag) :\n:PROPERTIES:\n:DATE_ADDED: %u\n:SOURCE_URL: %c\n:END:\n\n%i\n%?\n) :empty-lines 1 :immediate-finish t) ;; ...other capture templates... )) #+END_EXAMPLE Basically, every time I tried to export this file to HTML, Emacs would become unresponsive (C-g did nothing) and would have to be killed with the task manager (or xkill in Linux -- I tried on 2 systems). After about 20 crashes and restarts of Emacs, I finally identified the problem (I think). when I changed the above block from BEGIN_SRC to BEGIN_EXAMPLE, the file exported correctly. I think org was seeing the :PROPERTIES string within the elisp code and trying to interpret it as the beginning of a drawer, with disastrous results. Once I managed to fix the problem for myself I did not investigate it further. However I hope someone can fix it as it certainly caused a stressful afternoon. Paul PS: I also realised that I was confused regarding how to get a syntax- highlighted block of example source code into an org document, as BEGIN_SRC appears to execute the code by default, which was not what I wanted. Should BEGIN_EXAMPLE take an argument which specifies syntax highlighting (eg BEGIN_EXAMPLE emacs-lisp)? ___ 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