Re: [O] make doc failing
On Sat, Dec 28, 2013 at 9:06 AM, Rustom Mody wrote: > After latest pull make doc is failing to make org.pdf > > Lots of stuff ending with > --- > Output written on org.pdf (259 pages, 976592 bytes). > Transcript written on org.log. > /usr/bin/texi2dvi: pdftex exited with bad status, quitting. > make[1]: *** [org.pdf] Error 1 > make[1]: Leaving directory `/src/pdsw/org-mode/doc' > make: *** [pdf] Error 2 > > But I cant seem to find org.log > And there is no org.pdf in doc Further: Went into doc directory and did $ texi2dvi org.texi no (visible) error followed by $ dvipdf org.dvi Seems to be working -- http://www.the-magus.in http://blog.languager.org
[O] make doc failing
After latest pull make doc is failing to make org.pdf Lots of stuff ending with --- Output written on org.pdf (259 pages, 976592 bytes). Transcript written on org.log. /usr/bin/texi2dvi: pdftex exited with bad status, quitting. make[1]: *** [org.pdf] Error 1 make[1]: Leaving directory `/src/pdsw/org-mode/doc' make: *** [pdf] Error 2 But I cant seem to find org.log And there is no org.pdf in doc
Re: [O] html5 generation minor bug
On Fri, Dec 27, 2013 at 10:53 PM, Bastien wrote: > Hi Rustom, > > Rustom Mody writes: > >> When the html-doctype is set to html5 the generator still generates >> name attributes in links which is not correct html5 >> http://dev.w3.org/html5/markup/a.html#a-constraints > > Can you give an example of what it does and what it should do? Heres an org-file: -- #+TITLE: Quotes and References #+OPTIONS: toc:nil * Soul :PROPERTIES: :CUSTOM_ID: soul :END: Nobel prize winner Wislawa Szymborska's poem on [[http://www.poemhunter.com/poem/a-few-words-on-the-soul/][the soul]] is a poet's way of showing how dualistic our habitual thinking is -- This is as far as I can see the offending line produced by html generation -- 1 Soul -- You can check for yourself Generate the html yourself and use the validator here http://validator.w3.org/check Note 1. there are warnings, not errors Note 2. Ive just cut out one sample from a file of mine. I could cut down further emacs version 24.3.1 org-version 8.2.4 emacs started with -Q org put into path then execute (setq org-html-doctype "html5") [On another note choosing xhtml doctype in 2013 seems a strange default given that xhtml is one of those standards that 'never happened' http://news.cnet.com/8301-17939_109-10281477-2.html Of course I need to add the disclaimer that I know too little to distinguish hype from fact in web matters] Regards Rusi -- http://www.the-magus.in http://blog.languager.org
[O] bug#16270: Incorrect custom types
Package: org-mode This refers to the version of Org mode in Emacs trunk. The following variables have incorrect custom types: org-babel-latex-htlatex-packages ; prob. you want repeat, not list org-export-with-creator ; const should not be quoted org-babel-lob-files There are many other places where the argument of a const is quoted. This is probably not what you want. org-agenda.el: (choice (const :tag "Day" 'day) org-agenda.el: (const :tag "Week" 'week) org-agenda.el: (const :tag "Fortnight" 'fortnight) org-agenda.el: (const :tag "Month" 'month) org-agenda.el: (const :tag "Year" 'year) org-agenda.el: (list :tag "Regexp matches" :inline t (const :format "" 'regexp) (regexp)) org-agenda.el: (list :tag "Regexp does not match" :inline t (const :format "" 'notregexp) (regexp)) org-agenda.el:(const 'todo) org-agenda.el: (const :tag "any not-done state" 'todo) org-agenda.el: (const :tag "any done state" 'done) org-agenda.el: (const :tag "any state" 'any) org-agenda.el:(const 'nottodo) org-agenda.el: (const :tag "any not-done state" 'todo) org-agenda.el: (const :tag "any done state" 'done) org-agenda.el: (const :tag "any state" 'any) org-agenda.el: (const :tag "scheduled" 'scheduled) org-agenda.el: (const :tag "not scheduled" 'notscheduled) org-agenda.el: (const :tag "deadline" 'deadline) org-agenda.el: (const :tag "no deadline" 'notdeadline) org-agenda.el: (const :tag "timestamp" 'timestamp) org-agenda.el: (const :tag "no timestamp" 'nottimestamp)) org-agenda.el: (const :tag "Show only log items" 'only) org-agenda.el: (const :tag "Show all possible log items" 'clockcheck) org-agenda.el: (choice (const :tag "Show closed log items" 'closed) org-agenda.el: (const :tag "Show clocked log items" 'clock) org-agenda.el: (const :tag "Show all logged state changes" 'state) org-agenda.el:(const :tag "Always show inherited tags" 'always) org.el: (const :tag "In active region, headlines at the same level than the first one" 'start-level) org.el: (const :tag "A double click follows the link" 'double) org.el: (const :tag "Yes, including all entries" 'all-headlines) ox.el:(const :tag "Sentence as a comment" 'comment)
Re: [O] tables on org-mode.
On Fri, 27 Dec 2013 12:26:26 +0100 Nicolas Goaziou wrote: > Sharon Kimble writes: > > #-*- mode: org -*- > > You need a space after the hash character in order to make it a valid > comment. > > #+STARTUP: showall > > | *Oral* | | > |-+-| > | / | < > | > > It should be "<>" in the line above, not "< >". > > > Regards, > Thanks for this, I forgot about it earlier, in my haste to start changing all of the '#-*- mode: org -*-', but now they're mostly all done by now. :) Sharon. -- A taste of linux = http://www.sharons.org.uk efever = http://www.efever.blogspot.com/ efever = http://sharon04.livejournal.com/ my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2 Registered Linux user 561944 signature.asc Description: PGP signature
[O] Bug: org-capture clock-in/clock-out [8.2.3a (release_8.2.3a @ /usr/share/emacs/24.3.50/lisp/org/)]
On clock-out in the .notes buffer, tasks in the buffer get removed. Steps to produce this behaviour: 1. start emacs with --no-init 2. M-x org-capture 3. t ( for task ) 4. type "A1" for the subject, then type C-c C-c The task will get added to the .notes buffer. Then from the .notes buffer do this: 5. M-x org-capture 6. t ( for task ) 7. type "B1" for the subject, then type C-c C-c then 8. clock-in to the "A1" task (C-c C-x C-i), then 9. clock-out (C-c C-x C-o) the B1 task will get removed from the buffer on step 9. Emacs : GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu) of 2013-12-15 on gkar, modified by Debian Package: Org-mode version 8.2.3a (release_8.2.3a @ /usr/share/emacs/24.3.50/lisp/org/) current state: == (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) )
Re: [O] problem of accents with pdflatex export
Joseph Vidal-Rosset gmail.com> writes: > > Hello, > I do not succeed to solve this problem of accent with pdflatex : > Shot in the dark: could it be that the encoding of your org file needs to be saved in utf8 in order to generate a utf8 latex file? Regards, Andrea
[O] Skipping multiple timestamps
I'm using 8.4.2. I have the following in my TODO: *** [#1] Grading DEADLINE: <2013-12-30 Mon> <2013-12-27 Fri>--<2013-12-29 Sun> In the custom-set-variables section, I have '(org-agenda-skip-additional-timestamps-same-entry t) '(org-agenda-skip-deadline-if-done t) '(org-agenda-skip-deadline-prewarning-if-scheduled t) '(org-agenda-skip-scheduled-if-deadline-is-shown t) '(org-agenda-skip-scheduled-if-done t) '(org-agenda-skip-timestamp-if-deadline-is-shown t) Yet, the agenda view shows (2/3):nil [#1] Compiler grading In 2 d.:nil [#1] Compiler grading I can't figure out why both the lines appear. Can someone please help? Thanks, Mandar. M-x org-version gives: Org-mode version 8.2.4 (8.2.4-dist @ /home/mandar/.emacs.d/org/lisp/)
Re: [O] html5 generation minor bug
On 2013-12-27 12:23, Bastien wrote: Rustom Mody writes: When the html-doctype is set to html5 the generator still generates name attributes in links which is not correct html5 http://dev.w3.org/html5/markup/a.html#a-constraints Can you give an example of what it does and what it should do? Rustom is referring to the fact that the `name' attribute has been marked obsolete in HTML5. While the html5 spec suggests using the id attribute on a surrounding container rather than a named anchor, the id attribute is still valid on an anchor in html5. In fact, ox-html already has support for handling the issue: (defcustom org-html-allow-name-attribute-in-anchors t "When nil, do not set \"name\" attribute in anchors. By default, anchors are formatted with both \"id\" and \"name\" attributes, when appropriate." :group 'org-export-html :version "24.4" :package-version '(Org . "8.0") :type 'boolean) Rustom- For now, just set this variable to nil and the anchors will be exported with an id and no name attribute. If `org-export-allow-BIND' is true, putting the following in the head of the document will work: #+BIND: org-html-allow-name-attribute-in-anchors nil Bastien- I will look at making this the default when i have time if the doctype is html5 (`org-html-html5-p' is true), but it requires some work to get the info structure passed down to `org-html--anchor'.
Re: [O] Contribution: ob-groovy.el
Aloha Miro, Miro Bezjak writes: > can I do all those tasks over the couple of days - when I have more time? Yes, of course. The FSF papers will probably take several weeks to complete, if you haven't already done so. > > Should I just add the documentation before ob-groovy.el is accepted? > I don't see any problem with adding the documentation at your convenience. Eric Schulte will review ob-groovy.el and work with you to find its appropriate place in Org mode. I'll be happy to review and edit the documentation, if you'd like. > For now, I've updated languages to include scala. > http://orgmode.org/worg/org-contrib/babel/languages.html Thanks! I'll take this off my TODO list. All the best, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com
Re: [O] html5 generation minor bug
Hi Rustom, Rustom Mody writes: > When the html-doctype is set to html5 the generator still generates > name attributes in links which is not correct html5 > http://dev.w3.org/html5/markup/a.html#a-constraints Can you give an example of what it does and what it should do? Thanks, -- Bastien
[O] html5 generation minor bug
When the html-doctype is set to html5 the generator still generates name attributes in links which is not correct html5 http://dev.w3.org/html5/markup/a.html#a-constraints
Re: [O] Contribution: ob-groovy.el
Hi Thomas, can I do all those tasks over the couple of days - when I have more time? Should I just add the documentation before ob-groovy.el is accepted? For now, I've updated languages to include scala. http://orgmode.org/worg/org-contrib/babel/languages.html Kind Regards, Miro On Fri, Dec 27, 2013 at 1:08 AM, Thomas S. Dye wrote: > Aloha Miro, > > Thanks for your contribution to Org mode. > > Have you signed the FSF papers so that ob-groovy.el can be added to Org > mode? See: > http://orgmode.org/worg/org-contribute.html#sec-6 > > Contributions by authors who have not signed the FSF papers are > typically added to the contrib directory and are not distributed with > Emacs. > > Also, are you willing to draft documentation? For a link to a > documentation template, see: > http://orgmode.org/worg/org-contrib/babel/languages.html > > I was going to suggest that you use the Scala documentation as a guide, > but it doesn't exist! In fact, Scala doesn't appear in Worg's list of > languages supported by Babel. One of those days ... > > Thanks again for your contribution. > > All the best, > Tom > > Miro Bezjak writes: > > > Hi all, > > > > I would like to contribute org-babel functions for Groovy evaluation. I > > simply > > copy/pasted ob-scala.el and made appropriate changes. > > > > I'm attaching ob-groovy.el as a file. > > > > All 3 tests pass, although I haven't created `testing/test-ob-groovy.el` > - > > I'll > > look into that. > > > > --- testing last result > > #+BEGIN_SRC groovy > > println "ignored" > > 1 + 2 > > #+END_SRC > > > > #+RESULTS: > > : 3 > > > > > > --- testing results output -- > > #+BEGIN_SRC groovy :results output > > println '1' > > println '2' > > println 1 + 2 > > #+END_SRC > > > > #+RESULTS: > > =1 > > 2 > > 3 > > > > > > --- testing table -- > > #+BEGIN_SRC groovy :results verbatim raw > > """ > > | 1 | 2 > > |-- > > | a | b > > """.trim() > > #+END_SRC > > > > #+RESULTS: > > | 1 | 2 | > > |---+---| > > | a | b | > > > > > > > > Kind Regards, > > Miro Bezjak > > Hi all, > > > > I would like to contribute org-babel functions for Groovy evaluation. > > I simply > > copy/pasted ob-scala.el and made appropriate changes. > > > > I'm attaching ob-groovy.el as a file. > > > > All 3 tests pass, although I haven't created > > `testing/test-ob-groovy.el` - I'll > > look into that. > > > > --- testing last result > > #+BEGIN_SRC groovy > > println "ignored" > > 1 + 2 > > #+END_SRC > > > > #+RESULTS: > > : 3 > > > > > > --- testing results output -- > > #+BEGIN_SRC groovy :results output > > println '1' > > println '2' > > println 1 + 2 > > #+END_SRC > > > > #+RESULTS: > > =1 > > 2 > > 3 > > > > > > --- testing table -- > > #+BEGIN_SRC groovy :results verbatim raw > > """ > > | 1 | 2 > > |-- > > | a | b > > """.trim() > > #+END_SRC > > > > #+RESULTS: > > | 1 | 2 | > > |---+---| > > | a | b | > > > > > > Kind Regards, > > Miro Bezjak > > > > > > -- > Thomas S. Dye > http://www.tsdye.com >
[O] problem of accents with pdflatex export
Hello, I do not succeed to solve this problem of accent with pdflatex : in my org-mode file I have this code : # -*- mode:org; mode:reftex; indent-tabs-mode:nil; tab-width:2 -*- > #+TITLE: Mon premier document en org-mode > #+AUTHOR: Joseph Vidal-Rosset > #+OPTIONS: LaTeX:t > #+LATEX_CLASS: koma-article > #+LATEX_HEADER: \usepackage[T1]{fontenc} > #+LATEX_HEADER: \usepackage[utf8]{inputenc} > #+LANGUAGE: fr > #+LaTeX_HEADER: \usepackage[french]{babel} > #+HTML_MATHJAX: align:"left" mathml:t path:"/MathJax/MathJax.js" > #+OPTIONS: tex:imagemagick > > > * Introduction... > à voir the export with pdflatex does not succeed to save the letter "à " : every letter with French accent is given up in the pdf file. Why ? It works fine with html export... French users and others, in advance, thanks for your help ! Jo.
Re: [O] default list labelling?
Hello, Paul Rudin writes: > By default when you demote a list item it's label is of the same kind as > the parent list. e.g. you'll get > > 1. > 2. >1. > > In practice I typically want to get a different kind of label: I'll want e.g. > > 1. > 2. >a. > > Is there a way of configuring what the sub-list labels will be according > to what the current one is? > > On a related note it's normal (I suppose) to want consistency. So if we > have the following then it's probable that the first label under 2) > should be a). Is there a way of achieving this? > > 1) >a) >b) > 2) See `org-list-demote-modify-bullet'. Regards, -- Nicolas Goaziou
[O] default list labelling?
By default when you demote a list item it's label is of the same kind as the parent list. e.g. you'll get 1. 2. 1. In practice I typically want to get a different kind of label: I'll want e.g. 1. 2. a. Is there a way of configuring what the sub-list labels will be according to what the current one is? On a related note it's normal (I suppose) to want consistency. So if we have the following then it's probable that the first label under 2) should be a). Is there a way of achieving this? 1) a) b) 2)
Re: [O] links and anchors
On Fri, Dec 27, 2013 at 4:59 PM, Nicolas Goaziou wrote: > Hello, > > Rustom Mody writes: > >> Context is html export >> >> I have a file of quotes like the following >> -- >> * Declarative vs Imperative >> Never tell people how to do things. Tell them what to do and they will >> surprise you with their ingenuity \\ >> General G.S.Patton (1941) >> - >> which I link from another file >> >> Now if >> 1. I put the anchor <> inside the body then the header >> vanishes on following the link >> 2. If I write it as >> * Declarative and Imperative <> >> it works well but the header looks ugly at least in org though not on export >> 3. Looking at the generated html I see the autogenerated sec-9 for >> that para can be used. But then Ive to keep synced with what is >> auto-generated. >> >> What do people use for this situation? > > Did you try custom-id? See section 4.2 in manual. > > > Regards, > > -- > Nicolas Goaziou Thanks Nicholas -- just the thing! [And about time I started learning about properties :D ]
Re: [O] links and anchors
Hello, Rustom Mody writes: > Context is html export > > I have a file of quotes like the following > -- > * Declarative vs Imperative > Never tell people how to do things. Tell them what to do and they will > surprise you with their ingenuity \\ > General G.S.Patton (1941) > - > which I link from another file > > Now if > 1. I put the anchor <> inside the body then the header > vanishes on following the link > 2. If I write it as > * Declarative and Imperative <> > it works well but the header looks ugly at least in org though not on export > 3. Looking at the generated html I see the autogenerated sec-9 for > that para can be used. But then Ive to keep synced with what is > auto-generated. > > What do people use for this situation? Did you try custom-id? See section 4.2 in manual. Regards, -- Nicolas Goaziou
Re: [O] tables on org-mode.
Sharon Kimble writes: #-*- mode: org -*- You need a space after the hash character in order to make it a valid comment. #+STARTUP: showall | *Oral* | | |-+-| | / | < > | It should be "<>" in the line above, not "< >". Regards, -- Nicolas Goaziou
[O] links and anchors
Context is html export I have a file of quotes like the following -- * Declarative vs Imperative Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity \\ General G.S.Patton (1941) - which I link from another file Now if 1. I put the anchor <> inside the body then the header vanishes on following the link 2. If I write it as * Declarative and Imperative <> it works well but the header looks ugly at least in org though not on export 3. Looking at the generated html I see the autogenerated sec-9 for that para can be used. But then Ive to keep synced with what is auto-generated. What do people use for this situation? -- http://www.the-magus.in http://blog.languager.org
Re: [O] Getting custom LaTeX exports to work
Dear Uwe, dear all, I would be very interested to get a working .org file model of preambles , in order to produce in org format articles in latex, as well as in html, as well as in beamer class, it would be splendid. Unfortunately, I did not succeeded in my several tentatives, and I came back to write directly in latex format, which is certainly not the best solution when you have to make also beamer files from your articles. It would be nice of you and/or everyone in this list to give here a copy of a working model of preambles in org mode. I know that I I have to read the documentation, and I do, but it would be quicker with help of some experts of this list. All the best Jo. 2013/12/25 Uwe Ziegenhagen > Hi everyone, > > I am trying to get custom LaTeX exports to work. I installed the latest > version of Emacs (for Windows) and org mode today and have the following in > my .emacs: > > (require 'ox-html) > (require 'ox-latex) > (require 'ox-ascii) > > ;; now let's add a few custom class export templates > (add-to-list 'org-latex-classes > '("koma-artikel" > "\\documentclass{scrartcl}" > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}") > ("\\paragraph{%s}" . "\\paragraph*{%s}") > ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) > > (add-to-list 'org-latex-classes > '("scrlttr" > "\\documentclass[11pt]{scrlttr2}\n > \\usepackage[utf8]{inputenc}\n > \\usepackage[T1]{fontenc}\n > \\usepackage{xcolor}" > > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}") > ("\\paragraph{%s}" . "\\paragraph*{%s}") > ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) > > In my simple org-file I have the following in the first line: > > #+LaTeX_CLASS: koma-article > > Unfortunately I still get "Unknown LaTeX Class `koma-article`" when > executing -c-e l L > > > >
Re: [O] tables on org-mode.
On Fri, 27 Dec 2013 10:04:03 +0100 Nicolas Goaziou wrote: > Hello, > > Sharon Kimble writes: > > > It appears that I have 'org' installed from git, but also from a > > package Org-mode version 8.2.4 (8.2.4-17-gfc3857-elpa > > @ /home/boudiccas/.emacs.d/elpa/org-20131223/) > > > > So how do I just use the git version please? > > Just make sure it appears first in your `load-path'. Anyway, both > versions should export the table correctly. > > Would you mind providing a simple table with column groups and the > resulting HTML code you obtain (not using org2blog, just regular Org)? > Hope this is okay for you? Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk efever = http://www.efever.blogspot.com/ efever = http://sharon04.livejournal.com/ my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2 Registered Linux user 561944 Title: test test #-*- mode: org -*- Oral Conjugated equine estrogens 0.625 mg/day Estrogen sulphate 1.5 mg/day Estradiol 1.2 mg/day Transdermal 0.05 mg/day Implant 50 mg 6-monthly Author: Sharon Kimble Created: 2013-12-27 Fri 10:21 Emacs 24.3.1 (Org mode 8.2.4) Validate test.org Description: Binary data signature.asc Description: PGP signature
Re: [O] tables on org-mode.
Hello, Sharon Kimble writes: > It appears that I have 'org' installed from git, but also from a package > Org-mode version 8.2.4 (8.2.4-17-gfc3857-elpa @ > /home/boudiccas/.emacs.d/elpa/org-20131223/) > > So how do I just use the git version please? Just make sure it appears first in your `load-path'. Anyway, both versions should export the table correctly. Would you mind providing a simple table with column groups and the resulting HTML code you obtain (not using org2blog, just regular Org)? Regards, -- Nicolas Goaziou