[O] [bug] org-insert-link fails on special characters in headlines
> > it looks like captured links won't take into account header text after < or > > >, hence capturing links to headlines featuring these will fail, is there a > > known issue about accepted characters in headlines that I'm not aware of ? > There should be none, please test master if you can and report any > problem. Using org-store-link followed by org-insert-link RET RET fails on the following headline : ** TODO Special chars in titles > ! [[*Special%20chars%20in%20titles%20][Special chars in titles > !]] The link ignores what follows the greater-than sign (>) and thus the inserted link is still-broken. Prior to this, I had some working tests with <, it seems both < and > are treated differently. -- On Mon, 24 Dec 2012 01:56:24 +0100, Bastien spake thus: > > I suggest the priority is removed from the captured link. > This is now the case in master, it will be part of 8.0. Great :)
Re: [O] C-c ^ for plain lists? Why not?
Carsten Dominik gmail.com> writes: > Playing with this idea I noticed that the sorting function > did not accept their additional arguments like sorting-key > and get key-function in they way they should. So I patched > them, to make the following work in the current master: > > (defun org-sort-list-by-checkbox-type () > "Sort list items according to Checkbox state." > (interactive) > (org-sort-list >nil ?f >(lambda () > (if (looking-at org-list-full-item-re) >(cdr (assoc (match-string 3) >'(("[X]" . 1) ("[-]" . 2) ("[ ]" . 3) (nil . 4 >4 I finally had a chance to play with this -- works nicely, except I managed to get emacs into an infinite loop this way: 1. C-c ^ f org-sort-list-by-checkbox-type 2. This puts the done items at the top, which I didn't want, so... C-c ^ F org- sort-list-by-checkbox-type. 3. Emacs goes into a tailspin (recovered by C-g). > I would think that > > checked - transitionary - unchecked - no box > > is a pretty decent default. I disagree. I'd suggest unchecked - transitionary - checked - no box. It makes more sense to pull the not-done items to the top, no? But it's easy to modify the function for my environment. Thanks!! hjh
Re: [O] Booktabs in new LaTeX exporter
Hmm, It works like a charm here. I add booktabs like this: (add-to-list 'org-export-latex-packages-alist '("" "booktabs")) Also, I noticed you have \[PACKAGES]. I don't escape the opening brace: (add-to-list 'org-e-latex-classes '("koma-article" "\\documentclass{scrartcl} [NO-DEFAULT-PACKAGES] [PACKAGES] [EXTRA] \\let\\itemize\\compactitem \\let\\description\\compactdesc \\let\\enumerate\\compactenum \\bibliography{local} \\newcommand{\\rc}{\\textsuperscript{14}C} \\newcolumntype{Y}{>{\\RaggedRight\\arraybackslash}X}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) hth, Tom RCY writes: > Hi, > I had tried t but then removed it when it did not work and the > documentation seemed to indicate that :booktabs was a toggle. > I tried your suggestion to add (setq org-e-latex-tables-booktabs t) to the > .emacs file but I am still getiing \hline. I did make sure to get the > latest version from git and I am running emacs 24.3.50.1. > > Thanks. > > > On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye wrote: > >> Aloha RCY, >> >> You can have this in your setup to enable booktabs globally: >> >> (setq org-e-latex-tables-booktabs t) >> >> Or, you can give a table this attribute: >> >> #+attr_latex: :booktabs t >> >> I think your example should work if you add the t after :booktabs. >> >> hth, >> Tom >> >> RCY writes: >> >> > I am trying to use the booktabs package for tables in the new exporter, >> > however I am unable to get \toprule, etc instead of \hrule >> > I would appreciate any suggestions to fix this. >> > >> > As a minimal example, I started emacs -q, and evaluated the following: >> > >> >(setq org-install-dir "~/.emacs.d/src/org-mode") >> >(add-to-list 'load-path (concat org-install-dir "/contrib/lisp")) >> >(add-to-list 'load-path (concat org-install-dir "/lisp")) >> >(require 'org-e-latex) >> > >> >(add-to-list 'org-e-latex-classes >> >'("article" >> >"\\documentclass[11pt]{article} >> >\[DEFAULT-PACKAGES] >> >\[PACKAGES] >> >\[EXTRA]" >> >("\\section{%s}" . "\\section*{%s}") >> >("\\subsection{%s}" . "\\subsection*{%s}") >> >("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) >> > >> > -org.file--- >> > #+LATEX_CLASS: article >> > #+LATEX_HEADER: \usepackage{booktabs} >> > * Test >> > #+ATTR_LATEX: :booktabs >> > #+CAPTION: Test table >> > |+| >> > | 1 | 2 | >> > |+| >> > | A1 | A2 | >> > | B1 | B2 | >> > | C1 | C2 | >> > |+| >> > >> > --latex-buffer from org-export-latex-as-buffer--- >> > % Created 2012-12-27 Thu 18:44 >> > \documentclass[11pt]{article} >> > \usepackage[utf8]{inputenc} >> > \usepackage[T1]{fontenc} >> > \usepackage{fixltx2e} >> > \usepackage{graphicx} >> > \usepackage{longtable} >> > \usepackage{float} >> > \usepackage{wrapfig} >> > \usepackage{soul} >> > \usepackage{textcomp} >> > \usepackage{marvosym} >> > \usepackage{wasysym} >> > \usepackage{latexsym} >> > \usepackage{amssymb} >> > \usepackage{hyperref} >> > \tolerance=1000 >> > \usepackage{booktabs} >> > \providecommand{\alert}[1]{\textbf{#1}} >> > >> > \title{tst} >> > \author{RC} >> > \date{\today} >> > \hypersetup{ >> > pdfkeywords={}, >> > pdfsubject={}, >> > pdfcreator={Emacs Org-mode version 7.9.2+}} >> > >> > \begin{document} >> > >> > \maketitle >> > >> > \setcounter{tocdepth}{3} >> > \tableofcontents >> > \vspace*{1cm} >> > \section{Test} >> > \label{sec-1} >> > >> > \begin{table}[htb] >> > \caption{Test table} >> > \begin{center} >> > \begin{tabular}{ll} >> > \hline >> > 1 & 2 \\ >> > \hline >> > A1 & A2 \\ >> > B1 & B2 \\ >> > C1 & C2 \\ >> > \hline >> > \end{tabular} >> > \end{center} >> > \end{table} >> > >> > \end{document} >> > I am trying to use the booktabs package for tables in the new >> > exporter, however I am unable to get \toprule, etc instead of \hrule >> > >> > I would appreciate any suggestions to fix this. >> > >> > As a minimal example, I started emacs -q, and evaluated the following: >> > >> >(setq org-install-dir "~/.emacs.d/src/org-mode") >> >(add-to-list 'load-path (concat org-install-dir "/contrib/lisp")) >> >(add-to-list 'load-path (concat org-install-dir "/lisp")) >> >(require 'org-e-latex) >> > >> >(add-to-list 'org-e-latex-classes >> >'("article" >> >"\\documentclass[11pt]{article} >> >\[DEFAULT-PACKAGES] >> >\[PACKAGES] >> >\[EXTRA]" >> >("\\section{%s}" . "\\section*{%s}") >> >("\\subsection{%s}" . "\\subsection*{%s}") >> >("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) >> > >> > -org.file--- >> > #+LATEX_CLASS: article >> > #+LATEX_HEADER: \usepackage
Re: [O] Booktabs in new LaTeX exporter
Hi, I had tried t but then removed it when it did not work and the documentation seemed to indicate that :booktabs was a toggle. I tried your suggestion to add (setq org-e-latex-tables-booktabs t) to the .emacs file but I am still getiing \hline. I did make sure to get the latest version from git and I am running emacs 24.3.50.1. Thanks. On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye wrote: > Aloha RCY, > > You can have this in your setup to enable booktabs globally: > > (setq org-e-latex-tables-booktabs t) > > Or, you can give a table this attribute: > > #+attr_latex: :booktabs t > > I think your example should work if you add the t after :booktabs. > > hth, > Tom > > RCY writes: > > > I am trying to use the booktabs package for tables in the new exporter, > > however I am unable to get \toprule, etc instead of \hrule > > I would appreciate any suggestions to fix this. > > > > As a minimal example, I started emacs -q, and evaluated the following: > > > >(setq org-install-dir "~/.emacs.d/src/org-mode") > >(add-to-list 'load-path (concat org-install-dir "/contrib/lisp")) > >(add-to-list 'load-path (concat org-install-dir "/lisp")) > >(require 'org-e-latex) > > > >(add-to-list 'org-e-latex-classes > >'("article" > >"\\documentclass[11pt]{article} > >\[DEFAULT-PACKAGES] > >\[PACKAGES] > >\[EXTRA]" > >("\\section{%s}" . "\\section*{%s}") > >("\\subsection{%s}" . "\\subsection*{%s}") > >("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) > > > > -org.file--- > > #+LATEX_CLASS: article > > #+LATEX_HEADER: \usepackage{booktabs} > > * Test > > #+ATTR_LATEX: :booktabs > > #+CAPTION: Test table > > |+| > > | 1 | 2 | > > |+| > > | A1 | A2 | > > | B1 | B2 | > > | C1 | C2 | > > |+| > > > > --latex-buffer from org-export-latex-as-buffer--- > > % Created 2012-12-27 Thu 18:44 > > \documentclass[11pt]{article} > > \usepackage[utf8]{inputenc} > > \usepackage[T1]{fontenc} > > \usepackage{fixltx2e} > > \usepackage{graphicx} > > \usepackage{longtable} > > \usepackage{float} > > \usepackage{wrapfig} > > \usepackage{soul} > > \usepackage{textcomp} > > \usepackage{marvosym} > > \usepackage{wasysym} > > \usepackage{latexsym} > > \usepackage{amssymb} > > \usepackage{hyperref} > > \tolerance=1000 > > \usepackage{booktabs} > > \providecommand{\alert}[1]{\textbf{#1}} > > > > \title{tst} > > \author{RC} > > \date{\today} > > \hypersetup{ > > pdfkeywords={}, > > pdfsubject={}, > > pdfcreator={Emacs Org-mode version 7.9.2+}} > > > > \begin{document} > > > > \maketitle > > > > \setcounter{tocdepth}{3} > > \tableofcontents > > \vspace*{1cm} > > \section{Test} > > \label{sec-1} > > > > \begin{table}[htb] > > \caption{Test table} > > \begin{center} > > \begin{tabular}{ll} > > \hline > > 1 & 2 \\ > > \hline > > A1 & A2 \\ > > B1 & B2 \\ > > C1 & C2 \\ > > \hline > > \end{tabular} > > \end{center} > > \end{table} > > > > \end{document} > > I am trying to use the booktabs package for tables in the new > > exporter, however I am unable to get \toprule, etc instead of \hrule > > > > I would appreciate any suggestions to fix this. > > > > As a minimal example, I started emacs -q, and evaluated the following: > > > >(setq org-install-dir "~/.emacs.d/src/org-mode") > >(add-to-list 'load-path (concat org-install-dir "/contrib/lisp")) > >(add-to-list 'load-path (concat org-install-dir "/lisp")) > >(require 'org-e-latex) > > > >(add-to-list 'org-e-latex-classes > >'("article" > >"\\documentclass[11pt]{article} > >\[DEFAULT-PACKAGES] > >\[PACKAGES] > >\[EXTRA]" > >("\\section{%s}" . "\\section*{%s}") > >("\\subsection{%s}" . "\\subsection*{%s}") > >("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) > > > > -org.file--- > > #+LATEX_CLASS: article > > #+LATEX_HEADER: \usepackage{booktabs} > > * Test > > #+ATTR_LATEX: :booktabs > > #+CAPTION: Test table > > |+| > > | 1 | 2 | > > |+| > > | A1 | A2 | > > | B1 | B2 | > > | C1 | C2 | > > |+| > > > > --latex-buffer from org-export-latex-as-buffer--- > > % Created 2012-12-27 Thu 18:44 > > \documentclass[11pt]{article} > > \usepackage[utf8]{inputenc} > > \usepackage[T1]{fontenc} > > \usepackage{fixltx2e} > > \usepackage{graphicx} > > \usepackage{longtable} > > \usepackage{float} > > \usepackage{wrapfig} > > \usepackage{soul} > > \usepackage{textcomp} > > \usepackage{marvosym} > > \usepackage{wasysym} > > \usepackage{latexsym} > > \usepackage{amssymb} > > \usepackage{hyperref} > > \tolerance=1000 > > \usepackage{booktabs} > > \providecommand{\alert}[1]{\textbf{#1}} > > > > \title{tst} > > \author{RC} > > \date{\today} > > \hypersetup{ > > pdfkeywords={}, > > pdfsubject={}, > > pdfcreator={Emacs Org-mode version 7.9.2+}} > > > > \begin{document} > > > > \maketitle > > > > \setcounter{tocdepth}{3} > > \tableofcontents > > \vspace*{1cm} > > \section{Test} > > \label{sec-1} >
Re: [O] Booktabs in new LaTeX exporter
Aloha RCY, You can have this in your setup to enable booktabs globally: (setq org-e-latex-tables-booktabs t) Or, you can give a table this attribute: #+attr_latex: :booktabs t I think your example should work if you add the t after :booktabs. hth, Tom RCY writes: > I am trying to use the booktabs package for tables in the new exporter, > however I am unable to get \toprule, etc instead of \hrule > I would appreciate any suggestions to fix this. > > As a minimal example, I started emacs -q, and evaluated the following: > >(setq org-install-dir "~/.emacs.d/src/org-mode") >(add-to-list 'load-path (concat org-install-dir "/contrib/lisp")) >(add-to-list 'load-path (concat org-install-dir "/lisp")) >(require 'org-e-latex) > >(add-to-list 'org-e-latex-classes >'("article" >"\\documentclass[11pt]{article} >\[DEFAULT-PACKAGES] >\[PACKAGES] >\[EXTRA]" >("\\section{%s}" . "\\section*{%s}") >("\\subsection{%s}" . "\\subsection*{%s}") >("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) > > -org.file--- > #+LATEX_CLASS: article > #+LATEX_HEADER: \usepackage{booktabs} > * Test > #+ATTR_LATEX: :booktabs > #+CAPTION: Test table > |+| > | 1 | 2 | > |+| > | A1 | A2 | > | B1 | B2 | > | C1 | C2 | > |+| > > --latex-buffer from org-export-latex-as-buffer--- > % Created 2012-12-27 Thu 18:44 > \documentclass[11pt]{article} > \usepackage[utf8]{inputenc} > \usepackage[T1]{fontenc} > \usepackage{fixltx2e} > \usepackage{graphicx} > \usepackage{longtable} > \usepackage{float} > \usepackage{wrapfig} > \usepackage{soul} > \usepackage{textcomp} > \usepackage{marvosym} > \usepackage{wasysym} > \usepackage{latexsym} > \usepackage{amssymb} > \usepackage{hyperref} > \tolerance=1000 > \usepackage{booktabs} > \providecommand{\alert}[1]{\textbf{#1}} > > \title{tst} > \author{RC} > \date{\today} > \hypersetup{ > pdfkeywords={}, > pdfsubject={}, > pdfcreator={Emacs Org-mode version 7.9.2+}} > > \begin{document} > > \maketitle > > \setcounter{tocdepth}{3} > \tableofcontents > \vspace*{1cm} > \section{Test} > \label{sec-1} > > \begin{table}[htb] > \caption{Test table} > \begin{center} > \begin{tabular}{ll} > \hline > 1 & 2 \\ > \hline > A1 & A2 \\ > B1 & B2 \\ > C1 & C2 \\ > \hline > \end{tabular} > \end{center} > \end{table} > > \end{document} > I am trying to use the booktabs package for tables in the new > exporter, however I am unable to get \toprule, etc instead of \hrule > > I would appreciate any suggestions to fix this. > > As a minimal example, I started emacs -q, and evaluated the following: > > (setq org-install-dir "~/.emacs.d/src/org-mode") > (add-to-list 'load-path (concat org-install-dir "/contrib/lisp")) > (add-to-list 'load-path (concat org-install-dir "/lisp")) > (require 'org-e-latex) > > (add-to-list 'org-e-latex-classes > '("article" > "\\documentclass[11pt]{article} > \[DEFAULT-PACKAGES] > \[PACKAGES] > \[EXTRA]" > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) > > -org.file--- > #+LATEX_CLASS: article > #+LATEX_HEADER: \usepackage{booktabs} > * Test > #+ATTR_LATEX: :booktabs > #+CAPTION: Test table > |+| > | 1 | 2 | > |+| > | A1 | A2 | > | B1 | B2 | > | C1 | C2 | > |+| > > --latex-buffer from org-export-latex-as-buffer--- > % Created 2012-12-27 Thu 18:44 > \documentclass[11pt]{article} > \usepackage[utf8]{inputenc} > \usepackage[T1]{fontenc} > \usepackage{fixltx2e} > \usepackage{graphicx} > \usepackage{longtable} > \usepackage{float} > \usepackage{wrapfig} > \usepackage{soul} > \usepackage{textcomp} > \usepackage{marvosym} > \usepackage{wasysym} > \usepackage{latexsym} > \usepackage{amssymb} > \usepackage{hyperref} > \tolerance=1000 > \usepackage{booktabs} > \providecommand{\alert}[1]{\textbf{#1}} > > \title{tst} > \author{RC} > \date{\today} > \hypersetup{ > pdfkeywords={}, > pdfsubject={}, > pdfcreator={Emacs Org-mode version 7.9.2+}} > > \begin{document} > > \maketitle > > \setcounter{tocdepth}{3} > \tableofcontents > \vspace*{1cm} > \section{Test} > \label{sec-1} > > \begin{table}[htb] > \caption{Test table} > \begin{center} > \begin{tabular}{ll} > \hline > 1 & 2 \\ > \hline > A1 & A2 \\ > B1 & B2 \\ > C1 & C2 \\ > \hline > \end{tabular} > \end{center} > \end{table} > > \end{document} > -- Thomas S. Dye http://www.tsdye.com
[O] Booktabs in new LaTeX exporter
I am trying to use the booktabs package for tables in the new exporter, however I am unable to get \toprule, etc instead of \hrule I would appreciate any suggestions to fix this. As a minimal example, I started emacs -q, and evaluated the following: (setq org-install-dir "~/.emacs.d/src/org-mode") (add-to-list 'load-path (concat org-install-dir "/contrib/lisp")) (add-to-list 'load-path (concat org-install-dir "/lisp")) (require 'org-e-latex) (add-to-list 'org-e-latex-classes '("article" "\\documentclass[11pt]{article} \[DEFAULT-PACKAGES] \[PACKAGES] \[EXTRA]" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) -org.file--- #+LATEX_CLASS: article #+LATEX_HEADER: \usepackage{booktabs} * Test #+ATTR_LATEX: :booktabs #+CAPTION: Test table |+| | 1 | 2 | |+| | A1 | A2 | | B1 | B2 | | C1 | C2 | |+| --latex-buffer from org-export-latex-as-buffer--- % Created 2012-12-27 Thu 18:44 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \usepackage{booktabs} \providecommand{\alert}[1]{\textbf{#1}} \title{tst} \author{RC} \date{\today} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Emacs Org-mode version 7.9.2+}} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{Test} \label{sec-1} \begin{table}[htb] \caption{Test table} \begin{center} \begin{tabular}{ll} \hline 1 & 2 \\ \hline A1 & A2 \\ B1 & B2 \\ C1 & C2 \\ \hline \end{tabular} \end{center} \end{table} \end{document}
[O] Bug: Docstring of `org-clock-persist' doesn't mention `history' [7.9.2 (7.9.2-90-ge5ea08-elpaplus @ /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/)]
Hello org maintainers, The manual suggests setting `org-clock-persist' to 'history, but this value isn't documented in the docstring. There is an explicit check for the value of history in `org-clock-save', so I think it should be documented since it's more than just a non-nil value. Thanks, Ivan Emacs : GNU Emacs 24.3.50.3 (i386-apple-darwin12.2.0, NS apple-appkit-1187.34) of 2012-12-14 on oroszlan.local Package: Org-mode version 7.9.2 (7.9.2-90-ge5ea08-elpaplus @ /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/org/) current state: == (setq org-hide-leading-stars t org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) 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-ctrl-c-ctrl-c-final-hook '(decrypt-current-block) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-confirm-shell-link-function 'yes-or-no-p org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-special-ctrl-a/e t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-agenda-skip-scheduled-if-done t org-agenda-custom-commands '(("t" "TODO today" todo "TODO" ((org-agenda-sorting-strategy (quote (time-up nil) ("l" "TODO today" tags "LaTeX" ((org-agenda-sorting-strategy (quote (priority-down))) ) nil) ("d" "dissertation" todo "Dissertation" ((org-agenda-files (quote ("~/TeX/dissertation/todo.org"))) (org-agenda-sorting-strategy (quote (priority-up nil) ("v" "Creative" tags "creative" ((org-agenda-sorting-strategy (quote (alpha-up nil) ) org-todo-keyword-faces '(("IDEA" :foreground "orange" :weight bold) ("LATER" :foreground "orange" :weight bold) ("WORKING" :foreground "orange" :weight bold)) 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-export-copy-to-kill-ring nil org-mode-hook '(er/add-org-mode-expansions #[nil "\300\301\302\303\304$\207" [add-hook before-save-hook org-encrypt-entries nil t] 5] alth-auto-hook-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-export-with-tags 'not-in-toc org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-directory "~" org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-tags-exclude-from-inheritance '("crypt") org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-export-blocks '((src org-babel-exp-src-block nil) (export-comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) org-archive-location "~/Documents/archive.org::From %s" org-export-first-hook '(org-beamer-initialize-open-trackers) org-export-interblocks '((src org-babel-exp-non-block-elements)) org-export-with-drawers nil org-modules '(org-bbdb org-bibtex org-docview org-gnus org-info org-jsinfo org-irc org-mew org-mhe org-rmail org-vm org-w3m org-wl org-habit) org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-ditaa
Re: [O] [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:)
Thank you, it is very usefull! Celano
Re: [O] [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:)
Hi celano, celano writes: > Hello > > This is my file.org (I use it then with latex: C-c C-e l): > >> #+LaTeX_CLASS:book >> * First part >> ** First chapter >> ** Second chapter '(:noexport:) >> ** Third chapter '(:noexport:) >> #+LaTeX: \printbibliography >> >> * Second part >> ** 4th chapter >> ** 5th chapter > > As you see, \printbibliography is under the *noexport* tag, and will not > appear in the file.tex > > *How should I do to export the bibliography without creating a new > chapter?* I think this does what you want: ["Re: [O] Bibtex export" 18 December 2012] http://lists.gnu.org/archive/html/emacs-orgmode/2012-12/msg00634.html > > > Thank you for helping me > Celano Myles
Re: [O] searching properties, not tags
Well, that put me on the right track. I wasn't looking for a persistent custom search command, just one I could execute ad hoc, since sometimes I'd be looking for tigers and sometimes for bears, etc. But with this to go on, I found that C-c a m species="tiger" does what I want. Previously, my problem was I was not using the quotes. Thanks. --Chris Bastien wrote: > Hi Christopher, > > "Christopher W. Ryan" writes: > >> How would I search for all the tigers? > > (setq org-agenda-custom-commands > '(("o" "List of tigers" >((tags "+species=\"tiger\") > > HTH, >
Re: [O] searching properties, not tags
Hi Christopher, "Christopher W. Ryan" writes: > How would I search for all the tigers? (setq org-agenda-custom-commands '(("o" "List of tigers" ((tags "+species=\"tiger\") HTH, -- Bastien
[O] searching properties, not tags
>From what I have seen, most of the org-mode manual documentation about searching or matching tags and properties is about the former, rather than the latter. How would I search out all the headlines that have a property of a certain value? For example: ** Tigger :PROPERTIES: :species: tiger :color:striped :clothing: none :END: ** Eeyore :PROPERTIES: :species: donkey :color:grey :clothing: none :END: ** Winnie The Pooh :PROPERTIES: :species: bear :color:yellow :clothing: red shirt :END: How would I search for all the tigers? Thanks. --Chris Ryan
Re: [O] [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:)
Aloha Celano, This should work. You'll need to move the \printbibliography line when you decide to export the second or third chapters, if you want it to be at the end of the first part. >> #+LaTeX_CLASS:book >> * First part >> ** First chapter >> #+LaTeX: \printbibliography >> ** Second chapter '(:noexport:) >> ** Third chapter '(:noexport:) >> >> * Second part >> ** 4th chapter >> ** 5th chapter Alternatively, you can hack Org mode to ignore a heading, so you'd have something like this: ** Bibliography :ignoreheading: #+LaTeX: \printbibliography You can follow the instructions in this post for the new exporter: http://thread.gmane.org/gmane.emacs.orgmode/55821/focus=55972 or, you can use Suvayu Ali's preprocess hook described here for the old exporter: http://stackoverflow.com/questions/10295177/is-there-an-equivalent-of-org-modes-b-ignoreheading-for-non-beamer-documents hth, Tom celano writes: > Hello > > This is my file.org (I use it then with latex: C-c C-e l): > >> #+LaTeX_CLASS:book >> * First part >> ** First chapter >> ** Second chapter '(:noexport:) >> ** Third chapter '(:noexport:) >> #+LaTeX: \printbibliography >> >> * Second part >> ** 4th chapter >> ** 5th chapter > > As you see, \printbibliography is under the *noexport* tag, and will > not appear in the file.tex > > *How should I do to export the bibliography without creating a new chapter?* > > Thank you for helping me > Celano > Hello > > This is my file.org (I use it then with latex: C-c C-e l): > > #+LaTeX_CLASS:book > > * First part > ** First chapter > ** Second chapter '(:noexport:) > ** Third chapter '(:noexport:) > #+LaTeX: \printbibliography > > * Second part > ** 4th chapter > ** 5th chapter > > As you see, \printbibliography is under the noexport tag, and will not > appear in the file.tex > > How should I do to export the bibliography without creating a new > chapter? > > Thank you for helping me > Celano -- Thomas S. Dye http://www.tsdye.com
Re: [O] Bugs in org-cycle-internal-local?
Bastien writes: > Rémi Vanicat writes: > [...] > Well, it was, I just skipped it inadvertantly. > I can reproduce the problem, but don't have an easy fix > at hand. If you find one, please let us know. This seem to do it >From e7344cd512af57fc9c85205876d6e3bfed2e53fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vanicat?= Date: Thu, 27 Dec 2012 16:41:28 +0100 Subject: [PATCH] Find end of section only at beginning of line when cycling When hiding a section in non org-mode using outline-minor-mode, if the next section begin with white space, its header line used to appeared on the same line as the one we hide. --- lisp/org.el |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index ee4c70e..b1ffb8f 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -6399,7 +6399,8 @@ in special contexts. (setq eos (save-excursion (org-end-of-subtree t) (unless (eobp) - (skip-chars-forward " \t\n")) + (skip-chars-forward " \t\n") + (forward-line 0)) (if (eobp) (point) (1- (point) (setq has-children (or (save-excursion -- 1.7.10.4 -- Rémi Vanicat
Re: [O] collaborating between org-mode and MS Word users
"Julian Burgos" writes: > Dear list, > > I use org-mode to draft papers and reports, using embedded R code and > LaTex snippets. It is a fantastic tool. But sometimes I have to > collaborate with less enlighted colleagues who use MS Word. For now I am > exporting my document to odt, and from there to MS word. Then, when I get > the manuscript back with comments and edits (usually using the “track > changes” option), I transcribe them to a new new node in my org-mode > document. This is usually a slow and error-prone process that involves > cutting and pasting text from the edited MS word document back into the > org-mode document, trying to avoid pasting over the LaTex and R snippets. > When I am done, I end up with a structure that looks something like this. > > #+TITLE: My manuscript > * Version 1 > ** Introduction > ** Methods . > * Version 2 > ** Introduction > ** Methods > ..etc. > > Of course, I could easily keep each version in a separate org mode file. > > I would like to get some suggestions or tips on how to improve this > workflow. For example: > - Is there a better way to have a non-org mode use to edit/correct a > org-mode document and then bring back the corrections to an org-mode > document? Currently Org-mode exports to many different formats (html, latex, odt, etc...), but I do not know of any backend which may be imported into Org-mode. I believe that the ODT method you are currently using may be your best option. > > - What is the best way to compare org-mode nodes/branches (like in the > above example the Version 1 and Version 2 nodes?). I would recommend either 1. If you are familiar with git, it would be an ideal way to track different versions of your document. It would allow you to keep all past versions without cluttering your directories, and to easily view (checkout) older versions and view diffs between versions. Git has the added benefit of providing the ability to tag specific versions with semantically meaningful names. The downside of git is the extremely slow learning curve, meaning each of the above actions will take some possibly large amount of time to master. 2. If not git (or some comparable version control system), then I'd suggest using separate files, as that way you can easily view diffs between different versions. There has been a diff tool generated specifically for Org-mode documents [1]. It is able to do things like notice when two subtrees have been swapped. > Can I use ediff within an org-mode file? Not that I know of, but it may not be difficult to write elisp functions to write seperate subtrees to different files and then run ediff on those files. > Or should I keep separate versions on separate documents? > This is what I would recommend, as most diff tools expect separate files (either separate on the file system, or separate versions in a version control system). > > All recommendations will be welcomed! > Hope this helps, > > Julian Footnotes: [1] http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/git-merge-tool/index.html -- Eric Schulte http://cs.unm.edu/~eschulte
Re: [O] unexpected (buggy?) export to iCalendar beheaviour
Hi Bastien, > Hi, > > [snip] > > > > So the SCHEDULED event is not exported. I assume that's a bug? > > I cannot reproduce this either from the maint or master branch. > Let us know if there is still a bug for this. > Everything is fine on org's side. It is even documented that way, as I found out in the mean time. (section 12.12 of the manual, footnote 155) Thx for looking into and sorry for the noise. Detlef > Thanks! > > -- > Bastien > >
Re: [O] Agenda bug: 'now' is on the wrong day
Huy, please check your setting for org-extend-today-until: The hour when your day really ends. Must be an integer. This has influence for the following applications: - When switching the agenda to "today". It it is still earlier than the time given here, the day recognized as TODAY is actually yesterday. .j. On Thu, Dec 27, 2012 at 01:20:38AM -0800, Huy wrote: > It's 1:17am over here. > And when I pop up the agenda and then hit 'l', it says: >1:17.. now - - - - - - - - - - - - - - - - - - - - - - - - > - > > but it's on the wrong day: yesterday.
[O] collaborating between org-mode and MS Word users
Dear list, I use org-mode to draft papers and reports, using embedded R code and LaTex snippets. It is a fantastic tool. But sometimes I have to collaborate with less enlighted colleagues who use MS Word. For now I am exporting my document to odt, and from there to MS word. Then, when I get the manuscript back with comments and edits (usually using the track changes option), I transcribe them to a new new node in my org-mode document. This is usually a slow and error-prone process that involves cutting and pasting text from the edited MS word document back into the org-mode document, trying to avoid pasting over the LaTex and R snippets. When I am done, I end up with a structure that looks something like this. #+TITLE: My manuscript * Version 1 ** Introduction ** Methods . * Version 2 ** Introduction ** Methods ..etc. Of course, I could easily keep each version in a separate org mode file. I would like to get some suggestions or tips on how to improve this workflow. For example: - Is there a better way to have a non-org mode use to edit/correct a org-mode document and then bring back the corrections to an org-mode document? - What is the best way to compare org-mode nodes/branches (like in the above example the Version 1 and Version 2 nodes?). Can I use ediff within an org-mode file? Or should I keep separate versions on separate documents? All recommendations will be welcomed! Julian -- Julian Mariano Burgos, PhD Hafrannsóknastofnunin/Marine Research Institute Skúlagata 4, 121 Reykjavík, Iceland Sími/Telephone : +354-5752037 Bréfsími/Telefax: +354-5752001 Netfang/Email: jul...@hafro.is
Re: [O] TODOs with repeat are not sorted correctly(?) in the agenda view
Dear Bastien, Bastien altern.org> writes: > > I have tried to customize `org-agenda-sorting-strategy', but only > > 'user-defined-up' might do the trick, I think. > > However, I do not know LISP and > > would not know how to define the required comparison function. > > In fact we need a date-up/date-down sorting strategy. Maybe, it would be clearer to call it scheduled-up/scheduled-down, because there are several different dates used. As far as I understand, items are already sorted by date as a fallback, i.e. it cannot be selected in the 'customize-variable' of 'org-agenda-sorting-strategy', but it is done anyway as a last rule. However, the date used is not the SCHEDULED date but in repeated items it is the last date in the past that one would get by incrementing the SCHEDULED date by multiples of the interval set (e.g. .+1w), which I find a not very useful behavior. > I'm putting this in my TODO list for Org 8.0. If you could implement a scheduled-up/scheduled-down to override this behavior, that would be great. Best wishes, Josef.
Re: [O] org-plus-contrib-20121224 error [Solved]
Am 26.12.2012 22:04, schrieb Alan L Tyree: Well, I might have an idea what went wrong... the first install you did after you've already worked with orgmode in your Emacs or do you already load (some) orgmode stuff in your init file? Both. I had been working with orgmode, then made the install. Then you already had org-compat loaded before package manager started to compile the new Org. I also load a small amount of orgmode in the init file. This may cause org-compat to be loaded as well. When the agenda didn't work, I quit emacs and then restarted, but the problem persisted. As I indicated, this happened on both my main machine and a laptop. I'm not sure what the sequence was on the laptop. Yes, that is expected when org-copmpat is already loaded: org-no-popups is a macro and macro definitions must be known at compile time. Since the old org-compat without that definition was already loaded, the corresponding require did nothing, so the definition was missing and the byte-compiler was assuming a function that would need to be defined at runtime. Both machines made a miraculous recovery when I deleted the package and then installed it. As I said, that is something that should really be fixed in package manager. -- Achim. (on the road :-)
[O] Agenda bug: 'now' is on the wrong day
It's 1:17am over here. And when I pop up the agenda and then hit 'l', it says: 1:17.. now - - - - - - - - - - - - - - - - - - - - - - - - - but it's on the wrong day: yesterday. I'm running 7.9.2 on emacs 24.2.1 on OS X Thanks, Huy
[O] Agenda bug: q & x keys are swapped?
It seems that org-agenda-quit (q) and org-agenda-exit (x) are swapped. 'q' wants to close my the buffers loaded for the agenda. Strange. I'm running 7.9.2 on emacs 24.2.1 on OS X Thanks, Huy
Re: [O] calculate frequencies in a table with calc
Dear Achim, > Try @6$1=vcount(map(,vflat(@I..@II))) Excellent. Thank you very much! Sincerely, Martin
[O] [Latex+orgmode] #+LaTeX:\printbibliography AND '(:noexport:)
Hello This is my file.org (I use it then with latex: C-c C-e l): #+LaTeX_CLASS:book * First part ** First chapter ** Second chapter '(:noexport:) ** Third chapter '(:noexport:) #+LaTeX: \printbibliography * Second part ** 4th chapter ** 5th chapter As you see, \printbibliography is under the *noexport* tag, and will not appear in the file.tex *How should I do to export the bibliography without creating a new chapter?* Thank you for helping me Celano
Re: [O] Line breaking problem in Description List
Thanks. - *Sanjib Sikder *Ph.D. Fellow Chemical Engineering IIT Bombay* * On Thu, Dec 27, 2012 at 1:46 AM, Thomas S. Dye wrote: > Aloha Sanjib Sikder: > > I think the exporter expects the description label to be on one line. > > If I change your input to this, all is well: > > - This is the big name of my thesis written in undergraduate :: > (/B.E. Thesis. Guide: Prof. x y x, the institute name/) Here is > a description of the above heading spanning two lines. here is a > description of the above heading spanning two lines. here is a > description of the above heading spanning two lines. here is a > description of the above heading spanning two lines. here is a > description of the above heading spanning two lines. > > In my experience, LaTeX doesn't do a great job with long description > labels, so reworking your list to have shorter labels might be a better > way to go. > > hth, > Tom > > Sanjib Sikder writes: > > > Can anyone look into the issue please ? > > > > - > > *Sanjib Sikder > > *Ph.D. Fellow > > Chemical Engineering > > IIT Bombay* > > > > * > > > > > > On Wed, Dec 26, 2012 at 2:42 PM, Sanjib Sikder >wrote: > > > >> Hi, > >> > >> I am facing the following issue. The left hand side of the line (that is > >> the words which are to the left side of :: ) is not breaking in the > >> following Description list > >> > >> + This is the big name of my thesis written in undergraduate * (/B.E. > >>> Thesis. Guide: Prof. x y x, the institute name/) :: Here is a > description > >>> of the above heading spanning two lines. here is a description of the > >>> above heading spanning two lines. here is a description of the above > >>> heading spanning two lines. here is a description of the above heading > >>> spanning two lines. here is a description of the above heading > spanning two > >>> lines. > >> > >> > >> > >> > >> "This is the big name of my thesis written in undergraduate * (/B.E. > >> Thesis. Guide: Prof. x y x, the institute name/)" > >> The above line is not breaking to next line. > >> > >> Help is appreciated. > >> > >> Thakns. > >> > >> > >> - > >> *Sanjib Sikder > >> *Ph.D. Fellow > >> Chemical Engineering > >> IIT Bombay* > >> > >> * > >> > > Can anyone look into the issue please ? > > > > > > - > > Sanjib Sikder > > Ph.D. Fellow > > Chemical Engineering > > IIT Bombay > > > > > > > > > > On Wed, Dec 26, 2012 at 2:42 PM, Sanjib Sikder > > wrote: > > > > Hi, > > > > I am facing the following issue. The left hand side of the line > > (that is the words which are to the left side of :: ) is not > > breaking in the following Description list > > > > + This is the big name of my thesis written in undergraduate * > > (/B.E. Thesis. Guide: Prof. x y x, the institute name/) :: > > Here is a description of the above heading spanning two > > lines. here is a description of the above heading spanning > > two lines. here is a description of the above heading spanning > > two lines. here is a description of the above heading spanning > > two lines. here is a description of the above heading spanning > > two lines. > > > > > > > > > > "This is the big name of my thesis written in undergraduate * > > (/B.E. Thesis. Guide: Prof. x y x, the institute name/)" > > The above line is not breaking to next line. > > > > Help is appreciated. > > > > Thakns. > > > > > > - > > Sanjib Sikder > > Ph.D. Fellow > > Chemical Engineering > > IIT Bombay > > > > > > > > > > > > -- > Thomas S. Dye > http://www.tsdye.com >