Re: [Orgmode] [Patch] Add another bullet type ( →)
On Mar 16, 2009, at 2:04 AM, Daniel Clemente wrote: El vie, mar 13 2009, Martin Pohlack va escriure: Hi All, I tend to use a right arrow (→, U2192) from time to time in plain lists to separate normal item from conclusions / next actions etc.: Hey, me too! I use exactly → to hightlight items, but also to mark implications (I use ∴ for conclusions); I have many keys for that type of useful symbols. :-) (or should I write ☺…?) - Topic - Fact 1 - Fact 2 → Conclusion However, I have done it always like this: - Topic - Fact 1 - Fact 2 - → Conclusion This is, actually, a much better idea, so let's not go there and make the item bullets configurable. It is possible that too much confusion will arrise from it. It is also, in my opinion, quite visible! If you want to make it still more visible, you can try something like (font-lock-add-keywords 'org-mode '((^\\([ \t]*[-*+]\\|^\\*+\\)[ \t]+→.* 0 font-lock-warning-face prepend))) - Carsten So it is still a list, but I know this item is special. In this way I can also use the symbol in headings: * some task ** option1 ** → option2 (this is what I did) I still have to check org-choose.el, which provides a way to mark the chosen option between many alternatives in a more formal way. Greetings, Daniel ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Nice article
Hi, my RSS feed looking for Org-mode on the web and in blogs has today turned up a nice article by Peter Jones. http://pmade.com/articles/2008/project-planning Even though the comments so far are dominated by questions about the color theme :-), it is actually a great look at Org-mode project planning. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] printing pdf of agenda buffer: two issues
På Fri, 13 Mar 2009 18:10:30 +0100, skrev Carsten Dominik domi...@science.uva.nl: On Mar 13, 2009, at 2:01 PM, Ivan Nedrehagen wrote: På Fri, 06 Mar 2009 10:38:22 +0100, skrev Carsten Dominik domi...@science.uva.nl: On Mar 6, 2009, at 6:32 AM, Alan E. Davis wrote: Maybe I have missed something about the use of this new feature. And also other attempts to print have failed. So I am posing two questions in this post (hopefully related). They may well be due to my setup. 1. When I attempt to write a pdf file of a buffer of TODO items as collected by C-c a t, the following error is reported: comment-normalize-vars: Command attempted to use minibuffer while in minibuffer Formatting... 0% color-values: Wrong type argument: stringp, (blue :weight bold) There is little use in my theorizing about this. I cannot reproduce this. C-x C-w somefile.pdf RET in my agenda works. 2. I have tried two other ways to print agenda output, using scripts posted elsewhere. One of them was a script from an org-mode tutorial, and the other, perhaps, from the FAQ. Both times, I get colored text that cannot print. It is pale yellow. Very likel this is because you are using a script that runs Emacs in batch-mode, in which case the font colors are poorly defined. You can try to bind org-agenda-with-colors to nil during the agenda command, as one of the options. Perhaps these are related? I don't think so. HTH - Carsten I am running Emacs on Windows, and I have a similar problem with org- mode 6.24b. My *Messages* gives me this Preparing diary...done Loading cl-macs...done Loading cl-seq...done Formatting... 0% Loading ps-mule...done Loading composite...done Collecting face information... Formatting... 39% ps-e-color-values: Wrong type argument: stringp, (blue :weight bold) What is ps-e-color-values? I do not have this function. - Carsten Hope anyone can help. An pdf from agenda view would give a good kick in the butt to they guys in the office who frowns upon planning done elsewhere than MS Projects and Outlook :P - Ivan ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode It is a defalias for 'color-value used in ps-print.el Somehow, while searching for the values, I somehow made the error go away, Ill get back to it if I am able to reproduce. - Ivan ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [Patch] Add another bullet type (→)
Carsten Dominik wrote: On Mar 16, 2009, at 2:04 AM, Daniel Clemente wrote: [...] However, I have done it always like this: - Topic - Fact 1 - Fact 2 - → Conclusion This is, actually, a much better idea, so let's not go there and make the item bullets configurable. It is possible that too much confusion will arrise from it. This sounds reasonable, thanks. Cheers, Martin ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] mouse-click on :TAG: currently just does org-overview, should perhaps C-c \ :TAG: RET?
Today I tried using the rodent in emacs. I noticed that a :TAG: seemed clickable, but all it did was change the view to org-overview, making me lose my place in the file (C-c C-r did not bring me back). Shouldn't it instead perhaps to do a sparse tree over that tag instead? Or at least something a bit less scary for mouse-users? just an idea.. best regards, Kevin ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: can the symbol for leading stars be changed?
Gray Calhoun gray.calh...@gmail.com writes: Hi Gray, Is there a way for users to easily replace the leading stars with another symbol? In particular, I want to replace the '*' with '#' so that I use org mode to write pseduocode for R in outline form -- R uses # to designate comments and this would ensure that the headers wouldn't be read as code. I guess you want to use `orgstruct-mode' in R files, right? I also had the idea to do that, but till now I failed. As a workaround I use `outline-minor-mode' and set the `outline-regexp' to comment-character of the languageone-or-many-stars. Here's the code from my .emacs. --8---cut here---start-8--- (defun th-outline-regexp () Calculate the outline regexp for the current mode. (let ((comment-starter (replace-regexp-in-string [[:space:]]+ comment-start))) (when (string= comment-start ;) (setq comment-starter ;;)) (concat ^ comment-starter \\*+))) (defun th-outline-minor-mode-init () (interactive) (setq outline-regexp (th-outline-regexp))) (add-hook 'outline-minor-mode-hook 'th-outline-minor-mode-init) --8---cut here---end---8--- I wonder if I cannot make `orgstruct-mode' work the same way. I've always thought that it uses `outline-regexp' for the cycling and stuff, but maybe I'm wrong. What's the correct regexp that's used for `org-cycle'? `org-complex-heading-regexp'? Bye, Tassilo ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Announcing my Python module to read org-mode files
Charles, * Charles Cave wrote (on 3/14/2009 8:37 PM): Over the last couple of months I have developed a Python module to read an org-mode file and return the nodes as a list of objects. The module is the basis of a Python/TK GUI program to display a Word of the Day (another article will be published about this program soon). This looks interesting. I had started a thread about a month ago dealing with reading and writing org files from an external process. I already was extracting data from external sources and writing these files but I didn't have a way of effectively *updating* these files, only overwriting them. This looks like what I was looking for to allow me to accomplish this. The only thing better would be a way to use this package to update the nodes and then write them back out. Hm.. Mark ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Latex export bugs and a request
Hi Carsten, I have a three minor LaTeX export bugs to report and a request. 1. I a table group begins in the first column of a table, the boundary is missing in the latex export. --8---cut here---start-8--- |---+--++-| | / | ||| | | Here | is | a table | |---+--++-| --8---cut here---end---8--- produces , | \begin{center} | \begin{tabular}{lll|} | \hline | Hereisa table \\ | \hline | \end{tabular} | \end{center} ` Note the {lll|} rather than {|lll}. 2. Headlines greater than n when H:n (e.g., level three headlines when H is set to 2) are exported as description lists. Is this the intended behavior? The problem is that the next paragraph (or, worse, the next item in a list if the headline is followed by a plain list) is folded inside of the description list. E.g., , | \begin{description} | | \item[Here is the subsubheading]\label{sec-2.1.1} | | | | \begin{itemize} | \item And here are some bullet points. | \item Another bullet point. | \end{itemize} | As you can see in the export, this interferes with the itemize. | \end{description} ` Here's the full source file: --8---cut here---start-8--- #+TITLE: Sample LaTeX export #+OPTIONS: num:nil H:2 * Table group bug When using table groups, the first verticle line on the left is missing in the latex export. |---+--++-| | / | ||| | | Here | is | a table | |---+--++-| * Headline export Headlines n for option H:n get exported as descriptions ** Here is the subheading *** Here is the subsubheading - And here are some bullet points. - Another bullet point. As you can see in the export, this interferes with the itemize. --8---cut here---end---8--- And here's the export file: , | | % Created 2009-03-16 Mon 13:58 | \documentclass[11pt]{article} | \usepackage[utf8]{inputenc} | \usepackage[T1]{fontenc} | \usepackage{graphicx} | \usepackage{charter} | \frenchspacing | \usepackage{longtable} | \usepackage{hyperref} | | | \title{Sample LaTeX export} | \author{Matthew Lundin} | \date{March 16, 2009} | | \begin{document} | | \maketitle | | | \section*{Table group bug} | \label{sec-1} | | | When using table groups, the first verticle line on the left is | missing in the latex export. | | | \begin{center} | \begin{tabular}{lll|} | \hline | Hereisa table \\ | \hline | \end{tabular} | \end{center} | | | | \section*{Headline export} | \label{sec-2} | | | Headlines n for option H:n get exported as descriptions | | \subsection*{Here is the subheading} | \label{sec-2.1} | | | \begin{description} | | \item[Here is the subsubheading]\label{sec-2.1.1} | | | | \begin{itemize} | \item And here are some bullet points. | \item Another bullet point. | \end{itemize} | As you can see in the export, this interferes with the itemize. | \end{description} | | \end{document} ` 3. A different issue: html export seems ignores anything inside of #+begin_latex ... #+end_latex, but the LaTeX exporter does not ignore the #+begin_html, #+end_html, and #+html directives. Would it be possible to have the latex exporter ignore markup designated as html? 4. Finally, a request Would it be possible to add markup for centered text to org-mode? I've begun to create documents in org mode for export both to html and LaTeX. For now, my workaround is to create macros for centered text that I comment out depend on how the document is to be exported. But it would be great if there was something like #+begin_center ... #+end_center. , | #+MACRO: begincenter #+latex: \begin{center} | #+MACRO: endcenter #+latex: \end{center} | # #+MACRO: begincenter #+html: div style=text-align: center; | # #+MACRO: endcenter #+html: /div ` A related thought (and sorry for the very long email), is there any way to define these types of macros globally, rather than in-buffer? It would be really nice to be able to set commonly used macros globally. Even nicer would be the ability to define macros that are context sensitive: i.e., one substitution for for LaTeX export, another substitution for HTML export. This might make it easier to export the same source file to different outputs. Just a wishlist item Thanks, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: can the symbol for leading stars be changed?
Hi Tassilo, Thanks for the suggestion -- your code worked great when I loaded it on its own, but seems to be in conflict with something else in my .emacs file, so I'll have to tinker with it a little bit. This seems like an okay temporary solution, but I may look into orgstruct proper when I have some free time. Best, --Gray 2009/3/16 Tassilo Horn tass...@member.fsf.org: Gray Calhoun gray.calh...@gmail.com writes: Hi Gray, Is there a way for users to easily replace the leading stars with another symbol? In particular, I want to replace the '*' with '#' so that I use org mode to write pseduocode for R in outline form -- R uses # to designate comments and this would ensure that the headers wouldn't be read as code. I guess you want to use `orgstruct-mode' in R files, right? I also had the idea to do that, but till now I failed. As a workaround I use `outline-minor-mode' and set the `outline-regexp' to comment-character of the languageone-or-many-stars. Here's the code from my .emacs. --8---cut here---start-8--- (defun th-outline-regexp () Calculate the outline regexp for the current mode. (let ((comment-starter (replace-regexp-in-string [[:space:]]+ comment-start))) (when (string= comment-start ;) (setq comment-starter ;;)) (concat ^ comment-starter \\*+))) (defun th-outline-minor-mode-init () (interactive) (setq outline-regexp (th-outline-regexp))) (add-hook 'outline-minor-mode-hook 'th-outline-minor-mode-init) --8---cut here---end---8--- I wonder if I cannot make `orgstruct-mode' work the same way. I've always thought that it uses `outline-regexp' for the cycling and stuff, but maybe I'm wrong. What's the correct regexp that's used for `org-cycle'? `org-complex-heading-regexp'? Bye, Tassilo ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Gray Calhoun Economics Department UC San Diego http://gray.calhoun.googlepages.com/ ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: SOLVED: elisp formulas in column view (without converting to tables)
n...@aleblanc.cotse.net writes: Hi, I have rewritten the org-columns-compute function to allow elisp formulas in column view. It allows you to specify how to accumulate values from child headers, and how to specify the value for the current header, based on other columns. Have since discovered that my new version doesn't work with checkbox formulas. The solution is to use the old version of org-columns-compute if the formula is not an elisp formula. Rename the old function to org-columns-compute-orig, and then use this code for org-columns-compute: (defun org-columns-compute (property) Sum the values of property PROPERTY hierarchically, for the entire buffer. (interactive) (let* ((re (concat ^ outline-regexp)) (lmax 30) ; Does anyone use deeper levels??? (level 0) (ass (assoc property org-columns-current-fmt-compiled)) ;; parse elisp form if there is one (form (nth 3 ass)) (uselisp (and ( (length form) 1) (or (equal ( (substring form 0 1)) (equal ( (substring form 1 2) (form (if uselisp (replace-regexp-in-string \$\\([^()\]+\\) (string-to-number (or (org-entry-get nil \\\1\) \0\)) (nth 3 ass) t))) ;; vector to hold running totals for each level (lsum (make-vector lmax (if uselisp nil 0))) (format (nth 4 ass)) (printf (nth 5 ass)) (beg org-columns-top-level-marker) last-level val valflag end sumpos sum-alist str str1 useval prevtotal curtotal newvals) (if uselisp (save-excursion ;; Find the region to compute (goto-char beg) (setq end (condition-case nil (org-end-of-subtree t) (error (point-max (goto-char end) ;; Walk the tree from the back and do the computations (while (re-search-backward re beg t) (setq sumpos (match-beginning 0) last-level level level (org-outline-level) ;; total from children, or nil if there were none prevtotal (if ( level last-level) (aref lsum last-level) nil) ;; total at this level curtotal (aref lsum level) ;; current property value as string val (org-entry-get nil property) ;; is it non-empty? valflag (and val (string-match \\S- val)) ;; current property value as number (or nil if empty) curval (if valflag (org-column-string-to-number val format) nil) ;; get values to replace current value and running total newvals (if uselisp (eval-expression (read form)) (list (or prevtotal curval 0) (+ curtotal (or prevtotal curval 0) (cond (( level last-level) ; we have moved up to a parent (setq ;; new value, as string str (if (nth 0 newvals) (org-columns-number-to-string (nth 0 newvals) format printf) nil) ;; add text properties to it useval (org-add-props (copy-sequence str) nil 'org-computed t 'face 'bold) ;; get current text properties sum-alist (get-text-property sumpos 'org-summaries)) ;; put new value here as a text property (if (assoc property sum-alist) (setcdr (assoc property sum-alist) useval) (push (cons property useval) sum-alist) (org-unmodified (add-text-properties sumpos (1+ sumpos) (list 'org-summaries sum-alist ;; put new org property value (if (nth 0 newvals) (org-entry-put nil property str)) ;; set value for current level total (when (or prevtotal valflag) (aset lsum level (nth 1 newvals))) ;; clear totals for deeper levels (loop for l from (1+ level) to (1- lmax) do (aset lsum l (if uselisp nil 0 ((= level last-level) ; we have not moved up to a parent ;; set new org property value and add to total for this level (org-entry-put nil property (org-columns-number-to-string (nth 0 newvals) format printf)) (aset lsum level (nth 1 newvals))) (t (error This should not happen) (org-columns-compute-orig property -- aleblanc ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Latex export bugs and a request
Hi Matt, On Mar 16, 2009, at 8:16 PM, Matthew Lundin wrote: Hi Carsten, I have a three minor LaTeX export bugs to report and a request. 1. I a table group begins in the first column of a table, the boundary is missing in the latex export. --8---cut here---start-8--- |---+--++-| | / | ||| | | Here | is | a table | |---+--++-| --8---cut here---end---8--- produces , | \begin{center} | \begin{tabular}{lll|} | \hline | Hereisa table \\ | \hline | \end{tabular} | \end{center} ` Note the {lll|} rather than {|lll}. Strange, I am getting {lll}, with no vertical lines on either outside. Ah, you have org-export-latex-tables-column-borders turned on. Yes, there was a bug, fixed now. Thanks! 2. Headlines greater than n when H:n (e.g., level three headlines when H is set to 2) are exported as description lists. Is this the intended behavior? This is how Bastien designed it, and it is similar to the HTML way, turning these into lists. It works fine if there is any text before the plain list bullets. Do you have a better proposal? 3. A different issue: html export seems ignores anything inside of #+begin_latex ... #+end_latex, but the LaTeX exporter does not ignore the #+begin_html, #+end_html, and #+html directives. Would it be possible to have the latex exporter ignore markup designated as html? I am unable to reproduce this, works fine for me. 4. Finally, a request Would it be possible to add markup for centered text to org-mode? I've begun to create documents in org mode for export both to html and LaTeX. For now, my workaround is to create macros for centered text that I comment out depend on how the document is to be exported. But it would be great if there was something like #+begin_center ... #+end_center. OK, we have now #+begin_center , | #+MACRO: begincenter #+latex: \begin{center} | #+MACRO: endcenter #+latex: \end{center} | # #+MACRO: begincenter #+html: div style=text-align: center; | # #+MACRO: endcenter #+html: /div ` A related thought (and sorry for the very long email), is there any way to define these types of macros globally, rather than in-buffer? It would be really nice to be able to set commonly used macros globally. Even nicer would be the ability to define macros that are context sensitive: i.e., one substitution for for LaTeX export, another substitution for HTML export. This might make it easier to export the same source file to different outputs. Just a wishlist item Yes, guess we could have global macros, and also macros that expand depending on exporter type. I have not though much about it, maybe you'd like to draw up a syntax? - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: can the symbol for leading stars be changed?
On Mar 16, 2009, at 11:04 AM, Tassilo Horn wrote: Gray Calhoun gray.calh...@gmail.com writes: Hi Gray, Is there a way for users to easily replace the leading stars with another symbol? In particular, I want to replace the '*' with '#' so that I use org mode to write pseduocode for R in outline form -- R uses # to designate comments and this would ensure that the headers wouldn't be read as code. I guess you want to use `orgstruct-mode' in R files, right? I also had the idea to do that, but till now I failed. As a workaround I use `outline-minor-mode' and set the `outline-regexp' to comment- character of the languageone-or-many-stars. Here's the code from my .emacs. --8---cut here---start-8--- (defun th-outline-regexp () Calculate the outline regexp for the current mode. (let ((comment-starter (replace-regexp-in-string [[:space:]]+ comment-start))) (when (string= comment-start ;) (setq comment-starter ;;)) (concat ^ comment-starter \\*+))) (defun th-outline-minor-mode-init () (interactive) (setq outline-regexp (th-outline-regexp))) (add-hook 'outline-minor-mode-hook 'th-outline-minor-mode-init) --8---cut here---end---8--- I wonder if I cannot make `orgstruct-mode' work the same way. I've always thought that it uses `outline-regexp' for the cycling and stuff, but maybe I'm wrong. What's the correct regexp that's used for `org-cycle'? `org-complex-heading-regexp'? org-cycle does use outline-regexp, so this will work fine. However, for much other functionality, including demotion and promotion, stars are hard-coded. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Latex Export -- pdf
Evening all, I have a question about how people use the latex exporter if I may, I can't find much on the interweb about it. How do you go about tarting up the output? The exporter creates 99% of what I want, but the margins are daft and I'd prefer a different font. I'm guessing you hand craft a LaTeX preamble of some sort? I am unfamiliar with LaTeX having taken the LyX route a long time ago. I could use LyX to do this, but I'd prefer it to be automagic. Should I start reading Lamport? Can anyone share a template? Thanks Simon ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Emacs org-mode mailing-list : a quick reminder about moderation
On 13 Mar 2009, Paul R. wrote: Hello, this is a quick reminder for you, beloved org-mode user, reading this mailing list but not subscribed to it yet. The traffic on this list is hand-moderated, that means that somebody really reads every mails sent by a non-subscribed user. Depending of the content, the mail will go through or not (for spam only). This is the reason why this list is 100% spam-free. Subscribing has some advantages for you and for moderators : - your post wil go through immediatly, so your reaction will arrive on time ; - the moderator will not have to spend time checking if your post is valid or spam ; So please, if you are planning to participate to this list, take a minute to subscribe using the link below. This is a good idea even if you're reading the list via gmane - you can subscribe to the mailing list, and then disable delivery. Your messages will still be allowed through unmoderated, saving hassle for the moderators. -- -rob ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Announcing my Python module to read org-mode files
Mark Elston m.elston at advantest-ard.com writes: The only thing better would be a way to use this package to update the nodes and then write them back out. Hm.. The changes to the package to write the node output out are... 1. A means of storing the org-mode preamble .. all the lines before the first headline. Maybe this could be in a node with level 0 and headline of null. The bodytext of this object could be the preamble lines. 2. A method to output a node in ord-mode format echoing the ** prefix, TODO tag, headline, tags, properties and body text. 3. The module currently discards lines beginning with #. These should now be preserved. I wouldnt imagine this being a great deal of work. I will add this to my (very long list) of things to do! ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Latex Export -- pdf
I did this: M-x customize-variable RET org-export-latex-classes RET and changed the LaTeX header for article to this here: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{longtable} % BEGIN My Article Defaults \input{/home/sebastian/develop/lib/latex/header-org-article-pdf.tex} \input{/home/sebastian/develop/lib/latex/code.tex} % END My Article Defaults /home/sebastian/develop/lib/latex/header-org-article-pdf.tex and /home/sebastian/develop/lib/latex/code.tex hold all the preferences I need. It's also possible to set up custom classes and include it into your org-file. See http://orgmode.org/manual/Sectioning-structure.html#Sectioning-structure Regards, Sebastian Simon Brown si...@cliffestones.demon.co.uk writes: Evening all, I have a question about how people use the latex exporter if I may, I can't find much on the interweb about it. How do you go about tarting up the output? The exporter creates 99% of what I want, but the margins are daft and I'd prefer a different font. I'm guessing you hand craft a LaTeX preamble of some sort? I am unfamiliar with LaTeX having taken the LyX route a long time ago. I could use LyX to do this, but I'd prefer it to be automagic. Should I start reading Lamport? Can anyone share a template? Thanks Simon ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de Http: www.emma-stil.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Announcing my Python module to read org-mode files
* Charles Cave wrote (on 3/16/2009 6:22 PM): Mark Elston m.elston at advantest-ard.com writes: The only thing better would be a way to use this package to update the nodes and then write them back out. Hm.. The changes to the package to write the node output out are... 1. A means of storing the org-mode preamble .. all the lines before the first headline. Maybe this could be in a node with level 0 and headline of null. The bodytext of this object could be the preamble lines. 2. A method to output a node in ord-mode format echoing the ** prefix, TODO tag, headline, tags, properties and body text. 3. The module currently discards lines beginning with #. These should now be preserved. I wouldnt imagine this being a great deal of work. I will add this to my (very long list) of things to do! Actually, for my purposes, I think the problem is simpler. As these files are automatically generated (and, eventually, updated) the preamble is 'pre-defined' for each file. It could be written out new each time the file is updated. So #1 and #3 are non-issues as far as I am concerned. #2 is, of course, the primary issue. I will probably need to deal with properties as I get more involved in 'tweaking' my generators so I am thrilled to see you already support them. Mark ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode