Re: How to evaluate source code while in the edit buffer?

2020-12-04 Thread Mirko Vukovic
On Fri, Dec 4, 2020 at 12:41 PM Pankaj Jangid wrote: > Mirko Vukovic writes: > > > My current workflow is > > > >1. Enter edit buffer (C-c ') > >2. Perform edits in the window > >3. Exit edit mode (C-c ') > >4. Evaluate code

How to evaluate source code while in the edit buffer?

2020-12-04 Thread Mirko Vukovic
Hello, Creating/editing UML diagrams using plantuml mode is an iterative process. My current workflow is 1. Enter edit buffer (C-c ') 2. Perform edits in the window 3. Exit edit mode (C-c ') 4. Evaluate code (C-c C-c) 5. Monitor changes to resulting png file I would prefer instead

Re: Babel->Latex export: how to set includegraphics scale?

2020-10-26 Thread Mirko Vukovic
On Fri, Oct 23, 2020 at 2:12 PM Mirko Vukovic wrote: > > On Thu, Oct 22, 2020 at 2:41 PM TEC wrote: > >> >> Hi Mirko >> >> Mirko Vukovic writes: >> >> > Instead specifying the width, I'd like to use the parameter >> > \scale. >&g

Re: Babel->Latex export: how to set includegraphics scale?

2020-10-23 Thread Mirko Vukovic
On Thu, Oct 22, 2020 at 2:41 PM TEC wrote: > > Hi Mirko > > Mirko Vukovic writes: > > > Instead specifying the width, I'd like to use the parameter > > \scale. > > Have you tried #+attr_latex: :scale SCALE ? > > Your email triggered me to pay attent

Babel->Latex export: how to set includegraphics scale?

2020-10-22 Thread Mirko Vukovic
Hello, I use Babel to create UML diagrams using plantUML. The codeblocks produce png files. When exported to LaTeX, the png files are imported using \includegraphics. The width is set to 0.9\linewidth Instead specifying the width, I'd like to use the parameter \scale. Ideally, I would set \scal

How to occasionally store link as file.org+headline

2020-02-14 Thread Mirko Vukovic
Hello, For most of my links, I want to use the ID generated by orgmode i.e., (setq org-id-link-to-org-use-id t) But occasionally, for targets that are not part of my agenda files, I want to store a link of the type file:path.org::*headline I wrote the following function to accomplish that: (def

[O] How to generate a list of ``who-links''?

2018-10-14 Thread Mirko Vukovic
Hello, I am looking for a way to get a list of all remote references to the current node? Currently, I do: - org-id-copy - In org-agenda I search the copied id. Is there - a better built-in way? - a contributed-package? - a suggestion how to code it in my elisp? Thanks, Mirko

[O] How to log changes to orgmode files?

2017-11-29 Thread Mirko Vukovic
Hello, I am writing a report in org-mode (with pdf export). The file is under git version control. I would like to log changes I make to the document. When I invoke ChangeLog, it is pre-populated with the file name only. There is no finer information about the location of the modification. For

[O] Bug: bug&fix for org-compile-file on Windows

2016-12-11 Thread Mirko Vukovic
To: emacs-orgmode@gnu.org Subject: Bug: bug&fix for org-compile-file on Windows [9.0.1 (release_9.0.1-8-g25a97f.dirty @ c:/Users/977315/.emacs.d/elisp/org/)] From: Mirko Vukovic --text follows this line-- Remember to cover the basics, that is, what you expected to happen and what in fact

Re: [O] org copied a few files to ~/.org-timestamps

2016-06-15 Thread Mirko Vukovic
Mirko Vukovic gmail.com> writes: > > Hello, > > (org 8.3.4 on Emacs 24.4.1 on Windows 7) > > Some of my org-files are ending up in ~/.org-timestamps. > > For example, the file ~/org/general.org also has a copy on ~/.org- > timestamps. This copy was gene

[O] org copied a few files to ~/.org-timestamps

2016-06-15 Thread Mirko Vukovic
Hello, (org 8.3.4 on Emacs 24.4.1 on Windows 7) Some of my org-files are ending up in ~/.org-timestamps. For example, the file ~/org/general.org also has a copy on ~/.org- timestamps. This copy was generated a few days ago. Any thoughts on why that would happen? Thanks, Mirko

[O] easy way to link to file in attachment directory?

2014-09-04 Thread Mirko Vukovic
Hello, Is there a way to insert a link to a file in the attachment directory? Currently, I open the attachment directory in emacs and copy the full path. then in the document I create the link using org-insert-link (C-u C-c C-l). Thanks, Mirko

Re: [O] bug in org-store-link? (was bug in org-create-link)

2014-03-13 Thread Mirko Vukovic
Yep, I saw that when I updated git recently. Thanks :-) On Thu, Mar 13, 2014 at 11:28 AM, Bastien wrote: > mirko writes: > > > I wrote the incorrect function name. This is about org-store-link in > > org.el, not org-create-link. > > This should be fixed now, thanks for reporting this. > > --

Re: [O] how to customize date export

2014-02-03 Thread Mirko Vukovic
Eric S Fraga ucl.ac.uk> writes: > > Mirko Vukovic gmail.com> writes: > > > Hello, > > > > I could not figure out how to customize org's export of dates into latex. > > > > I found org-export-date-timestamp-format, but that works only for th

[O] how to customize date export

2014-01-31 Thread Mirko Vukovic
Hello, I could not figure out how to customize org's export of dates into latex. I found org-export-date-timestamp-format, but that works only for the DATE keyword. What can work on all date-stamps in the document? Thanks, Mirko

[O] bad link in FAQ

