public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* 2 more patches related to citeproc
@ 2010-11-15 14:13 Andrea Rossato
       [not found] ` <20101115141355.GT19143-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Andrea Rossato @ 2010-11-15 14:13 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Hi,

I'm attaching a couple of patches to update pandoc to recent changes
in citeproc-hs:

  - the first one removes the second string (used for the
    bibliographic database format) in readBiblioFile;

  - the second is needed for checking if we actually have some output
    to place in a footnote before creating it.

These patches requires the latest changes I pushed in the darcs
citeproc-hs repository.

Now pandoc can also read native Json data. I'm attaching an example to
this file (it also includes some rich text formatting in variables
that I'm going to implement in citeproc later today).

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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.


[-- Attachment #2: 0018-check-if-there-is-actual-output-before-creating-a-fo.patch --]
[-- Type: text/plain, Size: 1404 bytes --]

From 3da4c947e43047bb7622b17850489c3f3548ab1c Mon Sep 17 00:00:00 2001
From: Andrea Rossato <andrea.rossato-/Q1r7N5in3P/wltNWqQaag@public.gmane.org>
Date: Mon, 15 Nov 2010 15:01:05 +0100
Subject: [PATCH 18/19] check if there is actual output before creating a footnote
 this will avoid empty footnotes

---
 src/Text/Pandoc/Biblio.hs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Text/Pandoc/Biblio.hs b/src/Text/Pandoc/Biblio.hs
index bca24d8..05cc296 100644
--- a/src/Text/Pandoc/Biblio.hs
+++ b/src/Text/Pandoc/Biblio.hs
@@ -65,11 +65,11 @@ processCite s cs (i:is)
     | Cite t _ <- i = process t ++ processCite s cs is
     | otherwise     = i          : processCite s cs is
     where
+      addNt t x = if null x then [] else [Cite t $ renderPandoc s x]
       process t = case M.lookup t cs of
                     Just  x -> if isTextualCitation t && x /= []
-                               then renderPandoc s [head x] ++ [Space] ++
-                                    [Cite t $ renderPandoc s $ tail x]
-                               else [Cite t $ renderPandoc s        x]
+                               then renderPandoc s [head x] ++ [Space] ++ addNt t (tail x)
+                               else [Cite t $ renderPandoc s x]
                     Nothing -> [Str ("Error processing " ++ show t)]
 
 isTextualCitation :: [Citation] -> Bool
-- 
1.7.1


[-- Attachment #3: 0019-remove-the-bibliographiic-format-from-readBiblioFile.patch --]
[-- Type: text/plain, Size: 930 bytes --]

From 24702dca863e93dae06d23b2def16fe9b9f20a2b Mon Sep 17 00:00:00 2001
From: Andrea Rossato <andrea.rossato-/Q1r7N5in3P/wltNWqQaag@public.gmane.org>
Date: Mon, 15 Nov 2010 15:01:54 +0100
Subject: [PATCH 19/19] remove the bibliographiic format from readBiblioFile

---
 src/pandoc.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pandoc.hs b/src/pandoc.hs
index 0cca48b..5fcec50 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -521,7 +521,7 @@ options =
     , Option "" ["bibliography"]
                  (ReqArg
                   (\arg opt -> do
-                     refs <- catch (readBiblioFile arg "") $ \e -> do
+                     refs <- catch (readBiblioFile arg) $ \e -> do
                                UTF8.hPutStrLn stderr $
                                  "Error reading bibliography `" ++ arg ++ "'"
                                UTF8.hPutStrLn stderr $ show e
-- 
1.7.1


