Re: [O] re-export using same options
> > > > Can I re-export using the last settings? > > > > > > C-u C-c C-e > > > > Thanks, that makes it faster, but you need to be in the same subtree. > > Not so. > With org-mode from some days ago it was failing: only moving to a new subtree would make C-u C-c C-e export the new subtree (using the old format). But I tried again today with latest org-mode and it doesn't happen; now the old tree is remembered correctly. Thanks for pointing it out. > and it appears to update during edits so that same the subtree is found > in subsequent exports. This > > If the current buffer hasn't changed and subtree export > was activated, the command will affect that same subtree. > > seems to say that buffer edits will break C-u C-c C-e, but > that did not happen in the examples I tried. This happened to me (the marker pointed to a different subtree) but only if my edits were before the marker, not after. But since most people want to edit things below the heading they export, this shouldn't be a common problem.
Re: [O] Beamer title is (incorrectly?) outside of a frame
On Monday, December 23, 2013 4:25:50 PM HKT, Nicolas Goaziou wrote: James Harkins writes: One question, though: How would I determine the LaTeX document class programmatically? (plist-get info :latex-class) Thanks. I'm very busy now at the end of the semester, but I have this: ** TODO Beamer conditionally wrap title in frame (plist-get info :latex-class) Definitely in January. hjh
Re: [O] Getting custom LaTeX exports to work
Thomas S. Dye tsdye.com> writes: > > Hi Uwe, > > Uwe Ziegenhagen gmail.com> writes: > > You've named it `koma-artikel', not `koma-article'. > > hth, > Tom > OMG, that did the trick! Thanks, Uwe
[O] org-entities in #+captions
Aloha all, With this local variable: # eval: (add-to-list 'org-entities-user '("amacron" "\\={a}" nil "ā" "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? 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] Getting custom LaTeX exports to work
Hi Uwe, Uwe Ziegenhagen writes: > ;; 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 You've named it `koma-artikel', not `koma-article'. hth, Tom -- Thomas S. Dye http://www.tsdye.com
[O] Getting custom LaTeX exports to work
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
[O] LaTeX export, problem with quotes
Aloha all, I'm having a problem with exporting quotes. I have the #+OPTIONS ':t. This input in the Org mode file: "[l]ater walls ..." produces this in the tex file (open quote wrong, close quote OK): "[l]ater walls ...'' I'm expecting this in the tex file: ''[l]ater walls ...'' I'm using Org-mode version 8.2.4 (release_8.2.4-329-g149eaf @ /Users/dk/.emacs.d/src/org-mode/lisp/) 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] Bug: org-agenda-overriding-columns-format ignored every other refresh
Russell Yanofsky writes: > Hi list, > > I've been having a problem where my agenda column format is ignored every > other time I load or refresh the agenda, which makes it very hard to use. > When this happens, I see the following error in *Messages*: "Making > org-agenda-overriding-columns-format buffer-local while locally let-bound!" > which led me to experiment and find that when I delete the following lines > from the org-agenda-finalize function, the problem seems to be fixed: > > - (if (and (boundp 'org-agenda-overriding-columns-format) > - org-agenda-overriding-columns-format) > - (org-set-local 'org-agenda-overriding-columns-format > - org-agenda-overriding-columns-format)) > > I'm wondering what these lines were intended to do, and if it's safe to > delete them. > It's most probably the wrong thing to do. For one, you are not supposed to set org-agenda-overriding-columns-format. The docstring says: , | org-agenda-overriding-columns-format is a variable defined in `org-colview.el'. | Its value is nil | | Documentation: | When set, overrides any other format definition for the agenda. | Don't set this, this is meant for dynamic scoping. ` > My org-agenda-custom-commands value is: > > '(("n" "Agenda and all TODO's" ((agenda "" nil) (alltodo "" nil)) nil) > ("r" "Russ Agenda" agenda "" > ((org-agenda-overriding-header "Russ Agenda") > (org-agenda-view-columns-initially t) > (org-agenda-overriding-columns-format "%80ITEM %TAGS %7TODO %5Effort{:} > %6CLOCKSUM{Total}")) > ("~/public_html/agenda.html")) > ("q" "Russ Todos" alltodo "" > ((org-agenda-view-columns-initially t) > (org-agenda-overriding-columns-format "%80ITEM %TAGS %7TODO > %20SCHEDULED %5Effort{:} %6CLOCKSUM{Total}") > (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote todo) > (quote ("DEFERRED") > (org-agenda-sorting-strategy (quote (scheduled-up effort-up > ("~/public_html/todo.html")) > ) You probably should use org-agenda-columns-current-fmt instead of org-agenda-overriding-columns-format. Untested and quite possibly wrong, or at least not the whole story; but until an agenda expert chimes in, it might be a useful first step. Nick
[O] Bug: org-agenda-overriding-columns-format ignored every other refresh
Hi list, I've been having a problem where my agenda column format is ignored every other time I load or refresh the agenda, which makes it very hard to use. When this happens, I see the following error in *Messages*: "Making org-agenda-overriding-columns-format buffer-local while locally let-bound!" which led me to experiment and find that when I delete the following lines from the org-agenda-finalize function, the problem seems to be fixed: - (if (and (boundp 'org-agenda-overriding-columns-format) - org-agenda-overriding-columns-format) -(org-set-local 'org-agenda-overriding-columns-format - org-agenda-overriding-columns-format)) I'm wondering what these lines were intended to do, and if it's safe to delete them. My org-agenda-custom-commands value is: '(("n" "Agenda and all TODO's" ((agenda "" nil) (alltodo "" nil)) nil) ("r" "Russ Agenda" agenda "" ((org-agenda-overriding-header "Russ Agenda") (org-agenda-view-columns-initially t) (org-agenda-overriding-columns-format "%80ITEM %TAGS %7TODO %5Effort{:} %6CLOCKSUM{Total}")) ("~/public_html/agenda.html")) ("q" "Russ Todos" alltodo "" ((org-agenda-view-columns-initially t) (org-agenda-overriding-columns-format "%80ITEM %TAGS %7TODO %20SCHEDULED %5Effort{:} %6CLOCKSUM{Total}") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote todo) (quote ("DEFERRED") (org-agenda-sorting-strategy (quote (scheduled-up effort-up ("~/public_html/todo.html")) )