[Orgmode] conditional export based on target
Is there something like conditional export? I'd like to use tikz when exporting to latex but my own hand-made ascii drawing when exporting to ascii/latin1/utf8. -- Ezequiel Birman ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output
Hey Matthew, Thanks for the pointers. I toyed with it a bit but that wasn't very successful. > That is odd. texi2dvi should default to using regular latex. You usually > have to pass a -p option or use the alias texi2pdf in order to use > pdflatex. It does default to latex, what I meant was that it default to pdflatex with org-mode current setup. > It might be that you have a LATEX environment variable set. In any case, you > can alter this behaviour by setting the LATEX environment variable, e.g. > setting the variable LATEX=xelatex will make texi2dvi use xelatex instead of > regular latex. Setting the variable LATEX=xelatex indeed makes the compilation goes via xelatex. However, texi2dvi seems to expect a .dvi to be generated (which xelatex does not do) and thus fail to compile. > Finally, regarding .eps files, note that the latest version of pdflatex can > handle .eps graphics without having to go through the latex->dvips->ps2pdf > route so it might be worth your while upgrading. Failing that, you can put \ > usepackage{epstopdf} in your preamble and then older versions of pdflatex will > work just fine. pdflatex -v , | pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Arch Linux) ` and still none of the above work. .eps file still require latex. Nevermind though, the "#+LATEX_CMD" approach that is mentionned in my previous post in this thread does the job. :-) Emacs ought to be customized by the user! -- Bruno ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Header levels and section numbering > 3, in LaTeX export
Thanks Scot, exactlt what I was looking for, and I was actually deliberating on the Tractacus! I couldn't get easylist to understand the \star symbol that orgmode uses. Do you know how to do that? And also to skip the first 3 stars in a level4 heading (if I want to retain latex's default top 3 levels)? Indraneel On 2010-10-07 3:15, Scot Becker wrote: And if you just want deeply nested numbered paragraphs, like lists. You might try the Easylist package: http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/easylist.html You'd have to do a tweak or to to get org-mode to export to easylist, but it shouldn't be too complicated, since easylist takes its input in a format almost exactly like org's native outline structure. Scot On Wed, Oct 6, 2010 at 6:38 AM, Nick Dokos wrote: Kai wrote: With a .org file having headers 4-5 levels deep (e.g. This Section), I'd like the LaTeX export to treat it as a subsubsubsection with numbering, e.g. 1.1.1.1. But no luck, and I'm not sure whether I'm doing something wrong with org-mode, or need to customize my LaTeX template. In the org file I have: #+OPTIONS: H:5 num:t ...which does give the TeX markup of \label{sec-1_1_1_1} in the .tex file, but the header text is wrapped in a \paragraph{The Header}, instead of \subsubsubsection{The Header}. Is there a way to have the org-mode LaTeX export mark that up as a subsubsubsection? I'm using the org-mode trunk. Thanks in advance for any help, This is a LaTeX limitation (if you want to call it that), not an orgmode one. See http://www.tex.ac.uk/cgi-bin/texfaq2html?label=subsubsub for some workarounds/comments/references (but be prepared for at least some strangeness). HTH, Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Tracking time with MobileOrg
Hi Jeff, I'm glad you mentioned this. It is on my list of things to work on next. I still need to coordinate it with Carsten to make sure the approach is sound and that he can support me by updating org-mobile.el. My plan for the UI is this: - Two methods to clock in a new task: First, you can tap and hold on a node, then click the 'Clock in' button. Alternatively, you can open up the node details page and click a similar 'Clock in' button. - To clock out, you can use the same method, but the button would say 'Clock out' instead. Since it would be tedious to find the current clocking item, I'm considering... - A tab/icon at the bottom for Clocking (like the 4 existing icons at the bottom). I may make it optional in the Settings page. If you are clocking, there will be an indicator on the icon letting you know so, perhaps by overlaying the clock time on the icon somehow. - If you click on the clocking icon at the bottom, a list of recently clocked tasks will be shown, with the active one being highlighted. You can stop the running clock, or start the clock on any of your recent items. When you sync and run org-mobile-pull, the time logs would be added to the correct nodes (I'll need Carsten or a volunteer to help me integrate this part). I believe this workflow would make it easy to clock in (either by navigating to the node in the outline, searching for it on the Search page, or identifying a recently clocked item) and clock out. I haven't covered any type of reporting within the app, I was hoping to keep things relatively simple. But if there is a need for this let me know. Perhaps clicking on an entry in the recently clocked list could display the start/stop times and some summary info. Let me know what you think, it would help to have some feedback on the workflow before I begin. Thanks, Richard On Oct 6, 2010, at 2:41 PM, Jeff Kowalczyk wrote: > Can the current version of MobileOrg be used for a simple time tracking > workflow? (i.e. does it have an easy clock in and clock out?) > > My wife has a need for a simple time tracking application on the iPhone. The > only number needed is total hours spent per period (e.g. month) on one task, > the > full-time job. > > I use Org Mode for my own worklogs, and would do any necessary pre-templating > and post-processing on the resultant Org file, if a rapid-capture strategy can > be worked out for MobileOrg. > > Given how much I use and like Org Mode myself, I'd be really pleased if we can > work with Org as a file format for this application, rather than some > closed-source app. > > Thanks, > Jeff > > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Header levels and section numbering > 3, in LaTeX export
And if you just want deeply nested numbered paragraphs, like lists. You might try the Easylist package: http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/easylist.html You'd have to do a tweak or to to get org-mode to export to easylist, but it shouldn't be too complicated, since easylist takes its input in a format almost exactly like org's native outline structure. Scot On Wed, Oct 6, 2010 at 6:38 AM, Nick Dokos wrote: > Kai wrote: > >> With a .org file having headers 4-5 levels deep (e.g. This >> Section), I'd like the LaTeX export to treat it as a subsubsubsection >> with numbering, e.g. 1.1.1.1. But no luck, and I'm not sure whether >> I'm doing something wrong with org-mode, or need to customize my LaTeX >> template. In the org file I have: >> >> #+OPTIONS: H:5 num:t >> >> ...which does give the TeX markup of \label{sec-1_1_1_1} in the .tex >> file, but the header text is wrapped in a \paragraph{The Header}, >> instead of \subsubsubsection{The Header}. >> >> Is there a way to have the org-mode LaTeX export mark that up as a >> subsubsubsection? I'm using the org-mode trunk. Thanks in advance >> for any help, >> > > This is a LaTeX limitation (if you want to call it that), not an orgmode > one. See > > http://www.tex.ac.uk/cgi-bin/texfaq2html?label=subsubsub > > for some workarounds/comments/references (but be prepared for at least some > strangeness). > > HTH, > Nick > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output
> How about introducing a "#+LATEX_CMD:" option in org-mode? (and default > to pdflatex) Yes, please! I use xelatex almost exclusively since it has unicode support for non-latin scripts. And increasingly, some will presumably want to use LuaTeX, which I'm told is slated to replace pdflatex in the longer term as the standard latex processing engine. Scot ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: "No link found" error during export of source block when headline has link
This issue should now be fixed. Best -- Eric Michael Brand writes: >>> * [[http://www.example.com][example]] > > There is an other issue with this, let me name it issue2: It is not yet > possible to link to such a heading with something like e. g. > > [[*%5b%5bhttp://www.example.com%5d%5bexample%5d%5d][example]] > > although I think the syntax is not ambiguous and allows to do this or am I > wrong here? > > CUSTOM_ID could be used in this case but for me it would only be a > workaround. I tried to fix issue2 by changing org-link-re-with-space3 but > all my trials that solved issue2 introduced new issues with other link > types. Can someone please help? Am I on the wrong path with > org-link-re-with-space3? > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [Dev] Org-mode Test Framework
Hi Nick, Thanks for noticing these points, I've pushed up fixes for both. -- Eric Nick Dokos writes: > Eric Schulte wrote: > >> A test framework based on ert [1] is now included in the testing >> directory of the org-mode repository. Directions for use are included >> in testing/README.org. >> >> This is based on work by Sebastian Rose and myself. >> >> Enjoy -- Eric >> >> Footnotes: >> [1] http://github.com/ohler/ert >> > > Thanks to both of you for doing this! > > A couple of small things for the README: > > o I needed to add the testing directory to my load-path. Without it, > org-test-load barfed in the (require 'org-test-ob-consts) when loading > testing/lisp/test-ob-exp.el. > > o I needed to create testing/contrib/lisp by hand. Again, org-test-load > complained without it. Should that be part of the repository? > > Thanks, > Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [org-babel] :no-expand header expands noweb refs
Hi, The ":noweb yes" header argument will expand noweb references during both tangling and weaving. I've added another noweb header argument "tangle" which will expand noweb header arguments during tangling but not during weaving(export), so replacing ":noweb yes" with ":noweb tangle" in your example below should result in the desired behavior. Best -- Eric aditya siram writes: > It appears I misread the manual. 'no-expand' works only for tangling - > but my original question stands. Is there a header that provides this > feature for weaving with links to the chunk like a noweb document? > > -deech > > On Tue, Oct 5, 2010 at 10:12 PM, aditya siram wrote: >> Hi all, >> I may have understood the :no-expand header incorrectly, but I thought >> it suppressed expanding noweb references while exporting but seems to >> expand them. >> For example I have an org file that looks like this (simplified) : >> * Root >> #+begin_src fundamental :noweb yes :no-expand :tangle Root.txt >> <> >> <> >> #+end_src >> * Chunk 1 >> #+source: Chunk1 >> #+begin_src fundamental >> code for chunk 1 >> #+end_src >> * Chunk 2 >> #+source: Chunk2 >> #+begin_src fundamental >> code for chunk 2 >> #+end_src >> >> When I 'org-export-as-ascii-to-buffer' I expect this : >> Root >> >> >> Table of Contents >> = >> >> >> 1 Root >> ~~~ >> <> >> <> >> ... >> >> But I get this: >> Root >> >> >> Table of Contents >> = >> 1 Root >> 2 ... >> >> >> 1 Root >> ~~~ >> >> code for chunk 1 >> code for chunk 2 >> ... >> >> >> Thanks for the help! >> -deech >> > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [Dev] Org-mode Test Framework
Fixed, Thanks Nick Dokos writes: > ... and a typo on line 24 of README.org: just->jump. > > Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] How do I convert org to OpenOffice?
Hi Eric! Eric S Fraga writes: > org document > -> export as HTML (C-c e h) > -> open in OOo > -> select and copy all (C-a C-c) > -> open new document in OOo (A-f n t [I believe]) > -> paste selection (C-v) > -> save (in my case, often as MS Word) > -> go and cry because you have to degrade org mode so much ;-) 1. export should be "C-c C-e h" 2. My BibTeX references are not exported. Am I missing something or is it not possible this way? 3. How could I have some sort of version control? My advisor uses the accursed MS Word and that is all he knows. Thanks, HP -- Henri-Paul Indiogine Email: hindiog...@gmail.com Skype: hindiogine Website: http://people.cehd.tamu.edu/~sindiogine ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output
That is odd. texi2dvi should default to using regular latex. You usually have to pass a -p option or use the alias texi2pdf in order to use pdflatex. It might be that you have a LATEX environment variable set. In any case, you can alter this behaviour by setting the LATEX environment variable, e.g. setting the variable LATEX=xelatex will make texi2dvi use xelatex instead of regular latex. Finally, regarding .eps files, note that the latest version of pdflatex can handle .eps graphics without having to go through the latex->dvips->ps2pdf route so it might be worth your while upgrading. Failing that, you can put \usepackage{epstopdf} in your preamble and then older versions of pdflatex will work just fine. Best, Matt Leifer On 6 October 2010 10:36, Bruno Tavernier wrote: > Just tried the texi2dvi command that is nice, one problem though, it > only makes use of pdflatex. > > In certain situations, I like to use latex+ps2pdf (some journals ask for > .eps image file) or xelatex when mixing several fonts and writing in > UTF-8 is mandatory, for example French + Japanese, Chinese, Hindi, etc. > > Currently I used the function below that I hook to the org-export-latex > process. > > AFAIK, providing one use few packages, a .tex file to be used with > pdflatex can be similar to one to be used with xelatex. The content of > the document (UTF-8 characters) will make the difference. > > To circumvent this problem, considering pdflatex as the default option, > I add to the org file a: > "#+LATEX_CMD: xelatex" or "#+LATEX_CMD: latex" > > Note: bibtex and glossaries compilation are detected by their call, > e.g. \bibliography > > How about introducing a "#+LATEX_CMD:" option in org-mode? (and default > to pdflatex) > > , > | ; Perform a 2 or 3 xe/pdf/latex compilation > | ; tex: tex + (glossaries) + (bibtex + tex) + tex > | > | (defun my-auto-tex-cmd () > | "Automatically select the tex command to apply." > | (let ((texcmd) (bibtexcmd) (glossariescmd) (dvi2pdfcmd)) > | ; default command > | (setq texcmd "pdflatex -interaction nonstopmode %f;") > | ; latex -> .dvi (for .eps images) > | (if (string-match "LATEX_CMD: latex" (buffer-string)) > | (progn > | (setq texcmd "latex -interaction nonstopmode %f;") > | (setq dvi2pdfcmd "dvips %b.dvi; ps2pdf %b.ps")) > | ; xelatex -> .pdf > | (if (string-match "LATEX_CMD: xelatex" (buffer-string)) > | (setq texcmd "xelatex -interaction nonstopmode %f;"))) > | ; first tex compilation command > | (setq org-latex-to-pdf-process (list texcmd)) > | ; look for glossaries call > | (if (string-match "makeglossaries" (buffer-string)) > | (progn > | (setq glossariescmd "makeindex -s %b.ist -t %b.glg -o %b.gls > %b.glo;") > | (setq org-latex-to-pdf-process > | (nconc org-latex-to-pdf-process (list glossariescmd) > | ; look for bibtex call > | (if (string-match "bibliography" (buffer-string)) > | (progn > | (setq bibtexcmd (concat "bibtex %b; " texcmd)) > | (setq org-latex-to-pdf-process > | (nconc org-latex-to-pdf-process (list bibtexcmd) > | ; last tex compilation command > | (setq org-latex-to-pdf-process > | (nconc org-latex-to-pdf-process (list texcmd))) > | ; dvi -> pdf > | (if dvi2pdfcmd > | (setq org-latex-to-pdf-process > | (nconc org-latex-to-pdf-process (list dvi2pdfcmd)) > | > | (add-hook 'org-export-latex-after-initial-vars-hook 'my-auto-tex-cmd) > ` > > > That also allow for customisation of the export of packages, for instance: > > , > | ; Default packages > | (setq org-export-latex-packages-alist > | '(("" "graphicx" t) > | ("" "longtable" nil) > | ("" "amssymb" t) > | ("" "color" t) > | ("pdfborder=0" "hyperref" nil) > | ("" "float" nil))) > | > | ; Custom packages > | (defun my-auto-tex-parameters () > | "Automatically select the tex packages." > | ; Default pdflatex > | (setq org-export-latex-default-packages-alist > | '(("AUTO" "inputenc" t))) > | ; Look for xelatex call > | (if (string-match "LATEX_CMD: xelatex" (buffer-string)) > | (setq org-export-latex-default-packages-alist > | '(("" "fontspec" t > | > | (add-hook 'org-export-latex-after-initial-vars-hook > 'my-auto-tex-parameters) > ` > > > -- > Bruno > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output
Just tried the texi2dvi command that is nice, one problem though, it only makes use of pdflatex. In certain situations, I like to use latex+ps2pdf (some journals ask for .eps image file) or xelatex when mixing several fonts and writing in UTF-8 is mandatory, for example French + Japanese, Chinese, Hindi, etc. Currently I used the function below that I hook to the org-export-latex process. AFAIK, providing one use few packages, a .tex file to be used with pdflatex can be similar to one to be used with xelatex. The content of the document (UTF-8 characters) will make the difference. To circumvent this problem, considering pdflatex as the default option, I add to the org file a: "#+LATEX_CMD: xelatex" or "#+LATEX_CMD: latex" Note: bibtex and glossaries compilation are detected by their call, e.g. \bibliography How about introducing a "#+LATEX_CMD:" option in org-mode? (and default to pdflatex) , | ; Perform a 2 or 3 xe/pdf/latex compilation | ; tex: tex + (glossaries) + (bibtex + tex) + tex | | (defun my-auto-tex-cmd () | "Automatically select the tex command to apply." | (let ((texcmd) (bibtexcmd) (glossariescmd) (dvi2pdfcmd)) | ; default command | (setq texcmd "pdflatex -interaction nonstopmode %f;") | ; latex -> .dvi (for .eps images) | (if (string-match "LATEX_CMD: latex" (buffer-string)) | (progn | (setq texcmd "latex -interaction nonstopmode %f;") | (setq dvi2pdfcmd "dvips %b.dvi; ps2pdf %b.ps")) | ; xelatex -> .pdf | (if (string-match "LATEX_CMD: xelatex" (buffer-string)) | (setq texcmd "xelatex -interaction nonstopmode %f;"))) | ; first tex compilation command | (setq org-latex-to-pdf-process (list texcmd)) | ; look for glossaries call | (if (string-match "makeglossaries" (buffer-string)) | (progn | (setq glossariescmd "makeindex -s %b.ist -t %b.glg -o %b.gls %b.glo;") | (setq org-latex-to-pdf-process | (nconc org-latex-to-pdf-process (list glossariescmd) | ; look for bibtex call | (if (string-match "bibliography" (buffer-string)) | (progn | (setq bibtexcmd (concat "bibtex %b; " texcmd)) | (setq org-latex-to-pdf-process | (nconc org-latex-to-pdf-process (list bibtexcmd) | ; last tex compilation command | (setq org-latex-to-pdf-process | (nconc org-latex-to-pdf-process (list texcmd))) | ; dvi -> pdf | (if dvi2pdfcmd | (setq org-latex-to-pdf-process | (nconc org-latex-to-pdf-process (list dvi2pdfcmd)) | | (add-hook 'org-export-latex-after-initial-vars-hook 'my-auto-tex-cmd) ` That also allow for customisation of the export of packages, for instance: , | ; Default packages | (setq org-export-latex-packages-alist | '(("" "graphicx" t) | ("" "longtable" nil) | ("" "amssymb" t) | ("" "color" t) | ("pdfborder=0" "hyperref" nil) | ("" "float" nil))) | | ; Custom packages | (defun my-auto-tex-parameters () | "Automatically select the tex packages." | ; Default pdflatex | (setq org-export-latex-default-packages-alist | '(("AUTO" "inputenc" t))) | ; Look for xelatex call | (if (string-match "LATEX_CMD: xelatex" (buffer-string)) | (setq org-export-latex-default-packages-alist | '(("" "fontspec" t | | (add-hook 'org-export-latex-after-initial-vars-hook 'my-auto-tex-parameters) ` -- Bruno ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Tracking time with MobileOrg
> Can the current version of MobileOrg be used for a simple time tracking > workflow? (i.e. does it have an easy clock in and clock out?) I very much second the request to support time tracking in MobileOrg. For me, this would be the single most useful extension of MobileOrg. ilya ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Tracking time with MobileOrg
Jeff Kowalczyk wrote: Can the current version of MobileOrg be used for a simple time tracking workflow? (i.e. does it have an easy clock in and clock out?) I do not believe so, but I will put in my vote for this being a really, really good idea. My wife has a need for a simple time tracking application on the iPhone. The only number needed is total hours spent per period (e.g. month) on one task, the full-time job. I use Org Mode for my own worklogs, and would do any necessary pre-templating and post-processing on the resultant Org file, if a rapid-capture strategy can be worked out for MobileOrg. Given how much I use and like Org Mode myself, I'd be really pleased if we can work with Org as a file format for this application, rather than some closed-source app. Thanks, Jeff ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Tracking time with MobileOrg
Can the current version of MobileOrg be used for a simple time tracking workflow? (i.e. does it have an easy clock in and clock out?) My wife has a need for a simple time tracking application on the iPhone. The only number needed is total hours spent per period (e.g. month) on one task, the full-time job. I use Org Mode for my own worklogs, and would do any necessary pre-templating and post-processing on the resultant Org file, if a rapid-capture strategy can be worked out for MobileOrg. Given how much I use and like Org Mode myself, I'd be really pleased if we can work with Org as a file format for this application, rather than some closed-source app. Thanks, Jeff ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Quoting formula "cookies" in table?
Carsten Dominik writes: > (setq org-table-formula-evaluate-inline nil) > > might do this - I am not completely sure Unfortunately it doesn't. For starters I seem to need to set this globally (tried to make it buffer-local, but that didn't work). I can then tab through the table without getting funny #+TBLFM lines, but any function that tries to re-calculate formulas still barfs. Somewhere in the HTML export function this still happens (not quite sure where), so the export result is again mangled. While rummaging around in the source files I've probably found a dead function: org-export-splice-style is defined in org-html, but I can find no calls to it. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bibtex and latex export
Hi Eric, Eric S Fraga writes: > | /usr/bin/texi2dvi: Processing /home/ucecesf/.../file.tex ... > | egrep: Invalid range end > | /usr/bin/texi2dvi: cannot read .//home/ucecesf/.../file.tex, skipping. Something somewhere tries to make a local path from an absolute one by prepending "./", which fails (predictably). Is the input readable at the original path? Not sure the error message from egrep has to do with it or not, but it must be in any case one of the processes started by texi2dvi (does not show up on my system, I only have calls to grep when I trace it, but one of the sub-processes might still use it). I think texi2dvi also invokes shell scripts, so any funny configuration in the environment, especially where path points to, could throw it off. HTH, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bibtex and latex export
On Oct 6, 2010, at 5:02 PM, Eric S Fraga wrote: On Wed, 06 Oct 2010 13:30:30 +0200, Sébastien Vauban > wrote: Hi Rafael and Erik, Erik Iverson wrote: Rafael Calsaverini wrote: Hi there, I'm trying to use org-mode to compose latex documents and I'm having a problem with bibtex. When I export to pdf with C-c C-e p, pdflatex runs and everything works gracefully with respect to the latex code (the output is even prettier than I used to have patience to do only with latex), but bibtex isn't called. I've just now looked into the org-latex.el file, and found: (defcustom org-latex-to-pdf-process '("pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f") "Commands to process a LaTeX file to a PDF file. [...] Looks like you can just customize that variable, easy! FYI, this should be fixed now. Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode Hello, between yesterday and today, something changed that no longer allows me to create PDFs from my org files, causing momentary panic as I making the final changes to a lecture I had to give this morning -- luckily, latex export worked just fine. Reading between the lines, I gather it is the change to org-latex-to-pdf-process that has caused me problems. The output I get when the export takes place is: , | /usr/bin/texi2dvi: Processing /home/ucecesf/.../file.tex ... | egrep: Invalid range end | /usr/bin/texi2dvi: cannot read .//home/ucecesf/.../file.tex, skipping. ` That is bad - I have no idea here. Maybe a non-standard version of egrep? But I am really guessing here. Lets see if this affects more people - for the time being you might just change the variable to have it make 2-3 pdflatex runs. - Carsten The current value of that variable is: , | org-latex-to-pdf-process is a variable defined in `org-latex.el'. | Its value is | ("texi2dvi -p -b -c -V %f") ` I can obviously change back to the setting that was the default before but I do like the idea of using texi2dvi. Can anybody suggest what may be wrong on my system or my configuration? Thanks, eric -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bibtex and latex export
I should have added: , | org-version: release_7.01h-638-gd9e44 | Org-mode version 7.01trans (release_7.01h.638.gd9e44) | | GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of | 2010-08-14 on raven, modified by Debian ` Thanks again, eric -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] How do I convert org to OpenOffice?
On Wed, 29 Sep 2010 19:01:26 +0200, Lennart Borgman wrote: > > There is a way, isn't there? ;-) I do this a lot because, unfortunately, most of my collaborators insist on word processors such as OO and Word. What works for me (with structure, emphasis, tables, figures and footnotes) is: org document -> export as HTML (C-c e h) -> open in OOo -> select and copy all (C-a C-c) -> open new document in OOo (A-f n t [I believe]) -> paste selection (C-v) -> save (in my case, often as MS Word) -> go and cry because you have to degrade org mode so much ;-) Most things work okay for me. I then ask collaborators to track changes and I incorporate those changes manually (yech -- but there's no other way yet) into my org document. I have also customised : org-export-html-xml-declaration (quote (("php" . "\"; ?>"))) to avoid the problem with OOo not understanding the first line of the HTML created by org html export. HTH, eric -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [beamer] export a long source block as in several frames
On Wed, 29 Sep 2010 18:37:50 +0800, zwz wrote: > > Now I am preparing a presentation using the beamer feature supported by > org-mode. > > When exporting, I want some long source code (more than one frame can > contain) to be arranged in several frames rather than partially > invisible. > > I know there's once a discussion on the support of the frame option > allowframebreaks, but I am thinking "would it be good to add the option > by default when exporting for the frame that contains some source code?" Can I suggest that, as it is so easy to add an option to an individual frame [1], that it's better for this to be under direct user control? I don't want framebreaks unless I've asked for them. In any case, it would be difficult to ascertain, from the org text directly, whether the code is actually going to be part of the slide. E.g. I use a lot of babel in my slides and, more often than not, I don't export the code, just the results. cheers, eric Footnotes: [1] key sequence "C-c C-x p envarg TAB [allowframebreaks] RET" which you could obviously add to a single keystroke, via fset say -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bibtex and latex export
On Wed, 06 Oct 2010 13:30:30 +0200, Sébastien Vauban wrote: > > Hi Rafael and Erik, > > Erik Iverson wrote: > > Rafael Calsaverini wrote: > >> Hi there, > >> > >> I'm trying to use org-mode to compose latex documents and I'm having a > >> problem with bibtex. When I export to pdf with C-c C-e p, pdflatex runs and > >> everything works gracefully with respect to the latex code (the output is > >> even prettier than I used to have patience to do only with latex), but > >> bibtex isn't called. > > > > I've just now looked into the org-latex.el file, and found: > > > > (defcustom org-latex-to-pdf-process > > '("pdflatex -interaction nonstopmode -output-directory %o %f" > > "pdflatex -interaction nonstopmode -output-directory %o %f") > > "Commands to process a LaTeX file to a PDF file. > > [...] > > Looks like you can just customize that variable, easy! > > FYI, this should be fixed now. > > Best regards, > Seb > > -- > Sébastien Vauban > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode Hello, between yesterday and today, something changed that no longer allows me to create PDFs from my org files, causing momentary panic as I making the final changes to a lecture I had to give this morning -- luckily, latex export worked just fine. Reading between the lines, I gather it is the change to org-latex-to-pdf-process that has caused me problems. The output I get when the export takes place is: , | /usr/bin/texi2dvi: Processing /home/ucecesf/.../file.tex ... | egrep: Invalid range end | /usr/bin/texi2dvi: cannot read .//home/ucecesf/.../file.tex, skipping. ` The current value of that variable is: , | org-latex-to-pdf-process is a variable defined in `org-latex.el'. | Its value is | ("texi2dvi -p -b -c -V %f") ` I can obviously change back to the setting that was the default before but I do like the idea of using texi2dvi. Can anybody suggest what may be wrong on my system or my configuration? Thanks, eric -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [Org-Babel] Export environments for shell results?
Hi Seb, Sébastien Vauban writes: > #+TITLE: Org-Babel export environments for shell results > > * Example > > ** Medium output > > #+srcname: is-converted-to-listings > #+begin_src sh :results output :exports both > grep autoload ~/Downloads/emacs/site-lisp/org-mode/lisp/ob.el | cut -d "#" -f > 4 > #+end_src (It's nice that your email is in Org format; I can get the contents into an Org buffer quickly. Could I ask you to make the source blocks reproducible in the future, so that we can execute them without having to alter file paths etc?) > > #+results: is-converted-to-listings > #+begin_example > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > #+end_example > > gets translated (in LaTeX) to: > > #+begin_src latex > \begin{lstlisting} > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > autoload > \end{lstlisting} > #+end_src > > ** Short output > > ... while > > #+srcname: is-converted-to-verbatim > #+begin_src sh :results output :exports both > grep autoload ~/Downloads/emacs/site-lisp/org-mode/lisp/ob.el | cut -d "#" -f > 4 | head -n 3 > #+end_src > > #+results: is-converted-to-verbatim > : autoload > : autoload > : autoload > > gets translated (in LaTeX) to: > > #+begin_src latex > \begin{verbatim} > autoload > autoload > autoload > \end{verbatim} > #+end_src > > with a leading space (that you don't see when running the command in the > shell). > > The only difference is the shell command is adding =head -n 3=. > > * Questions > > 1. Why that difference of behavior? I suspect this is due to --8<---cut here---start->8--- org-babel-min-lines-for-block-output is a variable defined in `ob.el'. Its value is 10 Documentation: The minimum number of lines for block output. If number of lines of output is equal to or exceeds this value, the output is placed in a #+begin_example...#+end_example block. Otherwise the output is marked as literal by inserting colons at the starts of the lines. This variable only takes effect if the :results output option is in effect. --8<---cut here---end--->8--- > > 2. What's the determining factor for switching between =verbatim= and >=lstlisting= environments? I'm no expert on latex export. But if the colon form and the block form are equivalent in Org, then perhaps it is a bug that they have non-equivalent latex export? I didn't realise that begin_example resulted in a lstlisting environment when using listings with Org. > > 3. Why is there a leading space in the =verbatim= environment? I guess it is due to the space after the colon in the Org buffer. Dan > > Best regards, > Seb ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Orgmode and filling
Guy Wiener writes: Hi, Guy, > When the cursor crosses the edge of the > frame, instead of placing a "long line" marker and moving to the next > line, the entire buffer is shifted to the left and the cursor remains > on the same line. > Can this behavior be disabled, and replaced the the same behavior as > in fundamental text editing? It is really annoying, especially when > using auto-fill mode. M-x toggle-truncate-lines does help? so that "Truncate long lines disabled". Or place in your .emacs: (setq truncate-lines t) cheers, Giovanni ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [Org-Babel] Export environments for shell results?
#+TITLE: Org-Babel export environments for shell results * Example ** Medium output #+srcname: is-converted-to-listings #+begin_src sh :results output :exports both grep autoload ~/Downloads/emacs/site-lisp/org-mode/lisp/ob.el | cut -d "#" -f 4 #+end_src #+results: is-converted-to-listings #+begin_example autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload #+end_example gets translated (in LaTeX) to: #+begin_src latex \begin{lstlisting} autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload autoload \end{lstlisting} #+end_src ** Short output ... while #+srcname: is-converted-to-verbatim #+begin_src sh :results output :exports both grep autoload ~/Downloads/emacs/site-lisp/org-mode/lisp/ob.el | cut -d "#" -f 4 | head -n 3 #+end_src #+results: is-converted-to-verbatim : autoload : autoload : autoload gets translated (in LaTeX) to: #+begin_src latex \begin{verbatim} autoload autoload autoload \end{verbatim} #+end_src with a leading space (that you don't see when running the command in the shell). The only difference is the shell command is adding =head -n 3=. * Questions 1. Why that difference of behavior? 2. What's the determining factor for switching between =verbatim= and =lstlisting= environments? 3. Why is there a leading space in the =verbatim= environment? Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Having (too) many files in org-agenda-files
Do you have your .org files inside a version control system like git or bzr? In that case, it's vc-mode who is delaying too much. See the thread http://www.mail-archive.com/emacs-orgmode@gnu.org/msg25902.html for a dirty workaround (disabling vc-mode). In my system I have now 200 agenda files (120k lines, 5'6 Mb) and I must wait 1 minute on a fast computer (1'45" on a slower one) to run org-agenda-list. I timed it closing all *.org and running: time emacsclient -n --eval '(org-agenda-list)' The problem is in vc-mode, not org. It is too slow. And what is exactly doing? I attach it at the end of this mail. Sometimes it's ls-files, other diff-index. -- Daniel #+begin_example Debugger entered--Lisp error: (quit) call-process("git" nil (t nil) nil "ls-files" "-c" "-z" "--" "wiki/Imagen.org") apply(call-process "git" nil (t nil) nil ("ls-files" "-c" "-z" "--" "wiki/Imagen.org")) process-file("git" nil (t nil) nil "ls-files" "-c" "-z" "--" "wiki/Imagen.org") apply(process-file "git" nil (t nil) nil "ls-files" ("-c" "-z" "--" "wiki/Imagen.org")) vc-git--call((t nil) "ls-files" "-c" "-z" "--" "wiki/Imagen.org") apply(vc-git--call (t nil) "ls-files" ("-c" "-z" "--" "wiki/Imagen.org")) vc-git--out-ok("ls-files" "-c" "-z" "--" "wiki/Imagen.org") byte-code(…) vc-git-registered("/home/dc/.mirp/wiki/Imagen.org") apply(vc-git-registered "/home/dc/.mirp/wiki/Imagen.org") vc-call-backend(Git registered "/home/dc/.mirp/wiki/Imagen.org") #[…] mapc(#[(b) "…" [b file vc-call-backend registered vc-file-setprop vc-backend throw found t] 4] (RCS CVS SVN SCCS Bzr Git Hg Mtn Arch)) byte-code("…") vc-registered("/home/dc/.mirp/wiki/Imagen.org") vc-backend("/home/dc/.mirp/wiki/Imagen.org") #[…] vc-find-file-hook() run-hooks(find-file-hook) after-find-file(nil t) find-file-noselect-1(# "~/wiki/Imagen.org" nil nil "~/wiki/Imagen.org" (5929158 19)) find-file-noselect("/home/dc/.mirp/wiki/Imagen.org" nil nil nil) find-file("/home/dc/.mirp/wiki/Imagen.org") #+end_example El Thu, 30 Sep 2010 19:08:02 +0200 Sébastien Vauban va escriure: > > Hi Nick, > > Nick Dokos wrote: > > Sébastien Vauban wrote: > > Also, you might consider to remove (org-agenda-list) from .emacs. I > > think it is pretty much always a bad idea to put a command like this > > into your startup. Just make it a habit to call it early after starting > > Emacs. > > Honestly, that would not change that much. Having to wait 92 seconds at > startup, or a long time just a few minutes later has the same impact for > me. > > > > Maybe you should try adding a call to the profiler to your .emacs > > and try to measure e.g. how much the font locking costs. Off the top of > > my head and entirely untested, adding > > > > , > > | (require 'elp) > > | (elp-instrument-package "font-lock") > > | > > | ;; rest of your .emacs > > | > > | (elp-results) > > ` > > > > might be enough. > > Here are the results. > > --8<---cut here---start->8--- > font-lock-fontify-buffer 96 > 15.383627999 0.1602461249 > font-lock-default-fontify-buffer 96 > 15.378296000 0.1601905833 > font-lock-fontify-region 96 > 15.284044000 0.1592087916 > font-lock-default-fontify-region 96 > 15.282674000 0.1591945208 > font-lock-fontify-keywords-region 96 > 15.184516 0.1581720416 > font-lock-prepend-text-property8608 > 0.271222 3.150...e-05 > font-lock-unfontify-region 96 > 0.085972 0.0008955520 > font-lock-add-keywords 166 > 0.080081 0.0004824216 > font-lock-compile-keywords 138 > 0.067193 0.0004869057 > font-lock-default-unfontify-region 96 > 0.037866 0.0003944375 > font-lock-mode 142 > 0.034468 0.0002427323 > font-lock-default-function 142 > 0.028445 0.0002003169 > font-lock-mode-internal73 > 0.027252 0.0003733287 > font-lock-turn-on-thing-lock 73 > 0.023893 0.0003273150 > font-lock-compile-keyword 5505 > 0.022555 4.097...e-06 > font-lock-set-defaults 525 > 0.017453 3.324...e-05 > font-lock-remove-keywords 130 > 0.001856 1.428...e-05 > font-lock-change-mode 33 > 0.001606 4.866...e-05 > font-lock-eval-keywords81
[Orgmode] Orgmode and filling
Hello, I noticed that org-mode buffers has a funny behavior with regards to line wrapping: When the cursor crosses the edge of the frame, instead of placing a "long line" marker and moving to the next line, the entire buffer is shifted to the left and the cursor remains on the same line. Can this behavior be disabled, and replaced the the same behavior as in fundamental text editing? It is really annoying, especially when using auto-fill mode. Thanks, Guy. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Narrow table cells in Aquamacs 1.9
I was just trying to use narrow table cells. After editing a cell (C-c `), C-c C-c fails with an error. org-table-finish-edit-field: Wrong type argument: window-live-p, nil Known issue? Or maybe I just need to wait until I get the bad RAM chip fix in my Linux machine so that I can use a real Emacs. James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: FSF Copyright Assignment
"Eric Schulte" writes: > Jambunathan K writes: > >> Hello Eric >> >> Eric> Hi Jambunathan, >> Eric> >> Eric> I've finally had a chance to test out this patch, and it's great! >> Eric> I'd love to apply this to the core Org repository, however given >> Eric> the size I have to ask, have you (or are you willing to) signed >> Eric> the FSF papers? >> Eric> >> Eric> http://orgmode.org/worg/org-contribute.php >> >> I am willing to sign the FSF papers required to get all my Orgmode >> patches into official Emacs. >> >> I have initiated the process from my end by writing to ass...@gnu.org. >> > > Thanks for starting the assignment process. I've just added this > functionality to the repository, so babel commands can now be used as > speed commands when the point is on the beginning of a code block. > > Thanks for the contribution! Hi Jambunathan, Yes, thanks for this, I'm enjoying using it. n e n e ... Dan > > Best -- Eric > >> >> Jambunathan K. > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bibtex and latex export
Hi Rafael and Erik, Erik Iverson wrote: > Rafael Calsaverini wrote: >> Hi there, >> >> I'm trying to use org-mode to compose latex documents and I'm having a >> problem with bibtex. When I export to pdf with C-c C-e p, pdflatex runs and >> everything works gracefully with respect to the latex code (the output is >> even prettier than I used to have patience to do only with latex), but >> bibtex isn't called. > > I've just now looked into the org-latex.el file, and found: > > (defcustom org-latex-to-pdf-process > '("pdflatex -interaction nonstopmode -output-directory %o %f" > "pdflatex -interaction nonstopmode -output-directory %o %f") > "Commands to process a LaTeX file to a PDF file. > [...] > Looks like you can just customize that variable, easy! FYI, this should be fixed now. Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output
Hi Carsten, Carsten Dominik wrote: > I have just pushed a fix which will use texi2dvi when available. The echo > area will now also give an indication of the kinds of errors that happened > during the final pdflatex run. Thanks to Matthew for the info about texi2dvi! > This is a big improvement, thanks to Sebastian for kicking off this > discussion, and to all who contributed. You're welcome. It was needed for me as well... > Please test the new processing and let me know if there are problems. Tested on the document for which I experienced the troubles in the first place (because my TOC was more than one page long). Works perfect! Only one comment, after reading your code in org-latex.el: if there is no texi2dvi executable, please run pdflatex 3 times, as this is the right number to get the TOC in sync' with the document, when it's more than one page long (at least, in my above case, with a couple of org-babel sql source blocks). --8<---cut here---start->8--- Changes in HEAD Modified lisp/org-latex.el diff --git a/lisp/org-latex.el b/lisp/org-latex.el index c87071c..74d27b5 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -459,6 +459,7 @@ allowed. The default we use here encompasses both." (if (executable-find "texi2dvi") '("texi2dvi -p -b -c -V %f") '("pdflatex -interaction nonstopmode -output-directory %o %f" + "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f")) "Commands to process a LaTeX file to a PDF file. This is a list of strings, each of them will be given to the shell --8<---cut here---end--->8--- Thanks. Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: custom postamble in HTML export
Carsten Dominik writes: > On Oct 5, 2010, at 6:43 PM, Łukasz Stelmach wrote: > >> Carsten Dominik writes: >> >>> On Oct 4, 2010, at 7:59 PM, Łukasz Stelmach wrote: >>> How about moving (org-export-html-insert-plist-item opt-plist :postamble opt-plist) in org-html.el from line 1694 few lines up, just above the closing div of the postamble. IMHO it makes more sense to put custom content into the existing postamble than crating another one. There is usually only one footer per page ;-) >>> >>> :postamble is meant to completely replace the automatic postamble >>> Org creates, >> >> But what if I like the information it puts there? > > Then you have a case which Org currently does not handle. The kind I like most :-D > You would have to introduce a new variable, org-export-html-postamble- > extra and arrange for it to be handled correctly with publishing > properties etc etc. I am going to give a talk about org-mode at my division[1] of WUT and this looks like a good one to say: oh by the way, I fixed it few days ago ;-) [1] http://charlie.iem.pw.edu.pl/index.php?load=wersjaang/home -- Miłego dnia, Łukasz Stelmach ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: arranging and publishing music with Org-mode and lilypond
On 10/5/10 10:38 PM, Shelagh Manton wrote: I have had an ob-LilyPond on my list of things to do for quite a while now. If I have the next few days off, I will seriously look into it. But post integration with LilyPond-book is probably more than I would be able to handle in the short term. Great! Actually, forget my last message; I hadn't thought this through at all. An ob-lilypond should allow us to dispense with lilypond-book. #+begin_src lilypond :exports results :file song1.png \relative c' { c d e f g a b c } #+end_src - no post-processing needed. But for the purposes I outlined, it would be important to use these tricks in export: http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/Alternate-methods-of-mixing-text-and-music#Alternate-methods-of-mixing-text-and-music Yours, Christian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [BUG] Table formula with org-hh:mm-string-to-minutes
Hi Achim, Štěpán and Carsten, Achim Gratz wrote: > [repost -- sorry if this turns out a duplicate] > > Sébastien Vauban > writes: >> Everything is fine... but the item 4: 19 minutes get converted to 0.00 >> hour... Why!? > > Because you told it to: remove ";%.2f::@5$3=0.00" from the formula and live > a happier life. Sorry. Stupid from me. Copy/paste of a similar table, but with one difference... That proves that I have to use another -- more explicit way -- to void a cell, by using a SUMIF construct, and having a 0/1 value somewhere else. There has been a thread on such a thing a couple of weeks ago... Thanks for your quick answer. Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode