John MacFarlane
7689cacb5d
Setup.hs: Don't assume that the build directory is "dist."
...
Instead, get it from localBuildInfo.
2010-03-22 18:43:38 -07:00
John MacFarlane
1b1ba25432
OpenDocument writer: Use a Map for stTextStyleAttr.
...
This avoids duplicates (and invalid xml).
2010-03-22 09:46:55 -07:00
John MacFarlane
f7d896b07f
Bump version in windows setup file.
2010-03-21 23:24:26 -07:00
John MacFarlane
17b4478d4e
Whitespace fix in changelog.
2010-03-21 23:13:23 -07:00
John MacFarlane
0e6bb176f9
Updated changelog and bumped version to 1.5.0.1.
2010-03-21 22:51:04 -07:00
John MacFarlane
483a591eba
HTML writer: fixed error in Math writer that caused infinite loop.
2010-03-21 22:48:47 -07:00
John MacFarlane
9cc54751ec
Added to acknowledgements.
2010-03-20 15:59:49 -07:00
John MacFarlane
6e498fc727
cabal: included several missing test files.
2010-03-20 14:47:57 -07:00
John MacFarlane
53a109c83b
Updated RELEASE-CHECKLIST - git, not svn.
2010-03-20 14:47:31 -07:00
John MacFarlane
5a24e1371d
Removed 'plugins' directory.
2010-03-20 14:35:14 -07:00
fiddlosopher
b5e58b2a5f
Removed web directory (empty).
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1928 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 20:22:36 +00:00
fiddlosopher
8ed6865a8a
Removed web directory.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1927 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 20:21:56 +00:00
fiddlosopher
56f08b5f80
Removed unneeded things from web directory.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1926 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 20:00:40 +00:00
fiddlosopher
fcc25a388c
Improved contributor list.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1925 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 18:07:44 +00:00
fiddlosopher
83797bc1c9
Fixed indent in README.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1924 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 18:02:32 +00:00
fiddlosopher
4cc6b71bc0
Updated changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1923 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 17:15:15 +00:00
fiddlosopher
1547728d7e
HTML writer: Don't include TOC div if table of contents is empty.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1922 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20 17:14:18 +00:00
fiddlosopher
bdd5ec37ae
Updated date on README.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1921 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:22:08 +00:00
fiddlosopher
cfd47dbc3e
More fixes to web Makefile.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1920 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:18:46 +00:00
fiddlosopher
e8f56d4c79
Tweaks to web page.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1919 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:16:36 +00:00
fiddlosopher
340f626aa9
Updated web Makefile.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1918 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:13:42 +00:00
fiddlosopher
35be1e2777
Updated web demos to include --mathml.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1917 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:12:04 +00:00
fiddlosopher
2250ca701d
Updated web page.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1916 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:11:58 +00:00
fiddlosopher
b9f5f983db
Tweaked changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1915 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 16:11:52 +00:00
fiddlosopher
485e503ba6
Changed copyright date range for -v.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1914 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 15:12:15 +00:00
fiddlosopher
b8382f798d
Changes to Windows installer.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1913 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 07:30:18 +00:00
fiddlosopher
735aab1d95
Updated changelog.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1912 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 04:20:49 +00:00
fiddlosopher
5ae0e0d442
Depend on extensible-exceptions, remove CPP in Templates module.
...
It's safe to depend on extensible-exceptions, since this is
shipped with GHC 6.10 and 6.12.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1911 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19 02:33:15 +00:00
fiddlosopher
bd433b5738
Templates: Conditionally import Control.Exception.Extensible if base < 4.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1910 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 21:35:41 +00:00
fiddlosopher
56217f1004
Added --mathml option; removed Text.Pandoc.LaTeXMathML.
...
* Added data/MathMLinHTML.js, which is included when no URL is provided
for --mathml. This allows MathML to be displayed in better browsers,
as text/html.
* The module was no longer necessary; its functionality (two lines)
was incorporated into pandoc.hs.
* Consolidated the two LaTeXMathML.js files into one.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1909 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 06:45:56 +00:00
fiddlosopher
d704f47b86
Better heuristics for guessing reader to use.
...
If argument is an absolute URL without a recognized extension,
and no reader is explicitly specified, use HTML.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1908 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 06:45:50 +00:00
fiddlosopher
695961155a
Added plain writer.
...
Text.Pandoc.Writers.Markdown now exports a writePlain,
which writes plain text without links, pictures, or
special formatting (not even markdown conventions).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1907 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 06:45:43 +00:00
fiddlosopher
081ae411b3
Fixed definition lists for options in README.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1906 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 06:45:32 +00:00
fiddlosopher
b5a5215c32
Refactored handler for base-header-level option.
...
Now we have a list of "transforms" (Pandoc -> Pandoc).
They get applied at the end in a fold.
This should make it easier to add new document-transforming
options in the future.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1905 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 06:45:28 +00:00
fiddlosopher
ff68dd3883
MediaWiki writer: make links to relative URLs wikilinks.
...
The new rule: If the link target is an absolute URL, an external
link is created. Otherwise, a wikilink is created.
Examples:
1. [label](/foo/bar) => [[foo/bar|label]]
2. [label](foo) => [[foo|label]]
3. [label](http://gitit.net/foo ) => [http://gitit.net/foo label]
Note on 1: We strip the leading / here, since otherwise we get a
link to Help:Links/foo/bar. would it be better for 1 to become
[http://{SERVERNAME} }/foo/bar label]? Perhaps, since this would
guarantee the same link destination as you'd get if you used the
HTML writer directly.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1904 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 06:45:23 +00:00
fiddlosopher
d7e5bb96a7
cabal: Depend on extensible-exception for GHC < 6.10.
...
This, I hope, will allow pandoc to be compiled on ghc 6.8
again.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1903 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 02:39:23 +00:00
fiddlosopher
13d0a0ccb9
Documented that ODT and RTF don't implement the image-as-figure feature.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1902 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 02:39:18 +00:00
fiddlosopher
312d098d35
Texinfo writer: Handle images in figures.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1901 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 02:39:13 +00:00
fiddlosopher
a9b0d876d9
HTML writer: Use a p rather than a div for image caption.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1900 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 02:39:06 +00:00
fiddlosopher
874b574038
RST writer: handle images in figures.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1899 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18 02:38:58 +00:00
fiddlosopher
97bff3f9dc
MediaWiki writer: Support images in figures.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1898 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-17 06:53:48 +00:00
fiddlosopher
16e5b15cae
Docbook writer: support images as figures.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1897 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-17 06:53:43 +00:00
fiddlosopher
1a09a9d40f
Revert "LaTeX writer: Add unique labels to figures."
...
This reverts commit be34432122
.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1896 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-17 06:53:38 +00:00
fiddlosopher
be34432122
LaTeX writer: Add unique labels to figures.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1895 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-16 06:45:57 +00:00
fiddlosopher
26b41ce7ba
Shared: Export uniqueIdent, don't allow tilde in identifier.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1894 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-16 06:45:52 +00:00
fiddlosopher
9562390d68
ConTeXt writer: support images in figures.
...
Also, DON'T put image in figure (as was done previously)
when it's an inline image.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1893 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-16 06:45:47 +00:00
fiddlosopher
da117c9d68
LaTeX writer: support figures with captions.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1892 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-16 04:06:33 +00:00
fiddlosopher
cb31c89eab
HTML writer: implemented image-with-caption feature.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1891 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-16 04:06:25 +00:00
fiddlosopher
766f2aaeac
README: document new image with caption feature.
...
An image in a paragraph by itself is treated as a figure,
with the alt text the caption.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1890 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-16 04:06:17 +00:00
fiddlosopher
baae74af57
Added --base-header-level option.
...
Thanks to Jérémy Bobbio for the patch that formed the basis of this commit.
Closes Debian #563416 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1889 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-14 23:23:26 +00:00