Re: [O] Citations, continued

2015-02-10 Thread Rasmus
John Kitchin jkitc...@andrew.cmu.edu writes: Rasmus writes: Nicolas Goaziou m...@nicolasgoaziou.fr 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

[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

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

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, but

Re: [O] Citations, continued

2015-02-10 Thread John Kitchin
Rasmus writes: Nicolas Goaziou m...@nicolasgoaziou.fr 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

Re: [O] Citations, continued

2015-02-10 Thread Richard Lawrence
Hi Nicolas and all, Nicolas Goaziou m...@nicolasgoaziou.fr 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

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 ras...@gmx.us wrote: Lawrence Bottorff borg...@gmail.com writes: What would the github link be? https://github.com/tsdye/orgmanual Tom

Re: [O] Citations, continued

2015-02-10 Thread Richard Lawrence
Hi Stefan, Stefan Nobis stefan...@snobis.de writes: Richard Lawrence richard.lawre...@berkeley.edu writes: Rasmus ras...@gmx.us writes: Citation types for extracting parts: citeauthor, citetitle, citeyear, citedate, citeurl, As I've said in other posts, I think maybe we should not

Re: [O] Citations, continued

2015-02-10 Thread Richard Lawrence
Hi Tom and all, t...@tsdye.com (Thomas S. Dye) writes: Richard Lawrence richard.lawre...@berkeley.edu 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

Re: [O] Citations, continued

2015-02-10 Thread Thomas S. Dye
Richard Lawrence richard.lawre...@berkeley.edu 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

Re: [O] Citations, continued

2015-02-10 Thread Thomas S. Dye
Richard Lawrence richard.lawre...@berkeley.edu writes: Hi Tom and all, t...@tsdye.com (Thomas S. Dye) writes: Richard Lawrence richard.lawre...@berkeley.edu writes: Conceptually, something like `@key:year' isn't a citation, but merely indirection, because it doesn't actually provide the

Re: [O] Citations, continued

2015-02-10 Thread Stefan Nobis
Richard Lawrence richard.lawre...@berkeley.edu writes: Rasmus ras...@gmx.us 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

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

2015-02-10 Thread Rasmus
Lawrence Bottorff borg...@gmail.com 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] 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, with

Re: [O] Citations, continued

2015-02-10 Thread Richard Lawrence
Rasmus ras...@gmx.us 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.

[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 borg...@gmail.com 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.

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 ras...@gmx.us wrote: Lawrence Bottorff borg...@gmail.com 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

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

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

2015-02-10 Thread Rainer M Krug
Charles Berry ccbe...@ucsd.edu writes: Rainer M Krug Rainer at krugs.de writes: Sebastien Vauban sva-news@... writes: Rainer M Krug wrote: Charles Berry ccberry@... writes: Rainer M Krug Rainer at krugs.de writes: when exporting the fillowing org file, I get an endless loop of

Re: [O] Citations, continued

2015-02-10 Thread Nicolas Goaziou
John Kitchin jkitc...@andrew.cmu.edu 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

[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 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

Re: [O] Citations, continued

2015-02-10 Thread Nicolas Goaziou
Rasmus ras...@gmx.us 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

Re: [O] Citations, continued

2015-02-10 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr 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

Re: [O] Citations, continued

2015-02-10 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr 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

Re: [O] Citations, continued

2015-02-10 Thread Nicolas Goaziou
Rasmus ras...@gmx.us 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

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

Re: [O] Citations, continued

2015-02-10 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr 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

Re: [O] Citations, continued

2015-02-10 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: Nicolas Goaziou m...@nicolasgoaziou.fr 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

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 the

Re: [O] Citations, continued

2015-02-10 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr 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

Re: [O] Citations, continued

2015-02-10 Thread Andreas Leha
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us 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

[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-i)

[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

[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

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

2015-02-10 Thread Rasmus
Rainer M Krug rai...@krugs.de 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

[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 rai...@krugs.de writes: Rasmus ras...@gmx.us writes: Rainer M Krug rai...@krugs.de

[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

Re: [O] Citations, continued

2015-02-10 Thread Thomas S. Dye
Nicolas Goaziou m...@nicolasgoaziou.fr 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

[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

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

2015-02-10 Thread Rainer M Krug
Charles C. Berry ccbe...@ucsd.edu 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

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

2015-02-10 Thread Nicolas Goaziou
Hello, Vaidheeswaran C vaidheeswaran.chinnar...@gmail.com 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

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

2015-02-10 Thread Nicolas Goaziou
Hello, Christian Moe m...@christianmoe.com 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]].

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

2015-02-10 Thread Nicolas Goaziou
Hello, Rainer M Krug rai...@krugs.de 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

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] 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.

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 Cvaidheeswaran.chinnar...@gmail.com 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

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 Moem...@christianmoe.com 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

Re: [O] orgmode as a transcription tool?

2015-02-10 Thread Bill White
On Sat Feb 07 2015 at 10:38, Marcin Borkowski mb...@wmi.amu.edu.pl wrote: On 2015-02-03, at 06:45, Basile (The Flammable Project) flammable.proj...@gmail.com 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

[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 ras...@gmx.us 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 -

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

2015-02-10 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us 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] [PATCH]: BUG fix and Add header-args property to source block info

2015-02-10 Thread Rainer M Krug
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Rainer M Krug rai...@krugs.de 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

Re: [O] Strange behavior with block agendas

2015-02-10 Thread Nicolas Goaziou
Hello, Yuri Niyazov yuri.niya...@gmail.com 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 h1title/h1 in ox-html). For instance, one might have special org-html-preamble code. This patch adds

Re: [O] timeline view - showing times

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

Re: [O] timeline view - showing times

2015-02-10 Thread Paul Rudin
Marcin Borkowski mb...@wmi.amu.edu.pl writes: On 2015-02-09, at 18:43, Paul Rudin p...@rudin.co.uk 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 ...

[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

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

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

2015-02-10 Thread Rainer M Krug
Rasmus ras...@gmx.us writes: Rainer M Krug rai...@krugs.de 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