Commit graph

2445 commits

Author SHA1 Message Date
John MacFarlane
6a51897f33 Fixed markdown-citations.ieee.txt to use em-dashes for citation ranges.
This is a new feature in citeproc-hs.
2011-11-09 12:57:47 -08:00
John MacFarlane
c2f7ba3b69 TeXMath writer: Use unicode thin spaces for thin spaces.
Partially resolves issue #333.
2011-11-08 18:22:28 -08:00
John MacFarlane
821286a6f3 Update templates to use Content-Style-Type meta tag.
Closes #337.
2011-11-08 11:54:10 -08:00
John MacFarlane
e299f8a853 Updated templates. 2011-11-07 23:06:27 -08:00
John MacFarlane
9bee0498ab Updated templates. 2011-11-07 23:02:40 -08:00
John MacFarlane
4f95aeb6d2 HTML writer: Use <section> for footnotes if html5. 2011-11-07 12:23:05 -08:00
John MacFarlane
fd06f66301 Updated templates. 2011-11-07 12:16:37 -08:00
John MacFarlane
05fa195bf7 Biblio: Fixed mess created by my removing procInlines.
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)".
2011-11-07 11:32:08 -08:00
John MacFarlane
1af2ebce43 Biblio - fixed author-in-text citations so they don't double. 2011-11-07 11:03:33 -08:00
John MacFarlane
e95e6f3664 Biblio - Removed redundancy. 2011-11-07 10:31:25 -08:00
John MacFarlane
ca98cd8f18 Biblio: Put whole author-in-text citation in a Cite.
Previously just the date and other info went in the Cite.
2011-11-06 17:28:39 -08:00
John MacFarlane
ca5f4434c2 Further simplification of Biblio. 2011-11-06 16:48:16 -08:00
John MacFarlane
380fa06720 Further cleanup of Biblio. 2011-11-06 16:37:50 -08:00
John MacFarlane
3bf1984df6 Simplified Biblio, removed procInlines, use generics instead. 2011-11-06 16:16:06 -08:00
John MacFarlane
dd6ed88707 Markdown reader: allow punctuation only internally in cite keys.
The characters '.',':',';','$','<','>','~','#','-','_' can
be used only between two letters or digits in a citation key.

This means that '@item1.' will be parsed as a citation, 'item1',
followed by a period, instead of a citation 'item1.', as was the
case previously.

Thanks to David Sanson for alerting us to the problem.
2011-11-06 16:00:23 -08:00
John MacFarlane
e8bfabeeeb Don't add comma+space to prefix if it ends in punctuation.
Patch from Andrea Rossato.
2011-11-04 17:38:18 -07:00
John MacFarlane
195f9045a4 Clarified rule for first line of definition lists.
Closes #310.
2011-10-28 13:24:39 -07:00
John MacFarlane
f4dbd85347 Text.Pandoc.Biblio: Expand citations recursively inside nested inlines.
Closes #331.
2011-10-28 13:18:58 -07:00
John MacFarlane
565113fb6b Biblio: Treat \160 as space when parsing locator and suffix.
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.
2011-10-27 13:58:10 -07:00
John MacFarlane
40cb070fe6 Don't generate superfluous file cover-image.jpg.
Closes #319.
2011-10-27 12:53:46 -07:00
John MacFarlane
1a1f6cb08b Added TOC identifier in EPUB page template.
Closes #329.
2011-10-27 12:00:34 -07:00
John MacFarlane
3475e7ec8b Improved make_osx_package.
- Items no longer installed as root.
- Man page zipped and given proper permissions.
2011-10-26 18:28:15 -07:00
John MacFarlane
dea38326ab Removed redundant import. 2011-10-26 17:36:21 -07:00
John MacFarlane
f68e29aeb8 Fixed typo. 2011-10-26 15:49:52 -07:00
John MacFarlane
1b81981c5f HTML reader now recognizes DocBook block and inline tags.
It was always possible to include raw DocBook tags in a markdown
document, but now pandoc will be able to distinguish block from
inline tags and behave accordingly. Thus, for example,

    <sidebar>
    hello
    </sidebar>

