* default citation style @ 2010-11-17 5:27 John MacFarlane [not found] ` <20101117052702.GA19396-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: John MacFarlane @ 2010-11-17 5:27 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw I was thinking it would be nice to have a default citation style, so you could omit the --csl parameter and still get reasonable output. This could work like templates, the reference.odt, etc. There would be a default.csl data file, which could be shadowed by a similarly named file in your ~/.pandoc directory. Does that seem reasonable? John ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <20101117052702.GA19396-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>]
* Re: default citation style [not found] ` <20101117052702.GA19396-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> @ 2010-11-17 18:04 ` dsanson [not found] ` <93f6981b-f672-4f36-b042-dda7f7cdc390-1pys0sOYlMOd0LQ4nh3WeVYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> 2010-11-19 19:46 ` John MacFarlane 1 sibling, 1 reply; 11+ messages in thread From: dsanson @ 2010-11-17 18:04 UTC (permalink / raw) To: pandoc-discuss I like that idea very much. A built-in default bib file wouldn't make sense, but the option to put a bib file (default.bib or default.mods or ...) in ~/.pandoc would be nice, too. David On Nov 17, 12:27 am, John MacFarlane <fiddlosop...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > I was thinking it would be nice to have a default citation > style, so you could omit the --csl parameter and still get > reasonable output. > > This could work like templates, the reference.odt, etc. > There would be a default.csl data file, which could be > shadowed by a similarly named file in your ~/.pandoc > directory. > > Does that seem reasonable? > > John -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en. ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <93f6981b-f672-4f36-b042-dda7f7cdc390-1pys0sOYlMOd0LQ4nh3WeVYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org>]
* Re: default citation style [not found] ` <93f6981b-f672-4f36-b042-dda7f7cdc390-1pys0sOYlMOd0LQ4nh3WeVYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> @ 2010-11-17 19:57 ` John MacFarlane [not found] ` <20101117195727.GC28469-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> 2010-11-17 21:50 ` Andrea Rossato 1 sibling, 1 reply; 11+ messages in thread From: John MacFarlane @ 2010-11-17 19:57 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw +++ dsanson [Nov 17 10 10:04 ]: > I like that idea very much. > > A built-in default bib file wouldn't make sense, but the option to put > a bib file (default.bib or default.mods or ...) in ~/.pandoc would be > nice, too. Yes, I agree. John ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <20101117195727.GC28469-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>]
* Re: default citation style [not found] ` <20101117195727.GC28469-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> @ 2010-11-21 18:19 ` John MacFarlane 0 siblings, 0 replies; 11+ messages in thread From: John MacFarlane @ 2010-11-21 18:19 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw +++ John MacFarlane [Nov 17 10 11:57 ]: > +++ dsanson [Nov 17 10 10:04 ]: > > I like that idea very much. > > > > A built-in default bib file wouldn't make sense, but the option to put > > a bib file (default.bib or default.mods or ...) in ~/.pandoc would be > > nice, too. > > Yes, I agree. I decided against implementing this. The problem is that it causes pandoc to read and parse a bibliography file every time it is run, even if the document doesn't contain references. This is a significant performance drag. You might ask: why not read it only if the document contains references? Because, currently, we determine whether a bare '@blah' is a reference (as opposed to a reference to an example list item, for example) is by checking the list of citations from the bibliography. So we need to read the bibliography before parsing. It's possible that we should change this way of proceeding; I'll post more on this issue in a bit. John ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: default citation style [not found] ` <93f6981b-f672-4f36-b042-dda7f7cdc390-1pys0sOYlMOd0LQ4nh3WeVYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> 2010-11-17 19:57 ` John MacFarlane @ 2010-11-17 21:50 ` Andrea Rossato [not found] ` <20101117215034.GC8887-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org> 1 sibling, 1 reply; 11+ messages in thread From: Andrea Rossato @ 2010-11-17 21:50 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw On Wed, Nov 17, 2010 at 10:04:18AM -0800, dsanson wrote: > I like that idea very much. > > A built-in default bib file wouldn't make sense, but the option to put > a bib file (default.bib or default.mods or ...) in ~/.pandoc would be > nice, too. > > David > > On Nov 17, 12:27 am, John MacFarlane <fiddlosop...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I was thinking it would be nice to have a default citation > > style, so you could omit the --csl parameter and still get > > reasonable output. > > > > This could work like templates, the reference.odt, etc. > > There would be a default.csl data file, which could be > > shadowed by a similarly named file in your ~/.pandoc > > directory. > > > > Does that seem reasonable? I agree too. I'd include some simple author-date style. I like the chicago-author-date.csl. But I'd leave the decision to John. Andrea -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en. ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <20101117215034.GC8887-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>]
* Re: default citation style [not found] ` <20101117215034.GC8887-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org> @ 2010-11-18 2:13 ` John MacFarlane 0 siblings, 0 replies; 11+ messages in thread From: John MacFarlane @ 2010-11-18 2:13 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw +++ Andrea Rossato [Nov 17 10 22:50 ]: > On Wed, Nov 17, 2010 at 10:04:18AM -0800, dsanson wrote: > > I like that idea very much. > > > > A built-in default bib file wouldn't make sense, but the option to put > > a bib file (default.bib or default.mods or ...) in ~/.pandoc would be > > nice, too. > > > > David > > > > On Nov 17, 12:27 am, John MacFarlane <fiddlosop...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I was thinking it would be nice to have a default citation > > > style, so you could omit the --csl parameter and still get > > > reasonable output. > > > > > > This could work like templates, the reference.odt, etc. > > > There would be a default.csl data file, which could be > > > shadowed by a similarly named file in your ~/.pandoc > > > directory. > > > > > > Does that seem reasonable? > > > I agree too. I'd include some simple author-date style. I like the > chicago-author-date.csl. But I'd leave the decision to John. That was the one I planned to use. By the way, you said before that I might have a nonstandard version of that file. Can you send me the standard version? John -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default citation style [not found] ` <20101117052702.GA19396-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> 2010-11-17 18:04 ` dsanson @ 2010-11-19 19:46 ` John MacFarlane [not found] ` <20101119194643.GA30277-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> 1 sibling, 1 reply; 11+ messages in thread From: John MacFarlane @ 2010-11-19 19:46 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw This has been implemented in the latest push to github. +++ John MacFarlane [Nov 16 10 21:27 ]: > I was thinking it would be nice to have a default citation > style, so you could omit the --csl parameter and still get > reasonable output. > > This could work like templates, the reference.odt, etc. > There would be a default.csl data file, which could be > shadowed by a similarly named file in your ~/.pandoc > directory. > > Does that seem reasonable? > > John > > -- > You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en. > ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <20101119194643.GA30277-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>]
* Re: default citation style [not found] ` <20101119194643.GA30277-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> @ 2010-11-20 15:41 ` dsanson [not found] ` <aa767adf-075d-4078-9555-e7394a9fefb4-bhUrjG+0PUy4o898BNfOI1YGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: dsanson @ 2010-11-20 15:41 UTC (permalink / raw) To: pandoc-discuss In the same vein, it would be nice to have a default csl path, perhaps ~/.pandoc/csl, so that one could write --csl apa.csl and it would know to use ~/.pandoc/csl/apa.csl. And---because I am really lazy!--it would be nice if one could write --csl apa and it would know to use ~/.pandoc/csl/apa.csl. ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <aa767adf-075d-4078-9555-e7394a9fefb4-bhUrjG+0PUy4o898BNfOI1YGCWtFR9XvQQ4Iyu8u01E@public.gmane.org>]
* Re: default citation style [not found] ` <aa767adf-075d-4078-9555-e7394a9fefb4-bhUrjG+0PUy4o898BNfOI1YGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> @ 2010-11-21 2:52 ` Bruce [not found] ` <38d6646e-3845-46b5-980b-56ae2c537660-f5wI9GJRwsKaNOhjBGSpuVYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Bruce @ 2010-11-21 2:52 UTC (permalink / raw) To: pandoc-discuss So I've raised this question of other CSL-supporting applications, might as well ask it here as well ... On Nov 20, 10:41 am, dsanson <dsan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > In the same vein, it would be nice to have a default csl path, perhaps > ~/.pandoc/csl, so that one could write --csl apa.csl and it would know > to use ~/.pandoc/csl/apa.csl. And---because I am really lazy!--it > would be nice if one could write --csl apa and it would know to use > ~/.pandoc/csl/apa.csl. ... why should this necessarily be pandoc-specific? What happens if I have two or three applications that use CSL? Just symlink ~/.pandoc/ csl to some other directory? Bruce -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en. ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <38d6646e-3845-46b5-980b-56ae2c537660-f5wI9GJRwsKaNOhjBGSpuVYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org>]
* Re: default citation style [not found] ` <38d6646e-3845-46b5-980b-56ae2c537660-f5wI9GJRwsKaNOhjBGSpuVYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> @ 2010-11-21 4:13 ` dsanson 2010-11-21 18:32 ` John MacFarlane 1 sibling, 0 replies; 11+ messages in thread From: dsanson @ 2010-11-21 4:13 UTC (permalink / raw) To: pandoc-discuss On Nov 20, 9:52 pm, Bruce <bdarcus.li...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > ... why should this necessarily be pandoc-specific? What happens if I > have two or three applications that use CSL? Just symlink ~/.pandoc/ > csl to some other directory? I agree: there is no reason for it to be pandoc-specific. If there is some standard place for CSL to go (on a mac, I guess it would be ~/ Library/csl or /Library/csl), supporting that would be better. David -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default citation style [not found] ` <38d6646e-3845-46b5-980b-56ae2c537660-f5wI9GJRwsKaNOhjBGSpuVYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> 2010-11-21 4:13 ` dsanson @ 2010-11-21 18:32 ` John MacFarlane 1 sibling, 0 replies; 11+ messages in thread From: John MacFarlane @ 2010-11-21 18:32 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw +++ Bruce [Nov 20 10 18:52 ]: > So I've raised this question of other CSL-supporting applications, > might as well ask it here as well ... > > On Nov 20, 10:41 am, dsanson <dsan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > In the same vein, it would be nice to have a default csl path, perhaps > > ~/.pandoc/csl, so that one could write --csl apa.csl and it would know > > to use ~/.pandoc/csl/apa.csl. And---because I am really lazy!--it > > would be nice if one could write --csl apa and it would know to use > > ~/.pandoc/csl/apa.csl. > > ... why should this necessarily be pandoc-specific? What happens if I > have two or three applications that use CSL? Just symlink ~/.pandoc/ > csl to some other directory? I like David's suggestion of having a default directory, and I could certainly implement that in pandoc. I just need to know whether it should be ~/.pandoc/csl or ~/.csl. I could do it either way. (But probably not ~/Library/CSL -- I'll use Haskell's getAppUserDataDirectory "foo" to get the directory -- and on the Mac, that returns "~/.foo".) I suppose ~/.csl might make better sense, if it's just a directory of csl style files that could be used by any application. Any objections? John -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en. ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-11-21 18:32 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-11-17 5:27 default citation style John MacFarlane [not found] ` <20101117052702.GA19396-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> 2010-11-17 18:04 ` dsanson [not found] ` <93f6981b-f672-4f36-b042-dda7f7cdc390-1pys0sOYlMOd0LQ4nh3WeVYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> 2010-11-17 19:57 ` John MacFarlane [not found] ` <20101117195727.GC28469-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> 2010-11-21 18:19 ` John MacFarlane 2010-11-17 21:50 ` Andrea Rossato [not found] ` <20101117215034.GC8887-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org> 2010-11-18 2:13 ` John MacFarlane 2010-11-19 19:46 ` John MacFarlane [not found] ` <20101119194643.GA30277-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> 2010-11-20 15:41 ` dsanson [not found] ` <aa767adf-075d-4078-9555-e7394a9fefb4-bhUrjG+0PUy4o898BNfOI1YGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> 2010-11-21 2:52 ` Bruce [not found] ` <38d6646e-3845-46b5-980b-56ae2c537660-f5wI9GJRwsKaNOhjBGSpuVYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org> 2010-11-21 4:13 ` dsanson 2010-11-21 18:32 ` John MacFarlane
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 NNTP newsgroup(s).