Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Richard Lawrence richard.lawre...@berkeley.edu writes: Sorry, I may not have emphasized this enough, but in the grammar, I wrote: - A KEY optionally begins with `-', and obligatorily contains `@' or `' followed by a string of characters

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Aaron Ecay
Hi Rasmus, 2015ko martxoak 2an, Rasmus-ek idatzi zuen: Looks cool Aaron. Thanks! Aaron Ecay aarone...@gmail.com writes: The first issue is that the parser includes trailing punctuation in “bare” @key citations. So the following does not work as expected (the :key includes the

[O] Missing org-mode manual page: Validating OpenDocument XML

2015-03-03 Thread Monroe, Will
Hello, I'm trying to troubleshoot a corrupt ODT file that I've exported from org-mode.  The org-mode manual provides some guidance for this process on the "Validating OpenDocument XML" page (see

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Rasmus
Hi, I’m not sure I’m happy about the citations/citation proposal (under any assignment of different names to the pieces). A citations containing only one citation is degenerate: it can never have a :prefix or :suffix (these will rather be attached to the lone daughter citation). This is one

Re: [O] Here is a patch I want to add to org.el……

2015-03-03 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: I spoke a little too soon. I still like it, but there is a regression. See http://permalink.gmane.org/gmane.emacs.orgmode/95563 Indeed. I also fixed a few other things. Here's

Re: [O] reftex support for figures

2015-03-03 Thread Ken Mankoff
On 2015-03-02 at 10:24, Ken Mankoff mank...@gmail.com wrote: Does anyone have Reftex support working with Org figures? It seems like RefTeX might be able to do it via the xr package and external references, where it is searching the exported LaTeX version of the document:

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Rasmus
Richard Lawrence richard.lawre...@berkeley.edu writes: Is there any reason to go with citeproc-java over a different CSL implementation, like citeproc-js or pandoc-citeproc? I am a little nervous about shelling out to something that sounds it like it requires loading the JVM... For the

Re: [O] Here is a patch I want to add to org.el……

2015-03-03 Thread Andreas Leha
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: I spoke a little too soon. I still like it, but there is a regression. See

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Richard Lawrence
Rasmus ras...@gmx.us writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Richard Lawrence richard.lawre...@berkeley.edu writes: Sorry, I may not have emphasized this enough, but in the grammar, I wrote: - A KEY optionally begins with `-', and obligatorily contains `@' or `'

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Rasmus
Hi, Ken Mankoff mank...@gmail.com writes: On 2015-03-03 at 10:41, Rasmus ras...@gmx.us wrote: ;; type is e.g. textcite, and citations look like ;; [[cite: common pre; pre0 @key0 post0; pre1 @key1 post1; common post ]] My Biblatex keys are currently Author:Four-words-from-title. I don't

Re: [O] agenda folding/hiding of sections?

2015-03-03 Thread Sebastien Vauban
Samuel Wales wrote: i wonder if anybody has made the agenda sections fold or hide? i often find i want to hide the time section. M-x org-agenda-toggle-time-grid? Best regards, Seb -- Sebastien Vauban

Re: [O] org-calendar-holiday and local holidays

2015-03-03 Thread Melleus
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: calendar-holidays, it is because you are calling something that loads holidays.el before you set holiday-local-holidays. You're right. Now I understand. Thank you for explaining.

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Richard Lawrence
Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Oh, I did not realize there were outstanding issues with this. I remember Rasmus not liking `'. I'm fine with changing it, though I cannot think of a better symbol. Does someone think we should not have a way of indicating that a

Re: [O] Missing OpenDocument schema files and ODT file corruption

2015-03-03 Thread J. David Boyd
Monroe, Will wtmonroe...@gmail.com writes: David, On 3/2/15 2:25 PM, J. David Boyd wrote: Monroe, Will wtmonroe...@gmail.com writes: Hello, I'm using Emacs 24.4, Org-mode version 8.2.10 and I've run into a problem with missing OpenDocument schema files. Upon startup, I

Re: [O] agenda folding/hiding of sections?

2015-03-03 Thread Samuel Wales
great idea, but that only toggles the grid, not the entries.

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Avram Lyon
On Tue, Mar 3, 2015 at 9:28 AM Richard Lawrence richard.lawre...@berkeley.edu wrote: That sounds right. And I agree with Aaron that we probably don't want a hard dependency on Zotero on the output side, so maybe citeproc-js is the way to go. On the other hand, as Aaron points out,

Re: [O] What to use for tables with lengthy text in cells?

2015-03-03 Thread Tory S. Anderson
It's not a perfect solution (many of us have wished for some way of doing multi-line cells in orgmode, but there's no clear solution...) but I use a combination of width restraints[1] and toggle-truncate-lines, which I've bound to F5. If it comes to the worst, I would probably pull out csv-mode

Re: [O] What to use for tables with lengthy text in cells?

2015-03-03 Thread Charles C. Berry
On Mon, 2 Mar 2015, Charles C. Berry wrote: On Mon, 2 Mar 2015, Matt Price wrote: I have a project which will require me to enter about a paragraph in each of 5 fields several times a day. I would use org tables, but I need to be able to see the table contents in the buffer, and org hides

[O] Escape individual underscore?

2015-03-03 Thread Jacob Gerlach
Hi List, I want to include a literal underscore in LaTeX export, like FOO_BAR. Right now I get: FOO$_{\text{BAR}}$ Contrary to this stackexchange question http://stackoverflow.com/a/12753930/3371623, if I try to escape the underscore with a backslash, I get: FOO$\backslash$$_{\text{BAR}} I've

Re: [O] Here is a patch I want to add to org.el……

2015-03-03 Thread Nicolas Goaziou
Andreas Leha andreas.l...@med.uni-goettingen.de writes: On some more testing, this description is wrong. C-c C-x C-l never does anything on the first headline, e.g., which I think it should. C-c C-x C-l on the first, or any other, headline toggles LaTeX fragments in the section (not the

Re: [O] Escape individual underscore?

2015-03-03 Thread Nicolas Goaziou
Hello, Nick Dokos ndo...@gmail.com writes: I'm not sure how useful it would be but maybe there should be a setting to accommodate the inverse case: mostly subscripts a_b but allow literal underscores using some additional markup. You can use \under entity, e.g., a\under{}b Regards, --

Re: [O] Here is a patch I want to add to org.el……

2015-03-03 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: On some more testing, this description is wrong. C-c C-x C-l never does anything on the first headline, e.g., which I think it should. C-c C-x C-l on the first, or any other,

Re: [O] Missing org-mode manual page: Validating OpenDocument XML

2015-03-03 Thread Monroe, Will
On 3/3/15 2:26 PM, Vaidheeswaran C wrote: On Tuesday 03 March 2015 08:41 PM, Monroe, Will wrote: Hello, I'm trying to troubleshoot a corrupt ODT file that I've exported from org-mode. The org-mode manual provides some guidance for this process on the

Re: [O] Missing org-mode manual page: Validating OpenDocument XML

2015-03-03 Thread Vaidheeswaran C
On Tuesday 03 March 2015 08:41 PM, Monroe, Will wrote: Hello, I'm trying to troubleshoot a corrupt ODT file that I've exported from org-mode. The org-mode manual provides some guidance for this process on the Validating OpenDocument XML page (see

Re: [O] Escape individual underscore?

2015-03-03 Thread Nick Dokos
Jacob Gerlach jacobgerl...@gmail.com writes: Hi List, I want to include a literal underscore in LaTeX export, like FOO_BAR. Right now I get: FOO$_{\text{BAR}}$ Contrary to this stackexchange question, if I try to escape the underscore with a backslash, I get:

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Matt Price
On Mar 3, 2015 3:43 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Richard Lawrence richard.lawre...@berkeley.edu writes: To support multi cites, we must first decide how the parsed will present information, i.e., what are the properties in the following case [cite:pre; pre1 @k1

Re: [O] Missing org-mode manual page: Validating OpenDocument XML

2015-03-03 Thread Vaidheeswaran C
I am not sure what is happening. Some suggestions: 1. C-h v temporary-file-directory. Check this variable, particularly if your are on Windows machine. 2. Load Emacs without your custom settings. a) emacs -Q -L /path/to/org/library (`-L' option not needed if org comes from your

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Richard Lawrence
Hi Avram, Avram Lyon ajl...@gmail.com writes: On Mon, Mar 2, 2015 at 7:16 PM Richard Lawrence richard.lawre...@berkeley.edu wrote: Is there any reason to go with citeproc-java over a different CSL implementation, like citeproc-js or pandoc-citeproc? I am a little nervous about shelling

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Richard Lawrence
Hi Aaron, Aaron Ecay aarone...@gmail.com writes: Another tangentially related issue is what does (org-element-context) return when point is in a multi-citation. It would be nice if it returned the citation daughter, rather than the wrapping citations element. This would make implementing

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Aaron Ecay
Hi Nicolas, 2015ko martxoak 2an, Nicolas Goaziou-ek idatzi zuen: Hello, Aaron Ecay aarone...@gmail.com writes: I decided to go ahead and see what I could make of it. The result has been pushed to the org mode repo to the branch wip-cite-awe. (I didn’t want to push to your branch

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Aaron Ecay
Hi Richard (again), 2015ko martxoak 2an, Richard Lawrence-ek idatzi zuen: Could we guess the backend from the file extension on the BIBLIOGRAPHY, to keep things simple here? I don't use a citation manager, so I don't know if this is possible for anything other than Bib(La)TeX. Also, as

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Aaron Ecay
Hi Richard, 2015ko martxoak 3an, Richard Lawrence-ek idatzi zuen: Aaron Ecay aarone...@gmail.com writes: It would also be possible to just use an external program like citeproc-java. WDYT? I agree with Rasmus that using an external tool is the preferred way to go here. I don't think

Re: [O] org-babel-execute: being exported

2015-03-03 Thread Jarmo Hurri
Aaron Ecay aarone...@gmail.com writes: Hi Jarmo, 2015ko martxoak 2an, Jarmo Hurri-ek idatzi zuen: [...] 1. How can I identify, in org-babel-execute:processing, if the code is executed for export or for some other reason? I think the test (not (null org-babel-exp-reference-buffer))

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Rasmus
Rasmus ras...@gmx.us writes: Richard Lawrence richard.lawre...@berkeley.edu writes: Is there any reason to go with citeproc-java over a different CSL implementation, like citeproc-js or pandoc-citeproc? I am a little nervous about shelling out to something that sounds it like it requires

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Nicolas Goaziou
Richard Lawrence richard.lawre...@berkeley.edu writes: Sorry, I may not have emphasized this enough, but in the grammar, I wrote: - A KEY optionally begins with `-', and obligatorily contains `@' or `' followed by a string of characters which begins with a letter or `_', and may

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Nicolas Goaziou
Richard Lawrence richard.lawre...@berkeley.edu writes: To support multi cites, we must first decide how the parsed will present information, i.e., what are the properties in the following case [cite:pre; pre1 @k1 post1; pre2 @k2 post2; post] I was thinking that this should yield a