Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Nicolas Goaziou
Richard Lawrence 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 contain alphanumeric chara

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Nicolas Goaziou
Richard Lawrence 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 citation object with a stru

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Rasmus
Nicolas Goaziou writes: > Richard Lawrence 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 `_',

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Rasmus
Richard Lawrence 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 longest of time, mathtoweb.jar

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

2015-03-03 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou writes: > Andreas Leha 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 the update. > > Thanks for the feedback. Thanks

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Rasmus
Rasmus writes: > Richard Lawrence 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 lon

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

2015-03-03 Thread Andreas Leha
Andreas Leha writes: > Hi Nicolas, > > Nicolas Goaziou writes: >> Andreas Leha 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 the update. >>

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

2015-03-03 Thread Jarmo Hurri
Aaron Ecay 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)) should the

Re: [O] reftex support for figures

2015-03-03 Thread Ken Mankoff
On 2015-03-02 at 10:24, Ken Mankoff 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: http://www.xemacs.org/Documentation

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 Aaron Ecay
Hi Richard, 2015ko martxoak 3an, Richard Lawrence-ek idatzi zuen: > > Aaron Ecay 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 introducin

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 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 without asking,

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,

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 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 period): “This w

[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 http://orgmode.org/manual/Validating-OpenDocument-XML.html#Validating-Op

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

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Ken Mankoff
On 2015-03-03 at 10:41, Rasmus 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 think I'll ever have an author with "[" or "]" character

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Richard Lawrence
Rasmus writes: > Nicolas Goaziou writes: > >> Richard Lawrence 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 wit

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Rasmus
Hi, Ken Mankoff writes: > On 2015-03-03 at 10:41, Rasmus 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 think I'll ever have a

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Richard Lawrence
Hi Nicolas, Nicolas Goaziou 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 reference shou

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Richard Lawrence
Hi Avram, Avram Lyon 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 out to

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Richard Lawrence
Hi Aaron, Aaron Ecay 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 goto-citation-at-

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

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 long

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

2015-03-03 Thread J. David Boyd
"Monroe, Will" writes: > David, > > On 3/2/15 2:25 PM, J. David Boyd wrote: > > "Monroe, Will" 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 see > these messages: > > ,

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] 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 . If it comes to the worst, I would probably pull out csv-mode an

[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 , if I try to escape the underscore with a backslash, I get: FOO$\backslash$$_{\text{BAR}} I've

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 > http://orgmode.org/manual

Re: [O] Escape individual underscore?

2015-03-03 Thread Nick Dokos
Jacob Gerlach 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: > FOO$\backslash$$_{\text{BAR}} > > I've f

Re: [O] Escape individual underscore?

2015-03-03 Thread Nicolas Goaziou
Hello, Nick Dokos 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, -- Nicolas Goazi

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

2015-03-03 Thread Nicolas Goaziou
Andreas Leha 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 subtree) below. If there is nothing to

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

2015-03-03 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou writes: > Andreas Leha 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

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 "Vali

Re: [O] Citation syntax: a revised proposal

2015-03-03 Thread Matt Price
On Mar 3, 2015 3:43 AM, "Nicolas Goaziou" wrote: > > Richard Lawrence 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] > > > >

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 Em