2014-01-30 Thread Mirko Vukovic
I found a bad link on http://orgmode.org/worg/org-faq.html The link ``skeletons'' points to an article on Nokia's phones on slashgear.com A better link would be: http://www.emacswiki.org/emacs/SkeletonMode Mirko

Re: [O] Bug: documentation typo for org-format-latex-options [8.2.5 (release_8.2.5-417-g455fbc @ c:/users/977315/documents/.emacs.d/elisp/org/)]

2014-01-18 Thread Mirko Vukovic
On Sat, Jan 18, 2014 at 10:20 AM, Nicolas Goaziou wrote: > Hello, > > Mirko Vukovic writes: > > > In the documentation for org-format-latex-options, > > for the key :matchers, the documentation lists valid members. The last > > valid member is shown as >

[O] Bug: documentation typo for org-format-latex-options [8.2.5 (release_8.2.5-417-g455fbc @ c:/users/977315/documents/.emacs.d/elisp/org/)]

2014-01-18 Thread Mirko Vukovic
In the documentation for org-format-latex-options, for the key :matchers, the documentation lists valid members. The last valid member is shown as "\ ["find math expressions surrounded by \ [...\] (backslash space left-bracket). The space is superfluous. Note that there are two

[O] preview beamer frame in org/beamer

2013-12-14 Thread Mirko Vukovic
Is there a command to generate a pdf output of a single beamer frame? The command would generate the latex file with the correct header, and a single frame, and process it into a pdf file. Thanks, Mirko

[O] turn of org-pretty-entities in tables

2013-07-09 Thread Mirko Vukovic
Hello, Is it possible to turn of org-pretty-entities in a table, but leaving it enabled in the buffer? Thank you, Mirko

[O] Is it possible to see the blocking task?

2012-12-11 Thread Mirko Vukovic
Hello, I am using TODO dependencies for a project. I find some tasks are blocked for no apparent reason (this is after multiple editing of the file, and setting and unsetting of the ORDERED property). I know that I can over-ride task blocking by a triple C-u. I'd like to see the blocking task

Re: [O] latex to org converter

2012-04-11 Thread Mirko Vukovic
Charles Philip Chan bell.net> writes: > > Marvin Doyley gmail.com> writes: > > > Does anybody has a script that convert latex files to org mode ? > > > > I wrote one in Matlab, but it is a little clunky - I wrote it in matlab > > because I am still learning lisp > > Not exactly a script, but

Re: [O] buffer-local org-agenda-files & embedded agenda-view

2012-04-06 Thread Mirko Vukovic
On Fri, Apr 6, 2012 at 3:44 AM, Bastien wrote: > Hi Mirko, > > Mirko Vukovic writes: > > > Did you mean `org-agenda-list'? > > No, I meant `org-agenda-listing' -- which doesn't exist right now, > and which purpose would be to store all agendas vi

Re: [O] buffer-local org-agenda-files & embedded agenda-view

2012-04-05 Thread Mirko Vukovic
On Tue, Apr 3, 2012 at 1:55 AM, Bastien wrote: > Hi Mirko, > > Mirko Vukovic writes: > > > I would like to have a buffer (and the associated file) that contain the > agenda > > view for a few select files. Is that possible? > > > > They way it m

[O] buffer-local org-agenda-files & embedded agenda-view

2012-04-02 Thread Mirko Vukovic
Hello, I would like to have a buffer (and the associated file) that contain the agenda view for a few select files. Is that possible? They way it might work (in pseudo-code & using babel) < begin org file #+org-agenda-files: file-1.org file-2.org file-3.org ;; these are full files #+begin

Re: [O] suggestion for the manual: mention the "#+BEGIN_SRC org" trick when describing drawers and plainlists

2012-03-10 Thread Mirko Vukovic
On Sat, Mar 10, 2012 at 2:00 PM, suvayu ali wrote: > On Sat, Mar 10, 2012 at 16:01, Mirko Vukovic wrote: >> But using BEGIN/END_SRC is really a hack.  I wonder if instead of using SRC >> blocks, we could define (with some amount of coding) a more suitable kind of >> blocks

Re: [O] suggestion for the manual: mention the "#+BEGIN_SRC org" trick when describing drawers and plainlists

2012-03-10 Thread Mirko Vukovic
Ilya Shlyakhter alum.mit.edu> writes: > > In Org, entry text can't have substructure (other than drawers and plain lists): you can't have an entry thathas some text, then a subtree, then more text.I just (re-)discovered that you can get around that by using "#+BEGIN_SRC org" to include arbitrary

Re: [O] odt-export fails

2012-02-25 Thread Mirko Vukovic
The problem was fixed by changing temporary-file-directory from "c:\Users\...\AppData\Local\Temp" to "~/temp/" I am running windows 7. The environment variables TEMP & TMP both point to c:\Users\...\AppData\Local\Temp. I guess that zip/unzip were running in the ~/temp directory, while the files

Re: [O] odt-export fails

2012-02-25 Thread Mirko Vukovic
Hello Jambunathan, I do not have the odt document open. >From the *Message* buffer, it seems that zip is looking for the odt file in c:\Users\...\AppData\Temp\..., but the file is not present In the org-odt-save-as-outfile let* block from which the error is thrown (let* ((target-name)         (t

[O] odt-export fails

2012-02-24 Thread Mirko Vukovic
Hello: This is on Windows 7 Emacs 23.3.1, org-version 7.8.03.  (I installed org-mode inside cygwin's shell). Here is the backtrace: Debugger entered--Lisp error: (error "Unable to create odt file (12)") signal(error ("Unable to create odt file (12)")) error("Unable to create odt file (%S)" 1