Re: [O] [BUG] on export resulting in endless evaluation

2015-02-10 Thread Rainer M Krug
Charles Berry writes: > Rainer M Krug krugs.de> writes: > >> >> Sebastien Vauban >> writes: >> >> > Rainer M Krug wrote: >> >> Charles Berry writes: >> >>> Rainer M Krug krugs.de> writes: >> >> when exporting the fillowing org file, I get an endless loop of >> evaluations. >

Re: [O] Citations, continued

2015-02-10 Thread Nicolas Goaziou
John Kitchin writes: > Why cannot there be a list of acceptable keywords eg > > [citenum: > [citeyear: > [citeauthor: > > which a backend would be responsible for handling, including a default > handler for unknown keywords? It has the same problem as [pre @key post] syntax: it is slower to pars

Re: [O] Citations, continued

2015-02-10 Thread Nicolas Goaziou
t...@tsdye.com (Thomas S. Dye) writes: > Yes, I typically use what I call a multicite to get multiple citations > with biblatex. It just inserts {key}. I precede two or more of these > with a placeholder--π for parencites, † for textcites, or ƒ for > footcites--and then use a filter to insert \p

Re: [O] Citations, continued

2015-02-10 Thread Nicolas Goaziou
Rasmus writes: > Not necessarily. I could do: > >(defun rasmus/gentive-citation (citation-element backend) > (case backend ...) ...) > >(add-to-list 'org-cite-types 'rasmus/gentive-citation ) > > E.g. for genitive citations such as "Smith's (1984) model", which can be > mostly

[O] [PATCH]: Add header-args property to source block info

2015-02-10 Thread Rainer M Krug
Hi Following a recent discussion (based on me forgetting a ":" when setting the property :header-args), I added the output of the property header-args to the output of org-babel-get-src-block-info to make debugging easier. Before the function resulted in the following output (using my faulty code

Re: [O] Citations, continued

2015-02-10 Thread Rasmus
Nicolas Goaziou writes: > Another option is to mimic custom links, if that's what you're thinking > of, which means to store every user-defined keyword in a variable and > build a regexp out of it. I dislike it even more because the document is > not portable anymore, as it requires you to share

Re: [O] Citations, continued

2015-02-10 Thread Rasmus
Nicolas Goaziou writes: > If you write something like > > [cite: pre1 @k1 post1; pre2 @k2 post2] > > wouldn't it possible to guess you want to use multicite? IOW, does using > "multicite" really implies a change in the syntax? To fully support multicite you need keyless citations in the beginn

Re: [O] Citations, continued

2015-02-10 Thread Nicolas Goaziou
Rasmus writes: > Nicolas Goaziou writes: > >> If you write something like >> >> [cite: pre1 @k1 post1; pre2 @k2 post2] >> >> wouldn't it possible to guess you want to use multicite? IOW, does using >> "multicite" really implies a change in the syntax? > > To fully support multicite you need ke

Re: [O] Org-mode Beamer graphviz & images

2015-02-10 Thread Eric S Fraga
On Monday, 9 Feb 2015 at 21:59, deadbrain wrote: > Hi all org-mode gurus, > I am trying to generate a deck of slides using Emacs/org-mode /beamer & > some companion tools (graphviz & plantuml). > I have a problem to set the dimensions for the graphviz (or plantuml) > generated pictures. > Whatever

Re: [O] Citations, continued

2015-02-10 Thread Rasmus
Nicolas Goaziou writes: > I think > > [cite: common pre; pre1 @k1 post1; pre2 @k2 post2; common post] > > is regular and readable enough. So, there's no need to add special > support for multicite. Definitely. In latex you'd just use multicite whenever more than two keys within one cite-group

Re: [O] Citations, continued

2015-02-10 Thread Nicolas Goaziou
Rasmus writes: > So, the (opinionated) useful defaults in biblatex are: > cite(s), parencite(s), footcite(s), texcite(s), fullcite, > footfullcite, nocite Isn't footcite/footfullcite a choice made at the document's level instead of per citation? If that's the case, it could go in a keywo

Re: [O] Org-mode Beamer graphviz & images

2015-02-10 Thread jerome moliere
Thanks a lot Eric The small sise was just there for my experiments to ensure my attributes were processed Thanks again i will be able to finish my deck of slides. I did not know this syntax but I guessed that the workflow was the problem Kind regards Le 10 févr. 2015 10:51, "Eric S Fraga" a écrit

Re: [O] Citations, continued

2015-02-10 Thread Rasmus
Nicolas Goaziou writes: >> So, the (opinionated) useful defaults in biblatex are: >> cite(s), parencite(s), footcite(s), texcite(s), fullcite, >> footfullcite, nocite > > Isn't footcite/footfullcite a choice made at the document's level > instead of per citation? If that's the case, it co

Re: [O] Citations, continued

2015-02-10 Thread Andreas Leha
Hi, Nicolas Goaziou writes: > Rasmus writes: > >> So, the (opinionated) useful defaults in biblatex are: >> cite(s), parencite(s), footcite(s), texcite(s), fullcite, >> footfullcite, nocite > > Isn't footcite/footfullcite a choice made at the document's level > instead of per citation? I

[O] [BUG] in org-babel-get-src-block-info when certain :header-args are set

2015-02-10 Thread Rainer M Krug
Hi --8<---cut here---start->8--- #+PROPERTY: header-args :tangle-mode (identity #o444) * Initial plottings #+begin_src R plot(1) #+end_src --8<---cut here---end--->8--- When calling org-babel-view-src-block-info (C-c C-v C

[O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-10 Thread Vaidheeswaran
The attached file, when exported to ODT fails to open in LibreOffice exporter. The reason failure is that the exported __XML__ file has "nested footnote definiton" i.e., a footnote definition within a footnote definiton. In concrete terms, there is some confusion wrt the return value of `org-ex

[O] [patch] better(?) indention for cdlatex-environment

2015-02-10 Thread Rasmus
Hi, Cdlatex environment inserted via org-cdlatex-environment-indent are pretty bad at getting the right indention. Consider: - concept :: a long description of concept | Where | is cursor. When I call org-cdlatex-environment-indent, I expect - concept :: a long description of concept

Re: [O] [BUG] in org-babel-get-src-block-info when certain :header-args are set

2015-02-10 Thread Rasmus
Rainer M Krug writes: > #+PROPERTY: header-args :tangle-mode (identity #o444) > > * Initial plottings > #+begin_src R > plot(1) > #+end_src > > When calling org-babel-view-src-block-info (C-c C-v C-i) on the code > block above, I get the error below. > > I don't have the slightest clue what this

Re: [O] [BUG] in org-babel-get-src-block-info when certain :header-args are set

2015-02-10 Thread Rainer M Krug
Rasmus writes: > Rainer M Krug writes: > >> #+PROPERTY: header-args :tangle-mode (identity #o444) >> >> * Initial plottings >> #+begin_src R >> plot(1) >> #+end_src >> >> When calling org-babel-view-src-block-info (C-c C-v C-i) on the code >> block above, I get the error below. >> >> I don't ha

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-10 Thread Rasmus
Rasmus writes: > Hi, > > Cdlatex environment inserted via org-cdlatex-environment-indent are pretty > bad at getting the right indention. Consider: > > - concept :: a long description of concept | > > Where | is cursor. When I call org-cdlatex-environment-indent, I expect > > - concept

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-10 Thread Christian Moe
Hi, Thanks for this. You have [fn:1] footdef1[fn:2] [fn:2] footdef2 What do you expect to see in ODT? Presumably not a footnote in a footnote, since LibreOffice doesn't allow you to place one. An ODT cross-reference to the footnote? That makes sense, but should that be achieved by footnot

Re: [O] timeline view - showing times

2015-02-10 Thread Paul Rudin
Subhan Michael Tindall writes: > This is probably overkill, but I use this: > (setq org-agenda-custom-commands (quote ( > ("c" "Clock" ((agenda "" > ((org-agenda-sticky nil) > > (org-agen

Re: [O] timeline view - showing times

2015-02-10 Thread Paul Rudin
Marcin Borkowski writes: > On 2015-02-09, at 18:43, Paul Rudin wrote: > >> If I type "C-c a L" I get a list of durations for each day - for example: >> >> Monday 9 February 2015 W07 >> Clocked: (0:53) Revise document X >> Clocked: (1:12) Meet Fred >> ... > > Wow. I don't get this

[O] And another useful function for header arguments

2015-02-10 Thread Rainer M Krug
I just found the following function: , | C-c C-v C-c runs the command org-babel-check-src-block, which is an | interactive autoloaded compiled Lisp function in `ob-core.el'. | | It is bound to C-c C-v c, C-c C-v C-c. | | (org-babel-check-src-block) | | Check for misspelled header arguments

[O] [FIXED] Re: [BUG] in org-babel-get-src-block-info when certain :header-args are set

2015-02-10 Thread Rainer M Krug
Update: The problem occurs whenever a property value is a number. so , | #+PROPERTY: header-args :tangle-mode 292 ` also produces the error. Fix included in other patch. Rainer Rainer M Krug writes: > Rasmus writes: > >> Rainer M Krug writes: >> >>> #+PROPERTY: header-args :ta

[O] bug - active and inactive time stamps incorrect year for current date and rest of month

2015-02-10 Thread Charles Millar
When I call either active or inactive timestamps and enter the current date from the keyboard, i.e. 2/10, rather than simply pressing enter the result is <2016-02-10 Wed> or [2016-02-10 Wed], i.e. the year is already advanced. If I enter any date in the rest of the month in same manner such as

Re: [O] [PATCH]: BUG fix and Add header-args property to source block info

2015-02-10 Thread Rainer M Krug
Please find attached the below described patch including the fix for the error reported - function raises error when property value is numeric. Cheers, Rainer diff --git a/lisp/ob-core.el b/lisp/ob-core.el index ceda1aa..aa39c11 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -409,12 +409,

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-10 Thread Vaidheeswaran C
On Tuesday 10 February 2015 06:26 PM, Christian Moe wrote: Thanks for this. You have [fn:1] footdef1[fn:2] [fn:2] footdef2 What do you expect to see in ODT? Presumably not a footnote in a footnote, since LibreOffice doesn't allow you to place one. An ODT cross-reference to the footnote?

Re: [O] Citations, continued

2015-02-10 Thread John Kitchin
Rasmus writes: > Nicolas Goaziou writes: > >> Another option is to mimic custom links, if that's what you're thinking >> of, which means to store every user-defined keyword in a variable and >> build a regexp out of it. I dislike it even more because the document is >> not portable anymore, as i

Re: [O] Citations, continued

2015-02-10 Thread Thomas S. Dye
Nicolas Goaziou writes: > t...@tsdye.com (Thomas S. Dye) writes: > >> Yes, I typically use what I call a multicite to get multiple citations >> with biblatex. It just inserts {key}. I precede two or more of these >> with a placeholder--π for parencites, † for textcites, or ƒ for >> footcites--a

[O] closing column mode for beamer export

2015-02-10 Thread Larrabee Strow
I am trying to put a second row of two columns in a org beamer slide. No problems with doing the first row, two column. I can't figure out any way to put in the second row of two columns. (I am trying to show a 2x2 grid of images, with titles.) It appears to me I need something that produces and

Re: [O] Citations, continued

2015-02-10 Thread Rasmus
John Kitchin writes: > Rasmus writes: > >> Nicolas Goaziou writes: >> >>> Another option is to mimic custom links, if that's what you're thinking >>> of, which means to store every user-defined keyword in a variable and >>> build a regexp out of it. I dislike it even more because the document is

[O] Org-mode and YASnippet

2015-02-10 Thread Marcin Borkowski
Hello, does anyone use YASnippet with Org? I tried, but ran into a strange problem: when I type into a placeholder field, I get a space after each letter. Did anyone run into this, too? TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer

Re: [O] Citations, continued

2015-02-10 Thread Richard Lawrence
Hi Nicolas and all, Nicolas Goaziou writes: > If year, or author, are needed, I suggested to append some optional > parameter to the key, e.g., > > [cite: pre @key:year post] I proposed exactly this earlier in the thread, but then I came to the conclusion that we shouldn't do it. Conceptuall

Re: [O] Citations, continued

2015-02-10 Thread John Kitchin
> > Ok, sorry I didn't check the natbib manual carefully. AFAIK you get > numbers with biblatex without any author-year options so: > > \cite{k}, \parencite{k} → [Num] > \textcite{k} → A [Num] > > Is this similar to \numcite? From natbib is seems to be intended for > people who use author-year,

Re: [O] Citations, continued

2015-02-10 Thread Richard Lawrence
Rasmus writes: > So, the (opinionated) useful defaults in biblatex are: > cite(s), parencite(s), footcite(s), texcite(s), fullcite, > footfullcite, nocite So that is to say we need to be able to express the following distinctions (did I miss anything?): - in-text vs. parenthetical (par

Re: [O] bug - active and inactive time stamps incorrect year for current date and rest of month

2015-02-10 Thread Nicolas Goaziou
Hello, Charles Millar writes: > When I call either active or inactive timestamps and enter the current > date from the keyboard, i.e. 2/10, rather than simply pressing enter > the result is <2016-02-10 Wed> or [2016-02-10 Wed], i.e. the year is > already advanced. If I enter any date in the rest

Re: [O] Citations, continued

2015-02-10 Thread Stefan Nobis
Richard Lawrence writes: > Rasmus writes: >> Citation types for extracting parts: >> citeauthor, citetitle, citeyear, citedate, citeurl, > As I've said in other posts, I think maybe we should not think of > these as `citation' commands and thus don't need to represent them > in citation s

[O] Raw .org file for manual(s)?

2015-02-10 Thread Lawrence Bottorff
I'd like a copy of the documentation (short, long manuals) in their original .org format. Where can I find them? My first logical guess was to get the org distribution. But /doc/ doesn't seem to have them as .org files. LB

Re: [O] Raw .org file for manual(s)?

2015-02-10 Thread Rasmus
Lawrence Bottorff writes: > I'd like a copy of the documentation (short, long manuals) in their > original .org format. Where can I find them? My first logical guess was to > get the org distribution. But /doc/ doesn't seem to have them as .org files. It's in texi. E.g. doc/org.texi. There's a

Re: [O] Raw .org file for manual(s)?

2015-02-10 Thread Lawrence Bottorff
What would the github link be? On Tue, Feb 10, 2015 at 12:06 PM, Rasmus wrote: > Lawrence Bottorff writes: > > > I'd like a copy of the documentation (short, long manuals) in their > > original .org format. Where can I find them? My first logical guess was > to > > get the org distribution. But

Re: [O] Raw .org file for manual(s)?

2015-02-10 Thread Rasmus
Lawrence Bottorff writes: > What would the github link be? https://github.com/tsdye/orgmanual Tom frequents the list regularly if you want to know more about it. —Rasmus -- Evidence suggests Snowden used a powerful tool called monospaced fonts

Re: [O] [PATCH]: Add header-args property to source block info

2015-02-10 Thread Charles C. Berry
On Tue, 10 Feb 2015, Rainer M Krug wrote: Hi Following a recent discussion (based on me forgetting a ":" when setting the property :header-args), I added the output of the property header-args to the output of org-babel-get-src-block-info to make debugging easier. [snip] Using the patched ve

Re: [O] closing column mode for beamer export

2015-02-10 Thread Eric S Fraga
On Tuesday, 10 Feb 2015 at 15:42, Larrabee Strow wrote: > I am trying to put a second row of two columns in a org beamer slide. > > No problems with doing the first row, two column. > > I can't figure out any way to put in the second row of two columns. > (I am trying to show a 2x2 grid of images,

Re: [O] closing column mode for beamer export

2015-02-10 Thread Larrabee Strow
Hi, Thanks for the suggestion. I tried making the columns bigger "BEAMER_col: 0.8 or whatever Didn't work. I tried making the image bigger (but maybe org doesn't see that) I don't have any other ideas on how to do this. Maybe because I have no text in the slide? Larrabee --

Re: [O] [PATCH]: Add header-args property to source block info

2015-02-10 Thread Rainer M Krug
"Charles C. Berry" writes: > On Tue, 10 Feb 2015, Rainer M Krug wrote: > >> Hi >> >> Following a recent discussion (based on me forgetting a ":" when setting >> the property :header-args), I added the output of the property >> header-args to the output of org-babel-get-src-block-info to make >> d

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-10 Thread Nicolas Goaziou
Hello, Christian Moe writes: > An ODT cross-reference to the footnote? That makes sense, but should > that be achieved by footnoting inside a footnote, or is the appropriate > thing to do to use a dedicated target and link? > > [fn:1] footdef1, see also [[thatotherfootnote]]. > > [fn:2] <>fo

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-10 Thread Nicolas Goaziou
Hello, Vaidheeswaran C writes: > That said, it is difficult for me to conceive of a footnote that is > referenced solely by other footnotes. i.e., it is reasonable to assume > that a given footnote is either not referenced at all or is referenced > atleast once in the main text itself. There's

Re: [O] [PATCH]: BUG fix and Add header-args property to source block info

2015-02-10 Thread Nicolas Goaziou
Hello, Rainer M Krug writes: > Please find attached the below described patch including the fix for the > error reported - function raises error when property value is numeric. Looks good. Thank you. Could you provide an appropriate commit message? Bonus points if you also add a test. Regards

Re: [O] [PATCH]: BUG fix and Add header-args property to source block info

2015-02-10 Thread Rainer M Krug
Nicolas Goaziou writes: > Hello, > > Rainer M Krug writes: > >> Please find attached the below described patch including the fix for the >> error reported - function raises error when property value is numeric. > > Looks good. Thank you. Thanks. >From 6461f4de49fbcd002913a58ac5b47453e965ac0d M

[O] [bug] both ox-md and ox-man both occupy 'm'

2015-02-10 Thread Rasmus
Hi, Check: (let ((org-export-dispatch-use-expert-ui nil)) (mapc 'require '(ox-man ox-md)) (org-export-dispatch)) I guess we could just move man to 'M'? –Rasmus -- Governments should be afraid of their people

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-10 Thread Nicolas Goaziou
Hello, Rasmus writes: > Cdlatex environment inserted via org-cdlatex-environment-indent are pretty > bad at getting the right indention. Consider: > > - concept :: a long description of concept | > > Where | is cursor. When I call org-cdlatex-environment-indent, I expect > > - concept

Re: [O] [bug] both ox-md and ox-man both occupy 'm'

2015-02-10 Thread Nicolas Goaziou
Hello, Rasmus writes: > Check: > > (let ((org-export-dispatch-use-expert-ui nil)) > (mapc 'require '(ox-man ox-md)) > (org-export-dispatch)) > > I guess we could just move man to 'M'? Indeed. Thanks. Regards, -- Nicolas Goaziou

Re: [O] Strange behavior with block agendas

2015-02-10 Thread Nicolas Goaziou
Hello, Yuri Niyazov writes: If a block agenda exists, with say, agenda on top and todo on the bottom, then by default it opens to "today". It is possible then to press j and select a different date to go to. After that, if we hit "r" to redisplay, we get different

[O] [patch, ox] suppress title

2015-02-10 Thread Rasmus
Hi, Sometime when requiring custom formatting of the header for a document, it would be nice to be able to use #+TITLE without triggering the insertion of the tile (e.g. \maketitle in latex and title in ox-html). For instance, one might have special org-html-preamble code. This patch adds an "#+

Re: [O] Raw .org file for manual(s)?

2015-02-10 Thread Lawrence Bottorff
How about a raw compact guide. The complete guide won't really load into Emacs very well on my machine. On Tue, Feb 10, 2015 at 12:18 PM, Rasmus wrote: > Lawrence Bottorff writes: > > > What would the github link be? > > https://github.com/tsdye/orgmanual > > Tom frequents the list regularly

Re: [O] Citations, continued

2015-02-10 Thread Richard Lawrence
Hi Stefan, Stefan Nobis writes: > Richard Lawrence writes: > >> Rasmus writes: > >>> Citation types for extracting parts: >>> citeauthor, citetitle, citeyear, citedate, citeurl, > >> As I've said in other posts, I think maybe we should not think of >> these as `citation' commands and thus

Re: [O] Citations, continued

2015-02-10 Thread Thomas S. Dye
Richard Lawrence writes: > Conceptually, something like `@key:year' isn't a citation, but merely > indirection, because it doesn't actually provide the reader of the > rendered document enough information to look up the reference. I think > we can cut down on the number of `citation' types that

Re: [O] Citations, continued

2015-02-10 Thread Richard Lawrence
Hi Tom and all, t...@tsdye.com (Thomas S. Dye) writes: > Richard Lawrence writes: > >> Conceptually, something like `@key:year' isn't a citation, but merely >> indirection, because it doesn't actually provide the reader of the >> rendered document enough information to look up the reference. I

Re: [O] Citations, continued

2015-02-10 Thread Thomas S. Dye
Richard Lawrence writes: > Hi Tom and all, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Richard Lawrence writes: >> >>> Conceptually, something like `@key:year' isn't a citation, but merely >>> indirection, because it doesn't actually provide the reader of the >>> rendered document enough inf

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-10 Thread Vaidheeswaran C
On Wednesday 11 February 2015 02:59 AM, Nicolas Goaziou wrote: Hello, Vaidheeswaran C writes: That said, it is difficult for me to conceive of a footnote that is referenced solely by other footnotes. i.e., it is reasonable to assume that a given footnote is either not referenced at all or is

Re: [O] orgmode as a transcription tool?

2015-02-10 Thread Bill White
On Sat Feb 07 2015 at 10:38, Marcin Borkowski wrote: > On 2015-02-03, at 06:45, Basile (The Flammable Project) > wrote: > >> Hello, >> >> You should have a look at EMMS. It's suite easy to setup on linux. But if >> you are using a MS Windows OS, it does requiert more settings. But >> everything

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-10 Thread Vaidheeswaran
On Wednesday 11 February 2015 02:58 AM, Nicolas Goaziou wrote: Hello, Christian Moe writes: An ODT cross-reference to the footnote? That makes sense, but should that be achieved by footnoting inside a footnote, or is the appropriate thing to do to use a dedicated target and link? [fn:1] f

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-10 Thread Vaidheeswaran
On Wednesday 11 February 2015 11:32 AM, Vaidheeswaran wrote: This should be fixed. Thank you. Not yet. See attached files. Operator error. Sorry.