public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* pandoc-citeproc: getDefaultCSL
@ 2013-10-22 15:54 Emil Axelsson
       [not found] ` <52669FBB.6060604-Ga8gg/MwtDQwFerOooGFRg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Emil Axelsson @ 2013-10-22 15:54 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hi!

I don't seem to be able to get at the default style included in 
pandoc-citeproc. Would it be possible to export `getDefaultCSL` from the 
package? Is there another way to reach the file?

Thanks!

/ Emil


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

* Re: pandoc-citeproc: getDefaultCSL
       [not found] ` <52669FBB.6060604-Ga8gg/MwtDQwFerOooGFRg@public.gmane.org>
@ 2013-10-22 16:03   ` John MacFarlane
       [not found]     ` <20131022160345.GC21582-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: John MacFarlane @ 2013-10-22 16:03 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

It's here:
https://github.com/jgm/pandoc-citeproc/blob/master/chicago-author-date.csl

Exporting getDefaultCSL might be a good idea, though.

+++ Emil Axelsson [Oct 22 13 17:54 ]:
> Hi!
> 
> I don't seem to be able to get at the default style included in
> pandoc-citeproc. Would it be possible to export `getDefaultCSL` from
> the package? Is there another way to reach the file?
> 
> Thanks!
> 
> / Emil
> 
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/52669FBB.6060604%40chalmers.se.
> For more options, visit https://groups.google.com/groups/opt_out.


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

* Re: pandoc-citeproc: getDefaultCSL
       [not found]     ` <20131022160345.GC21582-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
@ 2013-10-22 16:08       ` Emil Axelsson
       [not found]         ` <5266A319.5090809-Ga8gg/MwtDQwFerOooGFRg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Emil Axelsson @ 2013-10-22 16:08 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

2013-10-22 18:03, John MacFarlane skrev:
> It's here:
> https://github.com/jgm/pandoc-citeproc/blob/master/chicago-author-date.csl

Right, I meant I want to reach it reliably from a Haskell program.

> Exporting getDefaultCSL might be a good idea, though.

Yes, otherwise I have to include the file in my own package. That's not 
the end of the world, but it would certainly be more convenient to get 
it from pandoc-citeproc, since I depend on it anyway.

> +++ Emil Axelsson [Oct 22 13 17:54 ]:
>> Hi!
>>
>> I don't seem to be able to get at the default style included in
>> pandoc-citeproc. Would it be possible to export `getDefaultCSL` from
>> the package? Is there another way to reach the file?
>>
>> Thanks!
>>
>> / Emil
>>
>> --
>> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/52669FBB.6060604%40chalmers.se.
>> For more options, visit https://groups.google.com/groups/opt_out.
>


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

* Re: pandoc-citeproc: getDefaultCSL
       [not found]         ` <5266A319.5090809-Ga8gg/MwtDQwFerOooGFRg@public.gmane.org>
@ 2013-10-22 16:34           ` Emil Axelsson
       [not found]             ` <5266A8FF.2010104-Ga8gg/MwtDQwFerOooGFRg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Emil Axelsson @ 2013-10-22 16:34 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

2013-10-22 18:08, Emil Axelsson skrev:
>> Exporting getDefaultCSL might be a good idea, though.
>
> Yes, otherwise I have to include the file in my own package. That's not
> the end of the world, but it would certainly be more convenient to get
> it from pandoc-citeproc, since I depend on it anyway.

Just some context: I'm porting an application (Bookshelf, on Hackage) 
where, before pandoc-1.12, I was able to use

     readDataFileUTF8 Nothing "default.csl"

I'm looking for the simplest way to achieve the same thing now.

Thanks again!

/ Emil


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

* Re: pandoc-citeproc: getDefaultCSL
       [not found]             ` <5266A8FF.2010104-Ga8gg/MwtDQwFerOooGFRg@public.gmane.org>
@ 2013-10-23  2:50               ` John MacFarlane
       [not found]                 ` <20131023025011.GD81482-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: John MacFarlane @ 2013-10-23  2:50 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Reasonable request.  I've exposed Text.CSL.Data.  This will
be in the next release -- probably not too far in the future.

+++ Emil Axelsson [Oct 22 13 18:34 ]:
> 2013-10-22 18:08, Emil Axelsson skrev:
> >>Exporting getDefaultCSL might be a good idea, though.
> >
> >Yes, otherwise I have to include the file in my own package. That's not
> >the end of the world, but it would certainly be more convenient to get
> >it from pandoc-citeproc, since I depend on it anyway.
> 
> Just some context: I'm porting an application (Bookshelf, on
> Hackage) where, before pandoc-1.12, I was able to use
> 
>     readDataFileUTF8 Nothing "default.csl"
> 
> I'm looking for the simplest way to achieve the same thing now.
> 
> Thanks again!
> 
> / Emil
> 
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5266A8FF.2010104%40chalmers.se.
> For more options, visit https://groups.google.com/groups/opt_out.


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

* Re: pandoc-citeproc: getDefaultCSL
       [not found]                 ` <20131023025011.GD81482-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
@ 2013-10-23  5:08                   ` Emil Axelsson
  0 siblings, 0 replies; 6+ messages in thread
From: Emil Axelsson @ 2013-10-23  5:08 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

That does the trick. Thank you!

/ Emil

2013-10-23 04:50, John MacFarlane skrev:
> Reasonable request.  I've exposed Text.CSL.Data.  This will
> be in the next release -- probably not too far in the future.
>
> +++ Emil Axelsson [Oct 22 13 18:34 ]:
>> 2013-10-22 18:08, Emil Axelsson skrev:
>>>> Exporting getDefaultCSL might be a good idea, though.
>>>
>>> Yes, otherwise I have to include the file in my own package. That's not
>>> the end of the world, but it would certainly be more convenient to get
>>> it from pandoc-citeproc, since I depend on it anyway.
>>
>> Just some context: I'm porting an application (Bookshelf, on
>> Hackage) where, before pandoc-1.12, I was able to use
>>
>>      readDataFileUTF8 Nothing "default.csl"
>>
>> I'm looking for the simplest way to achieve the same thing now.
>>
>> Thanks again!
>>
>> / Emil
>>
>> --
>> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5266A8FF.2010104%40chalmers.se.
>> For more options, visit https://groups.google.com/groups/opt_out.
>


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

end of thread, other threads:[~2013-10-23  5:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-22 15:54 pandoc-citeproc: getDefaultCSL Emil Axelsson
     [not found] ` <52669FBB.6060604-Ga8gg/MwtDQwFerOooGFRg@public.gmane.org>
2013-10-22 16:03   ` John MacFarlane
     [not found]     ` <20131022160345.GC21582-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-10-22 16:08       ` Emil Axelsson
     [not found]         ` <5266A319.5090809-Ga8gg/MwtDQwFerOooGFRg@public.gmane.org>
2013-10-22 16:34           ` Emil Axelsson
     [not found]             ` <5266A8FF.2010104-Ga8gg/MwtDQwFerOooGFRg@public.gmane.org>
2013-10-23  2:50               ` John MacFarlane
     [not found]                 ` <20131023025011.GD81482-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-10-23  5:08                   ` Emil Axelsson

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).