John MacFarlane
0411f51433
Updated copyright notices.
2011-01-01 10:26:10 -08:00
John MacFarlane
10d85f8b0b
Use functions from Text.Pandoc.Generic instead of processWith(M).
2010-12-24 13:39:27 -08:00
Nathan Gass
2e728df756
Moved special handling of punctuation in suffix out of markdown reader.
...
This allows different writers to handle punctuation in the suffix
differently.
2010-12-13 20:50:29 -08:00
John MacFarlane
b10e82c9fa
Fixed spacing bug for reference-style citations.
2010-11-28 07:55:33 -08:00
John MacFarlane
eac4abe36f
Biblio: If locator ends with ",", add it to the suffix.
2010-11-27 11:28:45 -08:00
John MacFarlane
219853b05e
Added procOpts parameter to citeproc call.
2010-11-27 11:28:11 -08:00
John MacFarlane
283f1e60cc
Use parsec parsers to split locator.
...
This is easier to read and maintain.
Also, formatting is now stripped from the locator prefix,
so you can write e.g. '*p.* 33'.
2010-11-27 07:08:32 -08:00
John MacFarlane
0871a512d7
Split locator and suffix in Biblio rather than Markdown parser.
...
Patch from Nathan Gass.
2010-11-26 12:06:56 -08:00
John MacFarlane
05f5766abe
Biblio: Check for == rather than /=.
...
This is more perspicuous.
2010-11-20 22:00:17 -08:00
John MacFarlane
3eef887dfa
Citation related changes.
...
* Don't look for bibliography in ~/.pandoc. Reason: doing
this requires a read + parse of the bibliography even when
the document doesn't use citations. This is a big performance
drag on regular pandoc invocations.
* Only look for default.csl if the document contains references.
Reason: avoids the need to read and parse csl file when the
document contains no references anyway.
* Removed findFirstFile from Shared.
2010-11-20 08:11:30 -08:00
John MacFarlane
bbb60a2586
If --csl not specified, read from data files or default.
...
Thus --csl behaves like --reference-odt, --template, etc.
2010-11-18 14:15:26 -08:00
John MacFarlane
dbe0cefc9a
Biblio: Removed stringify; pass inline list to citeproc.
2010-11-17 15:36:17 -08:00
John MacFarlane
ce9fc2a37d
Updated for changes in Citaiton type.
...
citationPrefix now [Inline] rather than String;
citationSuffix added.
This change presupposes no changes in citeproc-hs.
It passes a string for these values to citeproc-hs.
Eventually, citeproc-hs should use an [Inline] for
these as well.
2010-11-16 20:31:22 -08:00
John MacFarlane
d73a531d89
Biblio: don't add footnote if empty.
2010-11-16 07:15:30 -08:00
John MacFarlane
5c6dc5767d
Biblio: Use a Map for the lookup table.
2010-11-11 22:35:04 -08:00
John MacFarlane
36d4e649a6
Added support for textual citations (but not yet markdown syntax).
...
Patch from Andrea Rossato.
2010-11-11 21:30:34 -08:00
John MacFarlane
f7f6b2427d
Changes to use citeproc-hs 0.3.
2010-11-06 14:43:23 -07:00
John MacFarlane
5871c4d51f
Biblio: small fix to detection of punctuation (A. Rossato).
2010-11-04 09:11:15 -07:00
John MacFarlane
5e1dc6adda
Biblio: Improve footnote generation.
...
Patch from Andrea Rossato.
2010-11-03 12:58:29 -07:00
John MacFarlane
075840231b
Improve footnote generation of in-text citations w/ note styles.
...
Patch from Andrea Rossato.
2010-11-02 21:10:33 -07:00
John MacFarlane
ac06ca2b00
Changes to use citeproc 0.3.
...
Patch from Andrea Rossato.
Note: the markdown syntax is preliminary and will probably change.
2010-10-27 18:25:59 -07:00
fiddlosopher
9be0d098b8
Minor changes in Text.Pandoc.Biblio.
...
Replaced queryPandoc w queryWith, processPandoc w processWith.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1554 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-28 07:39:45 +00:00
fiddlosopher
42aca57dee
Moved all haskell source to src subdirectory.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1528 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-01-24 20:00:26 +00:00