[-- Attachment #4: biblio.json --]
[-- Type: text/plain, Size: 9840 bytes --]

{
	"ITEM-1": {
		"id": "ITEM-1",
		"title":"Boundaries of Dissent: Protest and State Power in the Media Age",
		"author": [
			{
				"family": "D'Arcus",
				"given": "Bruce",
				"static-ordering": false
			}
		],
        "note":"The apostrophe in Bruce's name appears in proper typeset form.",
		"publisher": "Routledge",
		"issued": {
			"date-parts":[
				[2005, 11, 22]
			]
		},
		"type": "book"
	},
	"ITEM-2": {
		"id": "ITEM-2",
		"author": [
			{
				"family": "Bennett",
				"given": "Frank G.",
				"suffix": "Jr.",
				"static-ordering": false
			}
		],
		"title":"Getting Property Right: \"Informal\" Mortgages in the Japanese Courts",
		"container-title":"Pacific Rim Law & Policy Journal",
		"volume": "18",
		"page": "463-509",
		"issued": {
			"date-parts":[
				[2009, 8]
			]
		},
		"type": "article-journal",
        "note": "Note the flip-flop behavior of the quotations marks around \"informal\" in the title of this citation.  This works for quotation marks in any style locale.  Oh, and, uh, these notes illustrate the formatting of annotated bibliographies (!)."
	},
	"ITEM-3": {
		"id": "ITEM-3",
		"title":"Key Process Conditions for Production of C<sub>4</sub> Dicarboxylic Acids in Bioreactor Batch Cultures of an Engineered <i>Saccharomyces cerevisiae</i> Strain",
        "note":"This cite illustrates the rich text formatting capabilities in the new processor, as well as page range collapsing (in this case, applying the collapsing method required by the Chicago Manual of Style).  Also, as the IEEE example above partially illustrates, we also offer robust handling of particles such as \"van\" and \"de\" in author names.",
		"author": [
			{
				"family": "Zelle",
				"given": "Rintze M."
			},
			{
				"family": "Hulster",
				"given": "Erik",
				"dropping-particle":"de"
			},
			{
				"family": "Kloezen",
				"given": "Wendy"
			},
			{
				"family":"Pronk",
				"given":"Jack T."
			},
			{
				"family": "Maris",
				"given":"Antonius J.A.",
				"dropping-particle":"van"
			}
		],
		"container-title": "Applied and Environmental Microbiology",
		"issued":{
			"date-parts":[
				[2010, 2]
			]
		},
		"page": "744-750",
		"volume":"76",
		"issue": "3",
		"doi":"10.1128/AEM.02396-09",
		"type": "article-journal"
	},
	"ITEM-4": {
		"id": "ITEM-4",
		"author": [
			{
				"family": "Razlogova",
				"given": "Elena"
			}
		],
		"title": "Radio and Astonishment: The Emergence of Radio Sound, 1920-1926",
		"type": "paper-conference",
		"event": "Society for Cinema Studies Annual Meeting",
		"event-place": "Denver, CO",
        "note":"All styles in the CSL repository are supported by the new processor, including the popular Chicago styles by Elena.",
		"issued": {
			"date-parts": [
				[
					2002,
					5
				]
			]
		}
	},
	"ITEM-5": {
		"id": "ITEM-5",
		"author": [
			{
				"family": "梶田",
				"given": "将司"
			},
			{
				"family": ":ja-alalc97: Kajita",
				"given": "Shoji"
			},
			{
				"family": "角所",
				"given": "考"
			},
			{
				"family": ":ja-alalc97: Kakusho",
				"given": "Takashi"
			},
			{
				"family": "中澤",
				"given": "篤志"
			},
			{
				"family": ":ja-alalc97: Nakazawa",
				"given": "Atsushi"
			},
			{
				"family": "竹村",
				"given": "治雄"
			},
			{
				"family": ":ja-alalc97: Takemura",
				"given": "Haruo"
			},
			{
				"family": "美濃",
				"given": "導彦"
			},
			{
				"family": ":ja-alalc97: Mino",
				"given": "Michihiko"
			},
			{
				"family": "間瀬",
				"given": "健二"
			},
			{
				"family": ":ja-alalc97: Mase",
				"given": "Kenji"
			}
		],
		"title": "高等教育機関における次世代教育学習支援プラットフォームの構築に向けて :ja-alalc97: Kōtō kyōiku ni okeru jisedai kyōiku gakushū shien puratto fōmu no kōchiku ni mukete :en: Toward the Development of Next-Generation Platforms for Teaching and Learning in Higher Education",
		"container-title": "日本教育工学会論文誌",
		"volume": "31",
		"issue": "3",
		"page": "297-305",
		"issued": {
			"date-parts": [
				[
					2007,
					12
				]
			]
		},
        "note": "Note the transformations to which this cite is subjected in the samples above, and the fact that it appears in the correct sort position in all rendered forms.  Selection of multi-lingual content can be configured in the style, permitting one database to serve a multi-lingual author in all languages in which she might publish."

	},
	"ITEM-6": {
		"id": "ITEM-6",
		"title":"Evaluating Components of International Migration: Consistency of 2000 Nativity Data",
		"note": "This cite illustrates the formatting of institutional authors.  Note that there is no \"and\" between the individual author and the institution with which he is affiliated.",
		"author": [
			{
				"family": "Malone",
				"given": "Nolan J.",
				"static-ordering": false
			},
			{
				"literal": "U.S. Bureau of the Census"
			}
		],
		"publisher": "Routledge",
		"issued": {
			"date-parts":[
				[2001, 12, 5]
			]
		},
		"type": "book"
	},
	"ITEM-7": {
		"id": "ITEM-7",
		"title": "True Crime Radio and Listener Disenchantment with Network Broadcasting, 1935-1946",
		"author":[
			{
				"family": "Razlogova",
				"given": "Elena"
			}
		],
		"container-title": "American Quarterly",
		"volume": "58",
		"page": "137-158",
		"issued": {
			"date-parts": [
				[2006, 3]
			]
		},
		"type": "article-journal"
	},
	"ITEM-8": {
		"id": "ITEM-8",
		"title": "The Guantanamobile Project",
		"container-title": "Vectors",
		"volume": "1",
		"author":[
			{
				"family": "Razlogova",
				"given": "Elena"
			},
			{
				"family": "Lynch",
				"given": "Lisa"
			}
		],
		"issued": {
			"season": 3,
			"date-parts": [
				[2005]
			]
		},
		"type": "article-journal"

	},
	"ITEM-9": {
		"id": "ITEM-9",
		"container-title": "FEMS Yeast Research",
		"volume": "9",
		"issue": "8",
		"page": "1123-1136",
		"title": "Metabolic engineering of <i>Saccharomyces cerevisiae</i> for production of carboxylic acids: current status and challenges",
		"contributor":[
			{
				"family": "Zelle",
				"given": "Rintze M."
			}
		],
		"author": [
			{
				"family": "Abbott",
				"given": "Derek A."
			},
			{
				"family": "Zelle",
				"given": "Rintze M."
			},
			{
				"family":"Pronk",
				"given":"Jack T."
			},
			{
				"family": "Maris",
				"given":"Antonius J.A.",
				"dropping-particle":"van"
			}
		],
		"issued": {
			"season": "2",
			"date-parts": [
				[
					2009,
					6,
					6
				]
			]
		},
		"type": "article-journal"
	},
    "ITEM-10": {
        "container-title": "N.Y.2d", 
        "id": "ITEM-10", 
        "issued": {
            "date-parts": [
                [
                    "1989"
                ]
            ]
        }, 
        "page": "683", 
        "title": "People v. Taylor", 
        "type": "legal_case", 
        "volume": 73
    }, 
    "ITEM-11": {
        "container-title": "N.E.2d", 
        "id": "ITEM-11", 
        "issued": {
            "date-parts": [
                [
                    "1989"
                ]
            ]
        }, 
        "page": "386", 
        "title": "People v. Taylor", 
        "type": "legal_case", 
        "volume": 541
    }, 
    "ITEM-12": {
        "container-title": "N.Y.S.2d", 
        "id": "ITEM-12", 
        "issued": {
            "date-parts": [
                [
                    "1989"
                ]
            ]
        }, 
        "page": "357", 
        "title": "People v. Taylor", 
        "type": "legal_case", 
        "volume": 543
    },
    "ITEM-13": {
        "id": "ITEM-13", 
        "title": "民法 :ja-alalc97: Minpō :en: Japanese Civil Code", 
        "type": "legislation"
    },
    "ITEM-14": {
        "id": "ITEM-14", 
        "title": "Clayton Act",
        "container-title": "ch.",
        "number": 323,
		"issued": {
           "date-parts": [
             [
                1914
             ]
           ]
		},
        "type": "legislation"
    },
    "ITEM-15": {
        "id": "ITEM-15", 
        "title": "Clayton Act",
		"volume":38,
        "container-title": "Stat.",
        "page": 730,
		"issued": {
           "date-parts": [
             [
                1914
             ]
           ]
		},
        "type": "legislation"
    },
    "ITEM-16": {
        "id": "ITEM-16", 
        "title": "FTC Credit Practices Rule",
		"volume":16,
        "container-title": "C.F.R.",
        "section": 444,
		"issued": {
           "date-parts": [
             [
                1999
             ]
           ]
		},
        "type": "legislation"
    },
    "ITEM-17": {
        "id": "ITEM-17", 
        "title": "Beck v. Beck",
		"volume":1999,
        "container-title": "ME",
        "page": 110,
		"issued": {
           "date-parts": [
             [
                1999
             ]
           ]
		},
        "type": "legal_case"
    },
    "ITEM-18": {
        "id": "ITEM-18", 
        "title": "Beck v. Beck",
		"volume":733,
        "container-title": "A.2d",
        "page": 981,
		"issued": {
           "date-parts": [
             [
                1999
             ]
           ]
		},
        "type": "legal_case"
    },
    "ITEM-19": {
        "id": "ITEM-19", 
        "title": "Donoghue v. Stevenson",
		"volume":1932,
        "container-title": "App. Cas.",
        "page": 562,
		"issued": {
           "date-parts": [
             [
                1932
             ]
           ]
		},
        "type": "legal_case"
    },
    "ITEM-20": {
        "id": "ITEM-20", 
        "title": "British Columbia Elec. Ry. v. Loach",
		"volume":1916,
		"issue":1,
        "container-title": "App. Cas.",
        "page": 719,
		"authority":"P.C.",
		"issued": {
           "date-parts": [
             [
                1915
             ]
           ]
		},
        "type": "legal_case"
    }

}

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

* Re: 2 more patches related to citeproc
       [not found] ` <20101115141355.GT19143-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
@ 2010-11-16 15:18   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2010-11-16 15:18 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I've pushed these changes.  Still haven't had time to look at the
locator/suffix parsing issue in detail, but I'll try to get to it
soon.

John

+++ Andrea Rossato [Nov 15 10 15:13 ]:
> Hi,
> 
> I'm attaching a couple of patches to update pandoc to recent changes
> in citeproc-hs:
> 
>   - the first one removes the second string (used for the
>     bibliographic database format) in readBiblioFile;
> 
>   - the second is needed for checking if we actually have some output
>     to place in a footnote before creating it.
> 
> These patches requires the latest changes I pushed in the darcs
> citeproc-hs repository.
> 
> Now pandoc can also read native Json data. I'm attaching an example to
> this file (it also includes some rich text formatting in variables
> that I'm going to implement in citeproc later today).
> 
> 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.
> 

> From 3da4c947e43047bb7622b17850489c3f3548ab1c Mon Sep 17 00:00:00 2001
> From: Andrea Rossato <andrea.rossato-/Q1r7N5in3P/wltNWqQaag@public.gmane.org>
> Date: Mon, 15 Nov 2010 15:01:05 +0100
> Subject: [PATCH 18/19] check if there is actual output before creating a footnote
>  this will avoid empty footnotes
> 
> ---
>  src/Text/Pandoc/Biblio.hs |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/Text/Pandoc/Biblio.hs b/src/Text/Pandoc/Biblio.hs
> index bca24d8..05cc296 100644
> --- a/src/Text/Pandoc/Biblio.hs
> +++ b/src/Text/Pandoc/Biblio.hs
> @@ -65,11 +65,11 @@ processCite s cs (i:is)
>      | Cite t _ <- i = process t ++ processCite s cs is
>      | otherwise     = i          : processCite s cs is
>      where
> +      addNt t x = if null x then [] else [Cite t $ renderPandoc s x]
>        process t = case M.lookup t cs of
>                      Just  x -> if isTextualCitation t && x /= []
> -                               then renderPandoc s [head x] ++ [Space] ++
> -                                    [Cite t $ renderPandoc s $ tail x]
> -                               else [Cite t $ renderPandoc s        x]
> +                               then renderPandoc s [head x] ++ [Space] ++ addNt t (tail x)
> +                               else [Cite t $ renderPandoc s x]
>                      Nothing -> [Str ("Error processing " ++ show t)]
>  
>  isTextualCitation :: [Citation] -> Bool
> -- 
> 1.7.1
> 

> From 24702dca863e93dae06d23b2def16fe9b9f20a2b Mon Sep 17 00:00:00 2001
> From: Andrea Rossato <andrea.rossato-/Q1r7N5in3P/wltNWqQaag@public.gmane.org>
> Date: Mon, 15 Nov 2010 15:01:54 +0100
> Subject: [PATCH 19/19] remove the bibliographiic format from readBiblioFile
> 
> ---
>  src/pandoc.hs |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/pandoc.hs b/src/pandoc.hs
> index 0cca48b..5fcec50 100644
> --- a/src/pandoc.hs
> +++ b/src/pandoc.hs
> @@ -521,7 +521,7 @@ options =
>      , Option "" ["bibliography"]
>                   (ReqArg
>                    (\arg opt -> do
> -                     refs <- catch (readBiblioFile arg "") $ \e -> do
> +                     refs <- catch (readBiblioFile arg) $ \e -> do
>                                 UTF8.hPutStrLn stderr $
>                                   "Error reading bibliography `" ++ arg ++ "'"
>                                 UTF8.hPutStrLn stderr $ show e
> -- 
> 1.7.1
> 

> {
> 	"ITEM-1": {
> 		"id": "ITEM-1",
> 		"title":"Boundaries of Dissent: Protest and State Power in the Media Age",
> 		"author": [
> 			{
> 				"family": "D'Arcus",
> 				"given": "Bruce",
> 				"static-ordering": false
> 			}
> 		],
>         "note":"The apostrophe in Bruce's name appears in proper typeset form.",
> 		"publisher": "Routledge",
> 		"issued": {
> 			"date-parts":[
> 				[2005, 11, 22]
> 			]
> 		},
> 		"type": "book"
> 	},
> 	"ITEM-2": {
> 		"id": "ITEM-2",
> 		"author": [
> 			{
> 				"family": "Bennett",
> 				"given": "Frank G.",
> 				"suffix": "Jr.",
> 				"static-ordering": false
> 			}
> 		],
> 		"title":"Getting Property Right: \"Informal\" Mortgages in the Japanese Courts",
> 		"container-title":"Pacific Rim Law & Policy Journal",
> 		"volume": "18",
> 		"page": "463-509",
> 		"issued": {
> 			"date-parts":[
> 				[2009, 8]
> 			]
> 		},
> 		"type": "article-journal",
>         "note": "Note the flip-flop behavior of the quotations marks around \"informal\" in the title of this citation.  This works for quotation marks in any style locale.  Oh, and, uh, these notes illustrate the formatting of annotated bibliographies (!)."
> 	},
> 	"ITEM-3": {
> 		"id": "ITEM-3",
> 		"title":"Key Process Conditions for Production of C<sub>4</sub> Dicarboxylic Acids in Bioreactor Batch Cultures of an Engineered <i>Saccharomyces cerevisiae</i> Strain",
>         "note":"This cite illustrates the rich text formatting capabilities in the new processor, as well as page range collapsing (in this case, applying the collapsing method required by the Chicago Manual of Style).  Also, as the IEEE example above partially illustrates, we also offer robust handling of particles such as \"van\" and \"de\" in author names.",
> 		"author": [
> 			{
> 				"family": "Zelle",
> 				"given": "Rintze M."
> 			},
> 			{
> 				"family": "Hulster",
> 				"given": "Erik",
> 				"dropping-particle":"de"
> 			},
> 			{
> 				"family": "Kloezen",
> 				"given": "Wendy"
> 			},
> 			{
> 				"family":"Pronk",
> 				"given":"Jack T."
> 			},
> 			{
> 				"family": "Maris",
> 				"given":"Antonius J.A.",
> 				"dropping-particle":"van"
> 			}
> 		],
> 		"container-title": "Applied and Environmental Microbiology",
> 		"issued":{
> 			"date-parts":[
> 				[2010, 2]
> 			]
> 		},
> 		"page": "744-750",
> 		"volume":"76",
> 		"issue": "3",
> 		"doi":"10.1128/AEM.02396-09",
> 		"type": "article-journal"
> 	},
> 	"ITEM-4": {
> 		"id": "ITEM-4",
> 		"author": [
> 			{
> 				"family": "Razlogova",
> 				"given": "Elena"
> 			}
> 		],
> 		"title": "Radio and Astonishment: The Emergence of Radio Sound, 1920-1926",
> 		"type": "paper-conference",
> 		"event": "Society for Cinema Studies Annual Meeting",
> 		"event-place": "Denver, CO",
>         "note":"All styles in the CSL repository are supported by the new processor, including the popular Chicago styles by Elena.",
> 		"issued": {
> 			"date-parts": [
> 				[
> 					2002,
> 					5
> 				]
> 			]
> 		}
> 	},
> 	"ITEM-5": {
> 		"id": "ITEM-5",
> 		"author": [
> 			{
> 				"family": "梶田",
> 				"given": "将司"
> 			},
> 			{
> 				"family": ":ja-alalc97: Kajita",
> 				"given": "Shoji"
> 			},
> 			{
> 				"family": "角所",
> 				"given": "考"
> 			},
> 			{
> 				"family": ":ja-alalc97: Kakusho",
> 				"given": "Takashi"
> 			},
> 			{
> 				"family": "中澤",
> 				"given": "篤志"
> 			},
> 			{
> 				"family": ":ja-alalc97: Nakazawa",
> 				"given": "Atsushi"
> 			},
> 			{
> 				"family": "竹村",
> 				"given": "治雄"
> 			},
> 			{
> 				"family": ":ja-alalc97: Takemura",
> 				"given": "Haruo"
> 			},
> 			{
> 				"family": "美濃",
> 				"given": "導彦"
> 			},
> 			{
> 				"family": ":ja-alalc97: Mino",
> 				"given": "Michihiko"
> 			},
> 			{
> 				"family": "間瀬",
> 				"given": "健二"
> 			},
> 			{
> 				"family": ":ja-alalc97: Mase",
> 				"given": "Kenji"
> 			}
> 		],
> 		"title": "高等教育機関における次世代教育学習支援プラットフォームの構築に向けて :ja-alalc97: Kōtō kyōiku ni okeru jisedai kyōiku gakushū shien puratto fōmu no kōchiku ni mukete :en: Toward the Development of Next-Generation Platforms for Teaching and Learning in Higher Education",
> 		"container-title": "日本教育工学会論文誌",
> 		"volume": "31",
> 		"issue": "3",
> 		"page": "297-305",
> 		"issued": {
> 			"date-parts": [
> 				[
> 					2007,
> 					12
> 				]
> 			]
> 		},
>         "note": "Note the transformations to which this cite is subjected in the samples above, and the fact that it appears in the correct sort position in all rendered forms.  Selection of multi-lingual content can be configured in the style, permitting one database to serve a multi-lingual author in all languages in which she might publish."
> 
> 	},
> 	"ITEM-6": {
> 		"id": "ITEM-6",
> 		"title":"Evaluating Components of International Migration: Consistency of 2000 Nativity Data",
> 		"note": "This cite illustrates the formatting of institutional authors.  Note that there is no \"and\" between the individual author and the institution with which he is affiliated.",
> 		"author": [
> 			{
> 				"family": "Malone",
> 				"given": "Nolan J.",
> 				"static-ordering": false
> 			},
> 			{
> 				"literal": "U.S. Bureau of the Census"
> 			}
> 		],
> 		"publisher": "Routledge",
> 		"issued": {
> 			"date-parts":[
> 				[2001, 12, 5]
> 			]
> 		},
> 		"type": "book"
> 	},
> 	"ITEM-7": {
> 		"id": "ITEM-7",
> 		"title": "True Crime Radio and Listener Disenchantment with Network Broadcasting, 1935-1946",
> 		"author":[
> 			{
> 				"family": "Razlogova",
> 				"given": "Elena"
> 			}
> 		],
> 		"container-title": "American Quarterly",
> 		"volume": "58",
> 		"page": "137-158",
> 		"issued": {
> 			"date-parts": [
> 				[2006, 3]
> 			]
> 		},
> 		"type": "article-journal"
> 	},
> 	"ITEM-8": {
> 		"id": "ITEM-8",
> 		"title": "The Guantanamobile Project",
> 		"container-title": "Vectors",
> 		"volume": "1",
> 		"author":[
> 			{
> 				"family": "Razlogova",
> 				"given": "Elena"
> 			},
> 			{
> 				"family": "Lynch",
> 				"given": "Lisa"
> 			}
> 		],
> 		"issued": {
> 			"season": 3,
> 			"date-parts": [
> 				[2005]
> 			]
> 		},
> 		"type": "article-journal"
> 
> 	},
> 	"ITEM-9": {
> 		"id": "ITEM-9",
> 		"container-title": "FEMS Yeast Research",
> 		"volume": "9",
> 		"issue": "8",
> 		"page": "1123-1136",
> 		"title": "Metabolic engineering of <i>Saccharomyces cerevisiae</i> for production of carboxylic acids: current status and challenges",
> 		"contributor":[
> 			{
> 				"family": "Zelle",
> 				"given": "Rintze M."
> 			}
> 		],
> 		"author": [
> 			{
> 				"family": "Abbott",
> 				"given": "Derek A."
> 			},
> 			{
> 				"family": "Zelle",
> 				"given": "Rintze M."
> 			},
> 			{
> 				"family":"Pronk",
> 				"given":"Jack T."
> 			},
> 			{
> 				"family": "Maris",
> 				"given":"Antonius J.A.",
> 				"dropping-particle":"van"
> 			}
> 		],
> 		"issued": {
> 			"season": "2",
> 			"date-parts": [
> 				[
> 					2009,
> 					6,
> 					6
> 				]
> 			]
> 		},
> 		"type": "article-journal"
> 	},
>     "ITEM-10": {
>         "container-title": "N.Y.2d", 
>         "id": "ITEM-10", 
>         "issued": {
>             "date-parts": [
>                 [
>                     "1989"
>                 ]
>             ]
>         }, 
>         "page": "683", 
>         "title": "People v. Taylor", 
>         "type": "legal_case", 
>         "volume": 73
>     }, 
>     "ITEM-11": {
>         "container-title": "N.E.2d", 
>         "id": "ITEM-11", 
>         "issued": {
>             "date-parts": [
>                 [
>                     "1989"
>                 ]
>             ]
>         }, 
>         "page": "386", 
>         "title": "People v. Taylor", 
>         "type": "legal_case", 
>         "volume": 541
>     }, 
>     "ITEM-12": {
>         "container-title": "N.Y.S.2d", 
>         "id": "ITEM-12", 
>         "issued": {
>             "date-parts": [
>                 [
>                     "1989"
>                 ]
>             ]
>         }, 
>         "page": "357", 
>         "title": "People v. Taylor", 
>         "type": "legal_case", 
>         "volume": 543
>     },
>     "ITEM-13": {
>         "id": "ITEM-13", 
>         "title": "民法 :ja-alalc97: Minpō :en: Japanese Civil Code", 
>         "type": "legislation"
>     },
>     "ITEM-14": {
>         "id": "ITEM-14", 
>         "title": "Clayton Act",
>         "container-title": "ch.",
>         "number": 323,
> 		"issued": {
>            "date-parts": [
>              [
>                 1914
>              ]
>            ]
> 		},
>         "type": "legislation"
>     },
>     "ITEM-15": {
>         "id": "ITEM-15", 
>         "title": "Clayton Act",
> 		"volume":38,
>         "container-title": "Stat.",
>         "page": 730,
> 		"issued": {
>            "date-parts": [
>              [
>                 1914
>              ]
>            ]
> 		},
>         "type": "legislation"
>     },
>     "ITEM-16": {
>         "id": "ITEM-16", 
>         "title": "FTC Credit Practices Rule",
> 		"volume":16,
>         "container-title": "C.F.R.",
>         "section": 444,
> 		"issued": {
>            "date-parts": [
>              [
>                 1999
>              ]
>            ]
> 		},
>         "type": "legislation"
>     },
>     "ITEM-17": {
>         "id": "ITEM-17", 
>         "title": "Beck v. Beck",
> 		"volume":1999,
>         "container-title": "ME",
>         "page": 110,
> 		"issued": {
>            "date-parts": [
>              [
>                 1999
>              ]
>            ]
> 		},
>         "type": "legal_case"
>     },
>     "ITEM-18": {
>         "id": "ITEM-18", 
>         "title": "Beck v. Beck",
> 		"volume":733,
>         "container-title": "A.2d",
>         "page": 981,
> 		"issued": {
>            "date-parts": [
>              [
>                 1999
>              ]
>            ]
> 		},
>         "type": "legal_case"
>     },
>     "ITEM-19": {
>         "id": "ITEM-19", 
>         "title": "Donoghue v. Stevenson",
> 		"volume":1932,
>         "container-title": "App. Cas.",
>         "page": 562,
> 		"issued": {
>            "date-parts": [
>              [
>                 1932
>              ]
>            ]
> 		},
>         "type": "legal_case"
>     },
>     "ITEM-20": {
>         "id": "ITEM-20", 
>         "title": "British Columbia Elec. Ry. v. Loach",
> 		"volume":1916,
> 		"issue":1,
>         "container-title": "App. Cas.",
>         "page": 719,
> 		"authority":"P.C.",
> 		"issued": {
>            "date-parts": [
>              [
>                 1915
>              ]
>            ]
> 		},
>         "type": "legal_case"
>     }
> 
> }

-- 
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] 2+ messages in thread

end of thread, other threads:[~2010-11-16 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-15 14:13 2 more patches related to citeproc Andrea Rossato
     [not found] ` <20101115141355.GT19143-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-16 15:18   ` 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).