Re: [O] convert a simple list of lines each to a orgmode header
I know how to do in vim. Select all text and hit I (uppercase i), then start type. There is also a way in emacs, but I never tried before: https://www.gnu.org/software/emacs/manual/html%5Fnode/emacs/Rectangles.html 2015-09-29 5:30 GMT+02:00 Nick Dokos: > Xebar Saram writes: > > > Hi all > > > > im looking for a simple way to convert a simple list of lines (i can > > mark it first if needed) each to a orgmode header anyone has such a > > way? > > > > Maybe I'm missing something, but can't you just add asterisks in front > of each line? Maybe with a keyboard macro? Or even a sed script? > > There's a reason that org files are plain text. > > Nick > > >
Re: [O] convert a simple list of lines each to a orgmode header
On Monday, 28 Sep 2015 at 19:52, Xebar Saram wrote: > Hi all > > im looking for a simple way to convert a simple list of lines (i can mark > it first if needed) each to a orgmode header > anyone has such a way? Mark the region and then: M-% ^ * SPC The power of org: it's all text (tm)! -- : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.1-203-g4ca3d3
Re: [O] Beamer :BEAMER_envargs: [allowframebreaks] not working
On Monday, 28 Sep 2015 at 22:59, Jeremie Juste wrote: > Hello, > > It's my first post here finally. Most of my questions were answered > before by you.:). I have the lastest version of org mode and search > with the best of my abilities if any had the same issue but couldn't > find anything. > > I have some difficulty with the org-mode variable :BEAMER_envargs. I believe that Allowframebreaks is set using BEAMER_opt, not envargs, in the latest versions of ox-beamer. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.1-203-g4ca3d3
[O] BUG?: LaTeX equation align in orgmode? - even in -Q
Andreas Lehawrites: > Hi Rainer, > > Rainer M Krug writes: >> Hi >> >> I would need in a document several equations which are aligned as in >> http://tex.stackexchange.com/a/167908/6941 >> >> How can I use the following latex formula in orgmode? >> >> \begin{proof} The proof is a follows: >> \begin{align} >> (x+y)^3&=(x+y)(x+y)^2\\ >>&=(x+y)(x^2+2xy+y^2)\\ >>&=x^3+3x^2y+3xy^3+x^3.\qedhere >> \end{align} >> \end{proof} >> >> >> I have effectrively >> >> #+LATEX_HEADER: \usepackage{amsmath} >> >> * The equations >> >> \begin{equation} >> \begin{align} >> (x+y)^3&=(x+y)(x+y)^2\\ >>&=(x+y)(x^2+2xy+y^2)\\ >>&=x^3+3x^2y+3xy^3+x^3.\qedhere >> \end{align} >> \end{equation} >> >> >> but with latex fragment preview (C-c C-x C-l) I only get an empty frame. >> >> How can use this align environment in org? > > This seems to a problem with your setup of preview latex. It > should work just fine. But it doesn't: - I started emacs with -Q - executed the following in scratch to load newest org --8<---cut here---start->8--- ;; Load up Org Mode and Org Babel for elisp embedded in Org Mode files (add-to-list 'load-path "~/.emacs.d/org-mode/lisp") (add-to-list 'load-path "~/.emacs.d/org-mode/contrib/lisp") ;; load up Org-mode and Org-babel (require 'org) --8<---cut here---end--->8--- - pasted this in an org buffer --8<---cut here---start->8--- #+LaTeX_header: \usepackage{amsmath} %% needed explicitely for org-preview-latex * General conditions The general conditions for all parametrizations are the following: \begin{equation} x=\sqrt{b} \end{equation} \begin{equation} \begin{align*} (x+y)^3&=(x+y)(x+y)^2\\ &=(x+y)(x^2+2xy+y^2)\\ &=x^3+3x^2y+3xy^3+x^3.\qedhere \end{align*} \end{equation} \begin{eqnarray*} \hat{f}(x) & \propto & \sum_{\nu} \frac{|F(\nu)H(\nu)|^2}{|N(\nu)|^2} \frac{G(\nu)}{H(\nu)} e^{\frac{2 \pi i \nu x}{N}}\\ & \propto & \sum_{\nu} \frac{|F(\nu)|^2}{|N(\nu)|^2} H(\nu) H^*(\nu) \frac{G(\nu)}{H(\nu)} e^{\frac{2 \pi i \nu x}{N}}\\ & \propto & \sum_{\nu} H^*(\nu) G(\nu) e^{\frac{2 \pi i \nu x}{N}} \end{eqnarray*} --8<---cut here---end--->8--- - did C-c C-x C-l (which runs (org-preview-latex-fragment)) on each formula and I got the attached screenshot [1] , | Org-mode version 8.3.1 (release_8.3.1-283-gf6187d @ /Users/rainerkrug/.emacs.d/org-mode/lisp/) | GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F27)) of 2015-09-29 ` to make sure, I emptied the ltxpng folder - still the same. Could somebody confirm this or give me an idea how I can debug this? Rainer > > For me the following org file works as expected -- also with > previewing the equation. > > #+LaTeX_header: \usepackage{amsmath} %% needed explicitely for > org-preview-latex > > > * Test align > > \begin{align} > (x+y)^3&=(x+y)(x+y)^2\\ >&=(x+y)(x^2+2xy+y^2)\\ >&=x^3+3x^2y+3xy^3+x^3.\qedhere > \end{align} > > I do not seem to have any special setup for previewing latex, > though... > > Sorry to be of no further help. > > Regards, > Andreas > > Footnotes: [1] https://www.dropbox.com/s/z41qyzwakx9yby0/Screenshot.png?dl=0 -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug PGP: 0x0F52F982 signature.asc Description: PGP signature
Re: [O] LaTeX equation align in orgmode?
On Monday, 28 Sep 2015 at 21:10, Rainer M Krug wrote: > Hi > > I would need in a document several equations which are aligned as in > http://tex.stackexchange.com/a/167908/6941 I use align all the time. > How can I use the following latex formula in orgmode? > > \begin{proof} The proof is a follows: > \begin{align} > (x+y)^3&=(x+y)(x+y)^2\\ >&=(x+y)(x^2+2xy+y^2)\\ >&=x^3+3x^2y+3xy^3+x^3.\qedhere > \end{align} > \end{proof} Where is proof defined? You may need to add specific packages to org-latex-packages-alist. In any case, I find that it is safer generally to enclose all LaTeX fragments in a LaTeX block: #+begin_latex ... #+end_latex. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.1-203-g4ca3d3
Re: [O] LaTeX equation align in orgmode?
Nested align in equation is incorrect format. -k. Please excuse brevity. Sent from pocket computer with tiny non-haptic feedback keyboard. On Sep 29, 2015, at 00:06, Andreas Lehawrote: >> >> \begin{equation} >> \begin{align}
[O] SOLVED: LaTeX equation align in orgmode?
Eric S Fragawrites: > On Monday, 28 Sep 2015 at 21:10, Rainer M Krug wrote: >> Hi >> >> I would need in a document several equations which are aligned as in >> http://tex.stackexchange.com/a/167908/6941 > > I use align all the time. > >> How can I use the following latex formula in orgmode? >> >> \begin{proof} The proof is a follows: >> \begin{align} >> (x+y)^3&=(x+y)(x+y)^2\\ >>&=(x+y)(x^2+2xy+y^2)\\ >>&=x^3+3x^2y+3xy^3+x^3.\qedhere >> \end{align} >> \end{proof} > > Where is proof defined? You may need to add specific packages to > org-latex-packages-alist. The proof and the ".\qedhere" Stupid typos. > > In any case, I find that it is safer generally to enclose all LaTeX > fragments in a LaTeX block: #+begin_latex ... #+end_latex. Good idea - but then the preview does not work anymore? Sorry for the noise and thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug PGP: 0x0F52F982 signature.asc Description: PGP signature
Re: [O] Modification dates in Worg
On Mo, 2015-09-28 at 17:04, Ista Zahn wrote: > I've created a worg mirror on github at > https://github.com/izahn/worg-mirror/, so you can see the modification > dates via git-blame. Thank you. That will help me and maybe some other people who follow this thread. Unfortunately it does not solve the general problem. Most people access Worg via HTML. -- Michael Strey http://www.strey.biz * https://twitter.com/michaelstrey
Re: [O] org export outcomes differ from one attempt to the next
Hi, Nicolas Goaziouwrote: > Hello, > > Eric S Fraga writes: > > > Actually, my settings are at the end of the whole 4000+ line file > > so I am not sure what you are suggesting I try. If I delete the > > whole settings subtree, the exports all result in the same LaTeX. > > However, that is of no use to me, obviously. I guess I can try to > > add one line at a time to see when the export breaks. I may try > > that tomorrow. > > Providing a shorter test file would be helpful, no matter how much > settings you have. > > > I guess I would like some insight into how the latex_header lines > > are parsed by org, maybe in org-element? > > They are collected in `org-export--get-inbuffer-options' which is > called by `org-export-get-environment'. > > IIRC, Robert Klein's problem was due to an explicit call to > `org-export-get-environment' at Babel evaluation time, before the > buffer was correctly prepared for export. If you call > `org-export-get-environment' within your settings, it may be related. is there another way to get property values during export (i use them in #+LaTeX_Header: lines). Thanks and best regards Robert
Re: [O] convert a simple list of lines each to a orgmode header
On Mo, 2015-09-28 at 18:52, Xebar Saram wrote: > im looking for a simple way to convert a simple list of lines (i can > mark it first if needed) each to a orgmode header > anyone has such a way? Mark the region and press C-c *. -- Michael Strey http://www.strey.biz * https://twitter.com/michaelstrey
Re: [O] convert a simple list of lines each to a orgmode header
> Xebar Saramwrites: > >> Hi all >> >> im looking for a simple way toconvert a simple list of lines (i can >> mark it first if needed) each to a orgmode header anyone has such a >> way? >> > > Maybe I'm missing something, but can't you just add asterisks in front > of each line? Maybe with a keyboard macro? Or even a sed script? > > There's a reason that org files are plain text. > > Nick Mark the region and do `C-c *'? Yours, Christian
Re: [O] convert a simple list of lines each to a orgmode header
Hi Nick well yes i guess :) . but would be cool if this small function was org aware and thus the asteriks (org header) level would be auto set to the current sub level. thx z On Tue, Sep 29, 2015 at 6:30 AM, Nick Dokoswrote: > Xebar Saram writes: > > > Hi all > > > > im looking for a simple way to convert a simple list of lines (i can > > mark it first if needed) each to a orgmode header anyone has such a > > way? > > > > Maybe I'm missing something, but can't you just add asterisks in front > of each line? Maybe with a keyboard macro? Or even a sed script? > > There's a reason that org files are plain text. > > Nick > > >
[O] "Symbol’s value as variable is void: compile" when export to latex
Exporting to latex of the simple file below results in an error: , | mapcar: Symbol’s value as variable is void: compile ` --8<---cut here---start->8--- #+LATEX_CLASS: article #+LATEX_CLASS_OPTIONS: #+LATEX_HEADER: #+LATEX_HEADER_EXTRA: #+DESCRIPTION: #+KEYWORDS: #+SUBTITLE: #+LATEX_COMPILER: pdflatex #+DATE: \today * Emacs version #+begin_src emacs-lisp (emacs-version) #+end_src #+RESULTS: : GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F27)) : of 2015-09-29 #+begin_src emacs-lisp (org-version) #+end_src #+RESULTS: : 8.3.1 Org-mode version 8.3.1 (release_8.3.1-283-gf6187d @ /Users/rainerkrug/.emacs.d/org-mode/lisp/) PS: how do I get this output from a source block above? --8<---cut here---end--->8--- , | Debugger entered--Lisp error: (void-variable compile) | #[(pkg) "<\205. \3038\211.\205. \304\n<\203. \202. C\"?)?\205\".\207" [pkg third compile 3 member-ignore-case] 4](("AUTO" "inputenc" t ("pdflatex"))) | mapcar(#[(pkg) "<\205. \3038\211.\205. \304\n <\203. \202. C\"?)?\205\".\207" [pkg third compile 3 member-ignore-case] 4] (("AUTO" "inputenc" t ("pdflatex")) ("T1" "fontenc" t ("pdflatex")) ("" "graphicx" t) ("" "grffile" t) ("" "longtable" nil) ("" "wrapfig" nil) ("" "rotating" nil) ("normalem" "ulem" t) ("" "amsmath" t) ("" "textcomp" t) ("" "amssymb" t) ("" "capt-of" nil) ("" "hyperref" nil))) | org-latex--remove-packages((("AUTO" "inputenc" t ("pdflatex")) ("T1" "fontenc" t ("pdflatex")) ("" "graphicx" t) ("" "grffile" t) ("" "longtable" nil) ("" "wrapfig" nil) ("" "rotating" nil) ("normalem" "ulem" t) ("" "amsmath" t) ("" "textcomp" t) ("" "amssymb" t) ("" "capt-of" nil) ("" "hyperref" nil)) (:export-options nil :input-buffer "test.org" :input-file "/Users/rainerkrug/tmp/test.org" :latex-class "article" :latex-class-options "" :latex-header "" :latex-header-extra "" :description nil :keywords nil :subtitle nil :latex-active-timestamp-format "\\textit{%s}" :latex-caption-above (table) :latex-classes (("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) :latex-default-figure-position "htb" :latex-default-table-environment "tabular" :latex-default-table-mode table :latex-diary-timestamp-format "\\textit{%s}" :latex-footnote-separator "\\textsuperscript{,}\\," :latex-format-drawer-function (lambda (name contents) contents) :latex-format-headline-function org-latex-format-headline-default-function :latex-format-inlinetask-function org-latex-format-inlinetask-default-function :latex-hyperref-template "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},\n pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}}\n" :latex-image-default-height "" :latex-image-default-option "" :latex-image-default-width ".9\\linewidth" ...)) | org-latex--make-header((:export-options nil :input-buffer "test.org" :input-file "/Users/rainerkrug/tmp/test.org" :latex-class "article" :latex-class-options "" :latex-header "" :latex-header-extra "" :description nil :keywords nil :subtitle nil :latex-active-timestamp-format "\\textit{%s}" :latex-caption-above (table) :latex-classes (("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) :latex-default-figure-position "htb" :latex-default-table-environment "tabular" :latex-default-table-mode table :latex-diary-timestamp-format "\\textit{%s}" :latex-footnote-separator "\\textsuperscript{,}\\," :latex-format-drawer-function (lambda (name contents) contents) :latex-format-headline-function
[O] :EXPORT tags in property drawer not recognised in org 8.3
Dear Org experts, I am having some problems with exporting in org 8.3.1. I've been using :PROPERTIES to control export of a heading, e.g. :PROPERTIES: :EXPORT_LaTeX_HEADER+: \usepackage{array} :EXPORT_LaTeX_HEADER+: \usepackage{tikz} :EXPORT_LATEX_HEADER+: \usepackage{geometry} :EXPORT_TITLE: title :EXPORT_FILE_NAME: file.pdf :END: However I realised that they are not correctly recognised in the latex output. Any advice? Thanks, Zhihao
Re: [O] undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot
Nick Dokoswrites: > Dave Marquardt writes: > >> I attempted to plot a table after installing the 20150928 ELPA package, >> and got >> >> Debugger entered--Lisp error: (void-function org-export-create-backend) >> org-export-create-backend(:parent org :transcoders ((table lambda >> (table contents info) (concat nil contents nil)) (table-row lambda >> (row contents info) (if (eq (org-element-property :type row) (quote >> rule)) nil (let ((headerp (org-export-table-row-in-header-p row info)) >> (lastp (not (org-export-get-next-element row info))) (last-header-p >> (org-export-table-row-ends-header-p row info))) (when contents (cond >> nil nil nil (t (concat ...))) (table-cell lambda (cell contents >> info) (let ((headerp (org-export-table-row-in-header-p >> (org-export-get-parent-element cell) info)) (column (1+ (cdr >> (org-export-table-cell-address cell info) nil (when contents nil >> (cond nil (t (setq contents (funcall ... contents) (if (or nil >> (plist-get info :orgtbl-ignore-sep) (not (org-export-get-next-element >> cell info))) contents (concat contents " " (macro lambda (m c >> i) (org-element-macro-interpreter m nil >> orgtbl-to-generic((("*Total time*" "*4:11*" "" "100.0") ("Time" >> "4:11" "" "100.0") ("CMVC" "" "0:21" "8.4") ("Connections" "" "0:23" >> "9.2") ("DAT" "" "0:02" "0.8") ("Defects" "" "1:24" "33.5") >> ("developerWorks" "" "0:02" "0.8") ("Mail" "" "0:39" "15.5") ("RDS" "" >> "0:06" "2.4") ("SDB" "" "0:01" "0.4") ("SDN" "" "0:01" "0.4") ("SMC-R" >> "" "0:01" "0.4") ("Startup" "" "0:27" "10.8") ("TCP" "" "0:02" "0.8") >> ("Team" "" "0:42" "16.7")) (:sep " " :fmt org-plot-quote-tsv-field >> :plot-type 2d :with histograms :ind 1 :labels ("Headline" "Time" "" >> "%") :set ("style fill solid") :deps (4))) >> org-plot/gnuplot-to-data((("*Total time*" "*4:11*" "" "100.0") >> ("Time" "4:11" "" "100.0") ("CMVC" "" "0:21" "8.4") ("Connections" "" >> "0:23" "9.2") ("DAT" "" "0:02" "0.8") ("Defects" "" "1:24" "33.5") >> ("developerWorks" "" "0:02" "0.8") ("Mail" "" "0:39" "15.5") ("RDS" "" >> "0:06" "2.4") ("SDB" "" "0:01" "0.4") ("SDN" "" "0:01" "0.4") ("SMC-R" >> "" "0:01" "0.4") ("Startup" "" "0:27" "10.8") ("TCP" "" "0:02" "0.8") >> ("Team" "" "0:42" "16.7")) "/tmp/org-plot18132EYn" (:plot-type 2d >> :with histograms :ind 1 :labels ("Headline" "Time" "" "%") :set >> ("style fill solid") :deps (4))) >> org-plot/gnuplot() >> call-interactively(org-plot/gnuplot record nil) >> command-execute(org-plot/gnuplot record) >> execute-extended-command(nil "org-plot/gnuplot") >> call-interactively(execute-extended-command nil nil) >> >> org-table.el has a declare-function call that points to a "org-export" >> file, but I don't find such a file in either the code installed by ELPA >> or the daily snapshot: >> >> (declare-function org-export-create-backend "org-export" ( rest)) >> >> Calling org-plot/gnuplot worked last week, before I upgraded to 20150928. >> >> -Dave > > This sounds like a mixed installation: different versions of org > installed and you are picking up bits from both of them. > Search the list for "mixed installation", e.g. check out > > http://thread.gmane.org/gmane.emacs.orgmode/68240/focus=68265 > > and the link therein: > > http://orgmode.org/worg/org-faq.html#mixed-install Yes, I've run into that issue before. I specifically removed the org installation that was provided with Gnu Emacs 24.3.2 some time back. I went back and looked at whether that was an issue here, and I discovered some .elc files had crept into the Emacs directory tree, so I removed them. When I check each org function in the backtrace, each function definition is in a file in my ELPA installation. orgtbl-to-generic is in ~/.emacs.d/elpa/org-20150928/org-table.el org-plot/gnuplot-to-data is in ~/.emacs.d/elpa/org-20150928/org-plot.el org-plot/gnuplot is in ~/.emacs.d/elpa/org-20150828/org-plot.el I checked the Git tree, and saw the change that was made related to the declare-function definitions. From the doc information on declare-function, it's not clear to me this does anything at run time. It references "org-export", and I don't see that when I grab the Git tree. Is "org-export" a file built by the make process? Is this just a problem with the ELPA installation? I'm going to try removing and reinstalling the ELPA package, then if that doesn't change anything, try instaling from the Git tree. -Dave
Re: [O] convert a simple list of lines each to a orgmode header
Christian is correct. Selecting a region and doing `C-c *` *does* work. Please ignore my earlier email. I mixed up some command in org that did not work over region with `C-c *` :) -- Kaushal Modi On Tue, Sep 29, 2015 at 3:17 AM, Manuel Koellwrote: > I know how to do in vim. Select all text and hit I (uppercase i), then > start type. > There is also a way in emacs, but I never tried before: > > https://www.gnu.org/software/emacs/manual/html%5Fnode/emacs/Rectangles.html > > 2015-09-29 5:30 GMT+02:00 Nick Dokos : > >> Xebar Saram writes: >> >> > Hi all >> > >> > im looking for a simple way to convert a simple list of lines (i can >> > mark it first if needed) each to a orgmode header anyone has such a >> > way? >> > >> >> Maybe I'm missing something, but can't you just add asterisks in front >> of each line? Maybe with a keyboard macro? Or even a sed script? >> >> There's a reason that org files are plain text. >> >> Nick >> >> >> >
Re: [O] LaTeX equation align in orgmode?
Rainer, Eric S Fragawrites: > On Monday, 28 Sep 2015 at 21:10, Rainer M Krug wrote: >> I would need in a document several equations which are aligned as in >> http://tex.stackexchange.com/a/167908/6941 > > I use align all the time. align is defined in amsmath. amsmath is loaded by default by org. I use amsmath extensively and there's no problem. I don't escape my math environments and IMO you shouldn't as they would then be ignored by ox-odt and ox-html. As Eric point out you'd typically use amsthm for proofs. You need to add this to your document. The proof env. is predefined in amsthm, though. Hope it helps, Rasmus -- Sådan en god dansk lagereddike kan man slet ikke bruge mere
[O] bug: latex exporter
Since Monday morning (New York time) I have not been able to export to pdflatex (worked OK the night before). Instead the message buffer reads symbol's value as variable is void - compile GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Org-mode version 8.3.1 (release_8.3.1-283-gf6187d @ /usr/share/emacs/site-lisp/org-mode/lisp/) Charlie Millar
Re: [O] convert a simple list of lines each to a orgmode header
I realized that the default binding `C-c *` works only on the current line, not the whole selection (and the same applies to the opposite `C-c -`). It would be great to have those commands work over a region too. But in the meanwhile, you can do either of the below: - Simply select the region and use `query-replace-regexp`. - Use a combination of keyboard macros and `C-c *`. - Use `multiple-cursors`. - Any other multiple editing method you might prefer. -- Kaushal Modi On Sep 29, 2015 6:06 AM, "Xebar Saram"wrote: > Hi Nick > > well yes i guess :) . but would be cool if this small function was org > aware and thus the asteriks (org header) level would be auto set to the > current sub level. > > thx > > z > > On Tue, Sep 29, 2015 at 6:30 AM, Nick Dokos wrote: > >> Xebar Saram writes: >> >> > Hi all >> > >> > im looking for a simple way to convert a simple list of lines (i can >> > mark it first if needed) each to a orgmode header anyone has such a >> > way? >> > >> >> Maybe I'm missing something, but can't you just add asterisks in front >> of each line? Maybe with a keyboard macro? Or even a sed script? >> >> There's a reason that org files are plain text. >> >> Nick >> >> >> >