From mboxrd@z Thu Jan 1 00:00:00 1970 From: feng shu Subject: Re: [ANN] Bibliography support ODT + JabRef Date: Tue, 30 Jul 2013 17:56:50 +0800 Message-ID: References: <87fvvbzlgr.fsf@gmail.com> <87vc40nh59.fsf@gmail.com> <87vc3uonao.fsf@gmail.com> <87ehaihhts.fsf@gmail.com> <87vc3uwo80.fsf@gmail.com> <87ob9mfotu.fsf@gmail.com> <87li4q9dt6.fsf@gmail.com> <87y58opree.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044282bcc26d9504e2b7a0ee Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V46fl-00006E-JG for emacs-orgmode@gnu.org; Tue, 30 Jul 2013 05:56:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V46fk-0003ZV-Ex for emacs-orgmode@gnu.org; Tue, 30 Jul 2013 05:56:53 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:45314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V46fk-0003ZH-5Y for emacs-orgmode@gnu.org; Tue, 30 Jul 2013 05:56:52 -0400 Received: by mail-wi0-f175.google.com with SMTP id hq12so2515728wib.2 for ; Tue, 30 Jul 2013 02:56:50 -0700 (PDT) In-Reply-To: <87y58opree.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jambunathan K Cc: "emacs-orgmode@gnu.org" --f46d044282bcc26d9504e2b7a0ee Content-Type: text/plain; charset=UTF-8 On Tue, Jul 30, 2013 at 1:07 PM, Jambunathan K wrote: > > Nicolas, just jump to the last para. > > Feng Shu > > Please CC the mailing list. I don't mind receiving or replying to > one-to-one mails but things that we exchange will be of interest to > other members. > > feng shu writes: > > > 1. When I add (setq org-odt-data-dir "~/project/org-mode/etc/") to my . > > emacs file, it works properly, Thanks! > > > > 2. Two question: > > 1. How can I get uppercite: test^[1] instead of test[1]? > > 2. How can I get compressed cite,like: test^[3, 5, 7-10, 16] > > Thanks for the requests. > > Numbering is done by ox-jabref.el and not by JabRef application, so > these requests can indeed be met with 5-15 minute of effort. But I > hesitate to > > The main problem is there are just too many styles a Bibliographic > Reference can be typeset - right from what some standard says, to what > my university wants to what I prefer myself. > > This is where some sort of common agreement - even just among the > members of the community - will help. I will keep listening to the > conversation and hopefully an opinion will emerge during the course of > time. > We don't need include all the styles, but we should make the feature easy hack for end users. we can introduce hook and filter! > > > Forgot to mention: > > > The speed of converting bib to xml is slow, may be we should introduce > > a cache system. > > If you use "Numbered" transcoders, then the citekeys are processed one > by one. So if there are 10 citekeys, then there will be 20 invocations > of command line. > > One way of dealing with this is to choose a transcoder, that doesn't > enumerate. In that case the Bibliographic Reference is created enbloc. > So the number of command line invocations will reduce to 11 = 10 + 1. > The ASCII document that I circulated gives examples of such transcoders. > > > just like previewing latex snippet. > > Caching of citekey->XML or whatever transformation is one option. > Another option is to just disable citations for casual exports and > enable it one for the final output. > > Something like > > cite:t > > for #+OPTIONS. > > For now you can customize `org-odt-citation-transcoders' so that > citation processing is disabled. > > > > --f46d044282bcc26d9504e2b7a0ee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Tue, Jul 30, 2013 at 1:07 PM, Jambunathan K &l= t;kjambunathan@= gmail.com> wrote:

Nicolas, just jump to the last para.

Feng Shu

Please CC the mailing list. =C2=A0I don't mind receiving or replying to=
one-to-one mails but things that we exchange will be of interest to
other members.

feng shu <tumashu@gmail.com>= writes:

> 1. When I add (setq org-odt-data-dir "~/project/org-mode/etc/&quo= t;) to my .
> emacs file, it works properly, Thanks!
>
> 2. Two question:
> 1. How can I get uppercite: test^[1] instead of test[1]?
> 2. How can I get compressed cite,like: test^[3, 5, 7-10, 16]

Thanks for the requests.

Numbering is done by ox-jabref.el and not by JabRef application, so
these requests can indeed be met with 5-15 minute of effort. =C2=A0But I hesitate to

The main problem is there are just too many styles a Bibliographic
Reference can be typeset - right from what some standard says, to what
my university wants to what I prefer myself.

This is where some sort of common agreement - even just among the
members of the community - will help. =C2=A0I will keep listening to the conversation and hopefully an opinion will emerge during the course of
time.

We don't need include all the= styles, but we should make the feature easy hack for end users. we can int= roduce hook and filter!
=C2=A0

> Forgot to mention:

> The speed of converting bib to xml is slow, may be we should introduce=
> a cache system.

If you use "Numbered" transcoders, then the citekeys are processe= d one
by one. =C2=A0So if there are 10 citekeys, then there will be 20 invocation= s
of command line.

One way of dealing with this is to choose a transcoder, that doesn't enumerate. =C2=A0In that case the Bibliographic Reference is created enbloc= .
So the number of command line invocations will reduce to 11 =3D 10 + 1.
The ASCII document that I circulated gives examples of such transcoders.
> just like previewing latex snippet.

Caching of citekey->XML or whatever transformation is one option.
Another option is to just disable citations for casual exports and
enable it one for the final output.

Something like

=C2=A0 =C2=A0cite:t

for #+OPTIONS.

For now you can customize `org-odt-citation-transcoders' so that
citation processing is disabled.




--f46d044282bcc26d9504e2b7a0ee--