Re: [Orgmode] Cannot install 6.29c on Ubuntu 8.04 with emacs 22.1.1
2009/8/9 Manish mailtomanish.sha...@gmail.com: On Sun, Aug 9, 2009 at 3:08 AM, Charles Howard wrote: I am trying to install 6.29c onto Ubuntu 8.04 with emacs 22.1.1 and (cut) I don't know the answer to your problem but some of the following might help: 1. Why is there no (require 'org-install) in excerpt from .emacs? 2. Where is 6.06 getting loaded from (check using locate-library org-install RET)? 3. Try (add-to-list 'load-path ~/org-6.29c/lisp) instead of the version with cons. 4. Check set up section (2.1) from http://doc.norang.ca/org-mode.html HTH -- Manish Thanks Manish, that's a considerable help. I'm very glad to be told about the norang site. My .emacs didn't have (require 'org-install) because this was the file before running make. Org-mode loads now and mostly works, but I cannot export to latex. When I do C-c C-e l (or L or p) I get the message `Loading tabify ...done' and emacs freezes. No cursor movement, no response to input. Doing C-g unfreezes but there is no .tex output. HTML export works fine. Somebody asked about this problem back in January at http://lists.gnu.org/archive/html/emacs-orgmode/2009-01/msg00104.html but there was no solution. Does anyone know what causes this? The *Message* file follows. Chas = (emacs ks.org) Loading 00debian-vars...done Loading /etc/emacs/site-start.d/50ccrypt.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...done Loading /etc/emacs/site-start.d/50lbdb.el (source)...done Loading /usr/share/emacs22/site-lisp/emacs-goodies-el/color-theme.el (source)... Loading edmacro...done Loading /usr/share/emacs22/site-lisp/emacs-goodies-el/color-theme.el (source)...done Loading desktop...done No desktop file. Loading cl-macs...done For information about GNU Emacs and the GNU system, type C-h C-a. Loading tex-mode... Loading regexp-opt...done Loading tex-mode...done Loading org... Loading easy-mmode...done Loading advice...done Loading byte-opt...done Loading org...done OVERVIEW Select command: Loading org-latex...done Exporting to LaTeX... Loading latexenc...done Loading tex-mode...done Loading tabify...done Quit ___ 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] Customizing LaTeX export (Org Format Latex Header)
Hi. I'm still failing to understand how to customize latex export. I've set up a new clean install of Debian 5.02 with emacs 22.2 and org-mode 6.27a (the version for testing). Org-mode was installed using synaptic. With no header lines in the .org file the latex preamble is % Created 2009-08-07 Fri 21:53 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{longtable} \usepackage{hyperref} This already seems strange because when I go to org-customize in emacs what I see in Org Format Latex Header, in lisp is \\documentclass{article}\n\\usepackage{fullpage} % do not remove\n\\usepackage{amssymb}\n\\usepackage[usenames]{color}\n\\usepackage{amsmath}\n\\usepackage{latexsym}\n\\usepackage[mathscr]{eucal}\n\\pagestyle{empty} % do not remove which doesn't correspond to the actual preamble. Anyway I added some lines to change a couple of features, as follows: \\documentclass{article}\n\\usepackage{fullpage} % do not remove\n\\usepackage{amssymb}\n\\usepackage[usenames]{color}\n\\usepackage{amsmath}\n\\usepackage{latexsym}\n\\usepackage[mathscr]{eucal}\n\\pagestyle{empty} % do not remove\n\\setlength{\\parindent}{0mm}\n\\setlength{\\parskip}{2mm}\n\\setlength{\\textwidth}{15cm}\n\\setlength{\\textheight}{23cm} and this had no effect on the exported tex file. (I do set and save.) I don't want to write a new class file for LaTeX. I just want to be able to add a couple of dozen setlength and (re)newcommand lines (as well as usepackage lines) to every LaTeX export. I did experiment briefly with using per-file export settings, but this didn't work for me either. I expect I'm missing something obvious. Pointer would be much appreciated. Chas ___ 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] Cannot install 6.29c on Ubuntu 8.04 with emacs 22.1.1
I am trying to install 6.29c onto Ubuntu 8.04 with emacs 22.1.1 and not getting past go. I have had 6.06 running successfully on the same system with the same emacs for a year and cannot understand why 6.29c is not succeeding. I am installing in a home directory ~/org-6.29c/ I have tried both as an ordinary user and with sudo; the extracts below refer to ordinary user. Below is: 1. Extract of the warning messages that scroll past after the `make' command. (Several hundred lines) `khave' is my user name. 2. Extract from .emacs file 3. Extract from Makefile On starting up an .org file, emacs does not load the Org menu or recognize the sectioning structure, etc. It seems that no files have gone into the target dirs ($(prefix)/share/emacs/site-lisp and $(prefix)/share/info). I'm a moderately sophisticated user of (La)TeX (20 years) and emacs (12 years) but don't have much experience with make and make install. I'll be very grateful for advice. == 1. make emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org.el In end of data: org.el:16880:1:Warning: the following functions might not be defined at runtime: calendar-forward-day, parse-time-string, calendar-goto-date, calendar-goto-today org.el:16880:1:Warning: the following functions are not known to be defined: table--at-cell-p, org-clock-update-mode-line, org-default-export-plist, org-infile-export-plist, org-clock-save-markers-for-cut-and-paste, org-agenda-save-markers-for-cut-and-paste, dired-get-filename, org-id-store-link, org-agenda-copy-local-variable, org-gnus-follow-link, org-inlinetask-remove-END-maybe, org-get-current-options, org-agenda-skip, org-format-agenda-item, org-agenda-new-marker, org-agenda-change-all-lines, org-columns-number-to-string, org-columns-get-format-and-top-level, org-columns-compute, calendar-absolute-from-iso, calendar-iso-from-absolute, org-id-locations-save, org-id-locations-load, iswitchb-read-buffer, cdlatex-tab, beginning-of-visual-line, org-agenda-set-restriction-lock, speedbar-line-directory, org-agenda-maybe-redo Wrote /home/khave/org-6.29c/lisp/org.elc emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-agenda.el In org-finalize-agenda: org-agenda.el:2415:26:Warning: reference to free variable `org-agenda-overriding-columns-format' In end of data: org-agenda.el:6512:1:Warning: the following functions might not be defined at runtime: calendar-goto-date, calendar-iso-date-string, calendar-julian-date-string, calendar-astro-date-string, calendar-hebrew-date-string, calendar-islamic-date-string, calendar-french-date-string, calendar-bahai-date-string, calendar-mayan-date-string, calendar-coptic-date-string, calendar-ethiopic-date-string, calendar-persian-date-string, calendar-chinese-date-string org-agenda.el:6512:1:Warning: the following functions are not known to be defined: org-columns-quit, calendar-iso-from-absolute, calendar-absolute-from-iso Wrote /home/khave/org-6.29c/lisp/org-agenda.elc emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-ascii.el Wrote /home/khave/org-6.29c/lisp/org-ascii.elc emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-attach.el Wrote /home/khave/org-6.29c/lisp/org-attach.elc emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-archive.el In end of data: org-archive.el:436:1:Warning: the function `org-inlinetask-remove-END-maybe' is not known to be defined. Wrote /home/khave/org-6.29c/lisp/org-archive.elc emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-bbdb.el In end of data: org-bbdb.el:388:1:Warning: the following functions are not known to be defined: bbdb-record-name, bbdb-current-record, bbdb-record-getprop, bbdb-name, bbdb-company, bbdb, bbdb-split, bbdb-string-trim, bbdb-records, calendar-leap-year-p, diary-ordinal-suffix, bbdb-completing-read-record Wrote /home/khave/org-6.29c/lisp/org-bbdb.elc emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) (expand-file-name
Re: [Orgmode] RE: Using simple css in HTML export
Thanks. I guess I'll have to upgrade. Actually on looking through the org-6.06b dir I find no css files at all. Thanks again. Charles 2009/7/6 Sebastian Rose sebastian_r...@gmx.de Charles Howard terminalbeach...@googlemail.com writes: Line 46 was already in the table of contents. I'm using org-mode 6.06, emacs 22.1.1, Ubuntu 8.04. That must be it. ^^--- that's quite an old version. The #+STYLE: feature was first documented in revision 3c916eeb385a688d6d99819aad217a49ed82de58 and added in rev. c4375970d7050497290bc070361f09235cff5e47 ... two revisions after the 6.06 release (not a 100% sure, but looks like...) So, to add the style, you need to either set it in your `org-publish-project-alist' (see http://orgmode.org/manual/Simple-example.html#Simple-example) or use a special comment section for a per file setup (see http://orgmode.org/worg/code/org-info-js/#sec-4.2.1) HTH Sebastian ___ 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: Using simple css in HTML export
Thanks Sebastian. I've changed to a gmail account. Hope this leaves the code intact. Just to be sure... 1.) Your *.org file should have this in the header: #+style: link rel=stylesheet type=text/css href=basic.css / Exactly that, except that style was in capitals. What did Org-mode's XHTML export head section look like then? *** !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en head titleDirectory skeleton (with explanations)/title meta http-equiv=Content-Type content=text/html;charset=iso-8859-1/ meta name=generator content=Org-mode/ meta name=generated content=2009-07-05 19:08:09 BST/ meta name=author content=Study / style type=text/css html { font-family: Times, serif; font-size: 12pt; } .title { text-align: center; } .todo { color: red; } .done { color: green; } .tag{ background-color:lightblue; font-weight:normal } .target { } .timestamp { color: grey } .timestamp-kwd { color: CadetBlue } p.verse { margin-left: 3% } pre { border: 1pt solid #AEBDCC; background-color: #F3F5F7; padding: 5pt; font-family: courier, monospace; font-size: 90%; overflow:auto; } table { border-collapse: collapse; } td, th { vertical-align: top; } dt { font-weight: bold; } /style /headbody h1 class=titleDirectory skeleton/h1 div id=table-of-contents * Line 46 was already in the table of contents. I'm using org-mode 6.06, emacs 22.1.1, Ubuntu 8.04. I'm completely puzzled. Giving up ? -- nope. Charles === Re: [Orgmode] RE: Using simple css in HTML export From: Sebastian Rose (sebastian_r...@gmx.de) Sent: 03 July 2009 23:16:27 To: Charles Howard (incuba...@hotmail.co.uk) Cc: emacs-orgmode (emacs-orgmode@gnu.org) Charles Howard incuba...@hotmail.co.uk writes: The hotmail account I am using seems to have stripped out the html code. What did Org-mode's XHTML export head section look like then? I did have such a line following STYLE, as in the link you quoted. I had the css file in the same dir as the org file. I used basic.css and ./basic.css with no success either way. OK. Just to be sure... 1.) Your *.org file should have this in the header: #+style: link rel=stylesheet type=text/css href=basic.css / 2.) After export, line ~47 (or 46 or 48...) should look like this: link rel=stylesheet type=text/css href=basic.css / If not, make sure step 1.) is done. Now, if the exported *.html file and basic.css live in the same directory, it should work. Sorry, you're not allowed to simply give up :) Sebastian ___ 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] Using simple css in HTML export
Hi. I thought it would be a simple matter to make use of a css file in html export. At the top of my file I put #+LATEX_CLASS: myarticle #+TITLE: Directory skeleton #+AUTHOR: Study #+STYLE: but no result. I did Cc-Cc, closed down and reopened. Am I doing something stupidly wrong? I can't see anything about this in the archive. I'm still at the `late novice' stage and would really appreciate help. Charles _ With Windows Live, you can organise, edit, and share your photos. http://clk.atdmt.com/UKM/go/134665338/direct/01/ ___ 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: Using simple css in HTML export
The hotmail account I am using seems to have stripped out the html code. I did have such a line following STYLE, as in the link you quoted. I had the css file in the same dir as the org file. I used basic.css and ./basic.css with no success either way. Thanks Matt. I still don't know why this didn't work. Chas From: m...@imapmail.org To: incuba...@hotmail.co.uk CC: emacs-orgmode@gnu.org Subject: Re: Using simple css in HTML export Date: Fri, 3 Jul 2009 14:20:36 -0500 Charles Howard writes: Hi. I thought it would be a simple matter to make use of a css file in html export. At the top of my file I put #+LATEX_CLASS: myarticle #+TITLE: Directory skeleton #+AUTHOR: Study #+STYLE: but no result. I did Cc-Cc, closed down and reopened. You'll have to fill in instructions in the #+STYLE line (i.e., a path to the css file) for this to work. E.g. --8---cut here---start-8--- #+STYLE: --8---cut here---end---8--- Please see the manual for more details: http://orgmode.org/manual/CSS-support.html Best, Matt _ Get the best of MSN on your mobile http://clk.atdmt.com/UKM/go/147991039/direct/01/ ___ 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] Mail files in org
Is it possible to structure a large collection of emails in an org file ? Are there any specific tools for doing this ? I have used pine for many years but the business of categorizing sensibly into folders the hundreds of mails which come each week is out of hand. Googlemail is offering a single file of emails, with (multiple) `tabs' replacing the functionality of folders. This seems like a great step forward, but I don't like GUIs, and I'm not happy that on googlemail it seems not to be possible to download an email to disk with header information. (And I don't want all my emails permanently on someone else's server.) Maybe this has been thought of already, but I can't see it anywhere. I've never used mail under emacs (though I've used emacs for about 12 years). What I have in mind is a single text file containing (say) one year's 10^5 emails. I could go through attaching tabs, TODO notes, draft replies, rude remarks, tags, ... able to open a specific category ... If I'm reinventing the wheel, please don't be too harsh. Chas _ Win New York holidays with Kellogg’s Live Search http://clk.atdmt.com/UKM/go/107571440/direct/01/ ___ 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] Exporting LaTeX
This problem seems to have been caused by a badly written .emacs file and by having the lisp files in two dirs. My thanks for the individual replies ! Chas From: [EMAIL PROTECTED] To: emacs-orgmode@gnu.org Date: Thu, 21 Aug 2008 05:17:07 + Subject: [Orgmode] Exporting LaTeX I am trying to implement a variation on what Russell Adams describes in http://lists.gnu.org/archive/html/emacs-orgmode/2008-08/msg00044.html but I get the message An error has occurred while loading `/home/ogham/.emacs': Symbol's value as variable is void: org-export-latex-classes on starting emacs. The only way I could get C^c C^e l to write my preamble commands to file.tex was by inserting my block of code (myarticle \\documentclass[11pt]{article} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage{hyperref} \\setlength{\\textwidth}{16cm} \\setlength{\\textheight}{23cm} \\setlength{\\voffset}{-1cm} \\setlength{\\hoffset}{-1.5cm} \\setlength{\\parindent}{0cm} \\addtolength{\\parskip}{2mm} \\usepackage{titlesec} \\titleformat{\\section}[block]{\\bfseries}{\\S\\,\\thesection\\enspace}{.5em}{} \\titleformat{\\subsection}[block]{\\mdseries}{\\thesubsection\\enspace}{.3em}{} \\titleformat{\\subsubsection}[block]{\\mdseries}{{\\footnotesize\\thesubsubsection\\enspace}}{.1em}{\\footnotesize} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s})) directly into /usr/local/share/emacs/site-lisp/org-export-latex.el Although this works for me, I'd still like to understand why the corresponding code into ~/.emacs did not work. Can someone tell me why this was so? I'm using Orgmode 6.06b and emacs 22.1.1 on Ubuntu 7.10. Many thanks, Chas _ Win a voice over part with Kung Fu Panda Live Search and 100’s of Kung Fu Panda prizes to win with Live Search http://clk.atdmt.com/UKM/go/107571439/direct/01/ ___ 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 _ Win New York holidays with Kellogg’s Live Search http://clk.atdmt.com/UKM/go/107571440/direct/01/ ___ 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] Exporting LaTeX
I am trying to implement a variation on what Russell Adams describes in http://lists.gnu.org/archive/html/emacs-orgmode/2008-08/msg00044.html but I get the message An error has occurred while loading `/home/ogham/.emacs': Symbol's value as variable is void: org-export-latex-classes on starting emacs. The only way I could get C^c C^e l to write my preamble commands to file.tex was by inserting my block of code (myarticle \\documentclass[11pt]{article} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage{hyperref} \\setlength{\\textwidth}{16cm} \\setlength{\\textheight}{23cm} \\setlength{\\voffset}{-1cm} \\setlength{\\hoffset}{-1.5cm} \\setlength{\\parindent}{0cm} \\addtolength{\\parskip}{2mm} \\usepackage{titlesec} \\titleformat{\\section}[block]{\\bfseries}{\\S\\,\\thesection\\enspace}{.5em}{} \\titleformat{\\subsection}[block]{\\mdseries}{\\thesubsection\\enspace}{.3em}{} \\titleformat{\\subsubsection}[block]{\\mdseries}{{\\footnotesize\\thesubsubsection\\enspace}}{.1em}{\\footnotesize} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s})) directly into /usr/local/share/emacs/site-lisp/org-export-latex.el Although this works for me, I'd still like to understand why the corresponding code into ~/.emacs did not work. Can someone tell me why this was so? I'm using Orgmode 6.06b and emacs 22.1.1 on Ubuntu 7.10. Many thanks, Chas _ Win a voice over part with Kung Fu Panda Live Search and 100’s of Kung Fu Panda prizes to win with Live Search http://clk.atdmt.com/UKM/go/107571439/direct/01/ ___ 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