will not be wrapped in `<para>` tags.
2011-10-25 12:44:20 -07:00
John MacFarlane
c8bc0391a8 Fixed make_osx_package.sh. Closes #288. 2011-10-24 19:29:56 -07:00
John MacFarlane
858844556a Modified windows installer generater to use cabal-dev. 2011-10-24 00:05:08 -07:00
John MacFarlane
42e5b7bd3a Modified make_osx_package.sh to use cabal-dev. 2011-10-24 00:04:14 -07:00
John MacFarlane
8c588a98c6 Revert "Added built man pages to repository."
This reverts commit eac1fc3750.
2011-10-23 18:26:50 -07:00
John MacFarlane
eac1fc3750 Added built man pages to repository.
In general I don't like adding generated content to the repository,
but I also want to make it possible to clone the repository and
'cabal install'.  THe current system with Setup.hs calling
MakeManPage.hs is too fragile.
2011-10-23 18:24:19 -07:00
John MacFarlane
8da83ff3c5 Updated README to remove mention of .bbx for bibliographies. 2011-10-04 11:52:25 -07:00
John MacFarlane
4cc3680498 Updated templates. 2011-10-03 08:58:07 -07:00
John MacFarlane
c335b6cbd8 HTML slides: only add id to div/section if --section-divs selected. 2011-10-02 23:19:03 -07:00
John MacFarlane
06054ff740 Better default dzslides template. 2011-10-02 19:41:33 -07:00
John MacFarlane
072df3f5dd Simplified slide creation in HTML writer.
A horizontal rule now gets transformed into an empty H1 header
before 'hierarchicalize' is called.

If the document that does not begin with an H1 header, an
empty one is provided.

This avoids the need for kludgy raw HTML.

Also, the 'titleslide' class is added to any section containing
just a title:

----

----
2011-10-02 11:49:56 -07:00
John MacFarlane
c8f0bd7003 Updated templates. 2011-10-01 23:41:55 -07:00
John MacFarlane
25679c918a Added note on Paul Rouget's dzslides to COPYRIGHT. 2011-10-01 23:13:57 -07:00
John MacFarlane
9b37c9cc35 Added dzslides output option.
* Added DZSlides to HTMLSlideVariant.
* Added support for dzslides in HTML writer.
* Added dzslides template.
2011-10-01 23:02:24 -07:00
John MacFarlane
22e43b8e17 Updated templates. 2011-10-01 22:56:50 -07:00
John MacFarlane
44bcb5da51 LaTeX writer: don't escape # or ~ inside href{...}.
Closes #309.
2011-10-01 22:21:39 -07:00
John MacFarlane
f8df0f50fd Added escaping of euro character to LaTeX writer.
Partially resolves #309.
2011-09-23 14:58:16 -07:00
John MacFarlane
017b443a4c Brought default.csl up to date with latest chicago-author-date.csl. 2011-09-13 18:22:52 -07:00
John MacFarlane
9924e8f03a Fixed typo in README 2011-09-09 20:32:58 -07:00
John MacFarlane
e3c560ac3d RST writer: Fixed bug involving empty table cells.
isSimple was being calculated in a way that assumed there
were no non-empty cells.

Resolves #299. Thanks to rmunoz for reporting the bug.
2011-09-05 19:13:30 -07:00
John MacFarlane
75b9ba2716 Merge pull request #304 from aslatter/master
Update version constraints + fix for GHC 7.2
2011-09-04 10:08:13 -07:00
Antoine Latter
afdffec763 TypeSynonymInstances no longer implies FlexibleInstances in GHC 7.2 2011-09-02 17:50:17 -05:00
Antoine Latter
9804e0aa20 relax some version constraints in the package description 2011-09-02 17:49:21 -05:00
Antoine Latter
192bf6036a update gitignore 2011-09-02 17:48:41 -05:00
John MacFarlane
2f0975bb5d Merge pull request #295 from takahashim/fixfootnotes
allow footnotes followed by newline without space chars in reST
2011-08-28 14:14:21 -07:00
John MacFarlane
2c15a876d8 Updated to use revised context template. 2011-08-25 09:39:20 -07:00