emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [WIP/RFC] Bibliography support ODT + JabRef
@ 2013-07-18 20:01 Jambunathan K
  2013-07-24 14:53 ` [ANN] " Jambunathan K
  0 siblings, 1 reply; 7+ messages in thread
From: Jambunathan K @ 2013-07-18 20:01 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]


[WIP/RFC] Bibliography support ODT + JabRef

I need some quick feedback on how this works out.  Look at the Org and
ODT file and tell me to what extent it will suffice.

I am not interested in Org syntax at the moment.  But I am willing to
exchange notes with anyone who wants to "canonicalize" some Citation
support in Org.  For now, the keys are referenced with \cite{key1, key2}

I am dumping

1. messages buffer.  Shows how JabRef can be invoked on the command
   line.

--8<---------------cut here---------------start------------->8---
Extracting Citation Reference (suzuki_studies_1998)
Running java -jar /home/kjambunathan/Downloads/JabRef-2.9.2.jar -n true -m suzuki_studies_1998,jabref-16048-fF.xml,ooxml.reference MyLibrary.bib
Extracting Citation Reference (blyth_zen_1966)
Running java -jar /home/kjambunathan/Downloads/JabRef-2.9.2.jar -n true -m blyth_zen_1966,jabref-16048LqL.xml,ooxml.reference MyLibrary.bib
Extracting Citation Reference (watts_way_1999)
Running java -jar /home/kjambunathan/Downloads/JabRef-2.9.2.jar -n true -m watts_way_1999,jabref-16048Y0R.xml,ooxml.reference MyLibrary.bib
--8<---------------cut here---------------end--------------->8---


2. JabRef's jstyle and layout files split out from the Jstyle.

   The jstyle is the one that comes with Jabref's OOplugin itself ->
   Default Style (numerical citations).

   The layout files were broken apart from the Jstyle for the purpose of
   org-odt export.  The files may not be perfect but gets the job done.





[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: cite.org --]
[-- Type: text/x-org, Size: 490 bytes --]


* Some section

This paragraph has some footnote references[fn:1] and cites some
bibliographic references \cite{watts_way_1999,blyth_zen_1966}.  There
are more bibliographic references. \cite{suzuki_studies_1998}.  Here I
re-cite an earlier book \cite{watts_way_1999}.  Here is another footnote.[fn:2]

#+ATTR_ODT: :style custom
#+BIBLIOGRAPHY: MyLibrary plain option:-d

* Another section

So on and so forth.

* Footnotes

[fn:1] This is a footnote.

[fn:2] This is another footnote.




[-- Attachment #3: cite.odt --]
[-- Type: application/vnd.oasis.opendocument.text, Size: 10798 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: MyLibrary.bib --]
[-- Type: text/x-bibtex, Size: 3106 bytes --]

@misc{_101_????,
	title = {101 Zen Stories},
	url = {http://www.101zenstories.com/},
	urldate = {2013-06-10},
	file = {101 Zen Stories:/home/kjambunathan/.mozilla/firefox/htr1myi9.default/zotero/storage/67EHBZZ6/www.101zenstories.com.html:text/html}
},

@book{blyth_zen_1966,
	edition = {{1St} Edition},
	title = {Zen and Zen Classics Volume 4 Mumonkan},
	publisher = {The Hokuseido Press},
	author = {Blyth, R. H.},
	year = {1966}
},

@book{watts_way_1999,
	title = {The Way of Zen},
	isbn = {0375705104},
	publisher = {Vintage},
	author = {Watts, Alan W.},
	month = jan,
	year = {1999}
},

@misc{center_for_history_and_new_media_zotero_????,
	title = {Zotero Quick Start Guide},
	url = {http://zotero.org/support/quick_start_guide},
	author = {{Center for History and New Media}},
	annote = {Welcome to {Zotero!View} the Quick Start Guide to learn how to begin collecting, managing, citing, and sharing your research {sources.Thanks} for installing Zotero.}
},

@book{besserman_crazy_1991,
	title = {Crazy Clouds: Zen radicals, rebels, and reformers},
	isbn = {9780877735434},
	shorttitle = {Crazy Clouds},
	language = {en},
	publisher = {Shambhala},
	author = {Besserman, Perle and Steger, Manfred},
	month = may,
	year = {1991},
	keywords = {Philosophy / General, Philosophy / Zen, Priests, Zen, Religion / Buddhism / General, Religion / Buddhism / Zen, Religion / General, Zen priests, Zen priests/ Biography}
},

@misc{_believing_????,
	title = {{ON} {BELIEVING} {IN} {MIND} ({SHINJIN-NO-MEI)} by Seng-t'san},
	url = {http://home.primusonline.com.au/peony/faith_in_mind.htm},
	urldate = {2013-06-10},
	file = {ON BELIEVING IN MIND (SHINJIN-NO-MEI) by Seng-t'san:/home/kjambunathan/.mozilla/firefox/htr1myi9.default/zotero/storage/SD4HNP5X/faith_in_mind.html:text/html}
},

@book{suzuki_studies_1998,
	title = {Studies in Zen},
	isbn = {0802216781},
	publisher = {Chartwell Books {Inc.,U.S.}},
	author = {Suzuki},
	month = dec,
	year = {1998}
},

@misc{_gateless_????,
	title = {The Gateless Gate Index},
	url = {http://www.sacred-texts.com/bud/glg/index.htm},
	urldate = {2013-06-10},
	file = {The Gateless Gate Index:/home/kjambunathan/.mozilla/firefox/htr1myi9.default/zotero/storage/WWH3MDSG/index.html:text/html}
},

@book{blyth_zen_1970,
	title = {Zen and Zen classics},
	language = {en},
	publisher = {Hokuseido Press},
	author = {Blyth, Reginald Horace},
	year = {1970},
	keywords = {Philosophy / Zen, Religion / Buddhism / General, Religion / Buddhism / Zen, Zen Buddhism}
},

@book{blofeld_zen_1994,
	edition = {First Evergreen Edition},
	title = {The Zen Teaching of Huang-Po: On the Transmission of Mind},
	isbn = {0802150926},
	shorttitle = {The Zen Teaching of Huang-Po},
	publisher = {Grove Press},
	translator = {Blofeld, John Eaton Calthorpe},
	month = jan,
	year = {1994}
},

@book{blofeld_zen_1994-1,
	edition = {First Evergreen Edition},
	title = {The Zen Teaching of Huang-Po: On the Transmission of Mind},
	isbn = {0802150926},
	shorttitle = {The Zen Teaching of Huang-Po},
	publisher = {Grove Press},
	translator = {Blofeld, John Eaton Calthorpe},
	month = jan,
	year = {1994}
}

[-- Attachment #5: ooxml.text.article.layout --]
[-- Type: text/plain, Size: 291 bytes --]

<text:span text:style-name="Bold">\format[Authors(LastFirst,Semicolon)]{\author}</text:span> (<text:span text:style-name="Bold">\year\uniq</text:span>). <text:span text:style-name="Emphasis">\title</text:span>, \journal \volume\begin{pages} : \format[FormatPagesForHTML]{\pages}\end{pages}.

[-- Attachment #6: ooxml.text.book.layout --]
[-- Type: text/plain, Size: 288 bytes --]

\format[Authors(LastFirst,Semicolon)]{\author}\begin{editor}\format[AuthorLastFirst,AuthorAbbreviator,AuthorAndsReplacer]{\editor} (Ed.)\end{editor}, <text:span text:style-name="Bold">\year\uniq</text:span>. <text:span text:style-name="Emphasis">\title</text:span>. \publisher, \address.

[-- Attachment #7: ooxml.text.inbook.layout --]
[-- Type: text/plain, Size: 319 bytes --]

\format[Authors(LastFirst,Semicolon)]{\author} (<text:span text:style-name="Bold">\year\uniq</text:span>). <text:span text:style-name="Emphasis">\chapter</text:span>. In: \format[AuthorLastFirst,AuthorAbbreviator,AuthorAndsReplacer]{\editor} (Ed.), <text:span text:style-name="Emphasis">\title</text:span>, \publisher.

[-- Attachment #8: ooxml.text.incollection.layout --]
[-- Type: text/plain, Size: 321 bytes --]

\format[Authors(LastFirst,Semicolon)]{\author} (<text:span text:style-name="Bold">\year\uniq</text:span>). <text:span text:style-name="Emphasis">\title</text:span>. In: \format[AuthorLastFirst,AuthorAbbreviator,AuthorAndsReplacer]{\editor} (Ed.), <text:span text:style-name="Emphasis">\booktitle</text:span>, \publisher.

[-- Attachment #9: ooxml.text.layout --]
[-- Type: text/plain, Size: 245 bytes --]

\format[Authors(LastFirst,Semicolon)]{\author} (<text:span text:style-name="Bold">\year\uniq</text:span>). <text:span text:style-name="Emphasis">\title</text:span>, \journal \volume\begin{pages} : \format[FormatPagesForHTML]{\pages}\end{pages}.

[-- Attachment #10: ooxml.text.phdthesis.layout --]
[-- Type: text/plain, Size: 173 bytes --]

\format[Authors(LastFirst,Semicolon)]{\author} (<text:span text:style-name="Bold">\year\uniq</text:span>). <text:span text:style-name="Emphasis">\title</text:span>, \school.

[-- Attachment #11: ooxml.numbered.jstyle --]
[-- Type: text/plain, Size: 1707 bytes --]

# Written by Morten O. Alver.
# This file is licensed under the terms of the GPL version 2 (or later).

NAME
Example style file for JabRef-oo plugin.

JOURNALS
Journal name 1
Journal name 2

PROPERTIES
Title="References"
IsSortByPosition="true"
IsNumberEntries="true"
ReferenceParagraphFormat="Text body"
ReferenceHeaderParagraphFormat="Heading 2"

CITATION
BracketBefore="["
BracketAfter="]"
BracketBeforeInList="["
BracketAfterInList="] "
CitationSeparator="; "
UniquefierSeparator=","
GroupedNumbersSeparator="-"
MinimumGroupingCount="3"
FormatCitations="false"
CitationCharacterFormat="Default"
PageInfoSeparator="; "

LAYOUT
article=<b>\format[Authors(LastFirst,Semicolon)]{\author}</b> (<b>\year\uniq</b>). <i>\title</i>, \journal \volume\begin{pages} : \format[FormatPagesForHTML]{\pages}\end{pages}.

book=\format[Authors(LastFirst,Semicolon)]{\author}\begin{editor}\format[AuthorLastFirst,AuthorAbbreviator,AuthorAndsReplacer]{\editor} (Ed.)\end{editor}, <b>\year\uniq</b>. <i>\title</i>. \publisher, \address.

incollection=\format[Authors(LastFirst,Semicolon)]{\author} (<b>\year\uniq</b>). <i>\title</i>. In: \format[AuthorLastFirst,AuthorAbbreviator,AuthorAndsReplacer]{\editor} (Ed.), <i>\booktitle</i>, \publisher.

inbook=\format[Authors(LastFirst,Semicolon)]{\author} (<b>\year\uniq</b>). <i>\chapter</i>. In: \format[AuthorLastFirst,AuthorAbbreviator,AuthorAndsReplacer]{\editor} (Ed.), <i>\title</i>, \publisher.

phdthesis=\format[Authors(LastFirst,Semicolon)]{\author} (<b>\year\uniq</b>). <i>\title</i>, \school.

default=\format[Authors(LastFirst,Semicolon)]{\author} (<b>\year\uniq</b>). <i>\title</i>, \journal \volume\begin{pages} : \format[FormatPagesForHTML]{\pages}\end{pages}.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-07-30 13:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-18 20:01 [WIP/RFC] Bibliography support ODT + JabRef Jambunathan K
2013-07-24 14:53 ` [ANN] " Jambunathan K
2013-07-26  5:01   ` Jambunathan K
     [not found]   ` <87vc3uonao.fsf@gmail.com>
     [not found]     ` <87ehaihhts.fsf@gmail.com>
     [not found]       ` <87vc3uwo80.fsf@gmail.com>
     [not found]         ` <87ob9mfotu.fsf@gmail.com>
     [not found]           ` <CAJpRBmekaaeV58KoHet=HpmHJD3Ua8THw5bpACVfWngYKTQCQg@mail.gmail.com>
     [not found]             ` <87li4q9dt6.fsf@gmail.com>
     [not found]               ` <CAJpRBmewo+q8Dc-AeTQ0F=u-6_nFbRTWW_9gOF9Dn9SB8fXCnw@mail.gmail.com>
2013-07-30  5:07                 ` Jambunathan K
2013-07-30  9:39                   ` Rasmus
2013-07-30  9:56                   ` feng shu
2013-07-30 13:25                     ` Feng Shu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).