[O] bug#16270: Incorrect custom types
Also, the following have no :type at all: org-babel-maxima-command org-texinfo-def-table-markup org-inlinetask-show-first-star
Re: [O] org-entities in #+captions
Hello, t...@tsdye.com (Thomas S. Dye) writes: With this local variable: # eval: (add-to-list 'org-entities-user '(amacron \\={a} nil #0257 a a ā)) the org-entity \amacron isn't handled inside a caption: #+caption: *Level assignments in the Kahua 1 and P\amacron{}hinahina detailed study area.* The caption exports to LaTeX correctly, but it looks a bit weird in the Org mode buffer. Is this the expected behavior? More or less, yes. At the moment, no effort is done in order to fontify objects in captions (or title). It can probably be done, but I wouldn't bother too much as fontification needs a big overhaul anyway. Regards, -- Nicolas Goaziou
Re: [O] Getting custom LaTeX exports to work
Hi Uwe, Many thanks , I will going to try it. I feel free to cc. your email to the list. We stay in touch. Best wishes, Jo. 2013/12/28 Uwe Ziegenhagen ziegenha...@gmail.com Hi Joseph, the following seems to work: During the next days I'll try to work a bit on the details and also blog about it at uweziegenhagen.de Uwe ;; some LaTeX-specific export settings ;; load the latex extensions ; (Require 'org-latex) # deprecated! (require 'ox-html) (require 'ox-latex) (require 'ox-ascii) ; kick out all packages from org-mode's default list ; gives maximum of flexibility (setq org-latex-packages-alist nil) (setq org-latex-default-packages-alist nil) ;; now let's add a few custom class export templates (add-to-list 'org-latex-classes '(koma-article \\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 ;; org-export-latex-classes is deprecated '(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}))) 2013/12/27 Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com Many thanks Uwe ! 2013/12/27 Uwe Ziegenhagen ziegenha...@gmail.com Hi Jo, I'm currrently preparing some blog articles on this topic. Once I have something done, I'll let you know. Uwe 2013/12/27 Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com 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 ziegenha...@gmail.com 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 Ctrl-c-e l L -- Uwe Ziegenhagen http://www.uweziegenhagen.de -- Uwe Ziegenhagen http://www.uweziegenhagen.de
Re: [O] problem of accents with pdflatex export
I thank you Andrea, and Nick, Andrea, you are probably right. Is it a way to automatically save the .org file in utf8 ? In my emacs the encoding is utf8 by default. Best wishes, Jo. 2013/12/27 Andrea Rossetti andrea.rosse...@gmail.com Joseph Vidal-Rosset joseph.vidal.rosset at 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
Re: [O] Colorizing 'emacs-lisp' when it is exported?
Sharon Kimble boudic...@talktalk.net writes: Re: Colorizing 'emacs-lisp' when it is exported? Search for htmlize or htmlfontify in the Org-mode and Emacs manuals. For once, google has drawn a blank, unfortunately! Emacs is self-documenting. If you are serious about using Emacs you will ditch google (and even Emacswiki).
[O] bug#16265: 24.3.50; re-search-forward (error Invalid search bound (wrong side of point))
Nicolas: This example demonstrates the problem caused when `org-capture` damages the line numbers in the `org-agenda-files`, making it impossible to go to the bottom of the buffer with (goto-char (point-max)) -- consequently, re-search-backward fails -- other functions fail also, e.g., `org-sort-entries`. (defun example () (interactive) (let* ( (org-todo-keywords '((sequence Active(a) Next Action(n) Reference(r) Someday(s) Delegated(d) | None(N)) )) (sample-todo (concat * TASKS\n\n ** Active [#A] smith @ drawer-one (fishing) | drawer-two (tennis). :lawlist:\n DEADLINE: 2013-12-21 Sat 17:00 SCHEDULED: 2013-12-21 Sat\n :PROPERTIES:\n :DRAWER-ONE: fishing\n :DRAWER-TWO: tennis\n :END:\n\n ** Next-Action [#B] doe @ drawer-one (football) | drawer-two (bowling). :fred:\n DEADLINE: 2013-12-22 Sun 08:30 SCHEDULED: 2013-12-22 Sun\n :PROPERTIES:\n :DRAWER-ONE: football\n :DRAWER-TWO: bowling\n :END:\n\n * EVENTS\n\n ** Reference [#C] john @ drawer-one (fishing) | drawer-two (sky-diving). :george:\n DEADLINE: 2013-12-23 Mon 10:15 SCHEDULED: 2013-12-23 Mon\n :PROPERTIES:\n :DRAWER-ONE: fishing\n :DRAWER-TWO: sky-diving\n :END:\n\n * UNDATED\n\n ** Someday [#D] jane @ drawer-one (basket-ball) | drawer-two (bowling). :sam:\n DEADLINE: 2013-12-24 Tues 12:00 SCHEDULED: 2013-12-24 Tues\n :PROPERTIES:\n :DRAWER-ONE: basket-ball\n :DRAWER-TWO: bowling\n :END:))) (if (get-buffer foo.org) (progn (switch-to-buffer foo.org) (erase-buffer) (delete-other-windows)) (switch-to-buffer (get-buffer-create foo.org))) (org-mode) (linum-mode 1) (insert sample-todo) (goto-char (point-min)) (or (y-or-n-p (format For this example work, you must save this buffer as a file. Proceed with example?)) (error Canceled.)) (write-file ~/Desktop/foo.org t) (let* ( (filename (buffer-file-name)) (org-agenda-files (list filename)) (org-capture-templates '((n Next Action entry (file+headline filename TASKS) ** Next Action [#A] %?\n DEADLINE: %%Y-%m-%d %a\n :PROPERTIES:\n :ToodledoID:\n :ToodledoFolder: TASKS\n :Hash:\n :END: :empty-lines 1 (search-backward-example) (org-capture nil n) (message -) (message Here we can see that the line numbers in 'foo.org' got messed up.) (sit-for 5) (insert Hello World! :lawlist:) (org-capture-finalize) (search-backward-example) (message -) (message Here is where things really went wrong. It's searching the WRONG todo.) (message -) (switch-to-buffer *Messages* (defun search-backward-example () (require 'org-element) (let* (element todo-state title deadline scheduled day month year (org-todo-keywords '((sequence Active(a) Next Action(n) Reference(r) Someday(s) Delegated(d) | None(N)) ))) (goto-char (point-max)) (while (re-search-backward ^\*\* \\(Reference\\) nil t) (setq element (org-element-at-point)) (setq todo-state (org-element-property :todo-keyword element)) (setq title (org-element-property :title element)) (setq deadline (ignore-errors (org-element-property :deadline element) )) (setq scheduled (ignore-errors (org-element-property :scheduled element) )) (setq day (ignore-errors (org-element-property :day-start scheduled))) (setq month (ignore-errors (org-element-property :month-start scheduled))) (setq year (ignore-errors (org-element-property :year-start scheduled))) (message -) (message todo-state: %s todo-state) (message deadline: %s deadline) (message scheduled: %s scheduled) (message title: %s title) (message day: %s day) (message month: %s month) (message year: %s year) (message -) )))
Re: [O] Contribution: ob-groovy.el
Hi Miro, Thanks for this contribution! t...@tsdye.com (Thomas S. Dye) writes: Aloha Miro, Miro Bezjak bezjak.m...@gmail.com 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. The FSF papers will be required before we can add this to Org-mode proper. In the mean time I'd be happy to add this to contrib. Could you send a patch adding ob-groovy.el to contrib/lisp/ formatted with git format-patch. Thanks again, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D
[O] [HTML][PATCH] use 'class' instead of 'align' for caption
Hello, I prepared a small patch to make ox-html use 'class' attribute instead of 'align' in caption element when it is used in tables. The reason is simple, according to xhtml1 Strict specification 'caption' element doesn't have 'align' attribute, this is true for HTML5 too. Instead of 'align' attribute it is more cleanly to use 'class' attribute and to add corresponding entries to CSS. In included patch I didn't add word TINYCHANGE because I don't is it small or not (I don't understand what exactly the phrase your total contribution (all patches you submit) should change less than 15 lines means, how lines are counted). --- WBR, Vladimir Lomov -- Never argue with a man who buys ink by the barrel. From 449cfb3cb93a14c58591df15f4a5ff8c7fe1a72a Mon Sep 17 00:00:00 2001 From: Vladimir Lomov lomov...@gmail.com Date: Sun, 29 Dec 2013 07:33:59 +0900 Subject: [PATCH 1/2] HTML export: Use class for caption instead of align * ox-html.el: when exporting tables with caption use 'class' attributes instead of 'align', add two new entries into css section to put caption at top or at bottom of table. Signed-off-by: Vladimir Lomov lomov...@gmail.com --- lisp/ox-html.el | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 9fa0a8c..38988ed 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -280,6 +280,8 @@ for the JavaScript code in this tag. pre.src-sql:before { content: 'SQL'; } table { border-collapse:collapse; } + caption.t-above { caption-side: top; } + caption.t-bottom { caption-side: bottom; } td, th { vertical-align:top; } th.right { text-align: center; } th.left { text-align: center; } @@ -3268,8 +3270,8 @@ contextual information. (if (equal attributes ) (concat attributes)) (if (not caption) (format (if org-html-table-caption-above - caption align=\above\%s/caption - caption align=\bottom\%s/caption) + caption class=\t-above\%s/caption + caption class=\t-bottom\%s/caption) (concat span class=\table-number\ (format (org-html--translate Table %d: info) number) -- 1.8.5.2
[O] Updated Russian translation for some 'export' strings
Hello, this is rather 'long' patch, but it only adds new translations for several 'export' strings. I hope it would be accepted (imho, it is not TINYCHANGE, if to count number of 'changed' lines). --- WBR, Vladimir Lomov -- Brian Kernighan has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the numerous idiot lights which plague the modern driver. Rather, if the driver makes any mistake, a giant ? lights up in the center of the dashboard. The experienced driver, he says, will usually know what's wrong. From 5ac88e7c4fcfb9cd2bb36168fe323c6effe339e4 Mon Sep 17 00:00:00 2001 From: Vladimir Lomov lomov...@gmail.com Date: Sun, 29 Dec 2013 08:06:26 +0900 Subject: [PATCH 2/2] Export: Russian translation for all supported strings * ox.el: Completed Russian translation for all available strings. Signed-off-by: Vladimir Lomov lomov...@gmail.com --- lisp/ox.el | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/lisp/ox.el b/lisp/ox.el index 644b434..2160826 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -5349,7 +5349,9 @@ them. (it :default Continua da pagina precedente) (ja :utf-8 前ページからの続き) (nl :default Vervolg van vorige pagina) - (pt :default Continuação da página anterior)) + (pt :default Continuação da página anterior) + (ru :html (#1055;#1088;#1086;#1076;#1086;#1083;#1078;#1077;#1085;#1080;#1077;) + :utf-8 (Продолжение))) (Continued on next page (de :default Fortsetzung nächste Seite) (es :default Continúa en la siguiente página) @@ -5357,7 +5359,9 @@ them. (it :default Continua alla pagina successiva) (ja :utf-8 次ページに続く) (nl :default Vervolg op volgende pagina) - (pt :default Continua na página seguinte)) + (pt :default Continua na página seguinte) + (ru :html (#1055;#1088;#1086;#1076;#1086;#1083;#1078;#1077;#1085;#1080;#1077; #1089;#1083;#1077;#1076;#1091;#1077;#1090;) + :utf-8 (Продолжение следует))) (Date (ca :default Data) (cs :default Datum) @@ -5390,6 +5394,8 @@ them. (no :default Ligning) (nb :default Ligning) (nn :default Likning) + (ru :html #1059;#1088;#1072;#1074;#1085;#1077;#1085;#1080;#1077; + :utf-8 Уравнение) (sv :default Ekvation) (zh-CN :html #26041;#31243; :utf-8 方程)) (Figure @@ -5401,6 +5407,7 @@ them. (no :default Illustrasjon) (nb :default Illustrasjon) (nn :default Illustrasjon) + (ru :html #1056;#1080;#1089;#1091;#1085;#1086;#1082; :utf-8 Рисунок) (sv :default Illustration) (zh-CN :html #22270; :utf-8 图)) (Figure %d: @@ -5413,6 +5420,7 @@ them. (no :default Illustrasjon %d) (nb :default Illustrasjon %d) (nn :default Illustrasjon %d) + (ru :html #1056;#1080;#1089;. %d.: :utf-8 Рис. %d.:) (sv :default Illustration %d) (zh-CN :html #22270;%dnbsp; :utf-8 图%d )) (Footnotes @@ -5448,6 +5456,8 @@ them. (fr :default Liste des programmes) (no :default Dataprogrammer) (nb :default Dataprogrammer) + (ru :html #1057;#1087;#1080;#1089;#1086;#1082; #1088;#1072;#1089;#1087;#1077;#1095;#1072;#1090;#1086;#1082; + :utf-8 Список распечаток) (zh-CN :html #20195;#30721;#30446;#24405; :utf-8 代码目录)) (List of Tables (da :default Tabeller) @@ -5458,6 +5468,8 @@ them. (no :default Tabeller) (nb :default Tabeller) (nn :default Tabeller) + (ru :html #1057;#1087;#1080;#1089;#1086;#1082; #1090;#1072;#1073;#1083;#1080;#1094; + :utf-8 Список таблиц) (sv :default Tabeller) (zh-CN :html #34920;#26684;#30446;#24405; :utf-8 表格目录)) (Listing %d: @@ -5468,6 +5480,8 @@ them. (fr :default Programme %d : :html Programmenbsp;%dnbsp;:) (no :default Dataprogram %d) (nb :default Dataprogram %d) + (ru :html #1056;#1072;#1089;#1087;#1077;#1095;#1072;#1090;#1082;#1072; %d.: + :utf-8 Распечатка %d.:) (zh-CN :html #20195;#30721;%dnbsp; :utf-8 代码%d )) (See section %s (da :default jævnfør afsnit %s) @@ -5475,6 +5489,8 @@ them. (es :default vea seccion %s) (et :html Vaata peat#252;kki %s :utf-8 Vaata peatükki %s) (fr :default cf. section %s) + (ru :html #1057;#1084;. #1088;#1072;#1079;#1076;#1077;#1083; %s + :utf-8 См. раздел %s) (zh-CN :html #21442;#35265;#31532;%s#33410; :utf-8 参见第%s节)) (Table (de :default Tabelle) @@ -5482,6 +5498,7 @@ them. (et :default Tabel) (fr :default Tableau) (ja :html #34920; :utf-8 表) + (ru :html #1058;#1072;#1073;#1083;#1080;#1094;#1072; :utf-8 Таблица) (zh-CN :html #34920; :utf-8 表)) (Table %d: (da :default Tabel %d) @@ -5493,6 +5510,8 @@ them. (no :default Tabell %d) (nb :default Tabell %d) (nn :default Tabell %d) + (ru :html #1058;#1072;#1073;#1083;#1080;#1094;#1072; %d.: + :utf-8 Таблица %d.:) (sv :default Tabell
Re: [O] Contribution: ob-groovy.el
Sure - attached. Kind Regards, Miro Bezjak On Sat, Dec 28, 2013 at 5:12 PM, Eric Schulte schulte.e...@gmail.comwrote: Hi Miro, Thanks for this contribution! t...@tsdye.com (Thomas S. Dye) writes: Aloha Miro, Miro Bezjak bezjak.m...@gmail.com 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. The FSF papers will be required before we can add this to Org-mode proper. In the mean time I'd be happy to add this to contrib. Could you send a patch adding ob-groovy.el to contrib/lisp/ formatted with git format-patch. Thanks again, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D From 6e9cc90e9488257b547ae659676875e171a12820 Mon Sep 17 00:00:00 2001 From: Miro Bezjak bezjak.m...@gmail.com Date: Sun, 29 Dec 2013 00:39:05 +0100 Subject: [PATCH] contrib/lisp/ob-groovy.el: Add org-babel functions for groovy evaluation --- contrib/lisp/ob-groovy.el | 120 ++ 1 file changed, 120 insertions(+) create mode 100644 contrib/lisp/ob-groovy.el diff --git a/contrib/lisp/ob-groovy.el b/contrib/lisp/ob-groovy.el new file mode 100644 index 000..9bb17e6 --- /dev/null +++ b/contrib/lisp/ob-groovy.el @@ -0,0 +1,120 @@ +;;; ob-groovy.el --- org-babel functions for Groovy evaluation + +;; Copyright (C) 2013-2014 Free Software Foundation, Inc. + +;; Author: Miro Bezjak +;; Keywords: literate programming, reproducible research +;; Homepage: http://orgmode.org + +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs. If not, see http://www.gnu.org/licenses/. + +;;; Commentary: +;; Currently only supports the external execution. No session support yet. + +;;; Requirements: +;; - Groovy language :: http://groovy.codehaus.org +;; - Groovy major mode :: Can be installed from MELPA or +;; https://github.com/russel/Emacs-Groovy-Mode + +;;; Code: +(require 'ob) +(eval-when-compile (require 'cl)) + +(defvar org-babel-tangle-lang-exts) ;; Autoloaded +(add-to-list 'org-babel-tangle-lang-exts '(groovy . groovy)) +(defvar org-babel-default-header-args:groovy '()) +(defvar org-babel-groovy-command groovy + Name of the command to use for executing Groovy code.) + +(defun org-babel-execute:groovy (body params) + Execute a block of Groovy code with org-babel. This function is +called by `org-babel-execute-src-block' + (message executing Groovy source code block) + (let* ((processed-params (org-babel-process-params params)) + (session (org-babel-groovy-initiate-session (nth 0 processed-params))) + (vars (nth 1 processed-params)) + (result-params (nth 2 processed-params)) + (result-type (cdr (assoc :result-type params))) + (full-body (org-babel-expand-body:generic + body params)) + (result (org-babel-groovy-evaluate + session full-body result-type result-params))) + +(org-babel-reassemble-table + result + (org-babel-pick-name + (cdr (assoc :colname-names params)) (cdr (assoc :colnames params))) + (org-babel-pick-name + (cdr (assoc :rowname-names params)) (cdr (assoc :rownames params)) + + +(defun org-babel-groovy-table-or-string (results) + Convert RESULTS into an appropriate elisp value. +If RESULTS look like a table, then convert them into an +Emacs-lisp table, otherwise return the results as a string. + (org-babel-script-escape results)) + + +(defvar org-babel-groovy-wrapper-method + + class Runner extends Script { +def out = new PrintWriter(new ByteArrayOutputStream()) +def run() { %s } +} + +println(new Runner().run()) +) + + +(defun org-babel-groovy-evaluate + (session body optional result-type result-params) + Evaluate BODY in external Groovy process. +If RESULT-TYPE equals 'output then return standard output as a string. +If RESULT-TYPE equals 'value then return the value of the last statement +in BODY as elisp. + (when session (error Sessions are not (yet) supported for Groovy)) + (case result-type +(output + (let ((src-file (org-babel-temp-file groovy-))) + (progn (with-temp-file src-file (insert body)) + (org-babel-eval + (concat org-babel-groovy-command src-file) +(value + (let* ((src-file (org-babel-temp-file groovy-)) +
Re: [O] problem of accents with pdflatex export
Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: ... Is it a way to automatically save the .org file in utf8 ? In my emacs the encoding is utf8 by default. Sorry, I never customized file-coding-system-alist and related variables, defaults worked well for me, so unfortunately I don't have good hints... but please note that in my simple environment (Win7 + Emacs 24.3 + Org 8.2.2-elpa + nearly zero customizations) I can export org to PDF with àèìòù (Italian) without any need to specify encodings, it just worked out-of-the-box. I would suggest to investigate in these directions: 1) try to see what happens without customizations (maybe by running emacs -Q) 2) try to force utf8 on that specific org file, by saying in the head line: # -*- mode:org; your settings...; coding:utf-8 -*- 3) or alternatively: # -*- mode:org; your settings...; coding:iso-8859-1 -*- Kindest regards, Andrea
Re: [O] make doc failing
Rustom Mody rustompm...@gmail.com writes: 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 I tried last night and again tonight after pulling: I get no errors with `make doc'. -- Nick
[O] Org-drill installation
Hi all. I am very new to Emacs and Org-mode, but am really enjoying it so far. I am having trouble installing org-drill, or at least running it. I have followed the directions of checking off the drill box in the customize variables - org module, as directed from the worg page. And I have made sure it was saved. It seems, to my beginner's eyes, to be in my .emacs file. But when I go to run spanish,org I get [No match] or at first a message Wrong type argument: commandp, org-id-get-with-outline-drilling. I have been trying to install org-drill manually, but have been unsuccessful. Any help would be much appreciated, and thanks for indulgence with a very beginner question/ situation. todd
Re: [O] problem of accents with pdflatex export
Many thanks Andrea, you are indeed very kind to try to help me when everything works fine in your configuration by default. My OS is Debian (testing) GNU Linux and I'm working with emacs-snapshot. In fact I have realized that this problem of accents appears only with Gnome pdf viewer immediately open after C-e l-o . There is no problem when I compile after directly to pdflatex the latex file produced with the org file. Therefore it is a minor bug or a minor problem. But I meet several difficulties with my tentative of transition from writing .tex files to .org files instead. Therefore I am going to write an email to this list of very kind and helpful people. Best wishes , Jo. 2013/12/29 Andrea Rossetti andrea.rosse...@gmail.com Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: ... Is it a way to automatically save the .org file in utf8 ? In my emacs the encoding is utf8 by default. Sorry, I never customized file-coding-system-alist and related variables, defaults worked well for me, so unfortunately I don't have good hints... but please note that in my simple environment (Win7 + Emacs 24.3 + Org 8.2.2-elpa + nearly zero customizations) I can export org to PDF with àèìòù (Italian) without any need to specify encodings, it just worked out-of-the-box. I would suggest to investigate in these directions: 1) try to see what happens without customizations (maybe by running emacs -Q) 2) try to force utf8 on that specific org file, by saying in the head line: # -*- mode:org; your settings...; coding:utf-8 -*- 3) or alternatively: # -*- mode:org; your settings...; coding:iso-8859-1 -*- Kindest regards, Andrea
[O] migration difficulties latex org
Hello everyone, This is an email of a newbie in org-mode . I would be very happy to use org-mode in order to be able to write text of papers easily convertible to latex files, html files, odt files, and beamer files as well. It seems to me that org-mode offers a powerful exporting tool in these differents file formats. Unfortunately, habits taken in writing paper in latex formats are not so easy to give up and I meet difficultie in this migration. I mention here my more obvious difficulties and I will be thankfull for your help , if these difficulties have solutions. The first difficulty is in the key binding C-e . With emacs for latex the command C-e gives the choice of environnment , and it is replaced in org-mode by CD-Latex and C-c { ; therefore, I agree, it would not be a real problem. But, second problem the highliting syntax of latex disappears in org-mode. A solution has been given by Eric S Fraga in this message: http://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg01898.html It works fine. But I wonder if there is a key binding to get first the void block in one command line : #+begin_src latex :exports results :results latex #+end_src in order to use after CD-Latex inside this org-mode block Every good and easy solution to write papers in org-mode format instead of latex format in order to get easy exports will be welcome. To everyone, a very nice end of year ! Best wishes, Jo.