Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
So, author names or titles that aren't capitalized will stay
uncapitalized.
|
|
Closes #898: notes not generated from citations were being
adjusted (first letter capitalized, for example, against author's
intentions).
|
|
The new version correctly sees a sentence ending in '.)' as ending
with punctuation. This fixes a bug which led such sentences to receive
an extra period at the end: '.).'. Thanks to Steve Petersen for
reporting.
|
|
* A suffix beginning with a digit gets 'p' inserted before it
before passing to citeproc-hs, so that bare numbers are treated
as page numbers by default.
* A suffix not beginning with punctuation has a space added at
the beginning (rather than a comma and space, as was done before).
* This adding occurs not just in author-in-text citations, but in
all citations.
The result of these changes (and the last commit) is that
`\citep[23]{item1}` in LaTeX will be interpreted properly,
with '23' treated as a locator of type 'page'.
|
|
* Reverts 1.11 change that caused citations to be rendered as
markdown citations, even if `--biblio` was specified, unless
`citation` extension is disabled. Now, formatted citations
are always printed if `--biblio` was specified. If you want to
reformat markdown keeping pandoc markdown citations intact,
just don't specify `--biblio`.
* Reverted now unnecessary changes to Text.Pandoc.Biblio adding the raw
block to mark the bibliography, and to Text.Pandoc.Writers.Markdown
to remove the bibliography if `citations` not specified.
* If the content of a `Cite` inline is a `RawInline "latex"`, which
means that a LaTeX citation command was parsed and `--biblio` wasn't
specified, then render it as a pandoc markdown citation. This means
that `pandoc -f latex -t markdown`, without `--biblio`, will convert
LaTeX citation commands to pandoc markdown citations.
|
|
In 1.11, citations would be rendered as pandoc markdown citations,
but the bibliography would still be printed.
We avoid that by adding a `RawBlock "pandoc" "references"` before
the references. This allows the markdown writer to find the references
and strip them off when `citations` is enabled.
|
|
This fixed a bug with notes on titles using footnote styles.
|
|
|
|
This reverts commit 7499499b68934ae6f3418940328c7fc2bd9fcadd.
Conflicts:
src/Text/Pandoc/Readers/LaTeX.hs
|
|
Also changed Biblio, Markdown reader, and LaTeX reader tests because
of new citationSuppressParens field in Citation.
|
|
If Nothing, then nothing is done.
|
|
* It is no longer in the IO monad.
* setHash uses state rather than Data.Unique.
* It takes a Style argument rather than parameters for CSL
and abbrev filenames.
* pandoc.hs now calls the functions to parse the style file
and add abbrevs.
|
|
API change.
|
|
Now citeproc-hs is fixed upstream, so this is no longer needed.
Closes #531.
|
|
|
|
|
|
No other module directly imports Parsec. This will make it easier
to change the parsing backend in the future, if we want to.
|
|
|
|
|
|
|
|
Motivation: @item1 [50] should be as close as possible to
[@item1, 50].
|
|
Fixed a bug with citations in notes and captions.
We now handle note citations by inserting notes at the
beginning, and removing notes within notes later.
|
|
Closes #460.
Note: processBiblio is a mess. It should be rewritten for
clarity and efficiency.
|
|
Mostly due to Andrea Rossato.
|
|
Now I see that procInlines was needed to prevent bottomUp
from acting on sublists.
This should fix the problem where '@item1, @item1' yielded
"Doe (1999), Doe Doe Doe Doe (1999)".
|
|
|
|
|
|
Previously just the date and other info went in the Cite.
|
|
|
|
|
|
|
|
Patch from Andrea Rossato.
|
|
Closes #331.
|
|
This fixes a bug with "p. 33" when `--smart` is used. Previously
the whole "p. 33" would be included in the suffix, with no locator.
|
|
|
|
|
|
This allows different writers to handle punctuation in the suffix
differently.
|
|
|
|
|
|
|
|
This is easier to read and maintain.
Also, formatting is now stripped from the locator prefix,
so you can write e.g. '*p.* 33'.
|
|
Patch from Nathan Gass.
|
|
This is more perspicuous.
|
|
* 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.
|
|
Thus --csl behaves like --reference-odt, --template, etc.
|
|
|
|
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.
|
|
|
|
|