* pandoc-citeproc / citeproc-hs: form-attribute in date
@ 2015-03-04 8:05 Till A. Heilmann
[not found] ` <1455e249-8d11-4f08-ae77-0db49d4a20ae-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Till A. Heilmann @ 2015-03-04 8:05 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1.1: Type: text/plain, Size: 2411 bytes --]
I am not sure this is the right place to ask the question since the issue
might stem from citeproc-hs. Anyway, using pandoc-citeproc results in
odd/possibly faulty behavior when displaying dates: pandoc-citeproc
(citeproc-hs?) does not seem to recognize the attribute 'form' when this is
given in the date element. For example: If I want to have a date (issued,
accessed …) displayed in numeric form, I have to put the according
attribute into the date-part element (to see the difference, use the
minimal csl example below). Otherwise, it does not work and the month is
displayed in long form.
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="note"
default-locale="de-DE" demote-non-dropping-particle="sort-only">
<info>
<title>Test</title>
<id>http://www.zotero.org/styles/test</id>
<link href="http://www.tillheilmann.info/english.php" rel="documentation"/>
<author>
<name>Till A. Heilmann</name>
<email>mail-/I5J6v6A6r8ks7CIFnJjIGGXanvQGlWp@public.gmane.org</email>
<uri>http://www.tillheilmann.info</uri>
</author>
<category citation-format="note"/>
<category field="humanities"/>
<summary>Test</summary>
<updated>2014-09-13T22:01:31+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work
is licensed under a Creative Commons Attribution-ShareAlike 3.0
License</rights>
</info>
<citation>
<layout>
<names variable="author"></names>
<text prefix=", " variable="title"/>
<date prefix=", " variable="issued" form="numeric">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
<date prefix=", " variable="accessed">
<date-part name="day"/>
<date-part name="month" form="numeric"/>
<date-part name="year"/>
</date>
</layout>
</citation>
</style>
--
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/1455e249-8d11-4f08-ae77-0db49d4a20ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 3244 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pandoc-citeproc / citeproc-hs: form-attribute in date
[not found] ` <1455e249-8d11-4f08-ae77-0db49d4a20ae-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-03-05 8:36 ` nickbart1980-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <521e87b1-734a-4dc1-9102-9118216bb909-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w @ 2015-03-05 8:36 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1.1: Type: text/plain, Size: 3190 bytes --]
Please submit an MWE, with expected and actual output. Please also check if
Zotero with LO or Word, or just Zotero’s “Create bibliography from item”
yields the same results; if so, I don’t think we’re seeing a
pandoc-citeproc bug here.
I’ll also note that the CSL example in
http://citationstyles.org/downloads/specification.html#locale-files-structure
has ‘form="numeric"’ both in ‘<date form="numeric">’ and ‘<date-part name=
"month" form="numeric" ...>’, so this might be required; you could ask for
clarification at http://forums.zotero.org/11/.
On Wednesday, 4 March 2015 08:05:12 UTC, Till A. Heilmann wrote:
>
> I am not sure this is the right place to ask the question since the issue
> might stem from citeproc-hs. Anyway, using pandoc-citeproc results in
> odd/possibly faulty behavior when displaying dates: pandoc-citeproc
> (citeproc-hs?) does not seem to recognize the attribute 'form' when this is
> given in the date element. For example: If I want to have a date (issued,
> accessed …) displayed in numeric form, I have to put the according
> attribute into the date-part element (to see the difference, use the
> minimal csl example below). Otherwise, it does not work and the month is
> displayed in long form.
>
> <?xml version="1.0" encoding="utf-8"?>
> <style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="note"
> default-locale="de-DE" demote-non-dropping-particle="sort-only">
> <info>
> <title>Test</title>
> <id>http://www.zotero.org/styles/test</id>
> <link href="http://www.tillheilmann.info/english.php"
> rel="documentation"/>
> <author>
> <name>Till A. Heilmann</name>
> <email>ma...-/I5J6v6A6r8ks7CIFnJjIGGXanvQGlWp@public.gmane.org <javascript:></email>
> <uri>http://www.tillheilmann.info</uri>
> </author>
> <category citation-format="note"/>
> <category field="humanities"/>
> <summary>Test</summary>
> <updated>2014-09-13T22:01:31+00:00</updated>
> <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This
> work is licensed under a Creative Commons Attribution-ShareAlike 3.0
> License</rights>
> </info>
> <citation>
> <layout>
> <names variable="author"></names>
> <text prefix=", " variable="title"/>
> <date prefix=", " variable="issued" form="numeric">
> <date-part name="day"/>
> <date-part name="month"/>
> <date-part name="year"/>
> </date>
> <date prefix=", " variable="accessed">
> <date-part name="day"/>
> <date-part name="month" form="numeric"/>
> <date-part name="year"/>
> </date>
> </layout>
> </citation>
> </style>
>
--
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/521e87b1-734a-4dc1-9102-9118216bb909%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 6712 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pandoc-citeproc / citeproc-hs: form-attribute in date
[not found] ` <521e87b1-734a-4dc1-9102-9118216bb909-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-03-05 10:59 ` Till A. Heilmann
2015-03-05 14:25 ` Till A. Heilmann
1 sibling, 0 replies; 5+ messages in thread
From: Till A. Heilmann @ 2015-03-05 10:59 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1.1: Type: text/plain, Size: 3594 bytes --]
Does not seem to be a 'proper' bug in pandoc-citeproc but a inconsistency
between Zotero and pandoc-citeproc due to bad coding of CSL style file. See
https://forums.zotero.org/discussion/47300/date-formattribute-numeric/
On Thursday, March 5, 2015 at 9:36:27 AM UTC+1, nickba...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
>
> Please submit an MWE, with expected and actual output. Please also check
> if Zotero with LO or Word, or just Zotero’s “Create bibliography from item”
> yields the same results; if so, I don’t think we’re seeing a
> pandoc-citeproc bug here.
>
> I’ll also note that the CSL example in
> http://citationstyles.org/downloads/specification.html#locale-files-structure
> has ‘form="numeric"’ both in ‘<date form="numeric">’ and ‘<date-part name=
> "month" form="numeric" ...>’, so this might be required; you could ask
> for clarification at http://forums.zotero.org/11/.
>
>
> On Wednesday, 4 March 2015 08:05:12 UTC, Till A. Heilmann wrote:
>>
>> I am not sure this is the right place to ask the question since the issue
>> might stem from citeproc-hs. Anyway, using pandoc-citeproc results in
>> odd/possibly faulty behavior when displaying dates: pandoc-citeproc
>> (citeproc-hs?) does not seem to recognize the attribute 'form' when this is
>> given in the date element. For example: If I want to have a date (issued,
>> accessed …) displayed in numeric form, I have to put the according
>> attribute into the date-part element (to see the difference, use the
>> minimal csl example below). Otherwise, it does not work and the month is
>> displayed in long form.
>>
>> <?xml version="1.0" encoding="utf-8"?>
>> <style xmlns="http://purl.org/net/xbiblio/csl" version="1.0"
>> class="note" default-locale="de-DE"
>> demote-non-dropping-particle="sort-only">
>> <info>
>> <title>Test</title>
>> <id>http://www.zotero.org/styles/test</id>
>> <link href="http://www.tillheilmann.info/english.php"
>> rel="documentation"/>
>> <author>
>> <name>Till A. Heilmann</name>
>> <email>ma...-/I5J6v6A6r8ks7CIFnJjIGGXanvQGlWp@public.gmane.org</email>
>> <uri>http://www.tillheilmann.info</uri>
>> </author>
>> <category citation-format="note"/>
>> <category field="humanities"/>
>> <summary>Test</summary>
>> <updated>2014-09-13T22:01:31+00:00</updated>
>> <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This
>> work is licensed under a Creative Commons Attribution-ShareAlike 3.0
>> License</rights>
>> </info>
>> <citation>
>> <layout>
>> <names variable="author"></names>
>> <text prefix=", " variable="title"/>
>> <date prefix=", " variable="issued" form="numeric">
>> <date-part name="day"/>
>> <date-part name="month"/>
>> <date-part name="year"/>
>> </date>
>> <date prefix=", " variable="accessed">
>> <date-part name="day"/>
>> <date-part name="month" form="numeric"/>
>> <date-part name="year"/>
>> </date>
>> </layout>
>> </citation>
>> </style>
>>
>
--
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/dc1af0e2-ccee-4efb-a5a6-aeb248457e5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 7909 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pandoc-citeproc / citeproc-hs: form-attribute in date
[not found] ` <521e87b1-734a-4dc1-9102-9118216bb909-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-05 10:59 ` Till A. Heilmann
@ 2015-03-05 14:25 ` Till A. Heilmann
[not found] ` <495d0310-7a9c-4471-b70e-dc908472c833-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: Till A. Heilmann @ 2015-03-05 14:25 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1.1: Type: text/plain, Size: 3594 bytes --]
Okay, so maybe it _is_ a bug in pandoc-citeproc. That, at least, is what
one of CSL's developers, Rintze Zelle, thinks (see
https://forums.zotero.org/discussion/47300?page=1#Item_5). Where should I
make the bug report?
On Thursday, March 5, 2015 at 9:36:27 AM UTC+1, nickba...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
>
> Please submit an MWE, with expected and actual output. Please also check
> if Zotero with LO or Word, or just Zotero’s “Create bibliography from item”
> yields the same results; if so, I don’t think we’re seeing a
> pandoc-citeproc bug here.
>
> I’ll also note that the CSL example in
> http://citationstyles.org/downloads/specification.html#locale-files-structure
> has ‘form="numeric"’ both in ‘<date form="numeric">’ and ‘<date-part name=
> "month" form="numeric" ...>’, so this might be required; you could ask
> for clarification at http://forums.zotero.org/11/.
>
>
> On Wednesday, 4 March 2015 08:05:12 UTC, Till A. Heilmann wrote:
>>
>> I am not sure this is the right place to ask the question since the issue
>> might stem from citeproc-hs. Anyway, using pandoc-citeproc results in
>> odd/possibly faulty behavior when displaying dates: pandoc-citeproc
>> (citeproc-hs?) does not seem to recognize the attribute 'form' when this is
>> given in the date element. For example: If I want to have a date (issued,
>> accessed …) displayed in numeric form, I have to put the according
>> attribute into the date-part element (to see the difference, use the
>> minimal csl example below). Otherwise, it does not work and the month is
>> displayed in long form.
>>
>> <?xml version="1.0" encoding="utf-8"?>
>> <style xmlns="http://purl.org/net/xbiblio/csl" version="1.0"
>> class="note" default-locale="de-DE"
>> demote-non-dropping-particle="sort-only">
>> <info>
>> <title>Test</title>
>> <id>http://www.zotero.org/styles/test</id>
>> <link href="http://www.tillheilmann.info/english.php"
>> rel="documentation"/>
>> <author>
>> <name>Till A. Heilmann</name>
>> <email>ma...-/I5J6v6A6r8ks7CIFnJjIGGXanvQGlWp@public.gmane.org</email>
>> <uri>http://www.tillheilmann.info</uri>
>> </author>
>> <category citation-format="note"/>
>> <category field="humanities"/>
>> <summary>Test</summary>
>> <updated>2014-09-13T22:01:31+00:00</updated>
>> <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This
>> work is licensed under a Creative Commons Attribution-ShareAlike 3.0
>> License</rights>
>> </info>
>> <citation>
>> <layout>
>> <names variable="author"></names>
>> <text prefix=", " variable="title"/>
>> <date prefix=", " variable="issued" form="numeric">
>> <date-part name="day"/>
>> <date-part name="month"/>
>> <date-part name="year"/>
>> </date>
>> <date prefix=", " variable="accessed">
>> <date-part name="day"/>
>> <date-part name="month" form="numeric"/>
>> <date-part name="year"/>
>> </date>
>> </layout>
>> </citation>
>> </style>
>>
>
--
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/495d0310-7a9c-4471-b70e-dc908472c833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 7866 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pandoc-citeproc / citeproc-hs: form-attribute in date
[not found] ` <495d0310-7a9c-4471-b70e-dc908472c833-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-03-05 16:59 ` John MacFarlane
0 siblings, 0 replies; 5+ messages in thread
From: John MacFarlane @ 2015-03-05 16:59 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Report at http://github.com/jgm/pandoc-citeproc/issues
Please give a minimal working example, with expected and
actual output, and the link you just provided.
+++ Till A. Heilmann [Mar 05 15 06:25 ]:
> Okay, so maybe it _is_ a bug in pandoc-citeproc. That, at least, is
> what one of CSL's developers, Rintze Zelle, thinks (see
> https://forums.zotero.org/discussion/47300?page=1#Item_5). Where should
> I make the bug report?
> On Thursday, March 5, 2015 at 9:36:27 AM UTC+1, nickba...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> wrote:
>
> Please submit an MWE, with expected and actual output. Please also
> check if Zotero with LO or Word, or just Zotero’s “Create bibliography
> from item” yields the same results; if so, I don’t think we’re seeing a
> pandoc-citeproc bug here.
> I’ll also note that the CSL example in [1]http://citationstyles.org/
> downloads/specification.html#locale-files-structure has
> ‘form="numeric"’ both in ‘<date form="numeric">’ and ‘<date-part
> name="month" form="numeric" ...>’, so this might be required; you could
> ask for clarification at [2]http://forums.zotero.org/11/.
> On Wednesday, 4 March 2015 08:05:12 UTC, Till A. Heilmann wrote:
>
> I am not sure this is the right place to ask the question since the
> issue might stem from citeproc-hs. Anyway, using pandoc-citeproc
> results in odd/possibly faulty behavior when displaying dates:
> pandoc-citeproc (citeproc-hs?) does not seem to recognize the attribute
> 'form' when this is given in the date element. For example: If I want
> to have a date (issued, accessed …) displayed in numeric form, I have
> to put the according attribute into the date-part element (to see the
> difference, use the minimal csl example below). Otherwise, it does not
> work and the month is displayed in long form.
> <?xml version="1.0" encoding="utf-8"?>
> <style xmlns="[3]http://purl.org/net/xbiblio/csl" version="1.0"
> class="note" default-locale="de-DE" demote-non-dropping-particle="
> sort-only">
> <info>
> <title>Test</title>
> <id>[4]http://www.zotero.org/styles/test</id>
> <link href="[5]http://www.tillheilmann.info/english.php"
> rel="documentation"/>
> <author>
> <name>Till A. Heilmann</name>
> <email>ma...-/I5J6v6A6r8ks7CIFnJjIGGXanvQGlWp@public.gmane.org</email>
> <uri>[6]http://www.tillheilmann.info</uri>
> </author>
> <category citation-format="note"/>
> <category field="humanities"/>
> <summary>Test</summary>
> <updated>2014-09-13T22:01:31+00:00</updated>
> <rights license="[7]http://creativecommons.org/licenses/
> by-sa/3.0/">This work is licensed under a Creative Commons
> Attribution-ShareAlike 3.0 License</rights>
> </info>
> <citation>
> <layout>
> <names variable="author"></names>
> <text prefix=", " variable="title"/>
> <date prefix=", " variable="issued" form="numeric">
> <date-part name="day"/>
> <date-part name="month"/>
> <date-part name="year"/>
> </date>
> <date prefix=", " variable="accessed">
> <date-part name="day"/>
> <date-part name="month" form="numeric"/>
> <date-part name="year"/>
> </date>
> </layout>
> </citation>
> </style>
>
> --
> 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 [8]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
> [9]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> [10]https://groups.google.com/d/msgid/pandoc-discuss/495d0310-7a9c-4471
> -b70e-dc908472c833%40googlegroups.com.
> For more options, visit [11]https://groups.google.com/d/optout.
>
>References
>
> 1. http://citationstyles.org/downloads/specification.html#locale-files-structure
> 2. http://forums.zotero.org/11/
> 3. http://purl.org/net/xbiblio/csl
> 4. http://www.zotero.org/styles/test
> 5. http://www.tillheilmann.info/english.php
> 6. http://www.tillheilmann.info/
> 7. http://creativecommons.org/licenses/by-sa/3.0/
> 8. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 9. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 10. https://groups.google.com/d/msgid/pandoc-discuss/495d0310-7a9c-4471-b70e-dc908472c833-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 11. https://groups.google.com/d/optout
--
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/20150305165932.GA14975%40protagoras.berkeley.edu.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-05 16:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-04 8:05 pandoc-citeproc / citeproc-hs: form-attribute in date Till A. Heilmann
[not found] ` <1455e249-8d11-4f08-ae77-0db49d4a20ae-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-05 8:36 ` nickbart1980-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <521e87b1-734a-4dc1-9102-9118216bb909-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-05 10:59 ` Till A. Heilmann
2015-03-05 14:25 ` Till A. Heilmann
[not found] ` <495d0310-7a9c-4471-b70e-dc908472c833-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-03-05 16:59 ` 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).